1 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6 2014-08-27 Mark Wielaard <mjw@redhat.com>
9 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10 to call set_thread_area instead of hand written asm.
11 (__NR_set_thread_area): Removed define.
12 (TLS_FLAG_WRITABLE): Likewise.
13 (__ASSUME_SET_THREAD_AREA): Remove check.
14 (TLS_EBX_ARG): Remove define.
15 (TLS_LOAD_EBX): Likewise.
17 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19 Simplify atomicity of socket creation in bind.
21 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22 looking up the name after linking the file.
24 2014-08-27 Allan McRae <allan@archlinux.org>
26 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28 2014-08-26 Florian Weimer <fweimer@redhat.com>
31 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32 trans_compare, open_translit, __gconv_translit_find):
33 Remove module loading code.
35 2014-08-26 Allan McRae <allan@archlinux.org>
37 * po/vi.po: Update Vietnamese translation from translation project.
39 * po/uk.po: Update Ukrainian translation from translation project.
41 * po/fr.po: Update French translation from translation project.
43 * po/ru.po: Update Russian translation from translation project.
45 * po/pl.po: Update Polish translation from translation project.
47 * po/cs.po: Update Czech translation from translation project.
49 * po/de.po: Update German translation from translation project.
51 * po/bg.po: Update Bulgarian translation from translation project.
53 * po/sv.po: Update Sweedish translation from translation project.
55 * po/nl.po: Update Dutch translation from translation project.
57 * po/es.po: Update Spanish translation from translation project.
59 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
61 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
63 * catgets/Makefile (CPPFLAGS-gencat): Remove.
64 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
65 (CPPFLAGS-iconvconfig): Likewise.
66 * timezone/Makefile (CPPFLAGS-zic): Likewise.
68 * include/libc-symbols.h: Remove unnecessary check for
70 * nptl/pthreadP.h: Likewise.
71 * sysdeps/aarch64/setjmp.S: Likewise.
72 * sysdeps/alpha/setjmp.S: Likewise.
73 * sysdeps/arm/sysdep.h: Likewise.
74 * sysdeps/i386/setjmp.S: Likewise.
75 * sysdeps/m68k/setjmp.c: Likewise.
76 * sysdeps/posix/getcwd.c: Likewise.
77 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
78 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
79 * sysdeps/s390/s390-32/setjmp.S: Likewise.
80 * sysdeps/s390/s390-64/setjmp.S: Likewise.
81 * sysdeps/sh/sh3/setjmp.S: Likewise.
82 * sysdeps/sh/sh4/setjmp.S: Likewise.
83 * sysdeps/unix/alpha/sysdep.h: Likewise.
84 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
85 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
87 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
90 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
93 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
94 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
95 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
96 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
97 * sysdeps/x86_64/setjmp.S: Likewise.
99 2014-08-13 Joseph Myers <joseph@codesourcery.com>
102 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
104 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
105 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
107 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
109 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
112 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
113 and __x86_64__ when disabling x87 inline functions.
115 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
118 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
119 asm statement with __cpuid_count.
121 2014-08-12 Mike Frysinger <vapier@gentoo.org>
123 * configure.ac: Change __ehdr_start code to dereference the struct.
124 Run readelf on the output to look for relocations.
125 * configure: Regenerated.
127 2014-08-12 Joseph Myers <joseph@codesourcery.com>
130 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
132 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
134 2014-08-12 Roland McGrath <roland@hack.frob.com>
136 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
138 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
141 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
142 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
144 2014-08-12 Sean Anderson <seanga2@gmail.com>
146 * malloc/malloc.c: Fix typo in comment.
148 2014-08-09 Allan McRae <allan@archlinux.org>
150 * Regenerate libc.po.
152 2014-08-08 Mike Frysinger <vapier@gentoo.org>
154 * intl/tst-gettext2.sh: Check every lang file for creation.
156 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
158 * sysdeps/aarch64/fpu/math_private.h
159 (libc_feholdsetround_noex_aarch64_ctx): New function.
161 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
163 * sysdeps/arm/armv6/strcpy.S (strcpy):
164 Fix performance issue in misaligned cases.
166 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
169 Move definition from termios.h.
170 (struct termio): Likewise.
171 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
172 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
173 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
174 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
177 Move definition to ioctl-types.h
178 (struct termio): Likewise.
179 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
180 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
181 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
182 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
185 2014-08-05 Richard Henderson <rth@redhat.com>
187 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
189 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
191 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
193 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
194 Protect libm symbols with IS_IN_libm.
196 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
198 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
200 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
202 2014-08-04 Will Newton <will.newton@linaro.org>
204 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
207 2014-08-04 Mike Frysinger <vapier@gentoo.org>
209 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
210 variants for each function.
212 2014-08-04 Roland McGrath <roland@hack.frob.com>
214 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
216 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
217 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
219 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
220 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
221 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
222 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
223 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
224 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
225 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
226 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
227 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
228 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
229 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
230 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
231 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
232 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
233 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
234 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
235 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
236 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
237 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
238 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
239 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
240 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
241 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
242 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
243 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
244 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
246 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
248 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
249 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
250 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
251 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
252 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
253 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
254 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
255 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
256 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
257 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
258 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
259 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
260 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
261 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
262 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
263 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
264 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
265 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
266 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
267 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
268 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
269 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
270 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
271 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
273 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
274 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
276 2014-08-04 Roland McGrath <roland@hack.frob.com>
278 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
279 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
280 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
281 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
282 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
283 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
285 2014-08-04 Roland McGrath <roland@hack.frob.com>
287 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
288 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
289 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
290 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
292 2014-08-04 Roland McGrath <roland@hack.frob.com>
294 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
295 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
296 (__libc_vfork): Define function under this name.
297 (__vfork): Define as an alias.
298 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
299 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
301 2014-08-04 Roland McGrath <roland@hack.frob.com>
303 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
304 that was previously under [RESET_PID].
305 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
307 2014-08-04 Andreas Schwab <schwab@suse.de>
309 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
311 2014-08-03 Mike Frysinger <vapier@gentoo.org>
313 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
316 2014-08-01 Roland McGrath <roland@hack.frob.com>
318 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
320 2014-08-01 Richard Henderon <rth@redhat.com>
322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
323 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
324 typo in exact zero test.
325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
329 2014-08-01 Roland McGrath <roland@hack.frob.com>
331 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
332 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
333 * sysdeps/arm/sysdep.h: ... here.
334 [!__ASSEMBLER__]: Include <stdint.h>.
336 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
338 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
339 (HAVE_WCTYPE_H): Likewise.
340 (HAVE_ISWCTYPE): Likewise.
341 (ENABLE_NLS): Likewise.
342 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
343 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
345 * posix/regex_internal.c: Check if DEBUG is defined and is
348 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
349 (HAVE_MBSRTOWCS): Likewise.
350 * posix/fnmatch.c: Include string.h unconditionally.
352 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
354 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
357 2014-07-31 Roland McGrath <roland@hack.frob.com>
359 * sysdeps/generic/safe-fatal.h: New file.
360 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
361 * nptl/forward.c: Include it.
362 (__pthread_unwind): Use __safe_fatal as default action, rather
363 than a bogus use of INTERNAL_SYSCALL that could never work.
365 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
366 * configure.ac (libc_cv_builtin_trap): New test.
367 * configure: Regenerated.
368 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
369 (ABORT_INSTRUCTION): Define using __builtin_trap.
371 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
372 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
373 * sysdeps/nptl/nptl-signals.h: New file.
374 * nptl/pthreadP.h: Include <nptl-signals.h>.
376 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
378 * sysdeps/s390/s390-64/utf16-utf32-z9.c
379 (ONE_DIRECTION): Define.
380 * sysdeps/s390/s390-64/utf8-utf16-z9.c
381 (ONE_DIRECTION): Define.
382 * sysdeps/s390/s390-64/utf8-utf32-z9.c
383 (ONE_DIRECTION): Define.
385 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
387 * sysdeps/s390/Makefile: Delete file.
388 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
389 * sysdeps/s390/__longjmp.c: Delete file.
390 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
391 Remove fields __flags and __reserved.
392 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
394 * sysdeps/s390/rtld-__longjmp.c: Delete file.
395 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
396 * sysdeps/s390/rtld-setjmp.S: Likewise.
397 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
398 * sysdeps/s390/s390-32/__longjmp.c: ... here.
399 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
400 * sysdeps/s390/s390-32/setjmp.S: ... here.
402 (__sigsetjmp): Remove setting __flags field.
403 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
404 * sysdeps/s390/s390-64/__longjmp.c: ... here.
405 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
406 * sysdeps/s390/s390-64/setjmp.S: ... here.
408 (__sigsetjmp): Remove setting __flags field.
409 * sysdeps/s390/setjmp.S: Delete file.
410 * sysdeps/s390/sigjmp.c: Likewise.
411 * sysdeps/s390/v1-longjmp.c: Likewise.
412 * sysdeps/s390/v1-setjmp.h: Likewise.
413 * sysdeps/s390/v1-sigjmp.c: Likewise.
414 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
415 Remove v1-longjmp_chk.
416 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
417 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
418 Include debug/longjmp_chk.c and add versioning.
419 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
420 Include nptl/pt-longjmp.c and add versioning.
421 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
422 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
424 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
426 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
427 (__getcontext): Remove setting __flags field.
429 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
430 Don't restore upper high grps.
431 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
433 (__swapcontext): Remove setting uc_flags field.
434 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
436 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
438 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
440 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
441 (__getcontext): Remove setting __flags field.
443 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
444 (__swapcontext): Remove setting uc_flags field.
445 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
446 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
447 Remove fields uc_high_gprs and __reserved.
448 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
449 New file with reverted content.
450 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
451 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
453 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
456 2014-07-31 Andreas Schwab <schwab@suse.de>
458 * config.h.in (HAVE_IFUNC): Define to 0.
459 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
462 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
465 memmove-avx-unaligned, memcpy-avx-unaligned and
466 mempcpy-avx-unaligned.
467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
468 Add tests for AVX memcpy functions.
469 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
470 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
472 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
473 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
475 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
476 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
478 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
479 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
480 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
482 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
485 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
488 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
491 * manual/llio.texi: Add section about open file description locks.
492 * manual/examples/ofdlocks.c: Example of open file description
494 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
495 F_OFD_SETLK, and F_OFD_SETLKW.
497 2014-07-23 Allan McRae <allan@archlinux.org>
499 * po/es.po: Update Spanish translation from translation project.
501 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
503 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
505 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
508 * sysdeps/arm/dl-machine.h (elf_machine_rela)
509 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
510 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
512 2014-07-17 Joseph Myers <joseph@codesourcery.com>
515 * math/fesetenv.c (__fesetenv)
516 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
517 * math/feupdateenv.c (__feupdateenv)
518 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
520 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
521 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
522 (__ASSUME_SOCKETCALL): Do not define.
524 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
525 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
526 (__ASSUME_SOCKETCALL): Do not define.
527 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
528 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
529 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
530 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
531 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
532 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
533 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
534 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
536 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
537 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
538 (__ASSUME_SOCKETCALL): Do not define.
539 (__ASSUME_IPC64): Define unconditionally.
540 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
541 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
542 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
543 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
544 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
545 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
546 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
549 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
550 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
551 (__ASSUME_SOCKETCALL): Do not define.
552 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
553 (__ASSUME_FUTEX_LOCK_PI): Likewise.
554 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
555 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
556 (__ASSUME_REQUEUE_PI): Define unconditionally.
557 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
558 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
559 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
560 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
561 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
562 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
564 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
565 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
566 (__ASSUME_SOCKETCALL): Do not define.
567 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
568 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
569 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
570 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
571 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
572 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
575 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
576 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
577 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
578 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
579 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
580 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
581 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
582 (__ASSUME_GETCPU_SYSCALL): Likewise.
584 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
585 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
586 cases for individual architectures.
587 * sysdeps/gnu/configure: Regenerated.
588 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
589 LIBC_SLIBDIR_RTLDDIR.
590 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
591 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
592 LIBC_SLIBDIR_RTLDDIR.
593 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
595 LIBC_SLIBDIR_RTLDDIR.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
598 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
599 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
601 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
602 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
604 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
605 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
606 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
607 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
609 * sysdeps/aarch64/shlib-versions: Move to ...
610 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
611 * sysdeps/alpha/shlib-versions: Move to ...
612 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
613 * sysdeps/arm/shlib-versions: Move to ...
614 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
615 * sysdeps/hppa/shlib-versions: Move all contents except for
616 libgcc_s entry to ...
617 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
619 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
620 * sysdeps/ia64/shlib-versions: Move to ...
621 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
623 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
624 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
625 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
626 * sysdeps/microblaze/shlib-versions: Move to ...
627 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
628 * sysdeps/mips/shlib-versions: Move to ...
629 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
631 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
632 * sysdeps/tile/shlib-versions: Move to ...
633 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
634 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
636 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
637 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
639 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
641 2014-07-17 Will Newton <will.newton@linaro.org>
643 * sysdeps/arm/bits/atomic.h
644 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
645 (__arch_compare_and_exchange_bool_16_int): Likewise.
646 (__arch_compare_and_exchange_bool_64_int): Likewise.
648 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
651 2014-07-16 Roland McGrath <roland@hack.frob.com>
653 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
654 just Linux configurations. Test empirically that the compiler sets
655 __ARM_EABI__, rather than using the tuple to decide.
656 * sysdeps/arm/preconfigure: Regenerated.
657 * sysdeps/unix/sysv/linux/arm/configure: File removed.
658 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
659 contents appended ...
660 * sysdeps/arm/configure.ac: ... here.
661 * sysdeps/arm/configure: Regenerated.
663 2014-07-15 Roland McGrath <roland@hack.frob.com>
665 * nptl/pthread_kill.c: New file.
666 * nptl/pthread_sigmask.c: New file.
667 * nptl/pthread_sigqueue.c: New file.
669 * sysdeps/nptl/lowlevellock.h: New file.
670 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
671 * sysdeps/nptl/lowlevellock-futex.h: New file.
673 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
674 Remove dead declarations.
676 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
678 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
679 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
681 * sysdeps/x86_64/configure.ac: Likewise.
682 * sysdeps/i386/configure: Regenerated.
683 * sysdeps/x86_64/configure: Likewise.
684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
685 memset-avx2 only if config-cflags-avx2 is yes.
686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
687 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
689 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
690 only if HAVE_AVX2_SUPPORT is defined.
691 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
693 2014-07-14 Alan Modra <amodra@gmail.com>
696 * elf/elf.h (DT_PPC64_NUM): Correct value.
697 * NEWS: Add to fixed bug list.
699 2014-07-13 Jim Meyering <meyering@fb.com>
702 regex: don't deref NULL upon heap allocation failure
703 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
704 failure in one more place.
705 To trigger the segfault, configure grep -with-included-regex,
706 build it, and run these commands:
707 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
709 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
711 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
713 2014-07-11 Richard Henderson <rth@redhat.com>
715 * sysdeps/aarch64/libm-test-ulps: Update.
717 2014-07-10 Florian Weimer <fweimer@redhat.com>
720 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
721 * nptl/allocatestack.c (__nptl_setxid_error): New function.
722 (__nptl_setxid): Initialize error member. Call
724 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
725 * nptl/descr.h (struct xid_command): Add error member.
726 * nptl/tst-setuid3.c: New file.
727 * nptl/Makefile (tests): Add it.
729 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
731 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
733 (__lll_trylock): Use __lll_base_trylock.
734 (__lll_cond_trylock): Likewise.
736 2014-07-10 Roland McGrath <roland@hack.frob.com>
738 * nptl/pthread_create.c (start_thread): Use atomic_or and
739 lll_futex_wake directly rather than lll_robust_dead.
740 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
741 (lll_robust_dead): Macro removed.
742 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
743 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
744 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
745 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
746 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
747 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
748 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
749 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
750 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
752 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
753 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
754 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
755 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
756 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
758 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
759 Use atomic_compare_and_exchange_val_acq directly rather than
761 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
762 (__lll_robust_trylock, lll_robust_trylock): Removed.
763 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
764 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
765 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
766 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
767 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
768 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
769 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
770 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
772 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
773 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
774 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
775 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
778 2014-07-02 Florian Weimer <fweimer@redhat.com>
780 * manual/locale.texi (Locale Names): New section documenting
781 locale name syntax. Adjust menu and node chaining accordingly.
782 (Choosing Locale): Reference Locale Names, Locale Categories.
783 Mention setting LC_ALL=C. Reflect that name syntax is now
785 (Locale Categories): New section title. Reference Locale Names.
786 LC_ALL is an environment variable, but not a category.
787 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
788 description, now in Locale Name. Reference that section. Locale
789 name syntax is now documented.
791 2014-07-02 Florian Weimer <fweimer@redhat.com>
794 * locale/findlocale.c (name_present, valid_locale_name): New
796 (_nl_find_locale): Use the loc_name variable to store name
797 candidates. Call name_present and valid_locale_name to check and
798 validate locale names. Return an error if the locale is invalid.
800 2014-07-02 Florian Weimer <fweimer@redhat.com>
802 * locale/setlocale.c (setlocale): Use strdup for allocating
805 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
808 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
809 [!_LIBC && ENABLE_NLS]: Include gettext.h.
810 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
812 [USE_UNLOCKED_IO]: Include unlocked-io.h.
813 [!_LIBC]: Include code for Windows and Cygwin.
814 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
815 Include prototype for int strerror_r.
816 [!_LIBC] (is_open): New function.
817 (flush_stdout): New function.
818 (print_errno_message): Use it.
820 (error_at_line): Likewise.
821 (error_tail) Add function attribute macros. Use
824 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
826 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
828 * io/ftw.c: Include sys/param.h unconditionally.
830 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
833 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
835 (freecache): New function to free CACHE on exit.
837 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
840 2014-07-09 David S. Miller <davem@davemloft.net>
842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
844 * sysdeps/sparc/nptl/internaltypes.h: Delete.
845 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
846 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
847 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
848 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
849 * sysdeps/sparc/nptl/sem_init.c: Likewise.
850 * sysdeps/sparc/nptl/sem_post.c: Likewise.
851 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
852 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
853 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
854 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
855 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
856 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
858 2014-07-09 Andreas Schwab <schwab@suse.de>
860 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
862 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
865 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
867 2014-07-09 Will Newton <will.newton@linaro.org>
869 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
870 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
871 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
872 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
873 * sysdeps/hppa/start.S (_start): Likewise.
875 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
877 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
879 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
882 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
884 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
885 after checking that it is non-NULL.
887 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
889 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891 * sysdeps/powerpc/memmove.c: Remove file.
892 * sysdeps/powerpc/powerpc32/power4/memcopy.h
893 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
894 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
895 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
896 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
897 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
898 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
899 string memmove instead of removed powerpc one.
901 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
902 [weak_alias]: Fix compiler warning due trailing data.
903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
904 [weak_alias]: Likewise.
905 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
906 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
909 (__libc_ifunc_impl_list): Add memmove functions.
911 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
913 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
915 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
917 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
919 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
921 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
923 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
925 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
927 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
929 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
931 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
933 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
935 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
937 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
939 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
941 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
943 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
945 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
948 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
950 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
951 to avoid alignment traps in non-cacheable memory.
952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
956 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
957 file: multiarch power7 memmove.
958 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
959 multiarch default memmove.
960 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
961 multiarch memove for powerpc32/power4.
963 * string/bcopy.c: Use full path to include memmove.c.
964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
966 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
968 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
971 and memmove implementations.
972 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
973 optimized multiarch memmove for POWER7/powerpc64.
974 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
975 default multiarch memmove for powerpc64.
976 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
977 multiarch for powerpc64.
978 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
979 for POWER7/powerpc64.
980 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
981 memmove for POWER7/powerpc64.
983 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
986 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
987 __ELF_NATIVE_CLASS equal to 64.
989 2014-07-07 Roland McGrath <roland@hack.frob.com>
991 * sysdeps/nptl/lowlevellock.h: File removed.
993 * NEWS: NPTL is no longer an add-on!
994 * nptl/internaltypes.h: Moved ...
995 * sysdeps/nptl/internaltypes.h: ... here.
996 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
997 * sysdeps/nptl/fork.c: Likewise.
998 * sysdeps/nptl/gai_misc.h: Likewise.
999 * sysdeps/nptl/librt-cancellation.c: Likewise.
1000 * sysdeps/nptl/jmp-unwind.c: Likewise.
1001 * sysdeps/nptl/setxid.h: Likewise.
1002 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1003 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1004 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1005 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1006 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1007 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1008 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1009 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1010 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1011 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1012 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1013 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1014 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1015 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1016 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1017 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1018 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1019 * nptl/Makeconfig: Moved ...
1020 * sysdeps/nptl/Makeconfig: ... here.
1021 * nptl/configure: File removed.
1022 * nptl/ANNOUNCE: File removed.
1023 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1024 * sysdeps/unix/sysv/linux/configure: Regenerated.
1026 * nptl/Makefile (routines): Add libc_pthread_init,
1027 libc_multiple_threads, register-atfork and unregister-atfork.
1028 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1029 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1030 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1031 pthread-pi-defines.sym, structsem.sym.
1032 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1033 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1034 [$(subdir) = nptl] (tests): Add tst-setgetname.
1035 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1036 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1037 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1038 [!LIBC_SIGACTION]: Remove aliases.
1039 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1040 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1041 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1042 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1043 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1044 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1047 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1048 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1049 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1050 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1051 __libc_allocate_rtsig_private.
1052 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1053 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1054 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1055 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1056 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1057 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1058 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1059 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1060 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1061 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1062 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1063 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1064 * nptl/internaltypes.h: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1066 * sysdeps/nptl/jmp-unwind.c: ... here.
1067 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1068 * nptl/libc-lowlevellock.c: ... here.
1069 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1070 * nptl/libc_multiple_threads.c: ... here.
1071 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1072 * nptl/libc_pthread_init.c: ... here.
1073 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1074 * nptl/lowlevelbarrier.sym: ... here.
1075 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1076 * nptl/lowlevelcond.sym: ... here.
1077 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1078 * nptl/lowlevellock.c: ... here.
1079 * nptl/lowlevellock.h: Moved ...
1080 * sysdeps/nptl/lowlevellock.h: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1082 * nptl/lowlevelrobustlock.c: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1084 * nptl/lowlevelrobustlock.sym: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1086 * nptl/lowlevelrwlock.sym: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1088 * nptl/pt-fork.c: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1090 * nptl/pthread-pi-defines.sym: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1092 * nptl/pthread_attr_getaffinity.c: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1094 * nptl/pthread_attr_setaffinity.c: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1096 * nptl/pthread_mutex_cond_lock.c: ... here.
1097 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1099 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1100 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1101 * nptl/pthread_once.c: ... here, replacing old file.
1102 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1103 * nptl/pthread_yield.c: ... here.
1104 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1105 * nptl/register-atfork.c: ... here.
1106 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1107 * nptl/sem_post.c: ... here.
1108 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1109 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1110 * nptl/sem_timedwait.c: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1112 * nptl/sem_trywait.c: ... here.
1113 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1114 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1115 * nptl/sem_wait.c: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1117 * nptl/structsem.sym: ... here.
1118 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1119 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1120 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1121 * nptl/unregister-atfork.c: ... here.
1122 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1123 * nptl/unwindbuf.sym: ... here.
1124 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1125 * sysdeps/nptl/fork.c: ... here.
1126 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1127 * sysdeps/nptl/fork.h: ... here.
1128 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1129 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1130 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1132 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1133 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1134 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1135 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1136 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1137 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1138 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1139 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1140 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1141 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1142 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1143 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1144 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1145 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1146 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1147 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1148 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1149 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1150 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1151 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1152 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1153 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1154 * sysdeps/unix/sysv/linux/raise.c: ... here.
1155 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1156 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1157 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1158 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1159 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1160 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1161 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1162 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1163 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1164 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1165 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1166 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1167 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1168 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1169 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1171 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1173 * sysdeps/generic/memcopy.h: Add comment for
1174 MEMCPY_OK_FOR_FWD_MEMMOVE.
1176 2014-07-04 Will Newton <will.newton@linaro.org>
1178 * string/memchr.c: Merge from gnulib.
1179 [_LIBC]: Remove conditionals.
1180 (__ptr_t): Remove define.
1181 (LONG_MAX_32_BITS): Likewise.
1182 (LONG_MAX): Likewise.
1183 (MEMCHR): Use ANSI prototype and optimize algorithm.
1185 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1187 2014-07-03 Roland McGrath <roland@hack.frob.com>
1189 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1190 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1192 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1193 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1194 in a bare environment with no <stdlib.h> installed.
1195 * sysdeps/nptl/configure: Regenerated.
1197 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1199 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1200 AC_EGREP_CPP for kernel header checks, so they only succeed if
1201 including <linux/version.h> actually works right.
1202 * sysdeps/unix/sysv/linux/configure: Regenerated.
1204 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1205 value so it's not diagnosed as unused.
1207 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1208 thing) with "ifeq ($(subdir),rt)".
1210 2014-07-03 Richard Henderson <rth@redhat.com>
1212 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1213 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1214 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1216 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1217 (math_force_eval): New.
1219 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1220 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1222 * sysdeps/alpha/fpu/s_round.c: Remove file.
1223 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1225 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1226 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1227 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1228 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1229 (_dl_start, print_statistics): Likewise.
1230 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1231 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1233 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1234 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1235 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1236 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1237 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1238 (HP_SMALL_TIMING_AVAIL): Define.
1239 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1240 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1241 (HP_SMALL_TIMING_AVAIL): Define.
1242 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1243 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1245 * sysdeps/aarch64/hp-timing.h: New file.
1247 * sysdeps/generic/hp-timing.h: Remove dead comment.
1248 * sysdeps/generic/hp-timing-common.h: New file.
1249 * sysdeps/alpha/hp-timing.h: Include it.
1250 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1251 * sysdeps/i386/i686/hp-timing.h: Likewise.
1252 * sysdeps/ia64/hp-timing.h: Likewise.
1253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1254 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1255 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1256 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1257 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1258 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1261 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1262 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1263 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1264 * elf/rtld.c (_dl_start_final): Likewise.
1265 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1266 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1267 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1268 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1269 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1270 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1271 (HP_TIMING_DIFF_INIT): Remove.
1272 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1273 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1274 (HP_TIMING_DIFF_INIT): Remove.
1275 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1276 * sysdeps/i386/i686/hp-timing.c: Remove file.
1277 * sysdeps/x86_64/hp-timing.c: Remove file.
1278 * sysdeps/ia64/hp-timing.c: Remove file.
1279 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1280 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1281 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1282 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1284 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1285 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1286 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1287 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1288 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1289 (HP_TIMING_ACCUM): Remove.
1290 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1291 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1292 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1294 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1295 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1296 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1297 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1299 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1300 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1301 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1303 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1305 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1307 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1309 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1311 Sync up with gettext.
1312 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1313 [_MSC_VER]: Include malloc.h
1314 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1315 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1316 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1317 TEMP_FAILURE_RETRY. Cast return of alloca.
1318 [!_LIBC] Call gl_rwlock_init.
1319 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1321 2014-07-02 Roland McGrath <roland@hack.frob.com>
1323 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1324 before checking its value.
1326 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1328 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1330 * debug/memcpy_chk.c: Don't include pagecopy.h.
1331 * debug/mempcpy_chk.c: Likewise.
1332 * string/memcpy.c: Likewise.
1333 * string/memmove.c: Likewise.
1334 * sysdeps/powerpc/memmove.c: Likewise.
1335 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1336 definition of PAGE_COPY_FWD_MAYBE here...
1337 * sysdeps/generic/pagecopy.h: ... from here.
1338 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1340 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1341 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1347 (__libc_ifunc_impl_list): Likewise.
1348 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1349 multiarch strcat for PPC64.
1350 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1351 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1353 2014-07-02 Roland McGrath <roland@hack.frob.com>
1355 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1357 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1359 * intl/loadmsgcat.c: Remove declaration of
1360 get_sysdep_segment_value.
1361 (get_sysdep_segment_value): Use ISO C style.
1362 (_nl_load_domain): Use ISO C style. Get rid of redundant
1363 semicolon. Fix typo and formatting in comment.
1364 (_nl_unload_domain): Use ISO C style.
1366 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1368 2014-07-02 Will Newton <will.newton@linaro.org>
1370 * malloc/obstack.c: Merge from gnulib master.
1371 [HAVE_CONFIG_H]: Remove conditional code.
1372 [!_LIBC]: Include config.h.
1373 [!ELIDE_CODE]: Don't include inttypes.h, include
1374 stdint.h unconditionally.
1375 (print_and_abort): Mark as _Noreturn.
1376 (_obstack_allocated_p): Mark as __attribute_pure__.
1377 (obstack_free): Rename to __obstack_free.
1378 [!__attribute__]: Remove conditional code.
1379 * malloc/obstack.h: Merge from gnulib master.
1380 [__cplusplus]: Move conditional down.
1381 [!__attribute_pure__]: Define __attribute_pure__ here
1382 if it is not already defined.
1383 (_obstack_memory_used): Mark as __attribute_pure__.
1384 [!__obstack_free]: Define as obstack_free.
1385 [__GNUC__]: Remove check for ancient NeXT gcc.
1387 2014-07-02 Will Newton <will.newton@linaro.org>
1388 Paul Eggert <eggert@cs.ucla.edu>
1390 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1392 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1394 * resolv/gethnamaddr.c: Add comment warning that the file is
1397 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1399 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1402 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1403 entry for aio_cancel and aio_cancel64.
1404 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1405 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1406 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1407 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1408 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1409 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1410 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1411 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1412 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1413 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1414 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1415 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1416 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1418 2014-07-01 Roland McGrath <roland@hack.frob.com>
1420 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1421 * nptl/pthread_mutex_lock.c: Likewise.
1422 * nptl/pthread_mutex_timedlock.c: Likewise.
1423 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1425 2014-07-01 Richard henderson <rth@redhat.com>
1427 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1428 (__isnan, __isnanl): Remove.
1429 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1431 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1433 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1435 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1437 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1439 * resolv/nss_dns/dns-host.c (getanswer_r)
1440 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1442 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1444 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1445 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1447 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1448 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1450 2014-07-01 Roland McGrath <roland@hack.frob.com>
1452 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1453 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1455 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1456 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1458 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1459 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1461 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1462 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1464 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1465 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1466 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1467 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1469 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1470 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1471 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1472 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1475 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1477 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1478 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1479 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1480 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1484 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1488 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1489 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1490 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1492 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1493 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1498 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1499 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1501 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1502 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1503 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1504 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1505 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1507 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1509 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1510 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1511 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1514 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1518 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1520 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1521 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1523 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1525 * sysdeps/arm/libm-test-ulps: Regenerated.
1527 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1528 Roland McGrath <roland@hack.frob.com>
1530 * test-skeleton.c (signal_handler): Kill the whole process group
1531 before killing the child individually.
1532 (main): Report any failure on `setpgid'.
1534 2014-06-30 Roland McGrath <roland@hack.frob.com>
1536 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1537 from _TLS_H to _ARM_NPTL_TLS_H.
1538 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1539 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1541 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1544 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1545 (__expm1l): Return argument unchanged when small but not
1548 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1550 (_FP_UNPACK_RAW_1_P): Likewise.
1551 (_FP_PACK_RAW_1): Likewise.
1552 (_FP_PACK_RAW_1_P): Likewise.
1553 (_FP_MUL_MEAT_1_wide): Likewise.
1554 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1555 (_FP_MUL_MEAT_1_hard): Likewise.
1556 (_FP_DIV_MEAT_1_imm): Likewise.
1557 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1558 (_FP_DIV_MEAT_1_udiv): Likewise.
1559 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1560 (_FP_UNPACK_RAW_2): Likewise.
1561 (_FP_UNPACK_RAW_2_P): Likewise.
1562 (_FP_PACK_RAW_2): Likewise.
1563 (_FP_PACK_RAW_2_P): Likewise.
1564 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1565 (_FP_MUL_MEAT_2_wide): Likewise.
1566 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1567 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1568 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1569 (_FP_MUL_MEAT_2_gmp): Likewise.
1570 (_FP_DIV_MEAT_2_udiv): Likewise.
1571 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1572 (_FP_FRAC_SRL_4): Likewise.
1573 (_FP_FRAC_SRST_4): Likewise.
1574 (_FP_FRAC_SRS_4): Likewise.
1575 (_FP_UNPACK_RAW_4): Likewise.
1576 (_FP_UNPACK_RAW_4_P): Likewise.
1577 (_FP_PACK_RAW_4): Likewise.
1578 (_FP_PACK_RAW_4_P): Likewise.
1579 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1580 (_FP_MUL_MEAT_4_wide): Likewise.
1581 (_FP_MUL_MEAT_4_gmp): Likewise.
1582 (umul_ppppmnnn): Likewise.
1583 (_FP_DIV_MEAT_4_udiv): Likewise.
1584 (__FP_FRAC_ADD_4): Likewise.
1585 (__FP_FRAC_SUB_3): Likewise.
1586 (__FP_FRAC_SUB_4): Likewise.
1587 (__FP_FRAC_DEC_3): Likewise.
1588 (__FP_FRAC_DEC_4): Likewise.
1589 (__FP_FRAC_ADDI_4): Likewise.
1590 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1591 (_FP_FRAC_SRL_8): Likewise.
1592 (_FP_FRAC_SRS_8): Likewise.
1594 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1596 (FP_UNPACK_RAW_EP): Likewise.
1597 (FP_PACK_RAW_E): Likewise.
1598 (FP_PACK_RAW_EP): Likewise.
1599 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1600 (_FP_ISSIGNAN): Likewise.
1601 (_FP_ADD_INTERNAL): Likewise.
1602 (_FP_FMA): Likewise.
1603 (_FP_CMP): Likewise.
1604 (_FP_SQRT): Likewise.
1605 (_FP_TO_INT): Likewise.
1606 (_FP_FROM_INT): Likewise.
1607 (FP_EXTEND): Likewise.
1608 (_FP_DIV_MEAT_N_loop): Likewise.
1610 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1612 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1615 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1619 result with correct sign in case of exponents that produce
1620 overflow except for X very close to 1.
1622 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1624 mktime: merge #if/#ifdef usage from glibc
1625 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1626 as that works with both Glibc's and Gnulib's style.
1627 See thread starting at Siddhesh Poyarekar's bug report at:
1628 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1630 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1632 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1633 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1634 * sysdeps/tile/tilegx/memmove.c: Remove file.
1636 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1638 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1639 abi-name definition.
1640 * scripts/soversions.awk: Do not handle or generate ABI lines.
1641 * shlib-versions: Remove ABI entries.
1642 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1643 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1645 2014-06-27 Roland McGrath <roland@hack.frob.com>
1647 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1648 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1649 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1655 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1660 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1662 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1664 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1666 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1671 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1678 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1681 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1686 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1688 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1690 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1695 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1700 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1703 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1704 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1705 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1708 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1710 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1711 Identical file removed.
1712 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1714 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1715 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1716 Identical file removed.
1717 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1718 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1719 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1721 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1722 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1723 Identical file removed.
1724 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1725 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1726 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1727 Identical file removed.
1728 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1731 Identical file removed.
1732 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1735 Identical file removed.
1736 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1738 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1739 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1740 Identical file removed.
1741 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1743 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1747 Identical file removed.
1748 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1750 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1752 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1753 Identical file removed.
1754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1756 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1757 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1758 Identical file removed.
1759 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1761 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1762 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1768 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1770 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1772 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1773 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1774 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1775 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1776 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1778 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1781 * nscd/nscd.c (monitor_child): Return exit status of child
1782 instead of return value from wait syscall.
1784 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1786 * configure.ac (libc_commonpagesize): Remove variable.
1787 (libc_relro_required): Likewise.
1788 (libc_cv_z_relro): Remove configure test.
1789 * configure: Regenerated.
1790 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1792 (libc_relro_required): Likewise.
1793 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1794 (libc_relro_required): Likewise.
1795 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1796 (libc_relro_required): Likewise.
1797 * sysdeps/arm/preconfigure: Regenerated.
1798 * sysdeps/ia64/preconfigure: Remove file.
1799 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1801 (libc_relro_required): Likewise.
1805 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1806 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1807 recompute overflowing results in original rounding mode.
1808 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1809 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1810 recompute overflowing results in original rounding mode.
1811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1812 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1813 recompute overflowing results in original rounding mode.
1814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1815 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1816 recompute overflowing results in original rounding mode.
1817 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1818 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1819 recompute overflowing results in original rounding mode.
1820 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1821 (libc_feholdsetround_ctx): New macro.
1822 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1823 * sysdeps/i386/fpu/libm-test-ulps: Update.
1824 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1826 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1828 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1829 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1830 corresponding .cpsetup call.
1832 2014-06-26 Roland McGrath <roland@hack.frob.com>
1834 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1835 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1836 * sysdeps/arm/Makefile [$(subdir) = csu]
1837 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1838 (static-only-routines): Add aeabi_read_tp here.
1839 (shared-only-routines): Add libc-aeabi_read_tp here.
1840 (CFLAGS-libc-start.c): Add -fexceptions here.
1841 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1842 (sysdep_routines, static-only-routines, shared-only-routines):
1843 Don't add to these here.
1844 (CFLAGS-libc-start.c): Likewise.
1846 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1847 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1848 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1849 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1850 * sysdeps/arm/Makefile [$(subdir) = rt]
1851 (librt-sysdep_routines, librt-shared-only-routines):
1852 Append rt-aeabi_unwind_cpp_pr1 here.
1853 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1854 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1855 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1856 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1857 Append nptl-aeabi_unwind_cpp_pr1 here.
1858 (tests): Filter out tst-cleanupx4 here.
1859 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1860 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1861 Don't do those here.
1863 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1865 * scripts/list-sources.sh: Do not handle ports specially.
1867 2014-06-26 Roland McGrath <roland@hack.frob.com>
1869 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1870 * sysdeps/arm/feupdateenv.c: Likewise.
1872 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1874 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1876 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1877 trailing whitespace removed.
1878 * scripts/config.guess: Update to version 2014-03-23.
1879 * scripts/config.sub: Update to version 2014-05-01
1880 * scripts/install-sh: Update to version 2013-12-25.23.
1881 * scripts/move-if-change: Update from gnulib.
1883 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1885 * debug/memmove_chk.c: Remove pagecopy.h include.
1887 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1889 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1890 identical to gnulib mktime.
1892 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1894 * configure.ac: Do not test for machine being rs6000. Do not test
1896 * configure: Regenerated.
1898 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1900 * configure: Regenerated.
1901 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1902 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1903 Remove configure test.
1904 * sysdeps/arm/configure: Regenerated.
1905 * sysdeps/nptl/configure.ac: Do not check
1906 libc_cv_asm_cfi_directives.
1907 * sysdeps/nptl/configure: Regenerated.
1908 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1909 * sysdeps/x86_64/nptl/configure: Remove generated file.
1910 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1912 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1914 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1916 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1917 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1918 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1921 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1922 instead of whether it is defined.
1923 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1924 * sysdeps/hppa/dl-machine.h: Likewise.
1925 * sysdeps/ia64/dl-machine.h: Likewise.
1926 * sysdeps/m68k/dl-machine.h: Likewise.
1927 * sysdeps/microblaze/dl-machine.h: Likewise.
1928 * sysdeps/mips/dl-machine.: Likewise.
1929 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1930 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1931 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1932 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1933 * sysdeps/sh/dl-machine.h: Likewise.
1934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1936 * sysdeps/tile/dl-machine.h: Likewise.
1937 * sysdeps/x86_64/dl-machine.h: Likewise.
1939 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1941 (verify_persistent_db): Likewise.
1943 2014-06-26 Roland McGrath <roland@hack.frob.com>
1945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1946 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1951 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1956 Identical file removed.
1957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1969 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1973 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1976 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1980 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1982 Identical file removed.
1983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1984 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1986 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1989 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1992 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1994 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1996 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1998 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2000 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2003 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2006 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2008 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2011 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2013 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2017 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2018 * sysdeps/unix/sysv/linux/s390/Versions
2019 (libpthread: GLIBC_2.19): New version set.
2020 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2021 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2022 (librt: GLIBC_2.3.3): New version set.
2023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2024 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2025 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2026 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2027 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2028 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2029 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2031 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2032 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2033 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2034 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2035 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2037 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2039 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2040 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2041 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2043 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2045 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2047 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2049 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2051 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2052 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2053 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2059 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2061 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2062 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2063 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2065 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2067 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2069 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2070 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2071 (__libc_vfork): Define the function under this name.
2072 [!NOT_IN_libc] (__vfork): Make this an alias.
2073 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2074 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2075 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2076 (__libc_vfork): Define the function under this name.
2077 [!NOT_IN_libc] (__vfork): Make this an alias.
2078 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2079 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2080 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2081 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2082 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2083 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2085 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2086 code that was previously under [RESET_PID].
2087 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2088 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2089 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2091 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2092 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2093 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2094 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2095 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2096 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2097 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2098 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2099 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2103 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2107 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2108 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2109 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2110 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2111 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2112 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2113 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2115 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2116 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2117 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2119 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2121 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2122 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2123 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2125 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2126 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2127 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2128 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2129 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2130 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2131 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2133 2014-06-25 Roland McGrath <roland@hack.frob.com>
2135 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2136 that was previously under [RESET_PID].
2137 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2139 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2141 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2142 not undefine and redefine.
2143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2144 [O_CLOEXEC]: Make code unconditional.
2145 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2146 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2147 <kernel-features.h>.
2148 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2149 conditional variable definition.
2150 (shm_open) [O_CLOEXEC]: Make code unconditional.
2151 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2154 * configure.ac (USE_REGPARMS): Don't define here.
2155 * configure: Regenerated.
2156 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2157 * sysdeps/i386/configure: Regenerated.
2159 * nptl/createthread.c: Don't include kernel-features.h.
2160 * nptl/pthread_cancel.c: Likewise.
2161 * nptl/pthread_condattr_setclock.c: Likewise.
2162 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2163 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2164 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2165 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2166 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2167 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2168 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2169 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2170 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2171 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2172 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2173 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2174 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2175 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2176 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2177 * nscd/gai.c: Likewise.
2178 * nss/nss_db/db-open.c: Likewise.
2179 * sysdeps/generic/ldsodefs.h: Likewise.
2180 * sysdeps/sh/nptl/tls.h: Likewise.
2181 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2182 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2183 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2184 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2185 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2186 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2187 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2188 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2189 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2190 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2191 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2192 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2193 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2194 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2195 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2196 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2197 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2198 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2199 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2200 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2201 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2202 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2203 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2204 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2205 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2206 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2207 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2208 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2209 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2210 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2211 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2212 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2213 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2214 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2215 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2216 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2217 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2218 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2219 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2220 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2221 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2222 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2223 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2224 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2225 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2226 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2227 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2228 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2229 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2230 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2231 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2232 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2233 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2234 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2235 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2236 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2238 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2261 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2262 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2263 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2264 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2265 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2266 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2267 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2268 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2269 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2270 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2271 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2272 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2273 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2274 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2275 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2276 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2278 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2279 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2280 * sysdeps/unix/sysv/linux/system.c: Likewise.
2281 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2282 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2283 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2284 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2285 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2287 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2289 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2290 * configure: Regenerated.
2291 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2293 * configure.ac (base_machine): Do not set specially for particular
2295 * configure: Regenerated.
2296 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2297 settings from configure.ac.
2298 * sysdeps/i386/preconfigure: New file.
2299 * sysdeps/s390/preconfigure: Likewise.
2300 * sysdeps/sh/preconfigure: Likewise.
2301 * sysdeps/sparc/preconfigure: Likewise.
2303 2014-06-25 Roland McGrath <roland@hack.frob.com>
2305 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2306 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2307 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2308 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2309 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2310 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2311 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2312 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2313 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2314 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2315 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2316 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2317 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2318 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2319 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2320 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2321 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2322 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2323 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2325 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2326 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2327 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2328 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2329 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2330 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2331 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2332 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2333 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2334 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2335 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2336 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2337 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2338 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2339 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2340 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2341 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2342 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2343 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2344 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2345 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2346 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2347 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2348 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2349 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2350 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2351 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2352 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2353 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2354 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2355 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2356 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2357 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2358 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2359 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2360 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2361 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2362 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2365 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2370 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2378 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2387 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2390 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2395 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2401 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2406 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2409 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2414 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2431 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2433 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2435 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2437 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2439 * timezone/checktab.awk: Update from tzcode 2014e.
2440 * timezone/private.h: Likewise.
2441 * timezone/tzfile.h: Likewise.
2442 * timezone/zdump.c: Likewise.
2443 * timezone/zic.c: Likewise.
2445 * sysdeps/unix/sysv/linux/kernel-features.h
2446 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2447 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2448 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2449 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2450 Remove conditional code.
2452 2014-06-25 Will Newton <will.newton@linaro.org>
2454 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2455 (_dl_arm_cap_flags): Add HWCAP2 values.
2456 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2457 (_DL_HWCAP_COUNT): Increase to 37.
2458 (_DL_HWCAP_LAST): New define.
2459 (_DL_HWCAP2_LAST): New define.
2460 (_dl_procinfo): Add support for printing
2462 (_dl_string_hwcap): Use _dl_hwcap_string.
2464 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2468 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2470 * README: Do not mention ports directory.
2472 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2474 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2475 <kernel-features.h>.
2476 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2477 conditional variable definition.
2478 (__futimes): Update comment.
2479 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2480 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2483 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2484 arguments close to 0.
2485 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2487 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2489 * math/auto-libm-test-in: Add more tests of exp10.
2490 * math/auto-libm-test-out: Regenerated.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2493 * sysdeps/unix/sysv/linux/kernel-features.h
2494 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2495 * sysdeps/unix/sysv/linux/readv.c: Do not include
2496 <kernel-features.h>.
2497 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2498 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2499 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2501 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2503 * sysdeps/unix/sysv/linux/writev.c: Do not include
2504 <kernel-features.h>.
2505 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2506 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2507 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2509 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2512 2014-06-25 Will Newton <will.newton@linaro.org>
2514 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2515 comment changes throughout the file. Remove checks
2516 for HAVE_*_H definitions that are not required.
2517 (__gen_tempname): Call abort if an unknown kind value is
2520 2014-06-25 Andreas Schwab <schwab@suse.de>
2523 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2524 scalbln, scalblnf, scalblnl in libc.
2526 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2529 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2530 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2531 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2533 2014-06-24 Roland McGrath <roland@hack.frob.com>
2535 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2536 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2537 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2538 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2540 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2541 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2543 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2544 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2545 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2546 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2547 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2548 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2549 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2550 * sysdeps/x86/bits/semaphore.h: ... here.
2551 * sysdeps/x86/nptl/elide.h: Moved ...
2552 * sysdeps/x86/elide.h: ... here.
2553 * sysdeps/x86_64/nptl/Implies: File removed.
2554 * sysdeps/i386/nptl/Implies: File removed.
2556 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2559 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2560 return the argument for normal arguments with exponent below -64.
2561 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2563 * math/auto-libm-test-in: Add another test of expm1.
2564 * math/auto-libm-test-out: Regenerated.
2567 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2568 calling __erfcl for arguments at least 16.
2569 * math/auto-libm-test-in: Add more tests of erf.
2570 * math/auto-libm-test-out: Regenerated.
2572 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2573 individual architectures.
2574 * sysdeps/unix/sysv/linux/configure: Regenerated.
2575 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2576 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2577 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2578 (ldd_rewrite_script): Define variable.
2579 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2584 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2585 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2586 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2587 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2588 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2589 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2590 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2591 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2593 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2596 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2597 Rename member __data.d to __data.__elision_data.
2599 2014-06-24 Wilco <wdijkstr@arm.com>
2601 * NEWS: Add 16918 to fixed bug list.
2603 2014-06-24 Wilco <wdijkstr@arm.com>
2605 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2607 2014-06-24 Wilco <wdijkstr@arm.com>
2609 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2610 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2611 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2612 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2613 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2614 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2615 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2618 2014-06-24 Wilco <wdijkstr@arm.com>
2620 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2622 2014-06-24 Wilco <wdijkstr@arm.com>
2624 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2625 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2626 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2627 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2629 2014-06-24 Wilco <wdijkstr@arm.com>
2632 * sysdeps/arm/feupdateenv.c (feupdateenv):
2633 Rewrite to reduce FPSCR accesses and fix return value.
2635 2014-06-24 Wilco <wdijkstr@arm.com>
2637 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2638 Optimize to avoid unnecessary FPSCR writes.
2639 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2640 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2641 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2642 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2644 2014-06-24 Wilco <wdijkstr@arm.com>
2646 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2647 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2648 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2649 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2650 Call libc_fetestexcept_vfp.
2651 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2652 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2653 __SOFTFP__ ifdef so that they can be built for softfp.
2655 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2657 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2658 argument type signed char.
2660 * Makerules (check-abi): Dump diff of symlist if the test
2663 2014-06-23 Roland McGrath <roland@hack.frob.com>
2665 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2668 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2669 Remove unused variable ST.
2671 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2675 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2676 small arguments before calling __expm1.
2677 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2678 small arguments before calling __expm1f.
2679 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2680 small arguments before calling __expm1l.
2681 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2683 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2684 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2685 spurious underflow for some cosh tests.
2686 * math/auto-libm-test-out: Regenerated.
2687 * sysdeps/i386/fpu/libm-test-ulps: Update.
2690 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2691 (__ieee754_y1): Set errno if return value overflows.
2692 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2693 (__ieee754_y1f): Set errno if return value overflows.
2694 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2695 (__ieee754_y1l): Set errno if return value overflows.
2696 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2697 (__ieee754_y1l): Set errno if return value overflows.
2698 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2699 * math/auto-libm-test-out: Regenerated.
2701 * math/gen-auto-libm-tests.c: Document use of
2702 ignore-zero-inf-sign.
2703 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2704 (input_flags): Add ignore-zero-inf-sign.
2705 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2706 * math/gen-libm-test.pl (generate_testfile): Handle
2707 ignore-zero-inf-sign.
2708 * math/auto-libm-test-in: Mark some cpow tests with
2709 ignore-zero-inf-sign and some with xfail-rounding.
2710 * math/auto-libm-test-out: Regenerated.
2711 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2712 * sysdeps/i386/fpu/libm-test-ulps: Update.
2713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2717 overflowing or underflowing operations take place with sign of
2719 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2720 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2721 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2722 (__ieee754_pow): Recompute overflowing and underflowing results in
2723 original rounding mode.
2724 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2725 (__powl_helper): Allow negative argument X and scale negated value
2726 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2727 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2728 overflowing or underflowing operations take place with sign of
2730 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2732 * math/auto-libm-test-in: Add more tests of pow.
2733 * math/auto-libm-test-out: Regenerated.
2734 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2735 (pow_tonearest_test_data): Remove.
2736 (pow_test_tonearest): Likewise.
2737 (pow_towardzero_test_data): Likewise.
2738 (pow_test_towardzero): Likewise.
2739 (pow_downward_test_data): Likewise.
2740 (pow_test_downward): Likewise.
2741 (pow_upward_test_data): Likewise.
2742 (pow_test_upward): Likewise.
2743 (main): Don't call removed functions.
2744 * sysdeps/i386/fpu/libm-test-ulps: Update.
2745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2747 2014-06-23 Roland McGrath <roland@hack.frob.com>
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2923 2014-06-23 Will Newton <will.newton@linaro.org>
2924 Wilco <wdijkstr@arm.com>
2926 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2927 implementation. Include get-rounding-mode.h.
2928 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2929 [!libc_feholdsetround_noex_ctx]: Define
2930 libc_feholdsetround_noex_ctx.
2931 [!libc_feholdsetround_noexf_ctx]: Define
2932 libc_feholdsetround_noexf_ctx.
2933 [!libc_feholdsetround_noexl_ctx]: Define
2934 libc_feholdsetround_noexl_ctx.
2935 (libc_feholdsetround_ctx): New function.
2936 (libc_feresetround_ctx): New function.
2937 (libc_feholdsetround_noex_ctx): New function.
2938 (libc_feresetround_noex_ctx): New function.
2940 2014-06-23 Roland McGrath <roland@hack.frob.com>
2942 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2943 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2944 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2945 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2946 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2947 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2949 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2950 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2951 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2952 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2953 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2954 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2955 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2956 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2957 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2961 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2963 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2969 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2978 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2981 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2986 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2990 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2991 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2992 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2993 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2994 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2997 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2999 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3000 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3002 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3003 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3004 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3006 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3008 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3010 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3011 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3013 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3015 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3017 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3018 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3020 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3021 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3022 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3023 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3024 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3026 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3027 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3028 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3029 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3030 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3031 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3032 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3033 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3035 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3036 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3037 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3038 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3039 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3040 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3041 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3042 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3043 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3045 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3047 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3049 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3051 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3053 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3055 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3058 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3059 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3060 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3061 (IPV6_PMTUDISC_INTERFACE): Likewise.
3062 (IPV6_PMTUDISC_OMIT): Likewise.
3064 2014-06-23 Andreas Schwab <schwab@suse.de>
3066 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3067 Remove unused errout label.
3069 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3071 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3072 macro: hardware supports Vector Crypto instructions.
3074 2014-06-23 Will Newton <will.newton@linaro.org>
3076 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3077 rather than __builtin_expect.
3079 * elf/dl-lookup.c (undefined_msg): Remove variable.
3080 (_dl_lookup_symbol_x): Replace undefined_msg with string
3083 * elf/dl-lookup.c (do_lookup_unique): New function.
3084 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3085 to a separate function.
3087 2014-06-23 Andreas Schwab <schwab@suse.de>
3090 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3091 before reading the next line.
3093 2014-06-23 Will Newton <will.newton@linaro.org>
3095 * test-skeleton.c (signal_handler): Use printf and %m
3096 rather than perror. Use printf rather than fprintf to
3097 stderr. Use puts rather than fputs to stderr.
3100 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3102 * nscd/nscd.c (thread_info_t): Remove typedef.
3103 (thread_info): Remove variable.
3105 2014-06-21 Allan McRae <allan@archlinux.org>
3107 * NEWS: Mention CVE-2014-4043.
3109 2014-06-20 Roland McGrath <roland@hack.frob.com>
3111 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3112 * nptl/smp.h: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3116 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3117 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3118 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3119 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3121 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3122 * nptl/stack-aliasing.h: New file.
3123 * sysdeps/i386/i686/stack-aliasing.h: New file.
3124 * sysdeps/i386/i686/nptl/Makefile: File removed.
3125 * sysdeps/x86_64/stack-aliasing.h: New file.
3126 * sysdeps/x86_64/nptl/Makefile
3127 (CFLAGS-pthread_create.c): Variable removed.
3129 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3130 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3132 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3133 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3136 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3138 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3139 (__ASSUME_SIGFRAME_V2): Remove macro.
3140 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3141 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3142 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3143 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3144 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3145 Declare as function. Remove conditional macro definitions.
3146 (__default_rt_sa_restorer): Likewise.
3147 (__default_sa_restorer_v1): Remove declaration.
3148 (__default_sa_restorer_v2): Likewise.
3149 (__default_rt_sa_restorer_v1): Likewise.
3150 (__default_rt_sa_restorer_v2): Likewise.
3151 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3152 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3153 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3155 2014-06-20 Roland McGrath <roland@hack.frob.com>
3157 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3158 (libpthread-routines): Add sysdep.
3159 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3160 * sysdeps/unix/sysv/linux/sparc/Versions
3161 (libpthread: GLIBC_2.3.3): New version set.
3162 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3163 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3164 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3165 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3166 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3167 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3169 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3171 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3173 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3175 * sysdeps/sparc/nptl/sem_init.c: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3177 * sysdeps/sparc/nptl/sem_post.c: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3179 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3181 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3183 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3184 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3185 (libpthread-routines): Add cpu_relax.
3186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3188 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3189 (librt: GLIBC_2.3.3): New version set.
3190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3191 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3193 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3196 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3199 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3201 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3203 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3205 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3207 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3210 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3214 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3218 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3222 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3226 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3230 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3233 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3239 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3244 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3246 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3248 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3250 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3252 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3253 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3254 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3255 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3256 * nscd/nscd.c: Likewise.
3257 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3258 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3259 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3260 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3262 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3263 <kernel-features.h>.
3264 (init_mq_netlink): Remove conditional have_sock_cloexec
3265 definitions. Remove code conditional on have_sock_cloexec < 0.
3266 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3267 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3268 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3269 <kernel-features.h>.
3270 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3271 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3273 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3276 Add tests for memset_chk and memset.
3278 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3281 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3284 * elf/tst-dl-iter-static.c: New file.
3285 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3287 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3290 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3292 * sysdeps/unix/sysv/linux/kernel-features.h
3293 (__ASSUME_F_GETOWN_EX): Remove macro.
3294 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3295 <kernel-features.h>.
3296 (miss_F_GETOWN_EX): Remove variable or macro.
3297 (do_fcntl): Do not check miss_F_GETOWN_EX.
3298 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3303 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3304 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3306 * sysdeps/unix/sysv/linux/kernel-features.h
3307 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3308 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3309 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3310 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3312 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3315 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3316 Fix calculation of the symbol's value.
3317 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3318 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3319 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3320 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3321 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3322 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3323 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3324 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3325 (modules-names): Add `tst-armtlsdescmod',
3326 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3327 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3328 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3329 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3330 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3331 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3332 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3333 ($(objpfx)tst-armtlsdescloc): New dependency.
3334 ($(objpfx)tst-armtlsdescextnow): Likewise.
3335 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3336 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3338 * sysdeps/arm/configure: Regenerate.
3340 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3342 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3343 (__atfct_seterrno_2): Likewise.
3344 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3345 <kernel-features.h>.
3346 (__ASSUME_ATFCTS): Do not undefine and redefine.
3347 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3348 (__have_atfcts): Remove conditional definition.
3349 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3350 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3351 unreachable if [__ASSUME_ATFCTS].
3352 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3353 not undefine and redefine.
3354 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3355 <kernel-features.h>.
3356 (faccessat) [__NR_faccessat]: Make code unconditional.
3357 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3358 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3359 <kernel-features.h>.
3360 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3361 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3362 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3363 <kernel-features.h>.
3364 (fchownat) [__NR_fchownat]: Make code unconditional.
3365 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3366 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3367 <kernel-features.h>.
3368 (futimesat) [__NR_futimesat]: Make code unconditional.
3369 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3370 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3371 <kernel-features.h>.
3372 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3373 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3374 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3375 <kernel-features.h>.
3376 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3377 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3378 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3379 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3380 <kernel-features.h>.
3381 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3382 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3383 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3384 <kernel-features.h>.
3385 (linkat) [__NR_linkat]: Make code unconditional.
3386 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3387 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3388 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3389 <kernel-features.h>.
3390 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3391 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3392 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3393 <kernel-features.h>.
3394 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3395 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3396 * sysdeps/unix/sysv/linux/openat.c: Do not include
3397 <kernel-features.h>.
3398 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3399 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3400 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3401 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3402 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3403 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3404 <kernel-features.h>.
3405 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3406 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3407 result of INLINE_SYSCALL directly, not via int variable.
3408 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3409 <kernel-features.h>.
3410 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3411 (renameat) [__NR_renameat]: Make code unconditional.
3412 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3413 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3414 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3415 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3416 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3417 (__ASSUME_ATFCTS): Do not undefine and redefine.
3418 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3419 <kernel-features.h>.
3420 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3421 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3422 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3423 <kernel-features.h>.
3424 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3425 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3426 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3427 (__ASSUME_ATFCTS): Do not undefine and redefine.
3428 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3429 <kernel-features.h>.
3430 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3431 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3432 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3433 <kernel-features.h>.
3434 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3435 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3437 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3439 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3441 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3444 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3445 constructed tree before returning error.
3446 * posix/bug-regexp36.c: Expand test case.
3448 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3451 * math/libm-test.inc (scalbln_test_date):
3452 Add errno expectations.
3453 * math/w_scalblnf.c: New File.
3454 Add wrapper which checks for setting errno to ERANGE.
3455 Add weak_alias for corresponding scalbln function.
3456 * math/w_scalbln.c: Likewise.
3457 * math/w_scalblnl.c: Likewise.
3458 * math/Makefile (libm-calls): Add w_scalbln.
3459 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3460 Remove weak_alias for corresponding scalbln function.
3461 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3463 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3465 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3466 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3467 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3468 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3469 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3470 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3471 Remove long_double_symbol for scalblnl function in libm, libc.
3472 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3473 Add wrapper which checks for setting errno to ERANGE.
3474 Add long_double_symbol for scalblnl function in libm, libc.
3475 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3476 Remove long_double_symbol for scalblnl in libm.
3477 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3478 Add wrapper which checks for setting errno to ERANGE.
3479 Add long_double_symbol for scalblnl function in libm.
3480 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3481 Do not use wrapper because of own implementation.
3483 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3485 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3486 3 bytes for __pad1 for x32.
3487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3489 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3490 H.J. Lu <hongjiu.lu@intel.com>
3492 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3493 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3494 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3495 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3496 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3498 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3501 * posix/regcomp.c (parse_expression): Deallocate partially
3502 constructed tree before returning error.
3503 * posix/Makefile.c (tests): Add bug-regex36.
3504 (generated): Add bug-regex36.mtrace.
3505 (tests-special): Add $(objpfx)bug-regex36-mem.out
3506 (bug-regex36-ENV): New variable.
3507 ($(objpfx)bug-regex36-mem.out): New rule.
3508 * posix/bug-regex36.c: New file.
3510 2014-06-19 Will Newton <will.newton@linaro.org>
3512 * malloc/malloc.c (systrim): If extra is zero then return
3515 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3517 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3519 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3521 * sysdeps/aarch64/strchr.S: New file.
3523 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3526 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3527 from arguments -2 or below.
3528 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3529 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3531 2014-06-18 Andreas Schwab <schwab@suse.de>
3534 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3535 of a bracket expr not to run off the end of the string.
3536 * posix/Makefile (tests): Add tst-fnmatch3.
3537 * posix/tst-fnmatch3.c: New file.
3539 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3541 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3542 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3543 [$(cross-compiling) = no]: Likewise.
3544 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3545 [$(cross-compiling) = no]: Likewise.
3547 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3550 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3551 double, adjusted for any remainder from the high double.
3552 * math/libm-test.inc (nearbyint): Add tests.
3555 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3557 * nptl/sysdeps/powerpc/Makefile: Moved ...
3558 * sysdeps/powerpc/nptl/Makefile: ... here.
3559 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3560 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3561 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3562 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3563 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3564 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3565 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3566 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3567 * nptl/sysdeps/powerpc/tls.h: Moved ...
3568 * sysdeps/powerpc/nptl/tls.h: ... here.
3570 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3573 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3574 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3575 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3576 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3577 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3578 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3579 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3580 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3581 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3583 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3585 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3587 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3589 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3592 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3595 2014-06-16 Florian Weimer <fweimer@redhat.com>
3598 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3599 non-executed part of the test.
3601 2014-06-16 Andreas Schwab <schwab@suse.de>
3603 * string/bits/string2.h (strdup, strndup): Update feature guard.
3605 2014-06-14 David S. Miller <davem@davemloft.net>
3607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3609 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3611 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3612 that was previously under [RESET_PID].
3613 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3615 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3616 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3617 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3618 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3619 (__libc_vfork): New strong alias.
3620 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3622 2014-06-14 Andi Kleen <ak@linux.intel.com>
3624 * sysdeps/generic/elide.h: New file.
3626 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3628 * Makefile (installed-headers): Adjust path of pthread.h header.
3630 2014-06-13 Roland McGrath <roland@hack.frob.com>
3632 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3633 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3635 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3637 * nptl/sysdeps/s390/Makefile: Moved ...
3638 * sysdeps/s390/nptl/Makefile: ... here.
3639 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3640 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3641 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3642 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3643 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3644 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3645 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3646 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3647 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3648 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3649 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3650 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3651 * nptl/sysdeps/s390/tls.h: Moved ...
3652 * sysdeps/s390/nptl/tls.h: ... here.
3654 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3655 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3657 2014-06-13 David S. Miller <davem@davemloft.net>
3659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3666 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3667 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3668 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3669 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3670 Remove RESET_PID cpp guards.
3671 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3672 Remove RESET_PID cpp guards.
3673 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3675 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3677 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3680 2014-06-13 Andi Kleen <ak@linux.intel.com>
3682 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3683 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3684 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3685 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3686 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3687 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3688 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3689 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3690 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3691 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3692 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3693 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3695 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3696 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3697 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3698 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3699 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3700 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3701 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3703 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3704 (pthread_rwlock_rdlock): Add elision.
3705 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3706 (pthread_rwlock_wrlock): Add elision.
3707 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3708 (pthread_rwlock_trywrlock): Add elision.
3709 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3710 (pthread_rwlock_tryrdlock): Add elision.
3711 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3712 (pthread_rwlock_tryrdlock): Add elision unlock.
3713 * nptl/sysdeps/pthread/pthread.h:
3714 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3715 (PTHREAD_RWLOCK_INITIALIZER,
3716 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3717 Handle new elision field.
3718 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3719 * sysdeps/arm/nptl/bits/pthreadtypes.h
3720 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3721 * sysdeps/sh/nptl/bits/pthreadtypes.h
3722 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3723 * sysdeps/tile/nptl/bits/pthreadtypes.h
3724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3725 * sysdeps/a/nptl/bits/pthreadtypes.h
3726 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3727 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3728 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3729 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3730 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3731 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3733 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3735 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3737 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3739 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3741 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3742 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3743 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3744 (elision_init): Set try_xbegin to zero when no RTM.
3745 * sysdeps/x86/nptl/bits/pthreadtypes.h
3746 (pthread_rwlock_t): Change __pad1 to __rwelision.
3747 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3749 2014-06-13 Andi Kleen <ak@linux.intel.com>
3751 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3752 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3753 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3754 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3756 2014-06-13 Meador Inge <meadori@codesourcery.com>
3759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3760 that the cached result has been set before returning it.
3762 2014-06-12 Roland McGrath <roland@hack.frob.com>
3764 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3765 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3767 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3769 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3771 * nptl/sysdeps/sparc/Makefile: Moved ...
3772 * sysdeps/sparc/nptl/Makefile: ... here.
3773 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3774 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3775 * nptl/sysdeps/sparc/tls.h: Moved ...
3776 * sysdeps/sparc/nptl/tls.h: ... here.
3777 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3778 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3779 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3780 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3781 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3782 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3783 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3784 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3785 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3786 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3787 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3788 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3789 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3790 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3791 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3792 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3793 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3794 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3796 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3797 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3799 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3802 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3803 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3806 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3808 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3809 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3811 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3812 (struct list_links): Type removed.
3813 (struct thread_node, struct timer_node): Replace struct list_links
3814 with struct list_head.
3815 (list_unlink_ip): Likewise.
3816 * sysdeps/pthread/timer_routines.c
3817 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3818 (list_append, list_insbefore): Likewise.
3819 (list_init): Function removed.
3820 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3821 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3822 * sysdeps/pthread/Makefile: ... here, new file.
3824 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3825 * sysdeps/nptl/Implies: ... here.
3826 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3827 * nptl/sysdeps/pthread/list.h: Moved ...
3828 * include/list.h: ... here.
3829 * nptl/sysdeps/pthread/createthread.c: Moved ...
3830 * nptl/createthread.c: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3832 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3833 * nptl/pt-longjmp.c: ... here.
3834 * nptl/sysdeps/pthread/Makefile: Moved ...
3835 * sysdeps/nptl/Makefile: ... here.
3836 * nptl/sysdeps/pthread/Subdirs: Moved ...
3837 * sysdeps/nptl/Subdirs: ... here.
3838 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3839 * sysdeps/nptl/aio_misc.h: ... here.
3840 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3841 * sysdeps/nptl/bits/libc-lock.h: ... here.
3842 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3843 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3844 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3845 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3846 * nptl/sysdeps/pthread/configure: Moved ...
3847 * sysdeps/nptl/configure: ... here.
3848 * nptl/sysdeps/pthread/configure.ac: Moved ...
3849 * sysdeps/nptl/configure.ac: ... here.
3850 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3851 * sysdeps/nptl/gai_misc.h: ... here.
3852 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3853 * sysdeps/nptl/librt-cancellation.c: ... here.
3854 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3855 * sysdeps/nptl/malloc-machine.h: ... here.
3856 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3857 * sysdeps/nptl/pthread-functions.h: ... here.
3858 * nptl/sysdeps/pthread/pthread.h: Moved ...
3859 * sysdeps/nptl/pthread.h: ... here.
3860 * nptl/sysdeps/pthread/setxid.h: Moved ...
3861 * sysdeps/nptl/setxid.h: ... here.
3862 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3863 * sysdeps/nptl/sigfillset.c: ... here.
3864 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3865 * sysdeps/nptl/tcb-offsets.h: ... here.
3866 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3867 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3868 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3869 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3870 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3871 * sysdeps/pthread/allocalim.h: ... here.
3872 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3873 * sysdeps/pthread/bits/sigthread.h: ... here.
3874 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3875 * sysdeps/pthread/flockfile.c: ... here.
3876 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3877 * sysdeps/pthread/ftrylockfile.c: ... here.
3878 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3879 * sysdeps/pthread/funlockfile.c: ... here.
3880 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3881 * sysdeps/pthread/posix-timer.h: ... here.
3882 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3883 * sysdeps/pthread/timer_create.c: ... here.
3884 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3885 * sysdeps/pthread/timer_delete.c: ... here.
3886 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3887 * sysdeps/pthread/timer_getoverr.c: ... here.
3888 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3889 * sysdeps/pthread/timer_gettime.c: ... here.
3890 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3891 * sysdeps/pthread/timer_routines.c: ... here.
3892 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3893 * sysdeps/pthread/timer_settime.c: ... here.
3894 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3895 * sysdeps/pthread/tst-timer.c: ... here.
3896 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3897 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3899 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3900 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3902 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3903 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3904 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3905 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3906 Update #include target.
3907 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3908 * sysdeps/i386/i686/nptl/Makefile: ... here.
3909 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3910 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3911 Update #include target.
3912 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3913 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3914 * nptl/sysdeps/i386/Makefile: Moved ...
3915 * sysdeps/i386/nptl/Makefile: ... here.
3916 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3917 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3918 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3919 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3920 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3921 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3922 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3923 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3924 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3925 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3926 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3927 * nptl/sysdeps/i386/tls.h: Moved ...
3928 * sysdeps/i386/nptl/tls.h: ... here.
3930 * sysdeps/sh/Makefile [$(subdir) = csu]
3931 (gen-as-const-headers): Add tcb-offsets.sym.
3932 * nptl/sysdeps/sh/Makefile: File removed.
3933 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3934 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3935 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3936 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3937 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3938 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3939 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3940 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3941 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3942 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3943 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3944 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3945 * nptl/sysdeps/sh/tls.h: Moved ...
3946 * sysdeps/sh/nptl/tls.h: ... here.
3947 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3948 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3950 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3952 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3954 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3956 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3957 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3958 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3959 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3960 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3961 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3962 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3963 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3964 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3965 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3966 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3967 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3968 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3970 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3973 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3974 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3976 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3978 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3979 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3980 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3982 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3984 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3986 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3988 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3990 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3992 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3994 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3996 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3998 * posix/spawn_faction_addopen.c: Include string.h.
4000 2014-06-11 Roland McGrath <roland@hack.frob.com>
4002 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4003 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4004 * nptl/sysdeps/x86_64/Makefile: Moved ...
4005 * sysdeps/x86_64/nptl/Makefile: ... here.
4006 * nptl/sysdeps/x86_64/configure: Moved ...
4007 * sysdeps/x86_64/nptl/configure: ... here.
4008 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4009 * sysdeps/x86_64/nptl/configure.ac: ... here.
4010 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4011 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4012 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4013 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4014 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4015 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4016 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4017 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4018 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4019 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4020 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4021 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4022 * nptl/sysdeps/x86_64/tls.h: Moved ...
4023 * sysdeps/x86_64/nptl/tls.h: ... here.
4024 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4025 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4026 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4027 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4029 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4031 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4035 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4037 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4039 [POSIX] (off_t): Likewise.
4040 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4041 [POSIX] (S_ISBLK): Require macro.
4042 [POSIX] (S_ISCHR): Likewise.
4043 [POSIX] (S_ISDIR): Likewise.
4044 [POSIX] (S_ISFIFO): Likewise.
4045 [POSIX] (S_ISREG): Likewise.
4046 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4048 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4050 [POSIX] (time_t): Likewise.
4051 [POSIX] (timer_t): Likewise.
4053 2014-06-11 Florian Weimer <fweimer@redhat.com>
4056 * posix/spawn_int.h (struct __spawn_action): Make the path string
4057 non-const to support deallocation.
4058 * posix/spawn_faction_addopen.c
4059 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4060 * posix/spawn_faction_destroy.c
4061 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4062 path in all spawn_do_open actions.
4063 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4064 posix_spawn_file_actions_addopen.
4066 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4068 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4069 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4070 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4071 conditional code always true.
4072 (__libc_vfork): New alias.
4074 2014-06-11 Roland McGrath <roland@hack.frob.com>
4076 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4077 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4079 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4081 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4082 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4084 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4085 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4087 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4088 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4090 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4092 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4093 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4094 multiarch strcmp for PPC64.
4095 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4096 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4098 multiarch optimizations.
4099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4100 (__libc_ifunc_impl_list): Likewise.
4102 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4104 * benchtests/scripts/validate_benchout.py: New script.
4105 * benchtests/Makefile (bench-func): Call it.
4106 * benchtests/scripts/benchout.schema.json: New file.
4108 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4110 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4111 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4112 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4113 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4114 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4115 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4116 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4117 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4118 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4119 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4120 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4121 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4122 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4123 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4124 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4125 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4229 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4230 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4231 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4232 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4233 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4235 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4237 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4238 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4239 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4240 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4242 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4244 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4246 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4247 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4248 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4251 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4252 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4254 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4259 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4260 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4262 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4263 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4264 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4265 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4267 2014-06-10 Wilco <wdijkstr@arm.com>
4269 * math/test-fenv-return.c: New file.
4270 * math/Makefile: Add new test test-fenv-return.
4272 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4275 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4277 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4278 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4279 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4280 0.0L for an argument of 1.0L.
4281 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4283 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4284 value when x - 1 is zero.
4285 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4286 * sysdeps/i386/fpu/libm-test-ulps: Update.
4287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4289 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4292 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4294 2014-06-09 Roland McGrath <roland@hack.frob.com>
4296 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4297 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4299 2014-06-09 Roland McGrath <roland@hack.frob.com>
4301 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4302 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4304 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4305 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4307 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4308 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4310 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4311 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4313 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4314 if not already defined.
4315 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4316 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4317 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4318 (TLS_INIT_TP): Use it.
4319 (TLS_DEFINE_INIT_TP): New macro.
4320 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4322 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4324 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4326 [POSIX] (IXANY): Likewise.
4327 [POSIX] (OLCUC): Likewise.
4328 [POSIX || POSIX2008] (CBAUD): Do not allow.
4329 [POSIX || POSIX2008] (DEFECHO): Likewise.
4330 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4331 [POSIX || POSIX2008] (ECHOKE): Likewise.
4332 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4333 [POSIX || POSIX2008] (EXTA): Likewise.
4334 [POSIX || POSIX2008] (EXTB): Likewise.
4335 [POSIX || POSIX2008] (FLUSHO): Likewise.
4336 [POSIX || POSIX2008] (LOBLK): Likewise.
4337 [POSIX || POSIX2008] (PENDIN): Likewise.
4338 [POSIX || POSIX2008] (SWTCH): Likewise.
4339 [POSIX || POSIX2008] (VDISCARD): Likewise.
4340 [POSIX || POSIX2008] (VDSUSP): Likewise.
4341 [POSIX || POSIX2008] (VLNEXT): Likewise.
4342 [POSIX || POSIX2008] (VREPRINT): Likewise.
4343 [POSIX || POSIX2008] (VSTATUS): Likewise.
4344 [POSIX || POSIX2008] (VWERASE): Likewise.
4345 (B*): Change to B[0123456789]*.
4346 * conform/data/time.h-data [POSIX || UNIX98]
4347 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4348 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4349 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4350 [POSIX] (tm_*): Do not allow.
4352 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4354 * Makefile (install): Don't set LANGUAGE.
4355 * Makefile.in (install): Likewise.
4356 * assert/Makefile (test-assert-ENV): Remove variable.
4357 (test-assert-perr-ENV): Likewise.
4358 * elf/Makefile (neededtest4-ENV): Likewise.
4359 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4360 [$(cross-compiling) = no]: Don't set LANGUAGE.
4361 * io/ftwtest-sh (LANG): Remove variable.
4362 * libio/Makefile (tst-widetext-ENV): Likewise.
4363 * manual/install.texi (Running make install): Don't refer to
4364 environment settings for make install.
4365 * INSTALL: Regenerated.
4366 * nptl/tst-tls6.sh: Don't set LANG.
4367 * posix/globtest.sh (LANG): Remove variable.
4368 * string/Makefile (tester-ENV): Likewise.
4369 (inl-tester-ENV): Likewise.
4370 (noinl-tester-ENV): Likewise.
4371 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4372 [$(cross-compiling) = no]: Don't set LANGUAGE.
4373 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4374 without explicit environment settings.
4376 2014-06-06 Roland McGrath <roland@hack.frob.com>
4378 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4379 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4380 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4381 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4383 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4385 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4386 other files in the crypt directory.
4387 * crypt/crypt.c: Remove duplicate includes.
4388 * crypt/crypt-entry.c: Likewise.
4389 * crypt/crypt_util.c: Likewise.
4391 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4393 * Makeconfig (run-program-env): New variable.
4394 (run-program-prefix-before-env): Likewise.
4395 (run-program-prefix-after-env): Likewise.
4396 (run-program-prefix): Define in terms of new variables.
4397 (built-program-cmd-before-env): New variable.
4398 (built-program-cmd-after-env): Likewise.
4399 (built-program-cmd): Define in terms of new variables.
4400 (test-program-prefix-before-env): New variable.
4401 (test-program-prefix-after-env): Likewise.
4402 (test-program-prefix): Define in terms of new variables.
4403 (test-program-cmd-before-env): New variable.
4404 (test-program-cmd-after-env): Likewise.
4405 (test-program-cmd): Define in terms of new variables.
4406 * Rules (make-test-out): Use $(run-program-env).
4407 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4408 (help): Do not mention environment variables. Mention
4409 --timeoutfactor option.
4410 (timeoutfactor): New variable.
4411 (blacklist_exports): Remove function.
4412 (exports): Remove variable.
4413 (command): Do not include ${exports}.
4414 * manual/install.texi (Configuring and compiling): Do not mention
4415 test wrappers preserving environment variables. Mention that last
4416 assignment to a variable must take precedence.
4417 * INSTALL: Regenerated.
4418 * benchtests/Makefile (run-bench): Use $(run-program-env).
4419 * catgets/Makefile ($(objpfx)test1.cat): Use
4420 $(built-program-cmd-before-env), $(run-program-env) and
4421 $(built-program-cmd-after-env).
4422 ($(objpfx)test2.cat): Do not specify environment variables
4424 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4425 $(run-program-env) and $(built-program-cmd-after-env).
4426 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4427 $(run-program-env) and $(test-program-cmd-after-env).
4428 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4430 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4431 run_program_env and test_program_cmd_after_env arguments.
4432 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4433 * elf/tst-pathopt.sh: Use run_program_env argument.
4434 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4435 $(test-wrapper-env) and $(run-program-env).
4436 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4437 run_program_env arguments.
4438 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4439 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4440 $(test-program-prefix-before-env), $(run-program-env) and
4441 $(test-program-prefix-after-env).
4442 ($(objpfx)tst-gettext2.out): Likewise.
4443 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4444 run_program_env and test_program_prefix_after_env arguments.
4445 * intl/tst-gettext2.sh: Likewise.
4446 * intl/tst-gettext4.sh: Do not set environment variables
4448 * intl/tst-gettext6.sh: Likewise.
4449 * intl/tst-translit.sh: Likewise.
4450 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4451 $(test-program-prefix-before-env), $(run-program-env) and
4452 $(test-program-prefix-after-env).
4453 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4454 run_program_env and test_program_prefix_after_env arguments.
4455 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4456 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4457 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4458 explicitly with each use of ${test_wrapper_env}.
4459 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4460 $(test-program-prefix-before-env), $(run-program-env) and
4461 $(test-program-prefix-after-env).
4462 * posix/tst-getconf.sh: Do not set environment variables
4464 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4465 run_program_env and test_program_prefix_after_env arguments.
4466 * stdio-common/tst-printf.sh: Do not set environment variables
4468 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4469 $(test-program-prefix-before-env), $(run-program-env) and
4470 $(test-program-prefix-after-env).
4471 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4472 run_program_env and test_program_prefix_after_env arguments.
4473 Split $test calls into $test_pre and $test.
4474 * timezone/Makefile (build-testdata): Use
4475 $(built-program-cmd-before-env), $(run-program-env) and
4476 $(built-program-cmd-after-env).
4478 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4480 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4481 strlen for non SHARED builds.
4483 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4485 * nptl/allocatestack.c (check_list): Inlined function...
4486 (__reclaim_stacks): ... here.
4488 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4491 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4494 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4496 * Rules (make-test-out): Include
4497 LOCPATH=$(common-objpfx)localedata in default environment.
4498 * debug/Makefile (tst-chk1-ENV): Remove variable.
4499 (tst-chk2-ENV): Likewise.
4500 (tst-chk3-ENV): Likewise.
4501 (tst-chk4-ENV): Likewise.
4502 (tst-chk5-ENV): Likewise.
4503 (tst-chk6-ENV): Likewise.
4504 (tst-lfschk1-ENV): Likewise.
4505 (tst-lfschk2-ENV): Likewise.
4506 (tst-lfschk3-ENV): Likewise.
4507 (tst-lfschk4-ENV): Likewise.
4508 (tst-lfschk5-ENV): Likewise.
4509 (tst-lfschk6-ENV): Likewise.
4510 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4511 (tst-iconv7-ENV): Likewise.
4512 * intl/Makefile (LOCPATH-ENV): Likewise.
4513 (tst-codeset-ENV): Likewise.
4514 (tst-gettext3-ENV): Likewise.
4515 (tst-gettext5-ENV): Likewise.
4516 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4517 (tst-fopenloc-ENV): Likewise.
4518 (tst-fgetws-ENV): Remove variable.
4519 (tst-ungetwc1-ENV): Likewise.
4520 (tst-ungetwc2-ENV): Likewise.
4521 (bug-ungetwc2-ENV): Likewise.
4522 (tst-swscanf-ENV): Likewise.
4523 (bug-ftell-ENV): Likewise.
4524 (tst-fgetwc-ENV): Likewise.
4525 (tst-fseek-ENV): Likewise.
4526 (tst-ftell-partial-wide-ENV): Likewise.
4527 (tst-ftell-active-handler-ENV): Likewise.
4528 (tst-ftell-append-ENV): Likewise.
4529 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4530 (tst-regexloc-ENV): Likewise.
4531 (bug-regex1-ENV): Likewise.
4532 (tst-regex-ENV): Likewise.
4533 (tst-regex2-ENV): Likewise.
4534 (bug-regex5-ENV): Likewise.
4535 (bug-regex6-ENV): Likewise.
4536 (bug-regex17-ENV): Likewise.
4537 (bug-regex18-ENV): Likewise.
4538 (bug-regex19-ENV): Likewise.
4539 (bug-regex20-ENV): Likewise.
4540 (bug-regex22-ENV): Likewise.
4541 (bug-regex23-ENV): Likewise.
4542 (bug-regex25-ENV): Likewise.
4543 (bug-regex26-ENV): Likewise.
4544 (bug-regex30-ENV): Likewise.
4545 (bug-regex32-ENV): Likewise.
4546 (bug-regex33-ENV): Likewise.
4547 (bug-regex34-ENV): Likewise.
4548 (bug-regex35-ENV): Likewise.
4549 (tst-rxspencer-ENV): Likewise.
4550 (tst-rxspencer-no-utf8-ENV): Likewise.
4551 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4552 (tst-sscanf-ENV): Likewise.
4553 (tst-swprintf-ENV): Likewise.
4554 (tst-swscanf-ENV): Likewise.
4555 (test-vfprintf-ENV): Likewise.
4556 (scanf13-ENV): Likewise.
4557 (bug14-ENV): Likewise.
4558 (tst-grouping-ENV): Likewise.
4559 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4560 (tst-strtod3-ENV): Likewise.
4561 (tst-strtod4-ENV): Likewise.
4562 (tst-strtod5-ENV): Likewise.
4563 (testmb2-ENV): Likewise./
4564 * string/Makefile (tst-strxfrm-ENV): Likewise.
4565 (tst-strxfrm2-ENV): Likewise.
4566 (bug-strcoll1-ENV): Likewise.
4567 (test-strcasecmp-ENV): Likewise.
4568 (test-strncasecmp-ENV): Likewise.
4569 * time/Makefile (tst-strptime-ENV): Likewise.
4570 (tst-ftime_l-ENV): Likewise.
4571 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4572 (tst-mbrtowc-ENV): Likewise.
4573 (tst-wcrtomb-ENV): Likewise.
4574 (tst-mbrtowc2-ENV): Likewise.
4575 (tst-c16c32-1-ENV): Likewise.
4576 (tst-mbsnrtowcs-ENV): Likewise.
4578 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4580 * manual/resource.texi (How to get information about the memory
4581 subsystem?): Fix typo.
4582 Reported by Peon de la Parra Ivan <peon@keba.com>
4584 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4587 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4588 (pthread_spin_lock): Branch out of spin loop to proper location.
4589 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4590 (pthread_spin_lock): Likewise.
4592 * nptl/tst-spin4.c: New test.
4593 * nptl/Makefile (tests): Add tst-spin4.
4595 2014-06-03 Andreas Schwab <schwab@suse.de>
4598 * resolv/res_send.c (send_dg): Reload file descriptor after
4601 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4603 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4605 2014-06-03 Richard Henderson <rth@redhat.com>
4607 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4608 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4609 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4610 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4611 in the SAVE_PID block.
4612 (__libc_vfork): New alias.
4613 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4615 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4616 child in registers, not on the stack. Remove RESET_PID conditionals.
4617 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4619 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4621 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4623 2014-06-03 Wilco <wdijkstr@arm.com>
4625 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4626 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4627 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4628 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4629 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4632 2014-06-03 Wilco <wdijkstr@arm.com>
4634 * sysdeps/aarch64/fpu/math_private.h
4635 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4636 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4637 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4638 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4641 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4643 * crypt/crypt-private.h: Include ufc-crypt.h.
4644 (__b64_from_24bit): Declare extern.
4645 * crypt/crypt_util.c(__b64_from_24bit): New function.
4646 (b64t): New static const variable.
4647 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4648 (b64t): Remove variable.
4649 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4650 * crypt/sha256-crypt.c: Include crypt-private.h.
4651 (b64t): Remove variable.
4652 (__sha256_crypt_r): Remove b64_from_24bit and replace
4653 with __b64_from_24bit.
4654 * crypt/sha512-crypt.c: Likewise.
4656 2014-06-02 Roland McGrath <roland@hack.frob.com>
4658 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4659 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4660 Label the code __libc_vfork rather than __vfork.
4661 [!NOT_IN_libc] (vfork): Define as weak alias.
4662 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4663 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4664 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4666 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4668 * malloc/malloc.c (malloc_info): Fix format specifier for
4671 2014-06-02 Wilco <wdijkstr@arm.com>
4673 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4676 2014-06-02 Wilco <wdijkstr@arm.com>
4679 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4680 Rewrite to reduce FPCR/FPSR accesses.
4682 2014-06-01 David S. Miller <davem@davemloft.net>
4684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4686 2014-05-31 David S. Miller <davem@davemloft.net>
4688 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4689 to occur in round to nearest mode when |x| >= 2.0
4691 2014-05-30 Richard Henderson <rth@twiddle.net>
4693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4694 (PSEUDO_RET_NOERRNO): Remove.
4695 (ret): Don't redefine.
4696 (ret_NOERRNO): Define in terms of ret.
4697 (ret_ERRVAL): Likewise.
4699 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4700 use of PSEUDO_RET; perform the error check directly.
4702 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4704 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4707 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4709 * malloc/malloc (malloc_info): Fix formatting.
4711 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4712 Roland McGrath <roland@hack.frob.com>
4714 * malloc/malloc (malloc_info): Also print mmapped statistics.
4716 2014-05-30 Roland McGrath <roland@hack.frob.com>
4718 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4719 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4721 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4723 * malloc/malloc.c (malloc_info): Inline mi_arena.
4725 2014-05-29 Richard Henderson <rth@twiddle.net>
4727 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4728 Remove comma before expanding ASM_ARGS_##nr.
4729 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4730 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4732 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4733 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4734 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4735 (ASM_ARGS_1): Add leading comma.
4737 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4738 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4739 to __errno_location.
4740 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4741 Remove the expected plt for __errno_location.
4743 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4744 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4747 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4748 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4749 it and break it down.
4750 (DOCARGS_0, DOCARGS_1): Do nothing.
4751 (DOCARGS_2): Update to store into the new stack frame.
4752 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4753 (UNDOCARGS_1): Update to restore from the new stack frame.
4754 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4755 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4757 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4758 (SINGLE_THREAD_P): New parameter for result regno.
4759 (PSEUDO): Update to match; use cbz instead of beq.
4761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4762 Use ENTRY to define the _nocancel entry point. Share the syscall
4763 and syscall error check paths with the cancel path.
4766 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4767 whitespace; tabs before and after asm mnemonics.
4769 2014-05-29 Eric Wong <normalperson@yhbt.net>
4772 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4773 Call fstat64 or stat64 internally, depending on arguments passed.
4774 Replace stat buffer argument with file descriptor argument.
4775 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4776 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4777 Pass fd to __internal_statvfs instead of calling fstat64.
4778 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4779 Pass fd to __internal_statvfs64 instead of calling fstat64.
4780 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4781 Pass -1 to __internal_statvfs instead of calling stat64.
4782 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4783 Pass -1 to __internal_statvfs64 instead of calling stat64.
4785 2014-05-28 Roland McGrath <roland@hack.frob.com>
4787 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4788 that was previously under [RESET_PID].
4789 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4791 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4792 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4794 2014-05-27 Roland McGrath <roland@hack.frob.com>
4796 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4798 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4799 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4801 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4803 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4805 2014-05-27 Andreas Schwab <schwab@suse.de>
4807 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4809 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4810 * elf/rtld.c (init_tls, dl_main): Likewise.
4811 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4812 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4813 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4814 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4815 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4816 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4817 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4818 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4819 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4820 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4821 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4822 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4823 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4824 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4825 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4826 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4827 * sysdeps/generic/tls.h: Update description.
4829 2014-05-27 Will Newton <will.newton@linaro.org>
4832 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4833 and restore r2 rather than just restoring.
4835 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4838 * libio/tst-ftell-append.c: New test case.
4839 * libio/Makefile (tests): Add test case.
4840 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4842 * libio/wfileops.c (do_ftell_wide): Likewise.
4844 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4848 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4852 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4853 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4855 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4857 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4858 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4865 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4867 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4870 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4871 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4873 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4875 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4877 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4879 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4882 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4884 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4889 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4899 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4907 conditional [RESET_PID].
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4909 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4911 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4916 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4917 (__libc_vfork): New strong alias.
4918 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4920 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4925 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4926 (__libc_vfork): New strong alias.
4927 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4929 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4932 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4934 * malloc/malloc.c (mi_arena): New function.
4935 (malloc_info): Remove nested function mi_arena. Call non-nosted
4938 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4940 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4942 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4943 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4944 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4945 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4946 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4947 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4948 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4950 2014-05-26 Andreas Schwab <schwab@suse.de>
4953 * locale/programs/repertoire.c (repertoire_read): Add slash
4954 between I18NPATH element and file name.
4955 * locale/programs/locfile.c (locfile_read): Likewise.
4957 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4959 * nptl/pthread_mutexattr_settype.c
4960 (__pthread_mutexattr_settype):
4961 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4963 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4965 * nptl/tst-mutex5 (do_test):
4966 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4968 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4970 * benchtests/README: Document 'init' directive.
4971 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4973 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4974 (parse_file): Recognize 'init' directive.
4976 2014-05-26 Kyle McMartin <kyle@redhat.com>
4979 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4980 alignment of struct pthread.
4982 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4985 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4986 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4987 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4988 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4990 2014-05-25 Richard Henderson <rth@twiddle.net>
4992 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4993 (SINGLE_THREAD_P_PIC): Remove.
4994 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4995 (SINGLE_THREAD_P_PIC): Remove.
4997 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4998 branch to syscall error ...
5000 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5001 from __local_syscall_error to .Lsyscall_error.
5002 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5003 (SYSCALL_ERROR): Update label name.
5005 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5006 Do not use DOARGS/UNDOARGS.
5007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5008 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5009 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5010 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5011 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5013 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5016 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5017 define if !NOT_IN_libc.
5018 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5019 define with non-default symbol versions.
5021 2014-05-23 Richard Henderson <rth@twiddle.net>
5023 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5024 (vfork, __vfork): Define via compat_symbol.
5026 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5027 [!HAVE_IFUNC] (vfork_compat): Remove.
5028 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5030 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5033 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5034 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5037 2014-05-23 Richard Henderson <rth@twiddle.net>
5039 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5040 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5041 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5042 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5044 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5045 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5046 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5047 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5048 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5049 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5050 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5051 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5052 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5053 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5054 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5055 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5056 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5057 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5058 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5059 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5060 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5061 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5062 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5063 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5064 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5065 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5066 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5067 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5069 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5070 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5071 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5077 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5078 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5079 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5080 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5081 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5083 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5084 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5085 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5086 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5087 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5088 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5089 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5090 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5091 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5092 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5093 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5094 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5095 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5096 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5097 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5098 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5099 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5101 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5102 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5103 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5104 before exiting on error.
5105 (__libc_vfork): New strong alias.
5106 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5107 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5109 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5110 that was previously under [RESET_PID].
5111 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5113 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5115 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5118 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5119 value when x - 1 is zero.
5120 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5121 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5122 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5123 0.0L for an argument of 1.0L.
5124 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5126 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5127 value when x - 1 is zero.
5128 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5129 * sysdeps/i386/fpu/libm-test-ulps: Update.
5130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5132 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5134 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5135 alphasort and versionsort.
5137 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5139 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5141 [copysignf]: Likewise.
5143 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5145 * crypt/md5-crypt.c: Fix formatting.
5147 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5149 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5150 (b64_from_24bit): New function.
5152 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5155 libc_hidden_builtin_def to ifunc.
5156 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5157 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5159 2014-05-21 Roland McGrath <roland@hack.frob.com>
5161 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5162 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5164 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5166 * nscd/Depend (linuxthreads): Remove.
5168 * resolv/Depend (linuxthreads): Remove.
5169 * rt/Depend (linuxthreads): Remove.
5171 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5172 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5173 $(common-objpfx)elf/.
5174 (link-libc-before-gnulib): Likewise.
5175 (elfobjdir): Remove variable.
5176 * Makefile (install): Use $(elf-objpfx) instead of
5177 $(common-objpfx)elf/.
5178 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5180 (link-libc-deps): Likewise.
5181 ($(common-objpfx)libc.so): Likewise.
5182 ($(common-objpfx)linkobj/libc.so): Likewise.
5183 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5184 instead of $(common-objpfx)elf/.
5185 (symbolic-link-list): Likewise.
5186 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5187 [$(cross-compiling) = no]: Likewise.
5188 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5190 (static-gnulib-arch): Likewise.
5191 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5192 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5193 $(common-objpfx)elf/.
5195 2014-05-21 Richard Henderson <rth@redhat.com>
5197 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5198 (SINGLE_THREAD_P): Use the correct width load. Fold
5199 into the ldr offset.
5201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5202 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5204 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5206 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5207 (libgcc_s_resume): Use __attribute_used__.
5208 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5211 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5213 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5214 optimization when used with float constants.
5216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5218 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5221 * locale/nl_langinfo_l.c: Make direct reference to every
5222 _nl_current_CATEGORY symbol.
5223 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5224 (tests-static): Add tst-langinfo-static.
5225 (tests-special): Add tst-langinfo-static.out.
5226 ($(objpfx)tst-langinfo.out): Redirect output.
5227 ($(objpfx)tst-langinfo-static.out): New.
5228 * localedata/tst-langinfo.sh: Send output to stdout.
5229 * localedata/tst-langinfo-static.c: New file.
5232 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5233 when the shift amount is modulo the limb size.
5235 2014-05-20 Richard Henderson <rth@redhat.com>
5238 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5239 Change type of sa_flags from unsigned int to int.
5242 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5244 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5246 2014-05-20 Will Newton <will.newton@linaro.org>
5248 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5249 Test the return value of the system call in the nocancel case.
5251 2014-05-20 Will Newton <will.newton@linaro.org>
5252 Yvan Roux <yvan.roux@linaro.org>
5254 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5255 #include of asm/ptrace.h.
5256 (PTRACE_GET_THREAD_AREA): Remove #undef.
5257 (PTRACE_GETHBPREGS): Likewise.
5258 (PTRACE_SETHBPREGS): Likewise.
5259 (struct user_regs_struct): New structure.
5260 (struct user_fpsimd_struct): New structure.
5261 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5262 #include of asm/ptrace.h and second #include of sys/user.h.
5263 (PTRACE_GET_THREAD_AREA): Remove #undef.
5264 (PTRACE_GETHBPREGS): Likewise.
5265 (PTRACE_SETHBPREGS): Likewise.
5266 (ELF_NGREG): Use new struct user_regs_struct.
5267 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5269 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5274 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5278 membar to avoid block loads/stores to overlap previous stores.
5280 2014-05-17 Richard Henderson <rth@redhat.com>
5282 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5283 Create the __##syscall_name##_nocancel entry point.
5284 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5285 Remove; let the sysdep-cancel.h code create it.
5287 2014-05-17 David S. Miller <davem@davemloft.net>
5289 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5290 Protect with __USE_GNU.
5291 (TIOCSET_TEMPT): Likewise.
5292 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5293 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5294 these are already provided in bits/ioctl-types.h
5296 2014-05-16 Roland McGrath <roland@hack.frob.com>
5298 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5299 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5301 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5302 Use wait4 regardless of [__NR_waitpid].
5304 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5307 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5308 (_FP_NANSIGN_Q): Set the quiet bit.
5310 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5312 * benchtests/Makefile
5313 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5314 not $(common-objpfx)math/libm.so.
5315 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5316 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5317 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5318 $(common-objpfx)dlfcn/libdl.so.
5319 ($(objpfx)tst-audit8): Depend on $(libm), not
5320 $(common-objpfx)math/libm.so.
5321 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5322 not $(common-objpfx)dlfcn/libdl.so.
5324 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5325 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5326 [$(build-shared) = yes].
5327 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5328 $(common-objpfx)nptl/libpthread.so.
5329 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5330 $(common-objpfx)math/libm.so$(libm.so-version) or
5331 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5332 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5333 $(common-objpfx)dlfcn/libdl.so.
5334 * setjmp/Makefile (link-libm): Remove variable.
5335 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5336 * stdio-common/Makefile (link-libm): Remove variable.
5337 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5338 * stdlib/Makefile (link-libm): Remove variable.
5339 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5340 ($(objpfx)tst-strtod-round): Likewise.
5341 ($(objpfx)tst-tininess): Likewise.
5342 ($(objpfx)tst-strtod-underflow): Likewise.
5343 ($(objpfx)tst-strtod6): Likewise.
5344 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5345 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5346 $(common-objpfx)dlfcn/libdl.so.
5348 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5351 BSD terminal modes definitions.
5353 2014-05-16 Roland McGrath <roland@hack.frob.com>
5355 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5356 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5358 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5359 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5360 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5361 Don't do #include_next.
5362 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5363 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5364 Don't do #include_next.
5365 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5366 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5367 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5368 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5370 2014-05-16 Allan McRae <allan@archlinux.org>
5372 * po/sv.po: Update Swedish translation from translation project.
5374 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5377 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5380 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5381 errno if the TIOCGPTN ioctl fails with an error different than
5383 * login/tst-ptsname.c: New file.
5384 * login/Makefile (tests): Add tst-ptsname.
5387 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5390 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5394 herrno to return EAI_AGAIN.
5396 2014-05-14 Roland McGrath <roland@hack.frob.com>
5398 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5399 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5400 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5401 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5402 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5403 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5404 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5405 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5407 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5408 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5409 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5410 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5411 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5413 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5414 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5415 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5423 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5425 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5427 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5429 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5431 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5434 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5436 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5438 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5440 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5442 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5444 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5450 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5452 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5454 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5456 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5458 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5463 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5465 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5467 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5469 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5471 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5473 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5475 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5477 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5479 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5484 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5486 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5489 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5490 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5491 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5492 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5493 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5494 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5496 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5497 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5498 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5499 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5500 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5502 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5504 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5506 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5508 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5509 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5510 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5512 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5514 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5516 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5517 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5518 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5520 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5521 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5523 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5524 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5525 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5527 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5528 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5533 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5536 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5539 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5541 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5544 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5545 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5546 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5548 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5550 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5551 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5553 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5556 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5558 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5559 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5561 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5564 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5566 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5568 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5570 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5572 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5573 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5578 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5579 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5581 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5584 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5586 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5589 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5591 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5593 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5595 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5596 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5598 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5599 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5601 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5603 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5604 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5606 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5609 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5611 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5613 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5614 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5615 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5616 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5617 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5618 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5619 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5621 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5622 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5625 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5627 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5628 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5630 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5631 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5633 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5634 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5635 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5636 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5637 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5638 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5640 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5642 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5643 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5644 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5645 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5646 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5647 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5649 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5652 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5654 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5655 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5656 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5657 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5658 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5660 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5662 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5664 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5666 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5668 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5669 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5670 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5672 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5674 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5676 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5677 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5679 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5680 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5682 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5683 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5684 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5685 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5686 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5687 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5688 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5689 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5690 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5691 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5692 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5693 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5695 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5696 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5698 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5699 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5701 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5702 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5703 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5704 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5706 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5707 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5708 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5710 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5712 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5713 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5715 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5716 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5718 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5720 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5721 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5722 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5723 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5724 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5725 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5726 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5728 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5729 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5730 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5731 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5732 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5733 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5734 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5737 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5738 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5739 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5740 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5742 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5743 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5744 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5745 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5746 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5747 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5748 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5749 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5750 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5751 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5753 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5754 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5756 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5757 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5758 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5759 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5760 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5761 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5762 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5763 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5764 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5765 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5766 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5767 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5768 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5769 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5770 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5790 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5791 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5793 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5794 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5796 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5797 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5798 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5799 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5800 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5801 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5802 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5803 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5804 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5806 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5807 that was previously under [RESET_PID].
5808 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5809 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5810 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5812 * sysdeps/i386/nptl/Implies: New file.
5813 * sysdeps/x86_64/nptl/Implies: New file.
5814 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5815 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5816 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5817 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5819 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5820 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5821 (__libc_vfork): New strong alias.
5822 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5823 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5825 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5826 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5827 (__libc_vfork): New strong alias.
5828 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5829 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5831 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5832 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5833 (__libc_vfork): New strong alias.
5834 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5835 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5836 * nptl/pt-vfork.c: New file.
5837 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5838 (libpthread: GLIBC_2.20): New version set (empty).
5840 2014-05-14 Will Newton <will.newton@linaro.org>
5842 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5845 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5848 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5849 arguments with exponent 65 or above.
5850 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5851 arguments 0x1p113L or above.
5852 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5853 to arguments 0x1p107L or above.
5854 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5855 positive arguments with exponent 65 or above.
5856 * math/auto-libm-test-in: Add more tests of log1p.
5857 * math/auto-libm-test-out: Regenerated.
5860 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5861 non-finite arguments is +0.
5862 * math/s_cacosf.c (__cacosf): Likewise.
5863 * math/s_cacosl.c (__cacosl): Likewise.
5864 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5865 * sysdeps/i386/fpu/libm-test-ulps: Update.
5866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5869 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5871 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5872 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5873 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5874 for explicit high bit of mantissa when testing for argument equal
5876 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5877 * sysdeps/i386/fpu/libm-test-ulps: Update.
5878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5881 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5882 (__erf): Scale by 16 instead of 8 in potentially underflowing
5883 case. Ensure exception if result actually underflows.
5884 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5885 (__erff): Scale by 16 instead of 8 in potentially underflowing
5886 case. Ensure exception if result actually underflows.
5887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5888 (efx8): Remove variable.
5889 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5890 case. Ensure exception if result actually underflows.
5891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5892 (efx8): Remove variable.
5893 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5894 case. Ensure exception if result actually underflows.
5895 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5896 (efx8): Remove variable.
5897 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5898 case. Ensure exception if result actually underflows.
5899 * math/auto-libm-test-in: Add more tests of erf.
5900 * math/auto-libm-test-out: Regenerated.
5902 2014-05-14 Andreas Schwab <schwab@suse.de>
5904 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5905 Remove code conditionalized on USE___THREAD.
5907 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5908 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5911 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5914 Define unconditionally.
5915 (__ASSUME_O_CLOEXEC): Likewise.
5916 (__ASSUME_SOCK_CLOEXEC): Likewise.
5917 (__ASSUME_IN_NONBLOCK): Likewise.
5918 (__ASSUME_PIPE2): Likewise.
5919 (__ASSUME_EVENTFD2): Likewise.
5920 (__ASSUME_SIGNALFD4): Likewise.
5921 (__ASSUME_DUP3): Likewise.
5922 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5923 (__ASSUME_DUP3): Do not define.
5924 (__ASSUME_EVENTFD2): Likewise.
5925 (__ASSUME_IN_NONBLOCK): Likewise.
5926 (__ASSUME_O_CLOEXEC): Likewise.
5927 (__ASSUME_PIPE2): Likewise.
5928 (__ASSUME_SIGNALFD4): Likewise.
5929 (__ASSUME_SOCK_CLOEXEC): Likewise.
5930 (__ASSUME_UTIMES): Undefine.
5931 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5932 (__ASSUME_UTIMES): Do not define.
5933 (__ASSUME_O_CLOEXEC): Likewise.
5934 (__ASSUME_SOCK_CLOEXEC): Likewise.
5935 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5936 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5938 (__ASSUME_PIPE2): Likewise.
5939 (__ASSUME_EVENTFD2): Likewise.
5940 (__ASSUME_SIGNALFD4): Likewise.
5941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5942 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5944 (__ASSUME_EVENTFD2): Likewise.
5945 (__ASSUME_SIGNALFD4): Likewise.
5946 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5947 (__ASSUME_32BITUIDS): Likewise.
5948 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5949 (__ASSUME_IPC64): Likewise.
5950 (__ASSUME_ST_INO_64_BIT): Likewise.
5951 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5952 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5953 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5954 (__ASSUME_UTIMES): Do not define.
5955 (__ASSUME_PSELECT): Likewise.
5956 (__ASSUME_PPOLL): Likewise.
5957 (__ASSUME_O_CLOEXEC): Likewise.
5958 (__ASSUME_SOCK_CLOEXEC): Likewise.
5959 (__ASSUME_IN_NONBLOCK): Likewise.
5960 (__ASSUME_PIPE2): Likewise.
5961 (__ASSUME_EVENTFD2): Likewise.
5962 (__ASSUME_SIGNALFD4): Likewise.
5963 (__ASSUME_DUP3): Likewise.
5964 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5965 (__ASSUME_UTIMES): Likewise.
5966 (__ASSUME_O_CLOEXEC): Likewise.
5967 (__ASSUME_SOCK_CLOEXEC): Likewise.
5968 (__ASSUME_IN_NONBLOCK): Likewise.
5969 (__ASSUME_PIPE2): Likewise.
5970 (__ASSUME_EVENTFD2): Likewise.
5971 (__ASSUME_SIGNALFD4): Likewise.
5972 (__ASSUME_DUP3): Likewise.
5973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5974 (__ASSUME_UTIMES): Likewise.
5975 (__ASSUME_O_CLOEXEC): Likewise.
5976 (__ASSUME_SOCK_CLOEXEC): Likewise.
5977 (__ASSUME_IN_NONBLOCK): Likewise.
5978 (__ASSUME_PIPE2): Likewise.
5979 (__ASSUME_EVENTFD2): Likewise.
5980 (__ASSUME_SIGNALFD4): Likewise.
5981 (__ASSUME_DUP3): Likewise.
5982 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5984 (__ASSUME_UTIMES): Likewise.
5985 (__ASSUME_EVENTFD2): Likewise.
5986 (__ASSUME_SIGNALFD4): Likewise.
5987 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5988 (__ASSUME_O_CLOEXEC): Likewise.
5989 (__ASSUME_SOCK_CLOEXEC): Likewise.
5990 (__ASSUME_IN_NONBLOCK): Likewise.
5991 (__ASSUME_PIPE2): Likewise.
5992 (__ASSUME_EVENTFD2): Likewise.
5993 (__ASSUME_SIGNALFD4): Likewise.
5994 (__ASSUME_DUP3): Likewise.
5995 (__ASSUME_UTIMES): Undefine.
5997 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5998 feclearexcept. Remove symbol versioning code.
5999 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6000 symbol versioning code.
6001 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6002 symbol versioning code.
6003 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6004 feupdateenv. Remove symbol versioning code.
6005 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6006 fegetexceptflag. Remove symbol versioning code.
6007 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6008 fesetexceptflag. Remove symbol versioning code.
6009 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6010 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6011 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6012 (__posix_fadvise64_l32): Remove prototype.
6013 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6016 2014-05-13 Roland McGrath <roland@hack.frob.com>
6018 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6019 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6020 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6021 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6023 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6025 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6026 current working directory
6028 2014-05-13 Roland McGrath <roland@hack.frob.com>
6030 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6031 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6032 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6033 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6034 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6035 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6036 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6037 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6038 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6039 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6040 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6041 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6042 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6043 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6044 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6045 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6046 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6047 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6048 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6049 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6050 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6051 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6052 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6053 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6054 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6055 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6056 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6057 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6058 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6059 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6060 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6061 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6062 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6063 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6064 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6065 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6066 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6067 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6068 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6069 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6070 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6071 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6073 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6074 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6076 * sysdeps/unix/sysv/linux/arm/Makefile
6077 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6078 Add rt-aeabi_unwind_cpp_pr1.
6079 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6080 Add nptl-aeabi_unwind_cpp_pr1.
6081 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6082 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6083 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6084 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6085 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6086 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6088 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6089 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6090 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6091 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6093 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6094 Deconditionalize the code that was previously under [RESET_PID].
6095 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6097 * sysdeps/generic/exit-thread.h: New file.
6098 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6099 * include/unistd.h (__exit_thread): Remove declaration.
6100 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6101 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6102 * csu/libc-start.c: Include <exit-thread.h>.
6103 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6104 * nptl/pthread_create.c: Include <exit-thread.h>.
6105 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6106 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6107 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6108 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6109 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6110 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6111 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6112 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6113 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6114 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6115 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6116 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6117 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6118 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6119 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6120 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6121 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6123 2014-05-13 Andreas Schwab <schwab@suse.de>
6125 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6127 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6130 (__ASSUME_UTIMES): Do not condition on kernel version.
6131 (__ASSUME_PSELECT): Define unconditionally.
6132 (__ASSUME_PPOLL): Likewise.
6133 (__ASSUME_ATFCTS): Likewise.
6134 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6135 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6136 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6137 (__ASSUME_UTIMENSAT): Define unconditionally.
6138 (__ASSUME_PRIVATE_FUTEX): Likewise.
6139 (__ASSUME_FALLOCATE): Likewise.
6140 (__ASSUME_O_CLOEXEC): Likewise.
6141 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6142 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6143 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6144 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6145 (__ASSUME_IN_NONBLOCK): Likewise.
6146 (__ASSUME_PIPE2): Likewise.
6147 (__ASSUME_EVENTFD2): Likewise.
6148 (__ASSUME_SIGNALFD4): Likewise.
6149 (__ASSUME_DUP3): Likewise.
6150 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6151 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6152 (__ASSUME_AT_RANDOM): Likewise.
6153 (__ASSUME_PREADV): Likewise.
6154 (__ASSUME_PWRITEV): Likewise.
6155 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6156 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6157 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6158 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6159 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6160 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6161 (__ASSUME_O_CLOEXEC): Define unconditionally.
6162 (__ASSUME_PSELECT): Do not undefine conditionally.
6163 (__ASSUME_PPOLL): Likewise.
6164 (__ASSUME_ATFCTS): Likewise.
6165 (__ASSUME_SET_ROBUST_LIST): Likewise.
6166 (__ASSUME_UTIMENSAT): Likewise.
6167 (__ASSUME_FDATASYNC): Define unconditionally.
6168 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6169 (__ASSUME_SIGFRAME_V2): Likewise.
6170 )__ASSUME_EVENTFD2): Likewise.
6171 (__ASSUME_SIGNALFD4): Likewise.
6172 (__ASSUME_PSELECT): Do not undefine conditionally.
6173 (__ASSUME_PPOLL): Likewise.
6174 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6175 (__ASSUME_PSELECT): Define unconditionally.
6176 (__ASSUME_PPOLL): Likewise.
6177 (__ASSUME_O_CLOEXEC): Likewise.
6178 (__ASSUME_SOCK_CLOEXEC): Likewise.
6179 (__ASSUME_IN_NONBLOCK): Likewise.
6180 (__ASSUME_PIPE2): Likewise.
6181 (__ASSUME_EVENTFD2): Likewise.
6182 (__ASSUME_SIGNALFD4): Likewise.
6183 (__ASSUME_DUP3): Likewise.
6184 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6185 (__ASSUME_O_CLOEXEC): Likewise.
6186 (__ASSUME_SOCK_CLOEXEC): Likewise.
6187 (__ASSUME_IN_NONBLOCK): Likewise.
6188 (__ASSUME_PIPE2): Likewise.
6189 (__ASSUME_EVENTFD2): Likewise.
6190 (__ASSUME_SIGNALFD4): Likewise.
6191 (__ASSUME_DUP3): Likewise.
6192 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6193 (__ASSUME_EVENTFD2): Likewise.
6194 (__ASSUME_SIGNALFD4): Likewise.
6195 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6197 2014-05-12 Andreas Schwab <schwab@suse.de>
6200 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6201 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6202 than maximum RPC packet size.
6203 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6204 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6205 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6206 (_nss_nis_getservbyport_r): Likewise.
6208 2014-05-12 Will Newton <will.newton@linaro.org>
6210 * malloc/Makefile (tests): Add tst-mallopt.
6211 * malloc/tst-mallopt.c: New file.
6213 2014-05-09 Roland McGrath <roland@hack.frob.com>
6215 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6216 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6218 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6221 (tst-tlsmod6.so): Likewise.
6223 2014-05-09 Roland McGrath <roland@hack.frob.com>
6225 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6227 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6230 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6231 and <dl-procinfo.h>.
6232 (__fegetenv): Save SSE state in envp->__eip if supported.
6233 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6234 envp->__eip if supported.
6235 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6236 and <dl-procinfo.h>.
6237 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6238 __data_offset and __data_selector in environment to 0. Set SSE
6240 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6242 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6244 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6246 2014-05-09 Will Newton <will.newton@linaro.org>
6248 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6249 and libc_relro_required for ARM.
6250 * sysdeps/arm/preconfigure: Regenerate.
6252 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6253 Stefan Liebler <stli@linux.vnet.ibm.com>
6255 * config.make.in (enable-lock-elision): New Makefile variable.
6256 * configure.ac: Likewise.
6257 * configure: Regenerate.
6258 * sysdeps/s390/configure.ac:
6259 Add check for gcc transactions support.
6260 * sysdeps/s390/configure: Regenerate.
6261 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6262 Build elision files if enabled.
6263 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6264 Add lock elision support for s390.
6265 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6266 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6267 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6268 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6269 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6270 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6271 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6277 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6279 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6280 (__lll_timedlock_elision, __lll_lock_elision)
6281 (__lll_unlock_elision, __lll_trylock_elision)
6282 (lll_timedlock_elision, lll_lock_elision)
6283 (lll_unlock_elision, lll_trylock_elision): Add.
6284 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6285 (pthread_mutex_t): Add lock elision support for s390.
6287 2014-05-14 Wilco <wdijkstr@arm.com>
6289 * sysdeps/arm/fclrexcpt.c: Cleanup.
6290 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6291 * sysdeps/arm/feenablxcpt.c: Cleanup.
6292 * sysdeps/arm/fegetenv.c: Cleanup.
6293 * sysdeps/arm/fegetexcept.c: Cleanup.
6294 * sysdeps/arm/fegetround.c: Cleanup.
6295 * sysdeps/arm/feholdexcpt.c: Cleanup.
6296 * sysdeps/arm/fesetenv.c: Cleanup.
6297 * sysdeps/arm/fesetround.c: Cleanup.
6298 * sysdeps/arm/feupdateenv.c: Cleanup.
6299 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6300 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6301 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6302 * sysdeps/arm/ftestexcept.c: Cleanup.
6303 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6304 * sysdeps/arm/setfpucw.c: Cleanup.
6306 2014-05-09 Will Newton <will.newton@linaro.org>
6308 * sysdeps/arm/armv7/strcmp.S: New file.
6309 * NEWS: Mention addition of ARMv7 optimized strcmp.
6311 2014-05-08 Roland McGrath <roland@hack.frob.com>
6313 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6314 look for %.ac rather than %.in.
6316 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6317 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6318 * sysdeps/mach/hurd/configure: Regenerated.
6319 * sysdeps/unix/sysv/linux/configure: Regenerated.
6321 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6323 2014-05-07 Steve Ellcey <sellcey@mips.com>
6326 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6330 2014-05-07 Andreas Schwab <schwab@suse.de>
6332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6333 when skipping over non-matching result from nscd.
6335 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6338 * nptl/sockperf.c (client): Check socket return value.
6341 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6342 nscd security class.
6344 2014-05-06 Roland McGrath <roland@hack.frob.com>
6346 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6347 * sysdeps/arm/unwind.h: ... here.
6349 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6352 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6355 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6357 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6358 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6359 multiarch strncpy for PPC64.
6360 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6361 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6363 multiarch optimizations.
6364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6365 (__libc_ifunc_impl_list): Likewise.
6366 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6367 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6368 multiarch stpncpy for PPC64.
6369 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6370 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6372 2014-05-06 Andreas Schwab <schwab@suse.de>
6375 * gmon/mcount.c (_MCOUNT_DECL): Use
6376 atomic_compare_and_exchange_bool_acq instead of
6377 catomic_compare_and_exchange_bool_acq.
6379 2014-05-05 Roland McGrath <roland@hack.frob.com>
6381 * elf/Makefile (others, install-bin): Remove pldd.
6382 (pldd-modules): Variable removed.
6383 ($(objpfx)pldd): Target removed.
6384 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6385 (others, install-bin): Append pldd here.
6386 ($(objpfx)pldd): New target.
6388 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6389 to 0, so the first #if test emitted later doesn't see it undefined.
6390 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6391 * sysdeps/gnu/errlist.c: Regenerated.
6393 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6396 [libc_hidden_builtin_def]: Define to empty value.
6397 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6398 [libc_hidden_builtin_def]: Likewise.
6399 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6400 [libc_hidden_builtin_def]: Likewise.
6401 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6402 [libc_hidden_builtin_def]: Likewise.
6403 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6404 __redirect_memcpy and define ifunc as default hidden symbol.
6405 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6406 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6408 2014-05-04 Adam Conrad <adconrad@0c3.net>
6410 * locale/iso-4217.def: Reintroduce XDR currency.
6412 2014-05-04 Allan McRae <allan@archlinux.org>
6414 * po/eo.po: Update Esperanto translation from translation project.
6416 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6418 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6419 and FEATURE_INDEX_MAX to 1.
6420 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6422 2014-05-01 Steve Ellcey <sellcey@mips.com>
6424 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6425 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6426 * iconvdata/big5.c (ONE_DIRECTION): Define.
6427 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6428 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6429 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6430 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6431 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6432 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6433 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6434 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6435 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6436 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6437 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6438 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6439 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6440 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6441 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6442 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6443 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6444 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6445 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6446 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6447 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6448 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6449 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6450 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6451 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6452 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6453 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6454 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6455 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6456 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6457 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6458 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6459 * iconvdata/johab.c (ONE_DIRECTION): Define.
6460 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6461 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6462 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6463 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6464 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6465 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6466 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6467 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6468 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6469 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6471 2014-05-01 Roland McGrath <roland@hack.frob.com>
6473 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6474 (_IO_JUMPS_OFFSET): Define to 0.
6476 * nptl/sysdeps/pthread/bits/libc-lock.h
6477 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6478 (__libc_lock_define_initialized_recursive): Always define using
6479 initializer. Modern compilers treat uninitialized (implicit zero) and
6480 explicit zero initializers the same (i.e. put the datum in bss).
6482 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6484 * nscd/nscd-client.h: Include <string.h>.
6486 2014-05-01 David S. Miller <davem@davemloft.net>
6489 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6490 multiple zero bytes exist at the end of a string.
6491 Reported by Aurelien Jarno <aurelien@aurel32.net>
6493 * string/test-strcmp.c (check): Add explicit test for situations where
6494 there are multiple zero bytes after the first.
6496 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6499 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6500 when compiling wprintf.
6501 * stdio-common/tstdiomisc.c (t3): New function.
6504 2014-05-01 Steve Ellcey <sellcey@mips.com>
6506 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6507 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6508 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6509 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6511 2014-05-01 Steve Ellcey <sellcey@mips.com>
6513 * stdlib/longlong.h: Updated from GCC.
6515 2014-05-01 Will Newton <will.newton@linaro.org>
6516 Bernard Ogden <bernie.ogden@linaro.org>
6518 * NEWS: Update fixed bug list.
6521 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6523 2014-04-30 David S. Miller <davem@davemloft.net>
6525 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6526 (libc_feholdexcept_setround_sparc_ctx): New function.
6527 (libc_fesetenv_sparc_ctx): Likewise.
6528 (libc_feupdateenv_sparc_ctx): Likewise.
6529 (libc_feholdsetround_sparc_ctx): Likewise.
6530 (libc_feholdexcept_setround_ctx): Define.
6531 (libc_feholdexcept_setroundf_ctx): Likewise.
6532 (libc_feholdexcept_setroundl_ctx): Likewise.
6533 (libc_fesetenv_ctx): Likewise.
6534 (libc_fesetenvf_ctx): Likewise.
6535 (libc_fesetenvl_ctx): Likewise.
6536 (libc_feupdateenv_ctx): Likewise.
6537 (libc_feupdateenvf_ctx): Likewise.
6538 (libc_feupdateenvl_ctx): Likewise.
6539 (libc_feresetround_ctx): Likewise.
6540 (libc_feresetroundf_ctx): Likewise.
6541 (libc_feresetroundl_ctx): Likewise.
6542 (libc_feholdsetround_ctx): Likewise.
6543 (libc_feholdsetroundf_ctx): Likewise.
6544 (libc_feholdsetroundl_ctx): Likewise.
6546 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6547 with __USE_GNU instead of XOPEN cpp guards.
6549 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6552 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6553 with XOPEN cpp guards.
6555 2014-04-30 Julian Brown <julian@codesourcery.com>
6558 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6561 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6564 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6566 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6567 * sysdeps/unix/sysv/linux/configure: Regenerated.
6568 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6569 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6570 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6571 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6572 * README: Update reference to required Linux kernel version.
6573 * manual/install.texi (Linux): Update reference to required Linux
6574 kernel headers version.
6575 * INSTALL: Regenerated.
6577 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6579 [POSIX] (limits.h): Likewise.
6580 [POSIX] (math.h): Likewise.
6581 [POSIX] (sys/wait.h): Likewise.
6582 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6584 [POSIX] (stddef.h): Do not allow header inclusion.
6586 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6590 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6592 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6593 Return immediately after lll_futex_wake.
6595 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6598 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6600 (datahead_init_pos): Call datahead_init_common early.
6601 (datahead_init_neg): Likewise.
6603 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6604 datahead_init_neg): New functions.
6605 * nscd/aicache.c (addhstaiX): Use them.
6606 * nscd/grpcache.c (cache_addgr): Likewise.
6607 * nscd/hstcache.c (cache_addhst): Likewise.
6608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6609 * nscd/netgroupcache.c (do_notfound): Likewise.
6610 (addgetnetgrentX): Likewise.
6611 (addinnetgrX): Likewise.
6612 * nscd/pwdcache.c (cache_addpw): Likewise.
6613 * nscd/servicescache.c (cache_addserv): Likewise.
6615 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6616 Atsushi Onoe <atsushi@onoe.org>
6621 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6622 one response is valid.
6623 * resolv/res_send.c (send_dg): Check for validity of other
6624 response if the current response is a referral.
6626 2014-04-29 Steve Ellcey <sellcey@mips.com>
6628 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6630 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6633 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6634 Always divide by positive zero when computing -Inf result.
6635 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6636 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6638 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6640 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6641 FPSCR if value do not change.
6642 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6643 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6644 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6645 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6646 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6647 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6650 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6652 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6653 * sysdeps/unix/sysv/linux/hppa: Move directory from
6654 ports/systeps/unix/sysv/linux/hppa.
6655 * README: Update listing for hppa-*-linux-gnu.
6657 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6660 * manual/stdio.texi (Hook functions): Fix types of stream hook
6663 * socket/sys/socket.h: Fix typo in comment.
6665 2014-04-28 Wilco <wdijkstr@arm.com>
6667 * sysdeps/arm/fenv_private.h: New file.
6668 * sysdeps/arm/math_private.h: New file.
6669 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6671 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6673 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6675 (La_x86_64_retval): Likewise.
6677 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6679 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6680 fpsr if value didn't change.
6681 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6682 to fpcr if value didn't change.
6683 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6684 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6685 fpsr or fpcr if value didn't change.
6686 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6687 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6688 fpcr if value didn't change.
6689 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6690 to fpsr if value didn't change.
6692 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6694 * nptl/tst-sem3.c: Use test-skeleton.c
6695 (main): Rename to do_test. Use return instead of
6697 * nptl/tst-sem4.c: Use test-skeleton.c
6698 (main): Rename to do_test.
6700 2014-04-22 David S. Miller <davem@davemloft.net>
6702 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6703 (struct sigaction): New struct member __glibc_reserved0, change
6704 type of sa_flags to int.
6706 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6708 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6709 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6711 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6713 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6714 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6716 2014-04-22 Will Newton <will.newton@linaro.org>
6717 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6719 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6720 (__longjmp): Add longjmp and longjmp_target SystemTap
6722 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6723 (__sigsetjmp): Add setjmp SystemTap probe.
6725 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6727 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6730 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6732 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6734 * sysdeps/powerpc/fpu/fenv_private.h
6735 (libc_feholdexcept_setroundl_ctx): Define to
6736 libc_feholdexcept_setround_ppc_ctx.
6737 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6738 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6739 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6740 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6742 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6744 * sysdeps/aarch64/math-tests.h: New file.
6746 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6748 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6751 Check and set bit_AVX2_Usable.
6752 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6754 (bit_AVX2): Likewise.
6755 (index_AVX2_Usable): Likewise.
6756 (CPUID_AVX2): Likewise.
6757 (HAS_AVX2): Likewise.
6759 2014-04-17 Will Newton <will.newton@linaro.org>
6761 * manual/setjmp.texi (System V contexts): Add note that
6762 calling setcontext on a context created by a call to a
6763 signal handler is undefined. Update text to note that
6764 setcontext from a signal handler is possible but not
6768 * stdlib/tst-setcontext.c: Include signal.h.
6769 (main): Check that the signal stack before and
6770 after swapcontext is the same.
6772 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6773 Re-implement to restore registers in user code and avoid
6774 rt_sigreturn system call.
6776 2014-04-17 Wilco <wdijkstr@arm.com>
6778 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6779 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6780 * math/test-fenv.c: Skip exception trap tests on targets which only
6781 support non-stop mode.
6783 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6784 Wilco Dijkstra <wilco.dijkstra@arm.com>
6786 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6787 (libc_feholdsetround_aarch64_ctx)
6788 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6789 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6790 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6791 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6792 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6793 (libc_feresetround_noexl_ctx): Define.
6795 2014-04-16 Richard Henderson <rth@redhat.com>
6797 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6799 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6802 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6803 const from the non-libc, non-ldso copy.
6805 * sysdeps/alpha/libm-test-ulps: Regenerate.
6807 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6808 Wilco Dijkstra <wilco.dijkstra@arm.com>
6810 * sysdeps/aarch64/fpu/math_private.h: New file.
6812 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6814 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6816 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6819 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6820 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6822 Intel MPX bound registers before _dl_profile_fixup.
6823 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6824 registers after _dl_profile_fixup. Save and restore bound
6825 registers bnd0/bnd1 when calling _dl_call_pltexit.
6826 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6827 (LR_BND_OFFSET): Likewise.
6828 (LRV_BND0_OFFSET): Likewise.
6829 (LRV_BND1_OFFSET): Likewise.
6831 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6833 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6835 * sysdeps/mach/hurd/i386/tls.h: ... here.
6836 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6837 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6840 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6842 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6844 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6846 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6848 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6851 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6852 * sysdeps/s390/configure: Regenerate.
6855 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6856 Set round-to-nearest internally to reduce error accumulation.
6858 2014-04-16 Alan Modra <amodra@gmail.com>
6862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6863 * math/libm-test.inc (frexp_test_data): Add tests.
6864 * NEWS: Update fixed bug list.
6866 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6868 * benchtests/Makefile: Depend on libraries in build directory.
6869 (bench-math): Separate out math tests.
6870 (bench-pthread): Separate out pthread tests.
6871 (bench): Include math and pthread tests.
6873 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6876 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6877 _dl_debug_initialize.
6879 * configure.ac: Remove SELinux header check.
6880 * configure: Regenerate.
6881 * nscd/selinux.c (perms): Array of const char* to permission names.
6882 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6883 default policy. Call string_to_security_class and string_to_av_perm to
6884 translate strings. Enforce default policy and call avs_has_perm with
6885 results of translated strings.
6887 2014-04-13 David S. Miller <davem@davemloft.net>
6889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6891 2014-04-12 Allan McRae <allan@archlinux.org>
6894 * manual/string.texi (Collation Functions): Fix qsort argument
6896 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6898 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6900 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6901 Make the test a no-op if there are no exceptions defined.
6903 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6905 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6906 enable-hardcoded-path-in-tests
6908 2014-04-11 Will Newton <will.newton@linaro.org>
6910 * benchtests/Makefile (extra-objs): Add json-lib.o.
6911 (bench-func): Tidy up JSON output.
6912 * benchtests/bench-skeleton.c: Include json-lib.h.
6913 (main): Use JSON library functions to do output of
6915 * benchtests/bench-timing-type.c (main): Output the
6916 timing type simply, leaving formatting to the user.
6917 * benchtests/json-lib.c: New file.
6918 * benchtests/json-lib.h: Likewise.
6920 2014-04-11 Torvald Riegel <triegel@redhat.com>
6923 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6924 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6925 memory barriers. Add comments.
6926 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6927 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6928 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6929 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6930 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6931 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6933 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6935 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6936 * sysdeps/s390/s390-64/configure.ac: ... this ...
6937 * sysdeps/s390/configure.ac: ... to here.
6938 * sysdeps/s390/s390-32/configure: Delete file.
6939 * sysdeps/s390/s390-64/configure: Delete file.
6940 * sysdeps/s390/configure: Regenerate.
6942 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6944 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6946 2014-04-11 Will Newton <will.newton@linaro.org>
6948 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6949 to zero if it is not defined elsewhere. (mtrim): Test
6950 the value of MALLOC_DEBUG with #if rather than #ifdef.
6952 2014-04-10 Torvald Riegel <triegel@redhat.com>
6954 * benchtests/pthread_once-inputs: New file.
6955 * benchtests/pthread_once-source.c: New file.
6956 * benchtests/README: Update documentation.
6958 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6959 H.J. Lu <hongjiu.lu@intel.com>
6962 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6963 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6964 * sysdeps/x86_64/configure: Regenerated.
6965 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6967 (REGISTER_SAVE_RAX): Likewise.
6968 (REGISTER_SAVE_RCX): Likewise.
6969 (REGISTER_SAVE_RDX): Likewise.
6970 (REGISTER_SAVE_RSI): Likewise.
6971 (REGISTER_SAVE_RDI): Likewise.
6972 (REGISTER_SAVE_R8): Likewise.
6973 (REGISTER_SAVE_R9): Likewise.
6974 (REGISTER_SAVE_BND0): Likewise.
6975 (REGISTER_SAVE_BND1): Likewise.
6976 (REGISTER_SAVE_BND2): Likewise.
6977 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6978 bound registers when calling _dl_fixup.
6980 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6982 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6983 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6985 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6986 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6987 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6988 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6989 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6990 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6991 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6993 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6996 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6997 pathconf(_PC_NAME_MAX).
6999 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7003 (__PTHREAD_SPINS): Move definition to ...
7004 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7005 (__PTHREAD_SPINS): ... here.
7006 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7007 (__PTHREAD_SPIN): Likewise.
7008 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7009 (__PTHREAD_SPIN): Likewise.
7010 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7011 (__PTHREAD_SPIN): Likewise.
7012 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7013 (__PTHREAD_SPIN): Likewise.
7014 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7015 (__PTHREAD_SPIN): Likewise.
7016 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7017 (__PTHREAD_SPIN): Likewise.
7018 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7019 (__PTHREAD_SPIN): Likewise.
7020 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7021 (__PTHREAD_SPIN): Likewise.
7022 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7023 (__PTHREAD_SPIN): Likewise.
7024 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7025 (__PTHREAD_SPIN): Likewise.
7026 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7027 (__PTHREAD_SPIN): Likewise.
7028 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7029 (__PTHREAD_SPIN): Likewise.
7031 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7032 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7033 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7034 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7036 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7037 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7038 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7039 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7041 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7042 strlen symbol for non multi-arch builds.
7043 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7044 missing hidden_def and weak_alias.
7046 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7048 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7050 2014-04-07 Will Newton <will.newton@linaro.org>
7052 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7053 and contents. [!_LIBC] Remove #ifndef and contents.
7054 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7055 * string/memccpy.c (__memccpy): Use ANSI prototype.
7056 * string/memfrob.c (memfrob): Likewise.
7057 * string/strcoll.c (STRCOLL): Likewise.
7058 * string/strlen.c (strlen): Likewise.
7059 * string/strtok.c (STRTOK): Likewise.
7060 * string/strcat.c: Remove unused #include of memcopy.h.
7061 (strcat): Use ANSI prototype.
7062 * string/strchr.c: Remove unused #include of memcopy.h.
7063 (strchr): Use ANSI prototype.
7064 * string/strcmp.c: Remove unused #include of memcopy.h.
7065 (strcmp): Use ANSI prototype.
7066 * string/strcpy.c: Remove unused #include of memcopy.h.
7067 (strcpy): Use ANSI prototype.
7069 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7071 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7072 * config.make.in (config-extra-cppflags): Set it from
7073 libc_extra_cppflags.
7074 * configure.ac (libc_extra_cflags): Make it accumulate over
7075 configure fragments.
7076 (libc_extra_cppflags): New flag.
7077 * configure. Regenerate.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7079 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7080 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7084 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7085 result for FE_DOWNWARD rounding mode.
7086 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7090 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7092 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7093 in function argument name.
7095 2014-04-03 David Svoboda <svoboda@cert.org>
7098 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7101 2014-04-03 Roland McGrath <roland@hack.frob.com>
7103 * elf/dl-unmap-segments.h: New file.
7104 * sysdeps/generic/ldsodefs.h
7105 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7106 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7107 * elf/dl-fptr.c: Likewise.
7108 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7109 * sysdeps/aarch64/tlsdesc.c: Likewise.
7110 * sysdeps/arm/tlsdesc.c: Likewise.
7111 * sysdeps/i386/tlsdesc.c: Likewise.
7112 * sysdeps/tile/dl-runtime.c: Likewise.
7113 * sysdeps/x86_64/tlsdesc.c: Likewise.
7114 * elf/dl-load.h: New file.
7115 * elf/dl-load.c: Include it.
7116 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7117 Macros moved to dl-load.h.
7118 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7119 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7120 Use _dl_unmap_segments in place of __munmap.
7121 Break out segment-mapping loop into ...
7122 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7124 2014-04-03 Will Newton <will.newton@linaro.org>
7126 * elf/dl-lookup.c (do_lookup_x): Remove comment
7127 referring to nested function and move variable
7128 declarations down to before first use.
7130 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7134 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7136 * math/s_catanf.c (__catanf): Likewise.
7137 * math/s_catanh.c (__catanh): Likewise.
7138 * math/s_catanhf.c (__catanhf): Likewise.
7139 * math/s_catanhl.c (__catanhl): Likewise.
7140 * math/s_catanl.c (__catanl): Likewise.
7141 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7142 by positive zero when computing -Inf result.
7143 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7144 (catanh_test): Likewise.
7145 * sysdeps/i386/fpu/libm-test-ulps: Update.
7146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7149 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7150 instead of using underflowing value in computing result.
7151 * math/s_clog10.c (__clog10): Likewise.
7152 * math/s_clog10f.c (__clog10f): Likewise.
7153 * math/s_clog10l.c (__clog10l): Likewise.
7154 * math/s_clogf.c (__clogf): Likewise.
7155 * math/s_clogl.c (__clogl): Likewise.
7156 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7157 (clog10_test): Likewise.
7158 * sysdeps/i386/fpu/libm-test-ulps: Update.
7159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7161 2014-04-02 Alan Modra <amodra@gmail.com>
7164 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7165 output when value is near a power of two. Use int64_t for lx and
7166 remove casts. Use decimal rather than hex exponent constants.
7167 Don't use long double multiplication when double will suffice.
7168 * math/libm-test.inc (nextafter_test_data): Add tests.
7169 * NEWS: Add 16739 and 16786 to bug list.
7171 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7173 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7175 2014-04-01 Will Newton <will.newton@linaro.org>
7177 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7178 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7180 2014-04-01 Florian Weimer <fweimer@redhat.com>
7183 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7184 * nptl/tst-setuid2.c: New file.
7185 * nptl/Makefile (xtests): Add tst-setuid2.
7187 2014-04-01 Alan Modra <amodra@gmail.com>
7190 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7192 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7196 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7197 set errno as appropriate.
7198 * math/w_scalbf.c (__scalbf): Likewise.
7199 * math/w_scalbl.c (__scalbl): Likewise.
7200 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7201 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7202 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7206 * math/w_atan2.c: Include <errno.h>.
7207 (__atan2): Set errno for result underflowing to zero.
7208 * math/w_atan2f.c: Include <errno.h>.
7209 (__atan2f): Set errno for result underflowing to zero.
7210 * math/w_atan2l.c: Include <errno.h>.
7211 (__atan2l): Set errno for result underflowing to zero.
7212 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7214 * math/auto-libm-test-out: Regenerated.
7216 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7218 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7219 Encode instruction correctly in little endian.
7220 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7222 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7224 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7229 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7232 * sysdeps/unix/sysv/linux/kernel-features.h
7233 [__sparc__ && !__arch64__ && !__sparc_v9__]
7234 (__ASSUME_SET_ROBUST_LIST): Do not define.
7235 [__sparc__ && !__arch64__ && !__sparc_v9__]
7236 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7237 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7239 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7240 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7241 (__ASSUME_REQUEUE_PI): Likewise.
7242 (__ASSUME_SET_ROBUST_LIST): Likewise.
7243 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7244 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7246 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7247 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7249 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7253 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7254 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7256 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7257 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7261 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7262 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7263 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7265 2014-03-31 Will Newton <will.newton@linaro.org>
7267 * benchtests/Makefile (bench): Add ffs and ffsll to list
7269 * benchtests/ffs-inputs: New file.
7270 * benchtests/ffsll-inputs: Likewise.
7272 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7275 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7276 too large before casting to int.
7277 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7278 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7279 * math/libm-test.inc (scalb_test_data): Add more tests.
7281 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7283 * benchtests/Makefile (DETAILED_OPT): New make option.
7284 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7286 * benchtests/bench-skeleton.c: Include stdbool.h.
7287 (main): Store and print timings per input.
7288 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7289 member to each argument value.
7290 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7291 (_print_arg_data): Initialize per-input timing to 0.
7293 * benchtests/Makefile (timing-type): New binary.
7294 (bench-clean): Also remove bench-timing-type.
7295 (bench): New target for timing-type.
7296 (bench-func): Print output in JSON format.
7297 * benchtests/bench-skeleton.c (main): Print output in JSON
7299 * benchtests/bench-timing-type.c: New file.
7300 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7301 (TIMING_PRINT_STATS): Remove.
7302 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7305 * benchtests/bench-modf.c: Remove.
7306 * benchtests/modf-inputs: New inputs file.
7308 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7311 * math/s_clog10.c (M_PI_LOG10E): New macro.
7312 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7313 imaginary parts are 0.
7314 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7315 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7316 imaginary parts are 0.
7317 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7318 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7319 imaginary parts are 0.
7320 * math/libm-test.inc (clog10_test_data): Update expected results
7321 for when real and imaginary parts are 0.
7323 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7325 * elf/dl-load.c: Finish conversion of __builtin_expect into
7328 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7331 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7332 1+x for argument with exponent below -67.
7333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7335 * math/auto-libm-test-in: Add more tests of exp.
7336 * math/auto-libm-test-out: Regenerated.
7338 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7341 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7342 (nscd_getnetgrent): Use it.
7345 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7348 2014-03-27 Andi Kleen <ak@linux.intel.com>
7350 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7351 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7352 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7353 (lll_robust_unlock): Remove out of line section. Use cfi
7355 (LLL_STUB_UNWIND_INFO*): Remove.
7356 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7357 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7358 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7359 (lll_robust_unlock): Remove out of line section. Use cfi
7361 (LLL_STUB_UNWIND_INFO*): Remove.
7363 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7366 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7369 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7371 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7373 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7376 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7378 * math/test-fenv-preserve.c: New file.
7379 * math/Makefile (tests): Add test-fenv-preserve.
7381 2014-03-26 Will Newton <will.newton@linaro.org>
7383 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7385 2014-03-25 Roland McGrath <roland@hack.frob.com>
7387 * scripts/versionlist.awk: Partition the version sets and emit all
7388 GLIBC_* (sorted) before all others (sorted).
7390 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7392 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7393 GLIBC_2.2.5 version.
7395 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7397 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7400 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7405 2014-03-25 Andreas Schwab <schwab@suse.de>
7407 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7408 label to be used after in6ailist is initialized.
7410 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7412 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7413 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7415 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7419 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7421 (fp_formats): Update initializers.
7422 (init_fp_formats): Initialize new field.
7423 (output_for_one_input_case): Allow underflow for results up to
7425 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7426 * math/auto-libm-test-in: Don't mark some underflows from asin and
7428 * math/auto-libm-test-out: Regenerated.
7429 * sysdeps/i386/fpu/libm-test-ulps: Update.
7430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7432 2014-03-25 Andreas Schwab <schwab@suse.de>
7434 * libio/Makefile (tst-ftell-partial-wide-ENV)
7435 (tst-ftell-active-handler-ENV): Define.
7437 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7439 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7441 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7443 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7445 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7447 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7448 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7449 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7451 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7454 * elf/dl-load.c (open_verify): Add mode parameter.
7455 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7456 (open_path): Change from boolean 'secure' to complete flag 'mode'
7457 (_dl_map_object): Adjust.
7458 * elf/Makefile (tests): Add tst-dlopen-aout.
7459 * elf/tst-dlopen-aout.c: New test.
7461 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7464 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7465 (struct stat): Rename member pad0 to __glibc_reserved0.
7468 * sysdeps/s390/s390-32/bits/wordsize.h
7469 (__WORDSIZE32_SIZE_ULONG): New define.
7470 * sysdeps/s390/s390-64/bits/wordsize.h
7471 (__WORDSIZE32_SIZE_ULONG): Likewise.
7472 * sysdeps/generic/stdint.h (SIZE_MAX):
7473 Define as UL if __WORDSIZE32_SIZE_ULONG.
7476 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7477 (__glibc_reserved0): New variable.
7478 (sa_flags): Change type to int.
7480 * posix/Makefile (before-compile): Use += before-compile instead
7483 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7484 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7486 2014-03-20 Andreas Schwab <schwab@suse.de>
7489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7490 non-matching result from nscd.
7492 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7494 * scripts/bench.py: Moved to ...
7495 * benchtests/scripts/bench.py: ... here.
7496 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7498 2014-03-24 Andreas Schwab <schwab@suse.de>
7501 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7502 alloca_account and account alloca use for struct in6ailist.
7504 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7507 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7508 rounding mode to recompute results that overflow to infinity or
7510 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7512 * math/auto-libm-test-out: Regenerated.
7513 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7514 (ccosh_test): Likewise.
7515 (csin_test_data): Use plus_oflow.
7516 (csin_test): Use ALL_RM_TEST.
7517 (csinh_test_data): Use plus_oflow.
7518 (csinh_test): Use ALL_RM_TEST.
7519 * sysdeps/i386/fpu/libm-test-ulps: Update.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7522 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7524 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7525 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7526 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7529 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7531 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7532 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7533 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7534 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7536 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7537 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7539 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7540 * sysdeps/i386/fpu/libm-test-ulps: Update.
7541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7543 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7545 * scripts/bench.pl: Remove file.
7546 * scripts/bench.py: New benchmark script.
7547 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7548 * benchtests/README: Mention python dependency.
7549 * scripts/pylintrc: New file.
7550 * scripts/pylint: New file.
7552 * bits/mathdef.h: Use #ifdef instead of #if.
7553 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7554 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7555 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7556 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7557 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7558 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7560 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7561 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7563 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7565 and strpbrk-ppc64 objects.
7566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7567 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7568 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7569 multiarch strpbrk for POWER7.
7570 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7571 multiarch strpbrk for PPC64.
7572 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7574 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7577 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7579 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7580 (atan_test): Likewise.
7581 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7582 (atanh_test): Use ALL_RM_TEST.
7583 (atan2_test_data): Likewise.
7584 (cabs_test): Likewise.
7585 (cacosh_test): Likewise.
7586 (carg_test): Likewise.
7587 (casin_test): Likewise.
7588 (casinh_test): Likewise.
7589 (cbrt_test): Likewise.
7590 (csqrt_test): Likewise.
7591 (erf_test): Likewise.
7592 (erfc_test): Likewise.
7593 (pow10_test): Likewise.
7594 (exp2_test): Likewise.
7595 (hypot_test): Likewise.
7596 (j0_test): Likewise.
7597 (j1_test): Likewise.
7598 (lgamma_test): Likewise.
7599 (gamma_test): Likewise.
7600 (sincos_test): Likewise.
7601 (tanh_test): Likewise.
7602 (y0_test): Likewise.
7603 (y1_test): Likewise.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7607 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7609 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7611 and strcspn-ppc64 objects.
7612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7613 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7614 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7615 multiarch strcspn for POWER7.
7616 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7617 multiarch strcspn for PPC64.
7618 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7620 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7623 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7625 * math/gen-libm-test.pl (generate_testfile): Expect only function
7626 name as argument to AUTO_TESTS_* and pass results for all rounding
7627 modes to parse_args.
7628 (parse_auto_input): Separate inputs of automatic tests from
7629 outputs before storing in %auto_tests.
7630 * math/libm-test.inc (acos_test_data): Update call to
7632 (acos_test): Use ALL_RM_TEST.
7633 (acos_tonearest_test_data): Remove.
7634 (acos_test_tonearest): Likewise.
7635 (acos_towardzero_test_data): Likewise.
7636 (acos_test_towardzero): Likewise.
7637 (acos_downward_test_data): Likewise.
7638 (acos_test_downward): Likewise.
7639 (acos_upward_test_data): Likewise.
7640 (acos_test_upward): Likewise.
7641 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7642 (asin_test_data): Likewise.
7643 (asin_test): Use ALL_RM_TEST.
7644 (asin_tonearest_test_data): Remove.
7645 (asin_test_tonearest): Likewise.
7646 (asin_towardzero_test_data): Likewise.
7647 (asin_test_towardzero): Likewise.
7648 (asin_downward_test_data): Likewise.
7649 (asin_test_downward): Likewise.
7650 (asin_upward_test_data): Likewise.
7651 (asin_test_upward): Likewise.
7652 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7653 (atan_test_data): Likewise.
7654 (atanh_test_data): Likewise.
7655 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7656 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7657 (carg_test_data): Likewise.
7658 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7659 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7660 (ccosh_test_data): Likewise.
7661 (cexp_test_data): Likewise.
7662 (clog_test_data): Likewise.
7663 (clog10_test_data): Likewise.
7664 (cos_test_data): Update call to AUTO_TESTS_f_f.
7665 (cos_test): Use ALL_RM_TEST.
7666 (cos_tonearest_test_data): Remove.
7667 (cos_test_tonearest): Likewise.
7668 (cos_towardzero_test_data): Likewise.
7669 (cos_test_towardzero): Likewise.
7670 (cos_downward_test_data): Likewise.
7671 (cos_test_downward): Likewise.
7672 (cos_upward_test_data): Likewise.
7673 (cos_test_upward): Likewise.
7674 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7675 (cosh_test): Use ALL_RM_TEST.
7676 (cosh_tonearest_test_data): Remove.
7677 (cosh_test_tonearest): Likewise.
7678 (cosh_towardzero_test_data): Likewise.
7679 (cosh_test_towardzero): Likewise.
7680 (cosh_downward_test_data): Likewise.
7681 (cosh_test_downward): Likewise.
7682 (cosh_upward_test_data): Likewise.
7683 (cosh_test_upward): Likewise.
7684 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7685 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7686 (ctan_test_data): Likewise.
7687 (ctan_test): Use ALL_RM_TEST.
7688 (ctan_tonearest_test_data): Remove.
7689 (ctan_test_tonearest): Likewise.
7690 (ctan_towardzero_test_data): Likewise.
7691 (ctan_test_towardzero): Likewise.
7692 (ctan_downward_test_data): Likewise.
7693 (ctan_test_downward): Likewise.
7694 (ctan_upward_test_data): Likewise.
7695 (ctan_test_upward): Likewise.
7696 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7697 (ctanh_test): Use ALL_RM_TEST.
7698 (ctanh_tonearest_test_data): Remove.
7699 (ctanh_test_tonearest): Likewise.
7700 (ctanh_towardzero_test_data): Likewise.
7701 (ctanh_test_towardzero): Likewise.
7702 (ctanh_downward_test_data): Likewise.
7703 (ctanh_test_downward): Likewise.
7704 (ctanh_upward_test_data): Likewise.
7705 (ctanh_test_upward): Likewise.
7706 (erf_test_data): Update call to AUTO_TESTS_f_f.
7707 (erfc_test_data): Likewise.
7708 (exp_test_data): Likewise.
7709 (exp_test): Use ALL_RM_TEST.
7710 (exp_tonearest_test_data): Remove.
7711 (exp_test_tonearest): Likewise.
7712 (exp_towardzero_test_data): Likewise.
7713 (exp_test_towardzero): Likewise.
7714 (exp_downward_test_data): Likewise.
7715 (exp_test_downward): Likewise.
7716 (exp_upward_test_data): Likewise.
7717 (exp_test_upward): Likewise.
7718 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7719 (exp10_test): Use ALL_RM_TEST.
7720 (exp10_tonearest_test_data): Remove.
7721 (exp10_test_tonearest): Likewise.
7722 (exp10_towardzero_test_data): Likewise.
7723 (exp10_test_towardzero): Likewise.
7724 (exp10_downward_test_data): Likewise.
7725 (exp10_test_downward): Likewise.
7726 (exp10_upward_test_data): Likewise.
7727 (exp10_test_upward): Likewise.
7728 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7729 (expm1_test_data): Likewise.
7730 (expm1_test): Use ALL_RM_TEST.
7731 (expm1_tonearest_test_data): Remove.
7732 (expm1_test_tonearest): Likewise.
7733 (expm1_towardzero_test_data): Likewise.
7734 (expm1_test_towardzero): Likewise.
7735 (expm1_downward_test_data): Likewise.
7736 (expm1_test_downward): Likewise.
7737 (expm1_upward_test_data): Likewise.
7738 (expm1_test_upward): Likewise.
7739 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7740 (fma_test): Use ALL_RM_TEST.
7741 (fma_towardzero_test_data): Remove.
7742 (fma_test_towardzero): Likewise.
7743 (fma_downward_test_data): Likewise.
7744 (fma_test_downward): Likewise.
7745 (fma_upward_test_data): Likewise.
7746 (fma_test_upward): Likewise.
7747 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7748 (j0_test_data): Update call to AUTO_TESTS_f_f.
7749 (j1_test_data): Likewise.
7750 (jn_test_data): Update call to AUTO_TESTS_if_f.
7751 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7752 (log_test_data): Update call to AUTO_TESTS_f_f.
7753 (log10_test_data): Likewise.
7754 (log1p_test_data): Likewise.
7755 (log2_test_data): Likewise.
7756 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7757 (pow_tonearest_test_data): Likewise.
7758 (sin_test_data): Update call to AUTO_TESTS_f_f.
7759 (sin_test): Use ALL_RM_TEST.
7760 (sin_tonearest_test_data): Remove.
7761 (sin_test_tonearest): Likewise.
7762 (sin_towardzero_test_data): Likewise.
7763 (sin_test_towardzero): Likewise.
7764 (sin_downward_test_data): Likewise.
7765 (sin_test_downward): Likewise.
7766 (sin_upward_test_data): Likewise.
7767 (sin_test_upward): Likewise.
7768 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7769 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7770 (sinh_test): Use ALL_RM_TEST.
7771 (sinh_tonearest_test_data): Remove.
7772 (sinh_test_tonearest): Likewise.
7773 (sinh_towardzero_test_data): Likewise.
7774 (sinh_test_towardzero): Likewise.
7775 (sinh_downward_test_data): Likewise.
7776 (sinh_test_downward): Likewise.
7777 (sinh_upward_test_data): Likewise.
7778 (sinh_test_upward): Likewise.
7779 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7780 (sqrt_test): Use ALL_RM_TEST.
7781 (sqrt_tonearest_test_data): Remove.
7782 (sqrt_test_tonearest): Likewise.
7783 (sqrt_towardzero_test_data): Likewise.
7784 (sqrt_test_towardzero): Likewise.
7785 (sqrt_downward_test_data): Likewise.
7786 (sqrt_test_downward): Likewise.
7787 (sqrt_upward_test_data): Likewise.
7788 (sqrt_test_upward): Likewise.
7789 (tan_test_data): Update call to AUTO_TESTS_f_f.
7790 (tan_test): Use ALL_RM_TEST.
7791 (tan_tonearest_test_data): Remove.
7792 (tan_test_tonearest): Likewise.
7793 (tan_towardzero_test_data): Likewise.
7794 (tan_test_towardzero): Likewise.
7795 (tan_downward_test_data): Likewise.
7796 (tan_test_downward): Likewise.
7797 (tan_upward_test_data): Likewise.
7798 (tan_test_upward): Likewise.
7799 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7800 (tgamma_test_data): Likewise.
7801 (y0_test_data): Likewise.
7802 (y1_test_data): Likewise.
7803 (yn_test_data): Update call to AUTO_TESTS_if_f.
7804 (main): Do not call removed functions.
7806 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7808 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7809 (ldexp_test_data): Remove.
7810 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7812 (scalb_test): Use ALL_RM_TEST.
7814 2014-03-19 Andreas Schwab <schwab@suse.de>
7816 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7818 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7821 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7822 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7823 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7824 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7825 (__ASSUME_PREADV): Undefine.
7826 (__ASSUME_PWRITEV): Likewise.
7828 2014-03-18 Roland McGrath <roland@hack.frob.com>
7830 * bits/mman-linux.h: Add comment about non-Linux use.
7831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7832 bits/mman-linux.h resting place.
7834 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7835 * bits/mman-linux.h: ... here.
7837 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839 * conform/conformtest.pl: Add standard definition when calling C
7840 preprocessor on data files.
7841 (checknamespace): Remove unused variable.
7843 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7845 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7846 minus_oflow, plus_uflow and minus_uflow in expected results.
7847 * math/libm-test.inc (scalbn_test_data): Add more tests of
7848 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7850 (scalbn_test): Use ALL_RM_TEST.
7851 (scalbln_test_data): Add more tests of negative arguments. Use
7852 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7853 (scalbln_test): Use ALL_RM_TEST.
7855 2014-03-18 Roland McGrath <roland@hack.frob.com>
7857 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7859 2014-03-18 Will Newton <will.newton@linaro.org>
7861 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7864 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7866 * Makerules [!subdir] (check-abi): Exit with error status if a
7869 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7871 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7872 for rint. Include results for all rounding modes.
7873 (nearbyint_test): Use ALL_RM_TEST.
7874 (rint_test_data): Include all tests used for nearbyint.
7876 2014-03-17 Will Newton <will.newton@linaro.org>
7878 * nptl/sysdeps/pthread/pthread.h: Revert previous
7881 * sysdeps/generic/ldsodefs.h: Revert previous
7884 * libio/genops.c: Revert previous change.
7885 * libio/libioP.h: Likewise.
7886 * stdio-common/vfprintf.c: Likewise.
7888 * sysdeps/generic/math_private.h: Revert previous
7891 * sysdeps/generic/math_private.h: Check whether
7892 HAVE_RM_CTX is defined with #ifdef rather
7895 * argp/argp-fmtstream.h: Check whether
7896 __STRICT_ANSI__ is defined with #ifdef rather
7898 * argp/argp.h: Likewise.
7900 * libio/genops.c: Check whether
7901 _IO_JUMPS_OFFSET is defined with #ifdef rather
7903 * libio/libioP.h: Likewise.
7904 * stdio-common/vfprintf.c: Likewise.
7906 * sysdeps/generic/ldsodefs.h: Check whether
7907 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7910 * nptl/sysdeps/pthread/pthread.h: Check
7911 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7914 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7916 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7918 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7922 * libio/fileops.c (_IO_file_open): Seek to end of file but
7923 don't cache the offset.
7924 (get_file_offset): Remove function.
7925 (do_ftell): Use cached offset when available.
7926 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7927 don't cache the offset.
7928 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7930 (do_one_test): Call it.
7931 (do_ftell_test): Fix up expected old offset for a+ mode.
7932 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7935 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7936 up test status with function return status.
7937 (do_write_test): Likewise.
7938 (do_append_test): Likewise.
7940 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7941 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7944 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7946 * math/gen-libm-test.pl (parse_args): Handle results specified for
7947 each rounding mode separately.
7948 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7949 tests and results from lrint_tonearest_test_data,
7950 lrint_towardzero_test_data, lrint_downward_test_data and
7951 lrint_upward_test_data.
7952 (lrint_test): Use ALL_RM_TEST.
7953 (lrint_tonearest_test_data): Remove.
7954 (lrint_test_tonearest): Likewise.
7955 (lrint_towardzero_test_data): Likewise.
7956 (lrint_test_towardzero): Likewise.
7957 (lrint_downward_test_data): Likewise.
7958 (lrint_test_downward): Likewise.
7959 (lrint_upward_test_data): Likewise.
7960 (lrint_test_upward): Likewise.
7961 (llrint_test_data): Merge in per-rounding-mode tests and results
7962 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7963 llrint_downward_test_data and llrint_upward_test_data.
7964 (llrint_test): Use ALL_RM_TEST.
7965 (llrint_tonearest_test_data): Remove.
7966 (llrint_test_tonearest): Likewise.
7967 (llrint_towardzero_test_data): Likewise.
7968 (llrint_test_towardzero): Likewise.
7969 (llrint_downward_test_data): Likewise.
7970 (llrint_test_downward): Likewise.
7971 (llrint_upward_test_data): Likewise.
7972 (llrint_test_upward): Likewise.
7973 (rint_test_data): Merge in per-rounding-mode tests and results
7974 from rint_tonearest_test_data, rint_towardzero_test_data,
7975 rint_downward_test_data and rint_upward_test_data. Add
7976 per-rounding-mode results for tests not in those arrays.
7977 (rint_test): Use ALL_RM_TEST.
7978 (rint_tonearest_test_data): Remove.
7979 (rint_test_tonearest): Likewise.
7980 (rint_towardzero_test_data): Likewise.
7981 (rint_test_towardzero): Likewise.
7982 (rint_downward_test_data): Likewise.
7983 (rint_test_downward): Likewise.
7984 (rint_upward_test_data): Likewise.
7985 (rint_test_upward): Likewise.
7986 (main): Don't call removed functions.
7988 2014-03-14 Roland McGrath <roland@hack.frob.com>
7990 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7991 "Compiled on ..." crapola. It is anti-useful.
7993 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7995 * scripts/evaluate-test.sh: Handle fourth argument to determine
7996 whether test run should stop on failure.
7997 * Makeconfig (stop-on-test-failure): New variable.
7998 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7999 $(stop-on-test-failure).
8000 * Makefile (tests): Give a summary of results from testing and
8001 exit with failure status if they include an ERROR or FAIL.
8003 * manual/install.texi (Configuring and compiling): Mention
8004 stop-on-test-failure=y.
8005 * INSTALL: Regenerated.
8007 2014-03-14 Roland McGrath <roland@hack.frob.com>
8009 * scripts/versionlist.awk: New file.
8010 * Makerules [$(build-shared) = yes]
8011 (postclean-generated): Add Versions.def, not Versions.def.v and
8013 ($(common-objpfx)Versions.def.v.i): Target removed.
8014 ($(common-objpfx)Versions.def): New target.
8015 ($(common-objpfx)Versions.all): Depend on that rather that
8016 $(common-objpfx)Versions.def.v.
8017 * Versions.def: File removed.
8019 * Makeconfig (+gccwarn): Add -Wundef.
8020 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8021 a dl-sysdep.h breaking its contract.
8022 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8023 * include/stackinfo.h: New file.
8024 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8025 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8026 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8027 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8028 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8029 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8030 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8031 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8032 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8033 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8034 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8035 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8036 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8037 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8038 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8040 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8043 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8045 * math/libm-test.inc (round_test_data): Add more tests.
8048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8050 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8053 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8055 * math/libm-test.inc (ceil_test_data): Add more tests.
8057 * math/libm-test.inc (trunc_test_data): Add more tests related to
8060 2014-03-14 Roland McGrath <roland@hack.frob.com>
8062 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8063 with #if rather than #ifdef.
8064 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8066 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8068 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8069 first. Disable AVX-512 GCC support if assembler doesn't support
8071 * sysdeps/x86_64/configure: Regenerated.
8073 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8075 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8076 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8077 (__old_pthread_attr_setstack): Likewise.
8078 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8079 [!_STACK_GROWS_DOWN]: Likewise.
8081 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8083 * config.make.in (have-bash2): Delete.
8084 * configure.ac (libc_cv_have_bash2): Delete.
8085 * configure: Regenerate.
8086 * elf/Makefile (common-ldd-rewrite): Rename to ...
8087 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8088 (sh-ldd-rewrite): Delete.
8089 (bash-ldd-rewrite): Delete.
8090 (have-bash2): Delete checks.
8091 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8094 * config.make.in (have-ksh): Delete.
8096 * configure.ac (libc_cv_have_ksh): Delete.
8097 * configure: Regenerate.
8099 * elf/Makefile: Delete $(have-ksh) check.
8100 ($(objpfx)sotruss): Change KSH to BASH.
8101 * elf/sotruss.ksh: Rename to ...
8102 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8103 function style to match POSIX. Drop ksh vim mode setting.
8105 * manual/time.texi (Specifying the Time Zone with TZ): Change
8106 Tuesday to Thursday.
8108 * debug/tst-longjmp_chk2.c: Update header comment.
8109 (stackoverflow_handler): Add comment. Call assert on pass value.
8111 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8114 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8115 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8116 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8117 (La_x86_64_vector): Add zmm.
8118 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8119 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8120 ($(objpfx)tst-audit10): New target.
8121 ($(objpfx)tst-audit10.out): Likewise.
8122 (tst-audit10-ENV): New.
8123 (AVX512-CFLAGS): Likewise.
8124 (CFLAGS-tst-audit10.c): Likewise.
8125 (CFLAGS-tst-auditmod10a.c): Likewise.
8126 (CFLAGS-tst-auditmod10b.c): Likewise.
8127 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8128 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8129 * sysdeps/x86_64/configure: Regenerated.
8130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8131 AVX-512 zmm register support.
8132 (_dl_x86_64_save_sse): Likewise.
8133 (_dl_x86_64_restore_sse): Likewise.
8134 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8135 size vector registers.
8136 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8137 (ZMM_SIZE): Likewise.
8138 * sysdeps/x86_64/tst-audit10.c: New file.
8139 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8140 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8142 2014-03-13 Roland McGrath <roland@hack.frob.com>
8144 * configure.ac (HAVE_EHDR_START): New check.
8145 * configure: Regenerated.
8146 * config.h.in (HAVE_EHDR_START): New #undef.
8147 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8148 assuming the lowest-addressed segment maps the start of the file.
8150 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8152 * INSTALL: Regenerated.
8154 2014-03-13 Will Newton <will.newton@linaro.org>
8156 * manual/setjmp.texi (System V contexts): Improve
8157 clarity and grammar of documentation.
8159 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8162 * elf/Makefile (tests): Add tst-pie2.
8163 (tests-pie): Add tst-pie2.
8164 * elf/tst-pie2.c: New file.
8165 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8167 * elf/rtld.c (map_doit): Load executable as lt_executable.
8168 (dl_main): Likewise.
8170 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8174 (__ASSUME_PSELECT): Undefine.
8176 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8179 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8180 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8182 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8183 selector for static builds.
8185 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8188 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8191 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8193 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8194 IFUNC selector for static builds.
8196 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8198 * sysdeps/mips/math_private.h [__mips_hard_float]
8199 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8200 libc_feresetround_mips_ctx.
8201 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8202 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8203 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8206 * math/s_nextafter.c (__nextafter): Do not return value from
8207 overflowing computation.
8208 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8209 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8210 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8212 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8214 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8215 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8217 2014-03-11 Roland McGrath <roland@hack.frob.com>
8219 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8220 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8221 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8222 the new mov targetting sp.
8224 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8227 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8228 Define it for static builds as well.
8229 (NO_BZERO_IMPL): Likewise.
8231 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8233 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8234 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8235 multiarch strspn for PPC64.
8236 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8237 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8239 (__libc_ifunc_impl_list): Likewise.
8240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8241 multiarch optimizations
8242 * string/strspn.c (strspn): Using macro to redefine symbol name.
8244 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8245 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8247 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8248 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8249 multiarch strncat for PPC64.
8250 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8251 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8253 (__libc_ifunc_impl_list): Likewise.
8254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8255 multiarch optimizations
8257 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8260 * nscd/nscd.service: Make service type forking.
8262 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8264 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8265 sign in non default rounding modes.
8266 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8268 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8270 * math/libm-test.inc (ALL_RM_TEST): New macro.
8271 (ceil_test): Use ALL_RM_TEST.
8272 (cimag_test): Likewise.
8273 (conj_test): Likewise.
8274 (copysign_test): Likewise.
8275 (cproj_test): Likewise.
8276 (creal_test): Likewise.
8277 (fabs_test): Likewise.
8278 (floor_test): Likewise.
8279 (fmax_test): Likewise.
8280 (fmin_test): Likewise.
8281 (fmod_test): Likewise.
8282 (fpclassify_test): Likewise.
8283 (frexp_test): Likewise.
8284 (ilogb_test): Likewise.
8285 (isfinite_test): Likewise.
8286 (finite_test): Likewise.
8287 (isgreater_test): Likewise.
8288 (isgreaterequal_test): Likewise.
8289 (isinf_test): Likewise.
8290 (isless_test): Likewise.
8291 (islessequal_test): Likewise.
8292 (islessgreater_test): Likewise.
8293 (isnan_test): Likewise.
8294 (isnormal_test): Likewise.
8295 (issignaling_test): Likewise.
8296 (isunordered_test): Likewise.
8297 (logb_test): Likewise.
8298 (logb_downward_test_data): Remove.
8299 (logb_test_downward): Likewise.
8300 (lround_test): Use ALL_RM_TEST.
8301 (llround_test): Likewise.
8302 (modf_test): Likewise.
8303 (nexttoward_test): Likewise.
8304 (remainder_test): Likewise.
8305 (drem_test): Likewise.
8306 (remainder_tonearest_test_data): Likewise.
8307 (remainder_test_tonearest): Likewise.
8308 (drem_test_tonearest): Likewise.
8309 (remainder_towardzero_test_data): Likewise.
8310 (remainder_test_towardzero): Likewise.
8311 (drem_test_towardzero): Likewise.
8312 (remainder_downward_test_data): Likewise.
8313 (remainder_test_downward): Likewise.
8314 (drem_test_downward): Likewise.
8315 (remainder_upward_test_data): Likewise.
8316 (remainder_test_upward): Likewise.
8317 (drem_test_upward): Likewise.
8318 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8319 (round_test): Use ALL_RM_TEST.
8320 (signbit_test): Likewise.
8321 (trunc_test): Likewise.
8322 (significand_test): Likewise.
8323 (main): Don't call removed functions.
8325 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8328 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8330 (ILL_ILLOPN): Likewise.
8331 (ILL_ILLADR): Likewise.
8332 (ILL_ILLTRP): Likewise.
8333 (ILL_PRVOPC): Likewise.
8334 (ILL_PRVREG): Likewise.
8335 (ILL_COPROC): Likewise.
8336 (ILL_BADSTK): Likewise.
8337 (FPE_INTDIV): Likewise.
8338 (FPE_INTOVF): Likewise.
8339 (FPE_FLTDIV): Likewise.
8340 (FPE_FLTOVF): Likewise.
8341 (FPE_FLTUND): Likewise.
8342 (FPE_FLTRES): Likewise.
8343 (FPE_FLTINV): Likewise.
8344 (FPE_FLTSUB): Likewise.
8345 (SEGV_MAPERR): Likewise.
8346 (SEGV_ACCERR): Likewise.
8347 (BUS_ADRALN): Likewise.
8348 (BUS_ADRERR): Likewise.
8349 (BUS_OBJERR): Likewise.
8350 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8351 (TRAP_TRACE): Likewise.
8352 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8354 (CLD_KILLED): Likewise.
8355 (CLD_DUMPED): Likewise.
8356 (CLD_TRAPPED): Likewise.
8357 (CLD_STOPPED): Likewise.
8358 (CLD_CONTINUED): Likewise.
8359 (POLL_IN): Likewise.
8360 (POLL_OUT): Likewise.
8361 (POLL_MSG): Likewise.
8362 (POLL_ERR): Likewise.
8363 (POLL_PRI): Likewise.
8364 (POLL_HUP): Likewise.
8365 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8367 (ILL_ILLOPN): Likewise.
8368 (ILL_ILLADR): Likewise.
8369 (ILL_ILLTRP): Likewise.
8370 (ILL_PRVOPC): Likewise.
8371 (ILL_PRVREG): Likewise.
8372 (ILL_COPROC): Likewise.
8373 (ILL_BADSTK): Likewise.
8374 (FPE_INTDIV): Likewise.
8375 (FPE_INTOVF): Likewise.
8376 (FPE_FLTDIV): Likewise.
8377 (FPE_FLTOVF): Likewise.
8378 (FPE_FLTUND): Likewise.
8379 (FPE_FLTRES): Likewise.
8380 (FPE_FLTINV): Likewise.
8381 (FPE_FLTSUB): Likewise.
8382 (SEGV_MAPERR): Likewise.
8383 (SEGV_ACCERR): Likewise.
8384 (BUS_ADRALN): Likewise.
8385 (BUS_ADRERR): Likewise.
8386 (BUS_OBJERR): Likewise.
8387 (BUS_MCEERR_AR): Likewise.
8388 (BUS_MCEERR_AO): Likewise.
8389 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8390 (TRAP_TRACE): Likewise.
8391 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8393 (CLD_KILLED): Likewise.
8394 (CLD_DUMPED): Likewise.
8395 (CLD_TRAPPED): Likewise.
8396 (CLD_STOPPED): Likewise.
8397 (CLD_CONTINUED): Likewise.
8398 (POLL_IN): Likewise.
8399 (POLL_OUT): Likewise.
8400 (POLL_MSG): Likewise.
8401 (POLL_ERR): Likewise.
8402 (POLL_PRI): Likewise.
8403 (POLL_HUP): Likewise.
8404 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8405 (ILL_ILLOPN): Likewise.
8406 (ILL_ILLADR): Likewise.
8407 (ILL_ILLTRP): Likewise.
8408 (ILL_PRVOPC): Likewise.
8409 (ILL_PRVREG): Likewise.
8410 (ILL_COPROC): Likewise.
8411 (ILL_BADSTK): Likewise.
8412 (FPE_INTDIV): Likewise.
8413 (FPE_INTOVF): Likewise.
8414 (FPE_FLTDIV): Likewise.
8415 (FPE_FLTOVF): Likewise.
8416 (FPE_FLTUND): Likewise.
8417 (FPE_FLTRES): Likewise.
8418 (FPE_FLTINV): Likewise.
8419 (FPE_FLTSUB): Likewise.
8420 (SEGV_MAPERR): Likewise.
8421 (SEGV_ACCERR): Likewise.
8422 (BUS_ADRALN): Likewise.
8423 (BUS_ADRERR): Likewise.
8424 (BUS_OBJERR): Likewise.
8425 (BUS_MCEERR_AR): Likewise.
8426 (BUS_MCEERR_AO): Likewise.
8427 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8428 (TRAP_TRACE): Likewise.
8429 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8431 (CLD_KILLED): Likewise.
8432 (CLD_DUMPED): Likewise.
8433 (CLD_TRAPPED): Likewise.
8434 (CLD_STOPPED): Likewise.
8435 (CLD_CONTINUED): Likewise.
8436 (POLL_IN): Likewise.
8437 (POLL_OUT): Likewise.
8438 (POLL_MSG): Likewise.
8439 (POLL_ERR): Likewise.
8440 (POLL_PRI): Likewise.
8441 (POLL_HUP): Likewise.
8442 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8444 (ILL_ILLOPN): Likewise.
8445 (ILL_ILLADR): Likewise.
8446 (ILL_ILLTRP): Likewise.
8447 (ILL_PRVOPC): Likewise.
8448 (ILL_PRVREG): Likewise.
8449 (ILL_COPROC): Likewise.
8450 (ILL_BADSTK): Likewise.
8451 (ILL_BADIADDR): Likewise.
8452 (ILL_BREAK): Likewise.
8453 (FPE_INTDIV): Likewise.
8454 (FPE_INTOVF): Likewise.
8455 (FPE_FLTDIV): Likewise.
8456 (FPE_FLTOVF): Likewise.
8457 (FPE_FLTUND): Likewise.
8458 (FPE_FLTRES): Likewise.
8459 (FPE_FLTINV): Likewise.
8460 (FPE_FLTSUB): Likewise.
8461 (FPE_DECOVF): Likewise.
8462 (FPE_DECDIV): Likewise.
8463 (FPE_DECERR): Likewise.
8464 (FPE_INVASC): Likewise.
8465 (FPE_INVDEC): Likewise.
8466 (SEGV_MAPERR): Likewise.
8467 (SEGV_ACCERR): Likewise.
8468 (SEGV_PSTKOVF): Likewise.
8469 (BUS_ADRALN): Likewise.
8470 (BUS_ADRERR): Likewise.
8471 (BUS_OBJERR): Likewise.
8472 (BUS_MCEERR_AR): Likewise.
8473 (BUS_MCEERR_AO): Likewise.
8474 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8475 (TRAP_TRACE): Likewise.
8476 (TRAP_BRANCH): Likewise.
8477 (TRAP_HWBKPT): Likewise.
8478 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8480 (CLD_KILLED): Likewise.
8481 (CLD_DUMPED): Likewise.
8482 (CLD_TRAPPED): Likewise.
8483 (CLD_STOPPED): Likewise.
8484 (CLD_CONTINUED): Likewise.
8485 (POLL_IN): Likewise.
8486 (POLL_OUT): Likewise.
8487 (POLL_MSG): Likewise.
8488 (POLL_ERR): Likewise.
8489 (POLL_PRI): Likewise.
8490 (POLL_HUP): Likewise.
8491 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8492 (ILL_ILLOPN): Likewise.
8493 (ILL_ILLADR): Likewise.
8494 (ILL_ILLTRP): Likewise.
8495 (ILL_PRVOPC): Likewise.
8496 (ILL_PRVREG): Likewise.
8497 (ILL_COPROC): Likewise.
8498 (ILL_BADSTK): Likewise.
8499 (FPE_INTDIV): Likewise.
8500 (FPE_INTOVF): Likewise.
8501 (FPE_FLTDIV): Likewise.
8502 (FPE_FLTOVF): Likewise.
8503 (FPE_FLTUND): Likewise.
8504 (FPE_FLTRES): Likewise.
8505 (FPE_FLTINV): Likewise.
8506 (FPE_FLTSUB): Likewise.
8507 (SEGV_MAPERR): Likewise.
8508 (SEGV_ACCERR): Likewise.
8509 (BUS_ADRALN): Likewise.
8510 (BUS_ADRERR): Likewise.
8511 (BUS_OBJERR): Likewise.
8512 (BUS_MCEERR_AR): Likewise.
8513 (BUS_MCEERR_AO): Likewise.
8514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8515 (TRAP_TRACE): Likewise.
8516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8518 (CLD_KILLED): Likewise.
8519 (CLD_DUMPED): Likewise.
8520 (CLD_TRAPPED): Likewise.
8521 (CLD_STOPPED): Likewise.
8522 (CLD_CONTINUED): Likewise.
8523 (POLL_IN): Likewise.
8524 (POLL_OUT): Likewise.
8525 (POLL_MSG): Likewise.
8526 (POLL_ERR): Likewise.
8527 (POLL_PRI): Likewise.
8528 (POLL_HUP): Likewise.
8529 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8530 (ILL_ILLOPN): Likewise.
8531 (ILL_ILLADR): Likewise.
8532 (ILL_ILLTRP): Likewise.
8533 (ILL_PRVOPC): Likewise.
8534 (ILL_PRVREG): Likewise.
8535 (ILL_COPROC): Likewise.
8536 (ILL_BADSTK): Likewise.
8537 (FPE_INTDIV): Likewise.
8538 (FPE_INTOVF): Likewise.
8539 (FPE_FLTDIV): Likewise.
8540 (FPE_FLTOVF): Likewise.
8541 (FPE_FLTUND): Likewise.
8542 (FPE_FLTRES): Likewise.
8543 (FPE_FLTINV): Likewise.
8544 (FPE_FLTSUB): Likewise.
8545 (SEGV_MAPERR): Likewise.
8546 (SEGV_ACCERR): Likewise.
8547 (BUS_ADRALN): Likewise.
8548 (BUS_ADRERR): Likewise.
8549 (BUS_OBJERR): Likewise.
8550 (BUS_MCEERR_AR): Likewise.
8551 (BUS_MCEERR_AO): Likewise.
8552 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8553 (TRAP_TRACE): Likewise.
8554 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8556 (CLD_KILLED): Likewise.
8557 (CLD_DUMPED): Likewise.
8558 (CLD_TRAPPED): Likewise.
8559 (CLD_STOPPED): Likewise.
8560 (CLD_CONTINUED): Likewise.
8561 (POLL_IN): Likewise.
8562 (POLL_OUT): Likewise.
8563 (POLL_MSG): Likewise.
8564 (POLL_ERR): Likewise.
8565 (POLL_PRI): Likewise.
8566 (POLL_HUP): Likewise.
8567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8568 (ILL_ILLOPN): Likewise.
8569 (ILL_ILLADR): Likewise.
8570 (ILL_ILLTRP): Likewise.
8571 (ILL_PRVOPC): Likewise.
8572 (ILL_PRVREG): Likewise.
8573 (ILL_COPROC): Likewise.
8574 (ILL_BADSTK): Likewise.
8575 (FPE_INTDIV): Likewise.
8576 (FPE_INTOVF): Likewise.
8577 (FPE_FLTDIV): Likewise.
8578 (FPE_FLTOVF): Likewise.
8579 (FPE_FLTUND): Likewise.
8580 (FPE_FLTRES): Likewise.
8581 (FPE_FLTINV): Likewise.
8582 (FPE_FLTSUB): Likewise.
8583 (SEGV_MAPERR): Likewise.
8584 (SEGV_ACCERR): Likewise.
8585 (BUS_ADRALN): Likewise.
8586 (BUS_ADRERR): Likewise.
8587 (BUS_OBJERR): Likewise.
8588 (BUS_MCEERR_AR): Likewise.
8589 (BUS_MCEERR_AO): Likewise.
8590 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8591 (TRAP_TRACE): Likewise.
8592 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8594 (CLD_KILLED): Likewise.
8595 (CLD_DUMPED): Likewise.
8596 (CLD_TRAPPED): Likewise.
8597 (CLD_STOPPED): Likewise.
8598 (CLD_CONTINUED): Likewise.
8599 (POLL_IN): Likewise.
8600 (POLL_OUT): Likewise.
8601 (POLL_MSG): Likewise.
8602 (POLL_ERR): Likewise.
8603 (POLL_PRI): Likewise.
8604 (POLL_HUP): Likewise.
8605 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8606 (ILL_ILLOPN): Likewise.
8607 (ILL_ILLADR): Likewise.
8608 (ILL_ILLTRP): Likewise.
8609 (ILL_PRVOPC): Likewise.
8610 (ILL_PRVREG): Likewise.
8611 (ILL_COPROC): Likewise.
8612 (ILL_BADSTK): Likewise.
8613 (ILL_DBLFLT): Likewise.
8614 (ILL_HARDWALL): Likewise.
8615 (FPE_INTDIV): Likewise.
8616 (FPE_INTOVF): Likewise.
8617 (FPE_FLTDIV): Likewise.
8618 (FPE_FLTOVF): Likewise.
8619 (FPE_FLTUND): Likewise.
8620 (FPE_FLTRES): Likewise.
8621 (FPE_FLTINV): Likewise.
8622 (FPE_FLTSUB): Likewise.
8623 (SEGV_MAPERR): Likewise.
8624 (SEGV_ACCERR): Likewise.
8625 (BUS_ADRALN): Likewise.
8626 (BUS_ADRERR): Likewise.
8627 (BUS_OBJERR): Likewise.
8628 (BUS_MCEERR_AR): Likewise.
8629 (BUS_MCEERR_AO): Likewise.
8630 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8631 (TRAP_TRACE): Likewise.
8632 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8634 (CLD_KILLED): Likewise.
8635 (CLD_DUMPED): Likewise.
8636 (CLD_TRAPPED): Likewise.
8637 (CLD_STOPPED): Likewise.
8638 (CLD_CONTINUED): Likewise.
8639 (POLL_IN): Likewise.
8640 (POLL_OUT): Likewise.
8641 (POLL_MSG): Likewise.
8642 (POLL_ERR): Likewise.
8643 (POLL_PRI): Likewise.
8644 (POLL_HUP): Likewise.
8645 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8646 (ILL_ILLOPN): Likewise.
8647 (ILL_ILLADR): Likewise.
8648 (ILL_ILLTRP): Likewise.
8649 (ILL_PRVOPC): Likewise.
8650 (ILL_PRVREG): Likewise.
8651 (ILL_COPROC): Likewise.
8652 (ILL_BADSTK): Likewise.
8653 (FPE_INTDIV): Likewise.
8654 (FPE_INTOVF): Likewise.
8655 (FPE_FLTDIV): Likewise.
8656 (FPE_FLTOVF): Likewise.
8657 (FPE_FLTUND): Likewise.
8658 (FPE_FLTRES): Likewise.
8659 (FPE_FLTINV): Likewise.
8660 (FPE_FLTSUB): Likewise.
8661 (SEGV_MAPERR): Likewise.
8662 (SEGV_ACCERR): Likewise.
8663 (BUS_ADRALN): Likewise.
8664 (BUS_ADRERR): Likewise.
8665 (BUS_OBJERR): Likewise.
8666 (BUS_MCEERR_AR): Likewise.
8667 (BUS_MCEERR_AO): Likewise.
8668 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8669 (TRAP_TRACE): Likewise.
8670 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8672 (CLD_KILLED): Likewise.
8673 (CLD_DUMPED): Likewise.
8674 (CLD_TRAPPED): Likewise.
8675 (CLD_STOPPED): Likewise.
8676 (CLD_CONTINUED): Likewise.
8677 (POLL_IN): Likewise.
8678 (POLL_OUT): Likewise.
8679 (POLL_MSG): Likewise.
8680 (POLL_ERR): Likewise.
8681 (POLL_PRI): Likewise.
8682 (POLL_HUP): Likewise.
8683 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8684 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8687 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8688 before #include of <time.h>.
8689 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8690 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8691 (test-xfail-UNIX98/sched.h/conform): Likewise.
8693 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8695 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8696 error absence of trapping exception support.
8697 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8699 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8701 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8702 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8703 * timezone/Makefile (testdata): Move definition above include of
8705 (test-zones): New variable.
8706 (tests-special): Add zone files.
8707 (build-testdata): Use $(evaluate-test).
8709 * elf/Makefile (tests-special): Rename tests to end with .out.
8710 ($(objpfx)noload-mem): Likewise.
8711 ($(objpfx)tst-leaks1-mem): Likewise.
8712 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8713 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8714 $(objpfx)test-iconvconfig.out.
8715 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8716 set -e inside subshell and redirect output to file.
8717 * iconvdata/Makefile (generated): Rename tests to end with .out.
8719 (tests-special): Rename tests to end with .out.
8720 ($(objpfx)mtrace-tst-loading): Likewise.
8721 * intl/Makefile (generated): Likewise.
8722 (tests-special): Likewise.
8723 ($(objpfx)mtrace-tst-gettext): Likewise.
8724 * misc/Makefile (generated): Likewise.
8725 (tests-special): Likewise.
8726 ($(objpfx)tst-error1-mem): Likewise.
8727 * nptl/Makefile (tests-special): Likewise.
8728 ($(objpfx)tst-stack3-mem): Likewise.
8729 (generated): Likewise.
8730 * posix/Makefile (generated): Likewise.
8731 (tests-special): Likewise.
8732 (xtests-special): Likewise.
8733 ($(objpfx)tst-fnmatch-mem): Likewise.
8734 ($(objpfx)bug-regex2-mem): Likewise.
8735 ($(objpfx)bug-regex14-mem): Likewise.
8736 ($(objpfx)bug-regex21-mem): Likewise.
8737 ($(objpfx)bug-regex31-mem): Likewise.
8738 ($(objpfx)tst-vfork3-mem): Likewise.
8739 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8740 ($(objpfx)tst-pcre-mem): Likewise.
8741 ($(objpfx)tst-boost-mem): Likewise.
8742 ($(objpfx)bug-ga2-mem): Likewise.
8743 ($(objpfx)bug-glob2-mem): Likewise.
8744 * resolv/Makefile (generate): Likewise.
8745 (tests-special): Likewise.
8746 (xtests-special): Likewise.
8747 (generated): Likewise.
8748 ($(objpfx)mtrace-tst-leaks): Likewise.
8749 ($(objpfx)mtrace-tst-leaks2): Likewise.
8751 * scripts/merge-test-results.sh: New file.
8752 * Makefile (tests-special-notdir): New variable.
8753 (tests): Run merge-test-results.sh.
8755 * Rules (tests-special-notdir): New variable.
8756 (xtests-special-notdir): Likewise.
8757 (tests): Run merge-test-results.sh
8760 * Makeconfig (test-xfail-name): New variable.
8761 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8762 compute variable name for expected failures.
8763 * conform/Makefile (conformtest-headers-data): New variable.
8764 (conformtest-standards): Likewise.
8765 (conformtest-headers-ISO): Likewise.
8766 (conformtest-headers-ISO99): Likewise.
8767 (conformtest-headers-ISO11): Likewise.
8768 (conformtest-headers-POSIX): Likewise.
8769 (conformtest-headers-XPG3): Likewise.
8770 (conformtest-headers-XPG4): Likewise.
8771 (conformtest-headers-UNIX98): Likewise.
8772 (conformtest-headers-XOPEN2K): Likewise.
8773 (conformtest-headers-POSIX2008): Likewise.
8774 (conformtest-headers-XOPEN2K8): Likewise.
8775 (conformtest-header-list-base): Likewise.
8776 (conformtest-header-list-tests): Likewise.
8777 (conformtest-header-base): Likewise.
8778 (conformtest-header-tests): Likewise.
8779 (tests-special): Add $(conformtest-header-list-tests). If
8780 [$(fast-check) && !$(cross-compiling)], add
8781 $(conformtest-header-tests) instead of
8782 $(objpfx)run-conformtest.out.
8783 (generated): Add $(conformtest-header-list-base). If
8784 [$(fast-check) && !$(cross-compiling)], add
8785 $(conformtest-header-base). Remove previous setting.
8786 ($(conformtest-header-list-tests)): New target.
8787 (test-xfail-run-conformtest): Remove variable.
8788 ($(objpfx)run-conformtest.out): Remove target.
8789 (test-xfail-ISO11/complex.h/conform): New variable.
8790 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8791 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8792 (test-xfail-XPG3/varargs.h/conform): Likewise.
8793 (test-xfail-XPG4/varargs.h/conform): Likewise.
8794 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8795 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8796 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8797 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8798 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8799 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8800 (test-xfail-XPG3/ftw.h/conform): Likewise.
8801 (test-xfail-XPG3/grp.h/conform): Likewise.
8802 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8803 (test-xfail-XPG3/limits.h/conform): Likewise.
8804 (test-xfail-XPG3/pwd.h/conform): Likewise.
8805 (test-xfail-XPG3/search.h/conform): Likewise.
8806 (test-xfail-XPG3/signal.h/conform): Likewise.
8807 (test-xfail-XPG3/stdio.h/conform): Likewise.
8808 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8809 (test-xfail-XPG3/string.h/conform): Likewise.
8810 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8811 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8812 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8813 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8814 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8815 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8816 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8817 (test-xfail-XPG3/termios.h/conform): Likewise.
8818 (test-xfail-XPG3/time.h/conform): Likewise.
8819 (test-xfail-XPG3/unistd.h/conform): Likewise.
8820 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8821 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8822 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8823 (test-xfail-XPG4/netdb.h/conform): Likewise.
8824 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8825 (test-xfail-XPG4/signal.h/conform): Likewise.
8826 (test-xfail-XPG4/stdio.h/conform): Likewise.
8827 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8828 (test-xfail-XPG4/stropts.h/conform): Likewise.
8829 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8830 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8831 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8832 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8833 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8834 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8835 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8836 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8837 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8838 (test-xfail-XPG4/termios.h/conform): Likewise.
8839 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8840 (test-xfail-XPG4/unistd.h/conform): Likewise.
8841 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8842 (test-xfail-POSIX/sched.h/conform): Likewise.
8843 (test-xfail-POSIX/signal.h/conform): Likewise.
8844 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8845 (test-xfail-POSIX/tar.h/conform): Likewise.
8846 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8847 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8848 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8849 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8850 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8851 (test-xfail-UNIX98/sched.h/conform): Likewise.
8852 (test-xfail-UNIX98/signal.h/conform): Likewise.
8853 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8854 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8855 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8856 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8857 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8858 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8859 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8860 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8861 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8862 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8863 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8864 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8865 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8866 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8867 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8868 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8869 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8870 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8871 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8872 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8873 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8874 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8875 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8876 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8877 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8878 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8879 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8880 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8881 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8882 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8883 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8884 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8885 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8886 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8887 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8888 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8889 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8890 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8891 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8892 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8893 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8894 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8895 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8896 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8897 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8898 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8899 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8900 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8901 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8902 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8903 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8904 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8905 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8906 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8907 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8908 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8909 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8910 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8911 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8912 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8913 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8914 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8915 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8916 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8917 (conformtest-cc-flags): Likewise.
8918 ($(conformtest-header-tests): New target.
8919 * conform/check-header-lists.sh: New file.
8920 * conform/run-conformtest.sh: Remove.
8922 * conform/conformtest.pl: Allow ' and \ in values given for
8924 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8926 [POSIX] (sys/types.h): Likewise.
8927 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8929 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8931 * conform/data/signal.h-data (SIGIO): Remove expectation.
8932 [XPG3] (SIGBUS): Do not expect.
8933 [POSIX || XPG3] (SIGPOLL): Likewise.
8934 [POSIX || XPG3] (SIGPROF): Likewise.
8935 [POSIX || XPG3] (SIGSYS): Likewise.
8936 [XPG3] (SIGTRAP): Likewise.
8937 [POSIX || XPG3] (SIGURG): Likewise.
8938 [POSIX || XPG3] (SIGVTALRM): Likewise.
8939 [POSIX || XPG3] (SIGXCPU): Likewise.
8940 [POSIX || XPG3] (SIGXFSZ): Likewise.
8941 [POSIX] (SA_SIGINFO): Expect.
8942 [XPG3] (siginfo_t): Do not expect type or contents.
8943 [POSIX] (si_pid): Do not expect element.
8944 [POSIX] (si_uid): Likewise.
8945 [POSIX] (si_addr): Likewise.
8946 [POSIX] (si_status): Likewise.
8947 [POSIX] (si_band): Likewise.
8948 [XPG4] (si_value): Likewise.
8949 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8950 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8951 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8952 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8953 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8954 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8955 [POSIX || XPG3] (ILL_COPROC): Likewise.
8956 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8957 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8958 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8959 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8960 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8961 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8962 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8963 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8964 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8965 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8966 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8967 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8968 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8969 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8970 [POSIX || XPG3] (CLD_EXITED): Likewise.
8971 [POSIX || XPG3] (CLD_KILLED): Likewise.
8972 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8973 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8974 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8975 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8976 [POSIX || XPG3] (POLL_IN): Likewise.
8977 [POSIX || XPG3] (POLL_OUT): Likewise.
8978 [POSIX || XPG3] (POLL_MSG): Likewise.
8979 [POSIX || XPG3] (POLL_ERR): Likewise.
8980 [POSIX || XPG3] (POLL_PRI): Likewise.
8981 [POSIX || XPG3] (POLL_HUP): Likewise.
8982 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8983 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8984 (SIG*): Do not allow.
8985 [XPG3] (si_*): Likewise.
8986 [XPG3] (SI_*): Likewise.
8987 [XPG3 || XPG4] (sigev_*): Likewise.
8988 [XPG3 || XPG4] (SIGEV_*): Likewise.
8989 [XPG3 || XPG4] (sival_*): Likewise.
8990 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8991 [POSIX || XPG3] (BUS_*): Likewise.
8992 [POSIX || XPG3] (CLD_*): Likewise.
8993 [POSIX || XPG3] (FPE_*): Likewise.
8994 [POSIX || XPG3] (ILL_*): Likewise.
8995 [POSIX || XPG3] (POLL_*): Likewise.
8996 [POSIX || XPG3] (SEGV_*): Likewise.
8997 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8998 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8999 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9000 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9001 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9002 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9003 Specify type and value.
9004 (TVERSLEN): Likewise.
9005 (REGTYPE): Likewise.
9006 (AREGTYPE): Likewise.
9007 (LNKTYPE): Likewise.
9008 (SYMTYPE): Likewise.
9009 (CHRTYPE): Likewise.
9010 (BLKTYPE): Likewise.
9011 (DIRTYPE): Likewise.
9012 (FIFOTYPE): Likewise.
9013 (CONTTYPE): Likewise.
9018 (TUWRITE): Likewise.
9021 (TGWRITE): Likewise.
9024 (TOWRITE): Likewise.
9026 [POSIX] (TSVTX): Expect constant.
9028 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9030 * Makefile (tests): Change dependencies to ....
9031 (tests-special): ... additions to this variable.
9032 (tests): Depend on $(tests-special).
9033 * Makerules (check-abi-list): New variable.
9034 (check-abi): Depend on $(check-abi-list).
9035 [$(subdir) = elf] (tests-special): Add
9036 $(objpfx)check-abi-libc.out.
9037 [$(build-shared) = yes && subdir] (tests-special): Add
9039 [$(build-shared) = yes && subdir] (tests): Do not depend on
9041 * Rules (tests): Depend on $(tests-special).
9042 (xtests): Depend on $(xtests-special).
9043 * catgets/Makefile (tests): Change dependencies to ....
9044 (tests-special): ... additions to this variable.
9045 * conform/Makefile (tests): Change dependencies to ....
9046 (tests-special): ... additions to this variable.
9047 * elf/Makefile (tests): Change dependencies to ....
9048 (tests-special): ... additions to this variable.
9049 * grp/Makefile (tests): Change dependencies to ....
9050 (tests-special): ... additions to this variable.
9051 * iconv/Makefile (xtests): Change dependencies to ....
9052 (xtests-special): ... additions to this variable.
9053 * iconvdata/Makefile (tests): Change dependencies to ....
9054 (tests-special): ... additions to this variable.
9055 * intl/Makefile (tests): Change dependencies to ....
9056 (tests-special): ... additions to this variable. Also add
9057 $(objpfx)tst-gettext.out.
9058 * io/Makefile (tests): Change dependencies to ....
9059 (tests-special): ... additions to this variable.
9060 * libio/Makefile (tests): Change dependencies to ....
9061 (tests-special): ... additions to this variable.
9062 * malloc/Makefile (tests): Change dependencies to ....
9063 (tests-special): ... additions to this variable.
9064 * misc/Makefile (tests): Change dependencies to ....
9065 (tests-special): ... additions to this variable.
9066 * nptl/Makefile (tests): Change dependencies to ....
9067 (tests-special): ... additions to this variable.
9068 * nptl_db/Makefile (tests): Change dependencies to ....
9069 (tests-special): ... additions to this variable.
9070 * posix/Makefile (tests): Change dependencies to ....
9071 (tests-special): ... additions to this variable.
9072 (xtests): Change dependencies to ....
9073 (xtests-special): ... additions to this variable.
9074 * resolv/Makefile (tests): Change dependencies to ....
9075 (tests-special): ... additions to this variable.
9076 (xtests): Change dependencies to ....
9077 (xtests-special): ... additions to this variable.
9078 * stdio-common/Makefile (tests): Change dependencies to ....
9079 (tests-special): ... additions to this variable.
9080 (do-tst-unbputc): Remove target.
9081 (do-tst-printf): Likewise.
9082 * stdlib/Makefile (tests): Change dependencies to ....
9083 (tests-special): ... additions to this variable.
9084 * string/Makefile (tests): Change dependencies to ....
9085 (tests-special): ... additions to this variable.
9086 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9087 (tests-special): ... additions to this variable.
9089 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9091 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9093 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9094 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9096 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9097 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9098 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9099 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9100 * conform/data/libgen.h-data [XPG3]: Likewise.
9101 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9102 * conform/data/ndbm.h-data [XPG3]: Likewise.
9103 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9104 * conform/data/netdb.h-data [XPG3]: Likewise.
9105 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9106 * conform/data/poll.h-data [XPG3]: Likewise.
9107 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9108 * conform/data/strings.h-data [XPG3]: Likewise.
9109 * conform/data/stropts.h-data [XPG3]: Likewise.
9110 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9111 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9112 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9114 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9115 * conform/data/sys/time.h-data [XPG3]: Likewise.
9116 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9117 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9118 * conform/data/sys/un.h-data [XPG3]: Likewise.
9119 * conform/data/syslog.h-data [XPG3]: Likewise.
9120 * conform/data/ucontext.h-data [XPG3]: Likewise.
9121 * conform/data/utmpx.h-data [XPG3]: Likewise.
9122 * conform/data/varargs.h-data [UNIX98]: Enable file.
9124 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9126 * math/libm-test.inc (struct test_f_f_data): Move expected results
9127 into structure for each rounding mode.
9128 (struct test_ff_f_data): Likewise.
9129 (struct test_ff_f_data_nexttoward): Likewise.
9130 (struct test_fi_f_data): Likewise.
9131 (struct test_fl_f_data): Likewise.
9132 (struct test_if_f_data): Likewise.
9133 (struct test_fff_f_data): Likewise.
9134 (struct test_c_f_data): Likewise.
9135 (struct test_f_f1_data): Likewise.
9136 (struct test_fF_f1_data): Likewise.
9137 (struct test_ffI_f1_data): Likewise.
9138 (struct test_c_c_data): Likewise.
9139 (struct test_cc_c_data): Likewise.
9140 (struct test_f_i_data): Likewise.
9141 (struct test_ff_i_data): Likewise.
9142 (struct test_f_l_data): Likewise.
9143 (struct test_f_L_data): Likewise.
9144 (struct test_fFF_11_data): Likewise.
9146 (RM_FE_DOWNWARD): Likewise.
9147 (RM_FE_TONEAREST): Likewise.
9148 (RM_FE_TOWARDZERO): Likewise.
9149 (RM_FE_UPWARD): Likewise.
9150 (RUN_TEST_LOOP_f_f): Update references to expected results.
9151 (RUN_TEST_LOOP_2_f): Likewise.
9152 (RUN_TEST_LOOP_fff_f): Likewise.
9153 (RUN_TEST_LOOP_c_f): Likewise.
9154 (RUN_TEST_LOOP_f_f1): Likewise.
9155 (RUN_TEST_LOOP_fF_f1): Likewise.
9156 (RUN_TEST_LOOP_fI_f1): Likewise.
9157 (RUN_TEST_LOOP_ffI_f1): Likewise.
9158 (RUN_TEST_LOOP_c_c): Likewise.
9159 (RUN_TEST_LOOP_cc_c): Likewise.
9160 (RUN_TEST_LOOP_f_i): Likewise.
9161 (RUN_TEST_LOOP_f_i_tg): Likewise.
9162 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9163 (RUN_TEST_LOOP_f_b): Likewise.
9164 (RUN_TEST_LOOP_f_b_tg): Likewise.
9165 (RUN_TEST_LOOP_f_l): Likewise.
9166 (RUN_TEST_LOOP_f_L): Likewise.
9167 (RUN_TEST_LOOP_fFF_11): Likewise.
9168 * math/gen-libm-test.pl (parse_args): Output four copies of
9169 expected results for each test.
9171 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9172 (__ASSUME_UTIMES): Remove.
9173 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9174 (__ASSUME_UTIMES): Likewise.
9176 * math/gen-auto-libm-tests.c: Update comment on output format.
9177 (output_for_one_input_case): Generate before-rounding and
9178 after-rounding information as conditions on output flags not
9179 floating-point format.
9180 * math/auto-libm-test-out: Regenerated.
9181 * math/gen-libm-test.pl (cond_value): New function.
9182 (or_cond_value): Use cond_value.
9183 (generate_testfile): Handle conditional exceptions.
9185 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9187 * math/libm-test.inc (max_valid_error): New variable.
9188 (init_max_error): Take new argument specifying whether function
9189 results are exactly determined. Set max_valid_error and bound
9190 other variables for errors based on this argument.
9191 (set_max_error): Do not record results above max_valid_error.
9192 (check_float_internal): Only accept errors of up to 0.5ulps if
9193 also at most max_valid_error.
9194 (START): Take new argument EXACT and pass it to init_max_error.
9195 (acos_test): Update call to START.
9196 (acos_test_tonearest): Likewise.
9197 (acos_test_towardzero): Likewise.
9198 (acos_test_downward): Likewise.
9199 (acos_test_upward): Likewise.
9200 (acosh_test): Likewise.
9201 (asin_test): Likewise.
9202 (asin_test_tonearest): Likewise.
9203 (asin_test_towardzero): Likewise.
9204 (asin_test_downward): Likewise.
9205 (asin_test_upward): Likewise.
9206 (asinh_test): Likewise.
9207 (atan_test): Likewise.
9208 (atanh_test): Likewise.
9209 (atan2_test): Likewise.
9210 (cabs_test): Likewise.
9211 (cacos_test): Likewise.
9212 (cacosh_test): Likewise.
9213 (carg_test): Likewise.
9214 (casin_test): Likewise.
9215 (casinh_test): Likewise.
9216 (catan_test): Likewise.
9217 (catanh_test): Likewise.
9218 (cbrt_test): Likewise.
9219 (ccos_test): Likewise.
9220 (ccosh_test): Likewise.
9221 (ceil_test): Likewise.
9222 (cexp_test): Likewise.
9223 (cimag_test): Likewise.
9224 (clog_test): Likewise.
9225 (clog10_test): Likewise.
9226 (conj_test): Likewise.
9227 (copysign_test): Likewise.
9228 (cos_test): Likewise.
9229 (cos_test_tonearest): Likewise.
9230 (cos_test_towardzero): Likewise.
9231 (cos_test_downward): Likewise.
9232 (cos_test_upward): Likewise.
9233 (cosh_test): Likewise.
9234 (cosh_test_tonearest): Likewise.
9235 (cosh_test_towardzero): Likewise.
9236 (cosh_test_downward): Likewise.
9237 (cosh_test_upward): Likewise.
9238 (cpow_test): Likewise.
9239 (cproj_test): Likewise.
9240 (creal_test): Likewise.
9241 (csin_test): Likewise.
9242 (csinh_test): Likewise.
9243 (csqrt_test): Likewise.
9244 (ctan_test): Likewise.
9245 (ctan_test_tonearest): Likewise.
9246 (ctan_test_towardzero): Likewise.
9247 (ctan_test_downward): Likewise.
9248 (ctan_test_upward): Likewise.
9249 (ctanh_test): Likewise.
9250 (ctanh_test_tonearest): Likewise.
9251 (ctanh_test_towardzero): Likewise.
9252 (ctanh_test_downward): Likewise.
9253 (ctanh_test_upward): Likewise.
9254 (erf_test): Likewise.
9255 (erfc_test): Likewise.
9256 (exp_test): Likewise.
9257 (exp_test_tonearest): Likewise.
9258 (exp_test_towardzero): Likewise.
9259 (exp_test_downward): Likewise.
9260 (exp_test_upward): Likewise.
9261 (exp10_test): Likewise.
9262 (exp10_test_tonearest): Likewise.
9263 (exp10_test_towardzero): Likewise.
9264 (exp10_test_downward): Likewise.
9265 (exp10_test_upward): Likewise.
9266 (pow10_test): Likewise.
9267 (exp2_test): Likewise.
9268 (expm1_test): Likewise.
9269 (expm1_test_tonearest): Likewise.
9270 (expm1_test_towardzero): Likewise.
9271 (expm1_test_downward): Likewise.
9272 (expm1_test_upward): Likewise.
9273 (fabs_test): Likewise.
9274 (fdim_test): Likewise.
9275 (floor_test): Likewise.
9276 (fma_test): Likewise.
9277 (fma_test_towardzero): Likewise.
9278 (fma_test_downward): Likewise.
9279 (fma_test_upward): Likewise.
9280 (fmax_test): Likewise.
9281 (fmin_test): Likewise.
9282 (fmod_test): Likewise.
9283 (fpclassify_test): Likewise.
9284 (frexp_test): Likewise.
9285 (hypot_test): Likewise.
9286 (ilogb_test): Likewise.
9287 (isfinite_test): Likewise.
9288 (finite_test): Likewise.
9289 (isgreater_test): Likewise.
9290 (isgreaterequal_test): Likewise.
9291 (isinf_test): Likewise.
9292 (isless_test): Likewise.
9293 (islessequal_test): Likewise.
9294 (islessgreater_test): Likewise.
9295 (isnan_test): Likewise.
9296 (isnormal_test): Likewise.
9297 (issignaling_test): Likewise.
9298 (isunordered_test): Likewise.
9299 (j0_test): Likewise.
9300 (j1_test): Likewise.
9301 (jn_test): Likewise.
9302 (ldexp_test): Likewise.
9303 (lgamma_test): Likewise.
9304 (gamma_test): Likewise.
9305 (lrint_test): Likewise.
9306 (lrint_test_tonearest): Likewise.
9307 (lrint_test_towardzero): Likewise.
9308 (lrint_test_downward): Likewise.
9309 (lrint_test_upward): Likewise.
9310 (llrint_test): Likewise.
9311 (llrint_test_tonearest): Likewise.
9312 (llrint_test_towardzero): Likewise.
9313 (llrint_test_downward): Likewise.
9314 (llrint_test_upward): Likewise.
9315 (log_test): Likewise.
9316 (log10_test): Likewise.
9317 (log1p_test): Likewise.
9318 (log2_test): Likewise.
9319 (logb_test): Likewise.
9320 (logb_test_downward): Likewise.
9321 (lround_test): Likewise.
9322 (llround_test): Likewise.
9323 (modf_test): Likewise.
9324 (nearbyint_test): Likewise.
9325 (nextafter_test): Likewise.
9326 (nexttoward_test): Likewise.
9327 (pow_test): Likewise.
9328 (pow_test_tonearest): Likewise.
9329 (pow_test_towardzero): Likewise.
9330 (pow_test_downward): Likewise.
9331 (pow_test_upward): Likewise.
9332 (remainder_test): Likewise.
9333 (drem_test): Likewise.
9334 (remainder_test_tonearest): Likewise.
9335 (drem_test_tonearest): Likewise.
9336 (remainder_test_towardzero): Likewise.
9337 (drem_test_towardzero): Likewise.
9338 (remainder_test_downward): Likewise.
9339 (drem_test_downward): Likewise.
9340 (remainder_test_upward): Likewise.
9341 (drem_test_upward): Likewise.
9342 (remquo_test): Likewise.
9343 (rint_test): Likewise.
9344 (rint_test_tonearest): Likewise.
9345 (rint_test_towardzero): Likewise.
9346 (rint_test_downward): Likewise.
9347 (rint_test_upward): Likewise.
9348 (round_test): Likewise.
9349 (scalb_test): Likewise.
9350 (scalbn_test): Likewise.
9351 (scalbln_test): Likewise.
9352 (signbit_test): Likewise.
9353 (sin_test): Likewise.
9354 (sin_test_tonearest): Likewise.
9355 (sin_test_towardzero): Likewise.
9356 (sin_test_downward): Likewise.
9357 (sin_test_upward): Likewise.
9358 (sincos_test): Likewise.
9359 (sinh_test): Likewise.
9360 (sinh_test_tonearest): Likewise.
9361 (sinh_test_towardzero): Likewise.
9362 (sinh_test_downward): Likewise.
9363 (sinh_test_upward): Likewise.
9364 (sqrt_test): Likewise.
9365 (sqrt_test_tonearest): Likewise.
9366 (sqrt_test_towardzero): Likewise.
9367 (sqrt_test_downward): Likewise.
9368 (sqrt_test_upward): Likewise.
9369 (tan_test): Likewise.
9370 (tan_test_tonearest): Likewise.
9371 (tan_test_towardzero): Likewise.
9372 (tan_test_downward): Likewise.
9373 (tan_test_upward): Likewise.
9374 (tanh_test): Likewise.
9375 (tgamma_test): Likewise.
9376 (trunc_test): Likewise.
9377 (y0_test): Likewise.
9378 (y1_test): Likewise.
9379 (yn_test): Likewise.
9380 (significand_test): Likewise.
9382 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9383 individual tests in comment.
9384 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9385 (prev_max_error): New variable.
9386 (prev_real_max_error): Likewise.
9387 (prev_imag_max_error): Likewise.
9388 (compare_ulp_data): Don't refer to test names in comment.
9389 (find_test_ulps): Remove function.
9390 (find_function_ulps): Likewise.
9391 (find_complex_function_ulps): Likewise.
9392 (init_max_error): Take function name as argument. Look up ulps
9394 (print_ulps): Remove function.
9395 (print_max_error): Use prev_max_error instead of calling
9397 (print_complex_max_error): Use prev_real_max_error and
9398 prev_imag_max_error instead of calling find_complex_function_ulps.
9399 (check_float_internal): Take max_ulp parameter instead of calling
9400 find_test_ulps. Don't call print_ulps.
9401 (check_float): Update call to check_float_internal.
9402 (check_complex): Update calls to check_float_internal.
9403 (START): Pass argument to init_max_error.
9404 * math/gen-libm-test.pl (%results): Don't include "kind"
9406 (parse_ulps): Don't handle ulps of individual tests.
9407 (print_ulps_file): Likewise.
9408 (output_ulps): Likewise.
9409 * math/README.libm-test: Update.
9410 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9412 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9413 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9414 * sysdeps/arm/libm-test-ulps: Likewise.
9415 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9416 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9417 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9418 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9419 * sysdeps/microblaze/libm-test-ulps: Likewise.
9420 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9421 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9423 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9425 * sysdeps/sh/libm-test-ulps: Likewise.
9426 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9427 * sysdeps/tile/libm-test-ulps: Likewise.
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9430 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9432 * math/libm-test.inc (print_complex_max_error): Check separately
9433 whether real and imaginary errors are within allowed range and
9434 pass 0 to print_complex_function_ulps instead of value within
9437 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9439 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9441 (get_handles_fopen): Likewise.
9442 (do_write_test): Likewise.
9444 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9446 * libio/fileops.c (do_ftell): Use cached offset when
9448 * libio/iofwide.c (do_ftell_wide): Likewise.
9449 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9451 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9454 * libio/libioP.h (get_file_offset): New function.
9455 * libio/fileops.c (get_file_offset): Likewise.
9456 (do_ftell): Likewise.
9457 (_IO_new_file_seekoff): Split out ftell logic.
9458 * libio/wfileops.c (do_ftell_wide): Likewise.
9459 (_IO_wfile_seekoff): Split out ftell logic.
9460 * libio/tst-ftell-active-handler.c: New test case.
9461 * libio/Makefile (tests): Add it.
9463 2014-03-03 Roland McGrath <roland@hack.frob.com>
9465 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9466 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9468 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9471 * nscd/connections.c (nscd_init): Call do_exit.
9472 (start_threads): Call do_exit and notify_parent.
9473 (begin_drop_privileges): Call do_exit.
9474 (finish_drop_privileges): Likewise.
9475 * nscd/selinux.c (preserve_capabilities): Likewise.
9476 (install_real_capabilities): Likewise.
9477 (nscd_selinux_enabled): Likewise.
9478 (avc_create_thread): Likewise.
9479 (avc_alloc_lock): Likewise.
9480 (nscd_avc_init): Likewise.
9481 * nscd/nscd.c (parent_fd): New static variable.
9482 (main): Create a pipe between parent and child processes.
9483 Skip closing parent_fd.
9484 (monitor_child): New function.
9485 (do_exit): Likewise.
9486 (notify_parent): Likewise.
9487 * nscd/nscd.h (notify_parent): Likewise.
9488 (do_exit): Likewise.
9490 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9492 * malloc/malloc.c (__libc_calloc): Revert last change.
9494 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9498 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9500 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9504 (__libc_ifunc_impl_list): Likewise.
9505 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9506 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9507 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9508 * string/strrchr.c: Define STRRCHR.
9510 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9512 * benchtest/bench-strtok.c (simple_strtok): Delete.
9513 (strtok_string): Use as benchmark.
9514 * string/strtok (STRTOK): New macro.
9516 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9518 * manual/threads.texi: Add header and standard comments to all
9521 * elf/dl-lookup.c (check_match): New function.
9522 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9523 (do_lookup_x): Remove nested function check_match. Use non-nested
9524 function check_match.
9526 2014-02-28 Roland McGrath <roland@hack.frob.com>
9528 * csu/Makefile (generated, before-compile): Use += rather than =.
9529 * catgets/Makefile (generated, generated-dirs): Likewise.
9530 * debug/Makefile (generated): Likewise.
9531 * dlfcn/Makefile (generated): Likewise.
9532 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9533 * iconvdata/Makefile (before-compile, generated): Likewise.
9534 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9535 * libio/Makefile (generated): Likewise.
9536 * malloc/Makefile (generated): Likewise.
9537 * manual/Makefile (generated, generated-dirs): Likewise.
9538 * misc/Makefile (generated): Likewise.
9539 * posix/Makefile (generated): Likewise.
9540 * resolv/Makefile (generated): Likewise.
9541 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9542 * timezone/Makefile (generated, generated-dirs): Likewise.
9544 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9546 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9549 power8 implementation.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9551 file: POWER8 llround ifunc implementation.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9553 (__lllround): Add POWER8 implementation.
9554 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9555 POWER8 llround implementation.
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9558 power8 implementation.
9559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9560 file: POWER8 llrint ifunc implementation.
9561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9562 Add POWER8 implementation.
9563 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9564 POWER8 llrint implementation.
9566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9567 power8 implementation.
9568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9569 file: POWER8 finite ifunc implementation.
9570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9571 Add POWER8 implementation.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9574 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9575 POWER8 finite implementation.
9576 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9579 power8 implementation.
9580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9581 file: POWER8 isinf ifunc implementation.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9583 POWER8 implementation.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9586 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9587 isinf implementation.
9588 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9590 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9591 (INIT_ARCH): Add hwcap2 initialization.
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9593 power8 implementation.
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9595 file: POWER8 isnan ifunc implementation.
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9597 POWER8 implementation.
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9600 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9601 isnan implementation.
9602 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9604 2014-02-27 Joey Ye <joey.ye@arm.com>
9606 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9607 (_FP_NANFRAC_Q): Set to zero.
9609 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9612 * math/auto-libm-test-in: New test inputs.
9613 * math/auto-libm-test-out: Regenerate.
9614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9617 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9619 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9621 * scripts/evaluate-test.sh: Take new argument indicating whether
9622 failure is expected.
9623 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9624 indicating whether failure is expected.
9625 * conform/Makefile (test-xfail-run-conformtest): New variable.
9626 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9628 * posix/Makefile (test-xfail-annexc): New variable.
9629 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9631 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9633 * argp/Makefile: Include Makeconfig immediately after defining
9635 * assert/Makefile: Likewise.
9636 * benchtests/Makefile: Likewise.
9637 * catgets/Makefile: Likewise.
9638 * conform/Makefile: Likewise.
9639 * crypt/Makefile: Likewise.
9640 * csu/Makefile: Likewise.
9641 (all): Remove target.
9642 * ctype/Makefile: Include Makeconfig immediately after defining
9644 * debug/Makefile: Likewise.
9645 * dirent/Makefile: Likewise.
9646 * dlfcn/Makefile: Likewise.
9647 * gmon/Makefile: Likewise.
9648 * gnulib/Makefile: Likewise.
9649 * grp/Makefile: Likewise.
9650 * gshadow/Makefile: Likewise.
9651 * hesiod/Makefile: Likewise.
9652 * hurd/Makefile: Likewise.
9653 (all): Remove target.
9654 * iconvdata/Makefile: Include Makeconfig immediately after
9656 * inet/Makefile: Likewise.
9657 * intl/Makefile: Likewise.
9658 * io/Makefile: Likewise.
9659 * libio/Makefile: Likewise.
9660 (all): Remove target.
9661 * locale/Makefile: Include Makeconfig immediately after defining
9663 * login/Makefile: Likewise.
9664 * mach/Makefile: Likewise.
9665 (all): Remove target.
9666 * malloc/Makefile: Include Makeconfig immediately after defining
9668 (all): Remove target.
9669 * manual/Makefile: Include Makeconfig immediately after defining
9671 * math/Makefile: Likewise.
9672 * misc/Makefile: Likewise.
9673 * nis/Makefile: Likewise.
9674 * nss/Makefile: Likewise.
9675 * po/Makefile: Likewise.
9676 (all): Remove target.
9677 * posix/Makefile: Include Makeconfig immediately after defining
9679 * pwd/Makefile: Likewise.
9680 * resolv/Makefile: Likewise.
9681 * resource/Makefile: Likewise.
9682 * rt/Makefile: Likewise.
9683 * setjmp/Makefile: Likewise.
9684 * shadow/Makefile: Likewise.
9685 * signal/Makefile: Likewise.
9686 * socket/Makefile: Likewise.
9687 * soft-fp/Makefile: Likewise.
9688 * stdio-common/Makefile: Likewise.
9689 * stdlib/Makefile: Likewise.
9690 * streams/Makefile: Likewise.
9691 * string/Makefile: Likewise.
9692 * sunrpc/Makefile: Likewise.
9693 (all): Remove target.
9694 * sysvipc/Makefile: Include Makeconfig immediately after defining
9696 * termios/Makefile: Likewise.
9697 * time/Makefile: Likewise.
9698 * timezone/Makefile: Likewise.
9699 (all): Remove target.
9700 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9702 * wctype/Makefile: Likewise.
9704 2014-02-26 Steve Ellcey <sellcey@mips.com>
9706 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9707 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9708 (libc_feholdexcept_setround_mips): Ditto.
9709 (libc_feholdsetround): New.
9710 (libc_feholdsetroundf): New.
9711 (libc_feholdsetroundl): New.
9712 (libc_feupdateenv_test_mips): New.
9713 (libc_feupdateenv_test): New.
9714 (libc_feupdateenv_testf): New.
9715 (libc_feupdateenv_testl): New.
9716 (libc_feresetround): New.
9717 (libc_feresetroundf): New.
9718 (libc_feresetroundl): New.
9719 (libc_fetestexcept_mips): New.
9720 (libc_fetestexcept): New.
9721 (libc_fetestexceptf): New.
9722 (libc_fetestexceptl): New.
9724 (libc_feholdexcept_setround_mips_ctx): New.
9725 (libc_feholdexcept_setround_ctx): New.
9726 (libc_feholdexcept_setroundf_ctx): New.
9727 (libc_feholdexcept_setroundl_ctx): New.
9728 (libc_fesetenv_mips_ctx): New.
9729 (libc_fesetenv_ctx): New.
9730 (libc_fesetenv_ctxf): New.
9731 (libc_fesetenv_ctxl): New.
9732 (libc_feupdateenv_mips_ctx): New.
9733 (libc_feupdateenv_ctx): New.
9734 (libc_feupdateenvf_ctx): New.
9735 (libc_feupdateenvl_ctx): New.
9736 (libc_feholdsetround_mips_ctx): New.
9737 (libc_feholdsetround_ctx): New.
9738 (libc_feholdsetroundf_ctx): New.
9739 (libc_feholdsetroundl_ctx): New.
9740 (libc_feresetround_mips_ctx): New.
9741 (libc_feresetround_ctx): New.
9742 (libc_feresetroundf_ctx): New.
9743 (libc_feresetroundl_ctx): New.
9745 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9747 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9749 * manual/ipc.texi: New file.
9750 * manual/Makefile (chapters): Add ipc.
9751 * manual/job.texi: Add "Inter-Process Communication" to next.
9752 * manual/process.texi: Add "Inter-Process Communication" to prev.
9754 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9758 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9760 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9762 * manual/arith.texi: Fix spaces after sentences.
9763 * manual/charset.texi: Likewise.
9764 * manual/errno.texi: Likewise.
9765 * manual/install.texi: Likewise.
9766 * manual/llio.texi: Likewise.
9767 * manual/locale.texi: Likewise.
9768 * manual/maint.texi: Likewise.
9769 * manual/math.texi: Likewise.
9770 * manual/memory.texi: Likewise.
9771 * manual/message.texi: Likewise.
9772 * manual/probes.texi: Likewise.
9773 * manual/resource.texi: Likewise.
9774 * manual/signal.texi: Likewise.
9775 * manual/socket.texi: Likewise.
9776 * manual/stdio.texi: Likewise.
9777 * manual/string.texi: Likewise.
9778 * manual/time.texi: Likewise.
9779 * manual/users.texi: Likewise.
9781 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9784 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9785 _DEFAULT_SOURCE is defined.
9787 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9788 Carlos O'Donell <carlos@redhat.com>
9791 * elf/dl-tls.c (_dl_count_modids): New function.
9792 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9793 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9794 audit library and increment generation counter.
9795 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9796 * elf/tst-audit9.c: New file.
9797 * elf/tst-auditmod9a.c: New file.
9798 * elf/tst-auditmod9b.c: New file.
9799 * elf/Makefile: Add rules to build and run tst-audit9.
9801 2014-02-25 Florian Weimer <fweimer@redhat.com>
9804 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9806 2014-02-25 Will Newton <will.newton@linaro.org>
9808 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9809 (__longjmp): Restore sp and lr before restoring callee
9810 saved registers. Add longjmp and longjmp_target
9811 SystemTap probe point.
9812 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9813 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9814 Define to zero to match jmpbuf layout.
9815 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9816 (__sigsetjmp): Save sp and lr before saving callee
9817 saved registers. Add setjmp SystemTap probe point.
9819 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9821 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9823 2014-02-24 Andreas Schwab <schwab@suse.de>
9826 * elf/pldd.c (wait_for_ptrace_stop): New function.
9827 (main): Call it after attaching.
9829 2014-02-22 Roland McGrath <roland@hack.frob.com>
9831 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9832 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9833 Versions files is now verboten.
9834 * hurd/Versions (libc: GLIBC_2.0):
9835 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9836 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9837 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9838 * mach/Versions: Likewise.
9840 * csu/Versions: Remove unused %include.
9841 * resolv/Versions: Likewise.
9843 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9845 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9846 ($(objpfx)check-local-headers.out): Likewise.
9847 ($(objpfx)begin-end-check.out): Likewise.
9848 * Makerules (check-abi-%.out): Likewise.
9849 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9850 ($(objpfx)test2.cat): Likewise.
9851 ($(objpfx)de/libc.cat): Likewise.
9852 ($(objpfx)test-gencat.out): Likewise.
9853 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9854 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9855 ($(objpfx)noload-mem): Likewise.
9856 ($(objpfx)tst-pathopt.out): Likewise.
9857 ($(objpfx)tst-rtld-load-self.out): Likewise.
9858 ($(objpfx)tst-array1-cmp.out): Likewise.
9859 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9860 ($(objpfx)tst-array2-cmp.out): Likewise.
9861 ($(objpfx)tst-array3-cmp.out): Likewise.
9862 ($(objpfx)tst-array4-cmp.out): Likewise.
9863 ($(objpfx)tst-array5-cmp.out): Likewise.
9864 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9865 ($(objpfx)check-textrel.out): Likewise.
9866 ($(objpfx)check-execstack.out): Likewise.
9867 ($(objpfx)check-localplt.out): Likewise.
9868 ($(objpfx)order2-cmp.out): Likewise.
9869 ($(objpfx)tst-leaks1-mem): Likewise.
9870 ($(objpfx)tst-leaks1-static-mem): Likewise.
9871 ($(objpfx)tst-initorder-cmp.out): Likewise.
9872 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9873 ($(objpfx)tst-unused-dep.out): Likewise.
9874 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9875 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9876 * iconv/Makefile (test-iconvconfig): Likewise.
9877 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9878 ($(objpfx)iconv-test.out): Likewise.
9879 ($(objpfx)tst-tables.out): Likewise.
9880 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9881 ($(objpfx)tst-gettext.out): Likewise.
9882 ($(objpfx)tst-translit.out): Likewise.
9883 ($(objpfx)tst-gettext2.out): Likewise.
9884 ($(objpfx)tst-gettext4.out): Likewise.
9885 ($(objpfx)tst-gettext6.out): Likewise.
9886 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9887 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9888 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9889 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9890 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9891 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9892 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9893 ($(objpfx)wordexp-tst.out): Likewise.
9894 ($(objpfx)annexc.out): Likewise.
9895 ($(objpfx)tst-fnmatch-mem): Likewise.
9896 ($(objpfx)bug-regex2-mem): Likewise.
9897 ($(objpfx)bug-regex14-mem): Likewise.
9898 ($(objpfx)bug-regex21-mem): Likewise.
9899 ($(objpfx)bug-regex31-mem): Likewise.
9900 ($(objpfx)tst-vfork3-mem): Likewise.
9901 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9902 ($(objpfx)tst-pcre-mem): Likewise.
9903 ($(objpfx)tst-boost-mem): Likewise.
9904 ($(objpfx)tst-getconf.out): Likewise.
9905 ($(objpfx)bug-ga2-mem): Likewise.
9906 ($(objpfx)bug-glob2-mem): Likewise.
9907 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9908 ($(objpfx)mtrace-tst-leaks2): Likewise.
9909 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9910 ($(objpfx)tst-printf.out): Likewise.
9911 ($(objpfx)tst-setvbuf1.out): Likewise.
9912 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9913 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9914 ($(objpfx)tst-fmtmsg.out): Likewise.
9915 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9916 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9918 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9919 * bits/sigaction.h [__USE_MISC]: Likewise.
9920 * bits/waitstatus.h: Update #endif comments.
9921 * ctype/ctype.h: Likewise.
9922 * dirent/dirent.h: Likewise.
9923 [__USE_MISC]: Remove redundant conditionals.
9924 * grp/grp.h: Update #endif comments.
9925 [__USE_GNU]: Remove redundant conditionals.
9926 [__USE_MISC]: Likewise.
9927 * inet/netinet/in.h [__USE_GNU]: Likewise.
9928 * io/sys/stat.h [__USE_MISC]: Likewise.
9929 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9930 * libio/bits/stdio.h: Update #endif comments.
9931 [__USE_MISC]: Remove redundant conditionals.
9932 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9933 * libio/stdio.h: Update #endif comments.
9934 [__USE_MISC]: Remove redundant conditionals.
9935 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9936 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9937 * math/math.h: Update #else and #endif comments.
9938 [__USE_MISC]: Remove redundant conditionals.
9939 * misc/sys/uio.h: Update #endif comments.
9940 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9941 * posix/glob.h [__USE_MISC]: Likewise.
9942 * posix/sys/types.h: Update #endif comments.
9943 [__USE_MISC]: Remove redundant conditionals.
9944 * posix/sys/wait.h: Update #endif comments.
9945 [__USE_MISC]: Remove redundant conditionals.
9946 * posix/unistd.h: Update #endif comments.
9947 [__USE_MISC]: Remove redundant conditionals.
9948 * pwd/pwd.h [__USE_GNU]: Likewise.
9949 [__USE_MISC]: Likewise.
9950 * resolv/netdb.h [__USE_GNU]: Likewise.
9951 * signal/signal.h: Update #endif comments.
9952 [__USE_MISC]: Remove redundant conditionals.
9953 * stdlib/stdlib.h: Update #else and #endif comments.
9954 [__USE_MISC]: Remove redundant conditionals.
9955 [__USE_GNU]: Likewise.
9956 * string/bits/string2.h [__USE_MISC]: Likewise.
9957 * string/string.h: Update #endif comments.
9958 [__USE_MISC]: Remove redundant conditionals.
9959 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9961 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9962 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9963 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9965 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9967 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9969 [__USE_MISC]: Remove redundant conditionals.
9970 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9971 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9972 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9973 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9974 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9976 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9977 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9979 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9980 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9982 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9984 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9985 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9987 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9989 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9990 * sysdeps/x86/bits/string.h: Update #endif comments.
9991 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9993 * time/sys/time.h: Update #endif comments.
9994 * time/time.h: Likewise.
9995 [__USE_MISC]: Remove redundant conditionals.
9997 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10000 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10002 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10004 * Versions.def (librt): Add GLIBC_2.17.
10006 2014-02-21 Adam Conrad <adconrad@0c3.net>
10008 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10009 synonym for _SYS_AUXV_H to allow direct inclusion.
10010 * sysdeps/sparc/bits/hwcap.h: Likewise.
10011 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10012 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10013 * sysdeps/sparc/sysdep.h: Likewise.
10015 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10017 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10019 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10021 * benchtests/bench-strrchr.c: Print length instead of position.
10023 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10026 * sysdeps/unix/sysv/linux/kernel-features.h
10027 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10028 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10029 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10030 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10032 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10033 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10034 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10035 (__ASSUME_SENDMMSG): Define instead of using previous
10036 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10037 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10038 (__ASSUME_SENDMMSG_SYSCALL): Define.
10039 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10040 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10042 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10043 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10045 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10046 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10048 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10049 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10050 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10051 [__ASSUME_SENDMMSG]: Change conditionals to
10052 [__ASSUME_SENDMMSG_SOCKETCALL].
10053 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10054 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10056 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10057 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10059 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10060 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10061 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10062 [!__ASSUME_SENDMMSG]: Change conditional to
10063 [!__ASSUME_SENDMMSG_SOCKETCALL].
10064 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10065 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10069 * sysdeps/unix/sysv/linux/kernel-features.h
10070 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10071 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10072 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10073 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10074 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10075 [__i386__ || __sparc__]
10076 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10077 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10078 (__ASSUME_RECVMMSG): Define instead of using previous
10079 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10080 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10081 (__ASSUME_RECVMMSG_SYSCALL): Define.
10082 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10083 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10085 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10086 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10088 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10089 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10091 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10092 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10093 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10094 [__ASSUME_RECVMMSG]: Change condition to
10095 [__ASSUME_RECVMMSG_SOCKETCALL].
10096 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10097 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10099 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10100 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10101 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10103 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10104 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10105 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10106 [!__ASSUME_RECVMMSG]: Change condition to
10107 [!__ASSUME_RECVMMSG_SOCKETCALL].
10108 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10109 (__ASSUME_RECVMMSG_SYSCALL): Define.
10112 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10113 __powerpc__ || __s390__ || __sh__ || __sparc__]
10114 (__ASSUME_SOCKETCALL): Define.
10115 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10116 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10117 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10118 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10119 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10120 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10121 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10122 (__ASSUME_ACCEPT4): Define instead of using previous
10123 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10124 __powerpc__ || __sparc__ || __s390__)] condition.
10125 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10126 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10127 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10128 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10129 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10130 [!__ASSUME_ACCEPT4]: Change condition to
10131 [!__ASSUME_ACCEPT4_SOCKETCALL].
10132 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10133 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10134 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10135 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10136 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10137 __ASSUME_ACCEPT4_SYSCALL.
10138 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10139 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10140 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10141 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10142 __ASSUME_ACCEPT4_SYSCALL.
10143 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10144 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10145 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10146 [__ASSUME_ACCEPT4]: Change condition to
10147 [__ASSUME_ACCEPT4_SOCKETCALL].
10148 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10149 (__ASSUME_SOCKETCALL): Define.
10150 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10152 (__ASSUME_SOCKETCALL): Define.
10153 (__ASSUME_ACCEPT4): Remove.
10154 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10156 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10157 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10159 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10160 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10162 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10164 (HWCAP_ARM_LPAE): Likewise.
10165 (HWCAP_ARM_EVTSTRM): Likewise.
10166 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10167 Add vpfd32, lpae and evtstrm.
10168 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10171 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10173 * math/auto-libm-test-in: Add tests of clog10.
10174 * math/auto-libm-test-out: Regenerated.
10175 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10176 * sysdeps/i386/fpu/libm-test-ulps: Update.
10177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10179 2014-02-18 Andreas Schwab <schwab@suse.de>
10182 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10183 Store non-zero if the second buffer was newly allocated.
10184 (send_dg): Likewise.
10185 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10186 to send_vc and send_dg.
10187 (res_nsend): Pass NULL for ansp2_malloced.
10188 * resolv/res_query.c (__libc_res_nquery): Add parameter
10189 answerp2_malloced and pass it down to __libc_res_nsend.
10190 (res_nquery): Pass additional NULL to __libc_res_nquery.
10191 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10192 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10193 second answer buffer if answerp2_malloced was set.
10194 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10195 (__libc_res_nquerydomain): Add parameter
10196 answerp2_malloced and pass it down to __libc_res_nquery.
10197 (res_nquerydomain): Pass additional NULL to
10198 __libc_res_nquerydomain.
10199 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10200 additional NULL to __libc_res_nsend and __libc_res_nquery.
10201 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10202 additional NULL to __libc_res_nsearch.
10203 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10204 parameter of __libc_res_nsearch to check for separately allocated
10206 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10208 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10209 additional NULL to __libc_res_nquery.
10210 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10211 __libc_res_nsearch.
10212 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10213 * include/resolv.h: Update prototypes of __libc_res_nquery,
10214 __libc_res_nsearch, __libc_res_nsend.
10216 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10218 * math/auto-libm-test-in: Add tests of fma.
10219 * math/auto-libm-test-out: Regenerated.
10220 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10221 (fma_towardzero_test_data): Likewise.
10222 (fma_downward_test_data): Likewise.
10223 (fma_upward_test_data): Likewise.
10224 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10226 (rounding_modes): Add values for new field.
10227 (func_calc_method): Add value mpfr_fff_f.
10228 (func_calc_desc): Add mpfr_fff_f union field.
10229 (test_function): Add field exact_args.
10230 (FUNC): Add macro argument EXACT_ARGS.
10231 (FUNC_mpfr_f_f): Update call to FUNC.
10232 (FUNC_mpfr_f_f): Likewise.
10233 (FUNC_mpfr_ff_f): Likewise.
10234 (FUNC_mpfr_if_f): Likewise.
10235 (FUNC_mpc_c_f): Likewise.
10236 (FUNC_mpc_c_c): Likewise.
10237 (test_functions): Add fma. Update calls to FUNC.
10238 (handle_input_arg): Add argument exact_args.
10239 (add_test): Update call to handle_input_arg.
10240 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10241 (output_for_one_input_case): Update call to calc_generic_results.
10242 Recalculate exact zero results in each rounding mode.
10244 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10245 non-negative before setting low bit.
10246 * math/auto-libm-test-in: Mark one asin test possibly having
10247 spurious underflow.
10248 * math/auto-libm-test-out: Regenerated.
10249 * sysdeps/i386/fpu/libm-test-ulps: Update.
10250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10252 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10254 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10255 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10256 ports/sysdeps/unix/sysv/linux/microblaze.
10257 * README: Add missing listing for microblaze*-*-linux-gnu.
10259 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10261 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10264 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10266 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10267 * sysdeps/unix/sysv/linux/ia64: Move directory from
10268 ports/sysdeps/unix/sysv/linux/ia64.
10269 * README: Update listing for ia64-*-linux-gnu.
10271 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10272 Joseph Myers <joseph@codesourcery.com>
10274 * Makeconfig (test-name): New variable.
10275 (evaluate-test): Likewise.
10276 * Makerules (do-test-clean): Remove .test-result files.
10277 (common-mostlyclean): Likewise.
10278 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10279 * scripts/evaluate-test.sh: New file.
10281 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10283 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10284 separate $(objpfx)tst-fopenloc-cmp.out and
10285 $(objpfx)tst-fopenloc-mem.out targets.
10286 (tests): Update dependencies.
10287 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10288 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10289 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10290 (tst-rxspencer-no-utf8-ARGS): New variable.
10291 (tst-rxspencer-no-utf8-ENV): Likewise.
10292 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10293 instead of $(objpfx)tst-rxspencer-mem.
10294 ($(objpfx)tst-rxspencer-mem): Change target to
10295 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10296 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10297 * posix/tst-rxspencer-no-utf8.c: New file.
10299 * elf/Makefile ($(objpfx)order.out): Remove rule.
10300 [$(run-built-tests) = yes] (tests): Depend on
10301 $(objpfx)order-cmp.out.
10302 ($(objpfx)order-cmp.out): New rule.
10303 [$(run-built-tests) = yes] (tests): Depend on
10304 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10305 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10306 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10307 $(objpfx)tst-array5-static-cmp.out.
10308 ($(objpfx)tst-array1.out): Remove rule.
10309 ($(objpfx)tst-array1-cmp.out): New rule.
10310 ($(objpfx)tst-array1-static.out): Remove rule.
10311 ($(objpfx)tst-array1-static-cmp.out): New rule.
10312 ($(objpfx)tst-array2.out): Remove rule.
10313 ($(objpfx)tst-array2-cmp.out): New rule.
10314 ($(objpfx)tst-array3.out): Remove rule.
10315 ($(objpfx)tst-array3-cmp.out): New rule.
10316 ($(objpfx)tst-array4.out): Remove rule.
10317 ($(objpfx)tst-array4-cmp.out): New rule.
10318 ($(objpfx)tst-array5.out): Remove rule.
10319 ($(objpfx)tst-array5-cmp.out): New rule.
10320 ($(objpfx)tst-array5-static.out): Remove rule.
10321 ($(objpfx)tst-array5-static-cmp.out): New rule.
10322 [$(run-built-tests) = yes] (tests): Depend on
10323 $(objpfx)order2-cmp.out.
10324 ($(objpfx)order2.out): Remove rule.
10325 ($(objpfx)order2-cmp.out): New rule.
10326 ($(objpfx)tst-initorder.out): Remove rule.
10327 [$(run-built-tests) = yes] (tests): Depend on
10328 $(objpfx)tst-initorder-cmp.out.
10329 ($(objpfx)tst-initorder-cmp.out): New rule.
10330 ($(objpfx)tst-initorder2.out): Remove rule.
10331 [$(run-built-tests) = yes] (tests): Depend on
10332 $(objpfx)tst-initorder2-cmp.out.
10333 ($(objpfx)tst-initorder2-cmp.out): New rule.
10334 [$(run-built-tests) = yes] (tests): Depend on
10335 $(objpfx)tst-unused-dep-cmp.out.
10336 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10337 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10338 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10339 on $(objpfx)tst-setvbuf1-cmp.out.
10340 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10341 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10342 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10343 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10344 ($(objpfx)tst-svc.out): Remove rule.
10345 ($(objpfx)tst-svc-cmp.out): New rule.
10347 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10349 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10350 * ctype/ctype.h [__USE_MISC]: Likewise.
10351 * dirent/dirent.h [__USE_MISC]: Likewise.
10352 * grp/grp.h [__USE_MISC]: Likewise.
10353 * io/fcntl.h [__USE_MISC]: Likewise.
10354 * io/sys/stat.h [__USE_MISC]: Likewise.
10355 * libio/stdio.h [__USE_MISC]: Likewise.
10356 * posix/unistd.h [__USE_MISC]: Likewise.
10357 * pwd/pwd.h [__USE_MISC]: Likewise.
10358 * stdlib.h [__USE_MISC]: Likewise.
10359 * string/bits/string2.h [__USE_MISC]: Likewise.
10360 * string/string.h [__USE_MISC]: Likewise.
10361 * time/time.h [__USE_MISC]: Likewise.
10363 2014-02-13 Andreas Schwab <schwab@suse.de>
10366 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10367 second answer buffer if it was separately allocated.
10369 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10371 * sysdeps/mips/math-tests.h: Include <features.h>.
10372 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10373 (ROUNDING_TESTS_long_double): Do not define.
10374 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10375 (EXCEPTION_TESTS_long_double): Likewise.
10376 * sysdeps/mips/mips64/libm-test-ulps: Update.
10378 * include/features.h (__USE_BSD): Remove macro definitions.
10379 (__USE_SVID): Likewise.
10380 (_BSD_SOURCE): Likewise.
10381 (_SVID_SOURCE): Likewise.
10382 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10383 from definition of _DEFAULT_SOURCE.
10384 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10386 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10387 * bits/mman.h [__USE_BSD]: Likewise.
10388 * bits/termios.h [__USE_BSD]: Likewise.
10389 * bits/waitstatus.h [__USE_BSD]: Likewise.
10390 * ctype/ctype.h [__USE_SVID]: Likewise.
10391 * dirent/dirent.h [__USE_BSD]: Likewise.
10392 * grp/grp.h [__USE_SVID]: Likewise.
10393 [__USE_BSD]: Likewise.
10394 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10395 * io/fcntl.h [__USE_BSD]: Likewise.
10396 * io/ftw.h [__USE_BSD]: Likewise.
10397 * io/sys/stat.h [__USE_BSD]: Likewise.
10398 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10399 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10400 * libio/stdio.h [__USE_SVID]: Likewise.
10401 [__USE_BSD]: Likewise.
10402 * math/math.h [__USE_SVID]: Likewise.
10403 [__USE_BSD]: Likewise.
10404 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10405 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10406 * misc/search.h [__USE_SVID]: Likewise.
10407 * misc/sys/mman.h [__USE_BSD]: Likewise.
10408 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10409 * misc/sys/uio.h [__USE_BSD]: Likewise.
10410 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10411 * posix/glob.h [__USE_BSD]: Likewise.
10412 * posix/regex.h [__USE_BSD]: Likewise.
10413 * posix/sys/types.h [__USE_BSD]: Likewise.
10414 [__USE_SVID]: Likewise.
10415 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10416 * posix/sys/wait.h [__USE_BSD]: Likewise.
10417 [__USE_SVID]: Likewise.
10418 * posix/unistd.h [__USE_BSD]: Likewise.
10419 [__USE_SVID]: Likewise.
10420 * pwd/pwd.h [__USE_SVID]: Likewise.
10421 * resolv/netdb.h [__USE_BSD]: Likewise.
10422 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10423 * signal/signal.h [__USE_BSD]: Likewise.
10424 [__USE_SVID]: Likewise.
10425 * socket/sys/socket.h [__USE_BSD]: Likewise.
10426 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10427 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10428 [__USE_SVID]: Likewise.
10429 * string/bits/string2.h [__USE_BSD]: Likewise.
10430 [__USE_SVID]: Likewise.
10431 * string/bits/string3.h [__USE_BSD]: Likewise.
10432 * string/endian.h [__USE_BSD]: Likewise.
10433 * string/string.h [__USE_SVID]: Likewise.
10434 [__USE_BSD]: Likewise.
10435 * string/strings.h [__USE_BSD]: Likewise.
10436 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10437 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10438 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10439 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10440 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10441 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10443 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10445 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10446 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10448 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10449 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10451 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10453 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10454 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10455 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10457 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10459 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10460 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10461 * termios/termios.h [__USE_BSD]: Likewise.
10462 * time/sys/time.h [__USE_BSD]: Likewise.
10463 * time/time.h [__USE_BSD]: Likewise.
10464 [__USE_SVID]: Likewise.
10466 * Makefile (subdir_targets): Remove subdir_lint.out.
10468 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10469 (do-tst-printf): Likewise.
10470 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10471 $(objpfx)tst-printf.out.
10473 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10475 * Makerules (check-abi-%): Change target to
10476 $(objpfx)check-abi-%.out.
10477 (check-abi target): Update dependencies.
10478 (check-abi-pattern variable): Redirect output of diff to $@.
10479 (check-abi variable): Likewise.
10480 * elf/Makefile (check-abi): Update dependencies.
10482 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10484 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10485 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10487 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10488 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10489 value has largest subnormal exponent.
10490 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10491 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10492 * sysdeps/aarch64/soft-fp/sfp-machine.h
10493 (_FP_TININESS_AFTER_ROUNDING): New macro.
10494 * sysdeps/alpha/soft-fp/sfp-machine.h
10495 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10496 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10498 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10500 * sysdeps/mips/soft-fp/sfp-machine.h
10501 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10502 * sysdeps/powerpc/soft-fp/sfp-machine.h
10503 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10504 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10506 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10507 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10508 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10509 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10510 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10513 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10516 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10519 2014-02-12 Richard Henderson <rth@redhat.com>
10521 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10522 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10523 * sysdeps/unix/sysv/linux/alpha: Move directory from
10524 ports/sysdeps/unix/sysv/linux/alpha.
10525 * README: Update listing for alpha-*-linux-gnu.
10527 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10529 * include/features.h: Update comment documenting feature test
10531 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10533 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10534 (_SVID_SOURCE): Likewise.
10535 (_DEFAULT_SOURCE): Update description of default features.
10536 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10538 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10539 (S_ISVTX): Likewise.
10540 * manual/math.texi (Mathematical Constants): Likewise.
10541 * manual/signal.texi (Interrupted Primitives): Likewise.
10542 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10543 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10544 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10545 Don't refer to _SVID_SOURCE in warning text.
10547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10549 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10551 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10552 * sysdeps/mips/dl-lookup.c: Remove.
10553 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10555 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10558 * math/auto-libm-test-in: Add testcase for expl.
10559 * math/auto-libm-test-out: Regenerate.
10560 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10561 calculation of unsafe.
10562 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10564 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10566 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10567 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10568 ports/sysdeps/unix/sysv/linux/aarch64.
10569 * README: Update listing for aarch64*-*-linux-gnu.
10571 2014-02-11 Will Newton <will.newton@linaro.org>
10573 * manual/probes.texi (Mathematical Function Probes): Use
10574 "triggered" instead of "hit".
10576 * manual/probes.texi (Internal Probes): Add documentation
10577 of setjmp, longjmp and longjmp_target probes.
10579 * include/stap-probe.h: Add comment about probe argument
10582 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10583 definition. (tr_where, tr_freehook, tr_mallochook,
10584 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10586 2014-02-11 David S. Miller <davem@davemloft.net>
10588 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10589 processing int_tests.
10591 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10593 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10594 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10595 * sysdeps/unix/sysv/linux/mips: Move directory from
10596 ports/sysdeps/unix/sysv/linux/mips.
10597 * README: Update listing for mips-*-linux-gnu and
10598 mips64-*-linux-gnu.
10600 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10602 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10603 * sysdeps/unix/sysv/linux/m68k: Move directory from
10604 ports/sysdeps/unix/sysv/linux/m68k.
10605 * README: Update listing for m68k-*-linux-gnu.
10607 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10609 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10610 * sysdeps/unix/sysv/linux/generic: Move directory from
10611 ports/sysdeps/unix/sysv/linux/generic.
10612 * sysdeps/unix/sysv/linux/tile: Move directory from
10613 ports/sysdeps/unix/sysv/linux/tile.
10614 * README: Update listing for tile*-*-linux-gnu.
10616 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10618 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10620 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10621 * catgets/open_catalog.c (__open_catalog): Likewise.
10622 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10623 * debug/confstr_chk.c: Likewise.
10624 * debug/fread_chk.c (__fread_chk): Likewise.
10625 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10626 * debug/getgroups_chk.c: Likewise.
10627 * debug/mbsnrtowcs_chk.c: Likewise.
10628 * debug/mbsrtowcs_chk.c: Likewise.
10629 * debug/mbstowcs_chk.c: Likewise.
10630 * debug/memcpy_chk.c: Likewise.
10631 * debug/memmove_chk.c: Likewise.
10632 * debug/mempcpy_chk.c: Likewise.
10633 * debug/memset_chk.c: Likewise.
10634 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10635 * debug/strcat_chk.c (__strcat_chk): Likewise.
10636 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10637 * debug/strncat_chk.c (__strncat_chk): Likewise.
10638 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10639 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10640 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10641 * debug/wcpncpy_chk.c: Likewise.
10642 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10643 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10644 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10645 * debug/wcsncpy_chk.c: Likewise.
10646 * debug/wcsnrtombs_chk.c: Likewise.
10647 * debug/wcsrtombs_chk.c: Likewise.
10648 * debug/wcstombs_chk.c: Likewise.
10649 * debug/wmemcpy_chk.c: Likewise.
10650 * debug/wmemmove_chk.c: Likewise.
10651 * debug/wmempcpy_chk.c: Likewise.
10652 * debug/wmemset_chk.c: Likewise.
10653 * dirent/scandirat.c (SCANDIRAT): Likewise.
10654 * dlfcn/dladdr1.c (dladdr1): Likewise.
10655 * dlfcn/dladdr.c (dladdr): Likewise.
10656 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10657 * dlfcn/dlerror.c (__dlerror): Likewise.
10658 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10659 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10660 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10661 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10662 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10663 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10664 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10665 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10667 * elf/dl-conflict.c: Likewise.
10668 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10669 * elf/dl-dst.h: Likewise.
10670 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10671 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10673 * elf/dl-init.c (call_init, _dl_init): Likewise.
10674 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10675 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10676 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10678 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10680 * elf/dl-minimal.c (__libc_memalign): Likewise.
10681 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10682 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10683 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10684 * elf/dl-sym.c (do_sym): Likewise.
10685 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10686 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10687 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10688 * elf/dl-writev.h (_dl_writev): Likewise.
10689 * elf/ldconfig.c (search_dir): Likewise.
10690 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10691 (dl_main): Likewise.
10692 * elf/setup-vdso.h (setup_vdso): Likewise.
10693 * grp/compat-initgroups.c (compat_call): Likewise.
10694 * grp/fgetgrent.c (fgetgrent): Likewise.
10695 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10696 * grp/putgrent.c (putgrent): Likewise.
10697 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10699 * hurd/hurdinit.c: Likewise.
10700 * iconvdata/8bit-gap.c (struct): Likewise.
10701 * iconvdata/ansi_x3.110.c : Likewise.
10702 * iconvdata/big5.c : Likewise.
10703 * iconvdata/big5hkscs.c : Likewise.
10704 * iconvdata/cp1255.c: Likewise.
10705 * iconvdata/cp1258.c : Likewise.
10706 * iconvdata/cp932.c : Likewise.
10707 * iconvdata/euc-cn.c: Likewise.
10708 * iconvdata/euc-jisx0213.c : Likewise.
10709 * iconvdata/euc-jp.c: Likewise.
10710 * iconvdata/euc-jp-ms.c : Likewise.
10711 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10712 * iconvdata/gb18030.c : Likewise.
10713 * iconvdata/gbbig5.c (const): Likewise.
10714 * iconvdata/gbgbk.c: Likewise.
10715 * iconvdata/gbk.c : Likewise.
10716 * iconvdata/ibm1364.c : Likewise.
10717 * iconvdata/ibm930.c : Likewise.
10718 * iconvdata/ibm932.c: Likewise.
10719 * iconvdata/ibm933.c : Likewise.
10720 * iconvdata/ibm935.c : Likewise.
10721 * iconvdata/ibm937.c : Likewise.
10722 * iconvdata/ibm939.c : Likewise.
10723 * iconvdata/ibm943.c: Likewise.
10724 * iconvdata/iso_11548-1.c: Likewise.
10725 * iconvdata/iso-2022-cn.c : Likewise.
10726 * iconvdata/iso-2022-cn-ext.c : Likewise.
10727 * iconvdata/iso-2022-jp-3.c: Likewise.
10728 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10729 * iconvdata/iso-2022-kr.c : Likewise.
10730 * iconvdata/iso646.c (gconv_end): Likewise.
10731 * iconvdata/iso_6937-2.c : Likewise.
10732 * iconvdata/iso_6937.c : Likewise.
10733 * iconvdata/iso8859-1.c: Likewise.
10734 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10735 * iconvdata/shift_jisx0213.c : Likewise.
10736 * iconvdata/sjis.c : Likewise.
10737 * iconvdata/t.61.c : Likewise.
10738 * iconvdata/tcvn5712-1.c : Likewise.
10739 * iconvdata/tscii.c: Likewise.
10740 * iconvdata/uhc.c : Likewise.
10741 * iconvdata/unicode.c (gconv_end): Likewise.
10742 * iconvdata/utf-16.c (gconv_end): Likewise.
10743 * iconvdata/utf-32.c (gconv_end): Likewise.
10744 * iconvdata/utf-7.c (base64): Likewise.
10745 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10746 * iconv/gconv_close.c (__gconv_close): Likewise.
10747 * iconv/gconv_open.c (__gconv_open): Likewise.
10748 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10749 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10750 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10751 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10752 (ucs4le_internal_loop_single): Likewise.
10753 * iconv/iconv.c (iconv): Likewise.
10754 * iconv/iconv_close.c: Likewise.
10755 * iconv/loop.c (SINGLE): Likewise.
10756 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10757 * include/atomic.h: Likewise.
10758 * inet/inet6_option.c (option_alloc): Likewise.
10759 * intl/bindtextdom.c (set_binding_values): Likewise.
10760 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10761 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10762 * intl/localealias.c (read_alias_file): Likewise.
10763 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10764 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10765 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10766 * libio/fmemopen.c (fmemopen): Likewise.
10767 * libio/iofgets.c (_IO_fgets): Likewise.
10768 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10769 * libio/iofgetws.c (fgetws): Likewise.
10770 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10771 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10772 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10773 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10774 * locale/findlocale.c (_nl_find_locale): Likewise.
10775 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10776 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10778 * locale/setlocale.c (setlocale): Likewise.
10779 * login/programs/pt_chown.c (main): Likewise.
10780 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10781 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10782 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10783 (mmap, mmap64, mremap, munmap): Likewise.
10784 * math/e_exp2l.c: Likewise.
10785 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10786 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10787 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10788 * math/s_catan.c (__catan): Likewise.
10789 * math/s_catanf.c (__catanf): Likewise.
10790 * math/s_catanh.c (__catanh): Likewise.
10791 * math/s_catanhf.c (__catanhf): Likewise.
10792 * math/s_catanhl.c (__catanhl): Likewise.
10793 * math/s_catanl.c (__catanl): Likewise.
10794 * math/s_ccosh.c (__ccosh): Likewise.
10795 * math/s_ccoshf.c (__ccoshf): Likewise.
10796 * math/s_ccoshl.c (__ccoshl): Likewise.
10797 * math/s_cexp.c (__cexp): Likewise.
10798 * math/s_cexpf.c (__cexpf): Likewise.
10799 * math/s_cexpl.c (__cexpl): Likewise.
10800 * math/s_clog10.c (__clog10): Likewise.
10801 * math/s_clog10f.c (__clog10f): Likewise.
10802 * math/s_clog10l.c (__clog10l): Likewise.
10803 * math/s_clog.c (__clog): Likewise.
10804 * math/s_clogf.c (__clogf): Likewise.
10805 * math/s_clogl.c (__clogl): Likewise.
10806 * math/s_csin.c (__csin): Likewise.
10807 * math/s_csinf.c (__csinf): Likewise.
10808 * math/s_csinh.c (__csinh): Likewise.
10809 * math/s_csinhf.c (__csinhf): Likewise.
10810 * math/s_csinhl.c (__csinhl): Likewise.
10811 * math/s_csinl.c (__csinl): Likewise.
10812 * math/s_csqrt.c (__csqrt): Likewise.
10813 * math/s_csqrtf.c (__csqrtf): Likewise.
10814 * math/s_csqrtl.c (__csqrtl): Likewise.
10815 * math/s_ctan.c (__ctan): Likewise.
10816 * math/s_ctanf.c (__ctanf): Likewise.
10817 * math/s_ctanh.c (__ctanh): Likewise.
10818 * math/s_ctanhf.c (__ctanhf): Likewise.
10819 * math/s_ctanhl.c (__ctanhl): Likewise.
10820 * math/s_ctanl.c (__ctanl): Likewise.
10821 * math/w_pow.c: Likewise.
10822 * math/w_powf.c: Likewise.
10823 * math/w_powl.c: Likewise.
10824 * math/w_scalb.c (sysv_scalb): Likewise.
10825 * math/w_scalbf.c (sysv_scalbf): Likewise.
10826 * math/w_scalbl.c (sysv_scalbl): Likewise.
10827 * misc/error.c (error_tail): Likewise.
10828 * misc/pselect.c (__pselect): Likewise.
10829 * nis/nis_callback.c (__nis_create_callback): Likewise.
10830 * nis/nis_call.c (__nisfind_server): Likewise.
10831 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10832 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10833 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10834 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10835 * nis/nis_lookup.c (nis_lookup): Likewise.
10836 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10837 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10838 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10839 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10840 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10841 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10842 * nis/nss_compat/compat-initgroups.c (add_group)
10843 (internal_getgrent_r): Likewise.
10844 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10845 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10846 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10847 (internal_getspnam_r): Likewise.
10848 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10849 (_nss_nis_getaliasbyname_r): Likewise.
10850 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10851 (_nss_nis_getntohost_r): Likewise.
10852 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10853 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10854 (_nss_nis_getgrgid_r): Likewise.
10855 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10856 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10857 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10858 (_nss_nis_gethostbyname4_r): Likewise.
10859 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10860 (initgroups_netid): Likewise.
10861 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10862 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10863 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10864 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10865 (_nss_nis_getprotobynumber_r): Likewise.
10866 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10867 (_nss_nis_getsecretkey): Likewise.
10868 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10869 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10870 (_nss_nis_getpwuid_r): Likewise.
10871 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10872 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10873 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10874 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10875 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10876 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10877 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10879 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10880 (_nss_nisplus_getntohost_r): Likewise.
10881 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10882 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10883 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10884 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10886 * nis/nss_nisplus/nisplus-initgroups.c
10887 (_nss_nisplus_initgroups_dyn): Likewise.
10888 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10889 (_nss_nisplus_getnetbyaddr_r): Likewise.
10890 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10891 (_nss_nisplus_getprotobynumber_r): Likewise.
10892 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10893 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10894 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10896 * nis/nss_nisplus/nisplus-service.c
10897 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10898 (_nss_nisplus_getservbyport_r): Likewise.
10899 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10900 (_nss_nisplus_getspnam_r): Likewise.
10901 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10903 * nscd/aicache.c (addhstaiX): Likewise.
10904 * nscd/cache.c (cache_search, prune_cache): Likewise.
10905 * nscd/connections.c (register_traced_file, send_ro_fd)
10906 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10907 (main_loop_epoll): Likewise.
10908 * nscd/grpcache.c (addgrbyX): Likewise.
10909 * nscd/hstcache.c (addhstbyX): Likewise.
10910 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10911 * nscd/mem.c (gc, mempool_alloc): Likewise.
10912 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10913 (addinnetgrX): Likewise.
10914 * nscd/nscd-client.h (__nscd_acquire_maplock)
10915 (__nscd_drop_map_ref): Likewise.
10916 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10917 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10918 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10920 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10921 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10922 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10923 (__nscd_get_map_ref): Likewise.
10924 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10925 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10927 * nscd/pwdcache.c (addpwbyX): Likewise.
10928 * nscd/selinux.c (preserve_capabilities): Likewise.
10929 * nscd/servicescache.c (addservbyX): Likewise.
10930 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10931 * posix/fnmatch.c (fnmatch): Likewise.
10932 * posix/getopt.c (_getopt_internal_r): Likewise.
10933 * posix/glob.c (glob, glob_in_dir): Likewise.
10934 * posix/wordexp.c (exec_comm_child): Likewise.
10935 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10936 (getanswer_r, gaih_getanswer_slice): Likewise.
10937 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10938 * resolv/res_init.c: Likewise.
10939 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10940 * resolv/res_query.c (__libc_res_nquery): Likewise.
10941 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10943 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10944 * stdio-common/perror.c (perror): Likewise.
10945 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10946 * stdio-common/tmpnam.c (tmpnam): Likewise.
10947 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10948 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10949 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10951 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10952 * stdlib/putenv.c (putenv): Likewise.
10953 * stdlib/setenv.c (__add_to_environ): Likewise.
10954 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10955 * stdlib/strtol_l.c (INTERNAL): Likewise.
10956 * string/memmem.c (memmem): Likewise.
10957 * string/strerror.c (strerror): Likewise.
10958 * string/strnlen.c (__strnlen): Likewise.
10959 * string/test-memmem.c (simple_memmem): Likewise.
10960 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10961 * sunrpc/pm_getport.c (__get_socket): Likewise.
10962 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10963 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10964 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10965 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10967 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10968 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10969 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10970 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10971 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10972 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10974 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10976 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10977 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10979 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10980 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10982 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10984 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10985 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10986 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10987 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10989 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10993 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10994 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10995 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10996 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10997 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10998 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10999 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11003 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11004 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11006 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11008 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11010 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11012 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11018 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11020 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11021 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11022 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11023 * sysdeps/posix/sleep.c: Likewise.
11024 * sysdeps/posix/tempname.c: Likewise.
11025 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11026 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11028 * sysdeps/powerpc/powerpc32/dl-machine.h
11029 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11030 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11031 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11032 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11033 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11035 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11036 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11037 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11038 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11039 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11040 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11041 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11042 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11043 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11044 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11046 (elf_machine_lazy_rel): Likewise.
11047 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11049 (elf_machine_lazy_rel): Likewise.
11050 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11051 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11052 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11053 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11054 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11055 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11056 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11059 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11060 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11061 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11062 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11063 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11064 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11065 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11066 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11067 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11068 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11069 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11071 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11072 (__posix_fallocate64_l64): Likewise.
11073 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11074 (posix_fallocate): Likewise.
11075 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11078 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11079 (getifaddrs_internal): Likewise.
11080 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11081 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11082 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11083 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11084 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11085 (__posix_fallocate64_l64): Likewise.
11086 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11088 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11089 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11090 (__get_clockfreq): Likewise.
11091 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11092 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11093 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11095 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11096 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11097 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11098 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11100 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11101 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11102 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11103 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11104 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11105 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11106 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11108 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11109 (posix_fallocate): Likewise.
11110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11111 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11112 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11113 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11114 (elf_machine_rela, elf_machine_rela_relative)
11115 (elf_machine_lazy_rel): Likewise.
11116 * time/asctime.c (asctime_internal): Likewise.
11117 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11118 * time/tzset.c (__tzset_parse_tz): Likewise.
11119 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11120 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11121 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11122 * wcsmbs/wcsmbsload.h: Likewise.
11125 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11127 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11128 (arena_get2): Remove THREAD_STATS conditionals.
11129 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11130 (__malloc_stats, int): Likewise.
11132 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11134 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11135 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11137 * manual/setjmp.texi: Fix typos/grammar errors.
11139 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11140 Only return early when n is <= 0. Delete unused return statement.
11142 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11143 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11144 * debug/tst-longjmp_chk3.c: New file.
11146 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11147 (test_main): Replace code with set_fortify_handler call.
11148 * debug/test-strcpy_chk.c: Likewise.
11149 * debug/tst-chk1.c: Likewise.
11150 * debug/tst-longjmp_chk.c: Likewise.
11151 * test-skeleton.c: Include fcntl.h & paths.h
11152 (set_fortify_handler): Define.
11154 * debug/tst-longjmp_chk.c: Add header comment and include
11155 ../test-skeleton.c.
11156 (do_test): Mark static.
11157 (TEST_FUNCTION): Define.
11159 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11160 (IP_PMTUDISC_INTERFACE): Likewise.
11161 (IP_MULTICAST_IF): Likewise.
11162 (IP_MULTICAST_TTL): Likewise.
11163 (IP_MULTICAST_LOOP): Likewise.
11164 (IP_ADD_MEMBERSHIP): Likewise.
11165 (IP_DROP_MEMBERSHIP): Likewise.
11166 (IP_UNBLOCK_SOURCE): Likewise.
11167 (IP_BLOCK_SOURCE): Likewise.
11168 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11169 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11170 (IP_MSFILTER): Likewise.
11171 (MCAST_JOIN_GROUP): Likewise.
11172 (MCAST_BLOCK_SOURCE): Likewise.
11173 (MCAST_UNBLOCK_SOURCE): Likewise.
11174 (MCAST_LEAVE_GROUP): Likewise.
11175 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11176 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11177 (MCAST_MSFILTER): Likewise.
11178 (IP_MULTICAST_ALL): Likewise.
11179 (IP_UNICAST_IF): Likewise.
11181 * timezone/Makefile: Delete $(have-ksh) check.
11182 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11183 * timezone/tzselect.ksh: Add +x mode bits.
11185 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11186 (ANON_INODE_FS_MAGIC): Likewise.
11187 (BDEVFS_MAGIC): Likewise.
11188 (BINFMTFS_MAGIC): Likewise.
11189 (BTRFS_TEST_MAGIC): Likewise.
11190 (CRAMFS_MAGIC_WEND): Likewise.
11191 (DEBUGFS_MAGIC): Likewise.
11192 (ECRYPTFS_SUPER_MAGIC): Likewise.
11193 (EXT3_SUPER_MAGIC): Likewise.
11194 (EXT4_SUPER_MAGIC): Likewise.
11195 (FUTEXFS_SUPER_MAGIC): Likewise.
11196 (HOSTFS_SUPER_MAGIC): Likewise.
11197 (HUGETLBFS_MAGIC): Likewise.
11198 (MINIX3_SUPER_MAGIC): Likewise.
11199 (MTD_INODE_FS_MAGIC): Likewise.
11200 (NILFS_SUPER_MAGIC): Likewise.
11201 (OPENPROM_SUPER_MAGIC): Likewise.
11202 (PIPEFS_MAGIC): Likewise.
11203 (PSTOREFS_MAGIC): Likewise.
11204 (QNX6_SUPER_MAGIC): Likewise.
11205 (RAMFS_MAGIC): Likewise.
11206 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11207 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11208 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11209 (SECURITYFS_MAGIC): Likewise.
11210 (SELINUX_MAGIC): Likewise.
11211 (SMACK_MAGIC): Likewise.
11212 (SOCKFS_MAGIC): Likewise.
11213 (SQUASHFS_MAGIC): Likewise.
11214 (STACK_END_MAGIC): Likewise.
11215 (TMPFS_MAGIC): Likewise.
11216 (USBDEVICE_SUPER_MAGIC): Likewise.
11217 (V9FS_MAGIC): Likewise.
11218 (XENFS_SUPER_MAGIC): Likewise.
11219 (CRAMFS_MAGIC): Fix typo in comment.
11220 (EXT2_SUPER_MAGIC): Update comment.
11221 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11223 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11225 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11226 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11227 * sysdeps/unix/sysv/linux/arm: Move directory from
11228 ports/sysdeps/unix/sysv/linux/arm.
11229 * README: Update listing for arm-*-linux-gnueabi.
11231 * README: Remove mention of am33.
11233 2014-02-07 Roland McGrath <roland@hack.frob.com>
11235 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11236 than the comma operator, to avoid "rhs of comma has no effect"
11238 (__sigfillset, __sigandset, __sigorset): Likewise.
11239 * include/signal.h (__sigemptyset): Likewise.
11240 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11242 2014-02-07 Allan McRae <allan@archlinux.org>
11244 * version.h (RELEASE): Set to "development".
11245 (VERSION): Set to "2.19.90"
11246 * NEWS: Add 2.20 section.
11248 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11251 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11253 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11255 * manual/contrib.texi: Update entry for Carlos O'Donell,
11256 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11258 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11260 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11262 * sysdeps/unix/sysv/linux/kernel-features.h
11263 [__LINUX_KERNEL_VERSION >= 0x020621]
11264 (__ASSUME_PROC_PID_TASK_COMM): Define.
11266 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11269 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11270 conversion when destination buffer does not have enough space.
11271 * libio/tst-ftell-partial-wide.c: New test case.
11272 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11274 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11275 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11276 Leonard and Allan McRae.
11278 2014-02-04 David S. Miller <davem@davemloft.net>
11280 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11283 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11312 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11314 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11315 * shlib-versions: Likewise.
11317 2014-02-04 Roland McGrath <roland@hack.frob.com>
11318 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11320 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11321 (abilist-pattern): New variable, set to %-le.abilist.
11323 * Makerules (abilist-pattern): New variable.
11324 (vpath): Use $(abilist-pattern) in place of %.abilist.
11325 (check-abi-% pattern rule): Likewise.
11326 (check-abi, update-abi): Likewise.
11328 2014-02-04 Eric Wong <normalperson@yhbt.net>
11330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11332 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11334 * manual/startup.texi: Add next, previous, and top entries for
11335 the `Program Arguments' and `Environment Variables' nodes.
11337 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11339 * manual/macros.texi: Add comments before MTASC-safety macros.
11341 * manual/users.texi: Document MTASC-safety properties.
11343 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11344 (pthread_getspecific, pthread_setspecific): Format with
11345 @deftypefun, and add @safety note.
11346 * manual/signal.texi: Move comments that analyze the above
11347 functions to their home place.
11349 2014-02-03 Allan McRae <allan@archlinux.org>
11351 * po/sl.po: Update Slovenian translation from translation project.
11353 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11355 * manual/time.texi (timegm): Add missing blank after @c.
11356 Reported by Joseph Myers <joseph@codesourcery.com>.
11358 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11360 * manual/check-safety.sh: New.
11361 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11363 * manual/terminal.texi: Document MTASC-safety properties.
11365 * manual/filesys.texi: Document MTASC-safety properties.
11367 * manual/errno.texi: Document MTASC-safety properties.
11369 * manual/intro.texi: Document safety identifiers and
11372 * manual/string.texi (wcstok): Fix prototype.
11373 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11375 * manual/time.texi: Document MTASC-safety properties.
11377 * manual/string.texi: Document MTASC-safety properties.
11379 * manual/threads.texi: Document MTASC-safety properties.
11381 * manual/stdio.texi: Document MTASC-safety properties.
11383 * manual/syslog.texi: Document MTASC-safety properties.
11385 * manual/sysinfo.texi: Document MTASC-safety properties.
11387 * manual/startup.texi: Document MTASC-safety properties.
11389 * manual/socket.texi: Document MTASC-safety properties.
11391 * manual/signal.texi: Document MTASC-safety properties.
11393 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11395 * manual/setjmp.texi: Document MTASC-safety properties.
11397 * manual/search.texi: Document MTASC-safety properties.
11399 * manual/resource.texi: Document MTASC-safety properties.
11401 * manual/process.texi: Document MTASC-safety properties.
11403 * manual/platform.texi: Document MTASC-safety properties.
11405 * manual/pipe.texi: Document MTASC-safety properties.
11407 * manual/pattern.texi: Document MTASC-safety properties.
11409 * manual/message.texi: Document MTASC-safety properties.
11412 * manual/memory.texi: Document MTASC-safety properties.
11414 * manual/math.texi: Document MTASC-safety properties.
11416 * manual/locale.texi: Document MTASC-safety properties.
11418 * manual/llio.texi: Document MTASC-safety properties.
11420 * manual/libdl.texi: New.
11422 * manual/lang.texi: Document MTASC-safety properties.
11424 * manual/job.texi: Document MTASC-safety properties.
11426 * manual/getopt.texi: Document MTASC-safety properties.
11428 * manual/ctype.texi: Document MTASC-safety properties.
11430 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11433 * csu/libc-tls.c (static_map): Remove variable.
11434 (__libc_setup_tls): Use main executable's link map for TLS data.
11435 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11436 casing for LM_ID_BASE and GL(dl_nns).
11437 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11438 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11439 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11440 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11441 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11443 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11446 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11448 * manual/debug.texi: Document MTASC-safety properties.
11450 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11453 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11454 of __x86_64__ when disabling x87 inline functions.
11456 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11458 * manual/charset.texi: Document MTASC-safety properties.
11460 * manual/crypt.texi: Document MTASC-safety properties.
11462 * manual/conf.texi: Document MTASC-safety properties.
11464 * manual/arith.texi: Document MTASC-safety properties.
11466 * manual/argp.texi: Document MTASC-safety properties.
11468 * manual/macros.texi: Introduce macros to document multi
11469 thread, asynchronous signal and asynchronous cancellation
11471 * manual/intro.texi: Introduce the properties themselves.
11473 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11475 * sysdeps/sh/sh4/Makefile: New file.
11477 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11479 * math/gen-libm-test.pl ($srcdir): New variable.
11480 ($auto_input): Use it.
11482 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11485 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11486 access beyond array bounds when parsing netgroups file.
11488 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11489 the old buffer before realloc.
11491 2014-01-27 Allan McRae <allan@archlinux.org>
11493 * po/fr.po: Update French translation from translation project.
11495 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11497 * sysdeps/sh/libm-test-ulps: Regenerate.
11499 2014-01-24 David S. Miller <davem@davemloft.net>
11501 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11503 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11505 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11506 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11508 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11511 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11512 string pointers after reallocation.
11514 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11516 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11517 __SH4A__ instead of __SH_FPU_ANY__.
11519 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11521 * sysdeps/sh/fpu_control.h: New file.
11522 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11523 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11524 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11525 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11526 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11527 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11528 * sysdeps/sh/sys/ucontext.h: Remove.
11529 * sysdeps/sh/sys: Remove directory.
11531 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11533 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11534 s390/sys/ucontext.h.
11535 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11536 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11538 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11541 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11543 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11546 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11547 Adjust the vDSO correctly for internal calls.
11548 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11550 2014-01-20 Allan McRae <allan@archlinux.org>
11552 * po/ca.po: Update Catalan translation from translation project.
11554 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11556 * sysdeps/s390/sotruss-lib.c: New file.
11558 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11561 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11562 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11563 local calls issues by not having a PLT stub required for IFUNC calls.
11564 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11566 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11568 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11569 * math/test-fpucw-static.c: Likewise.
11571 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11574 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11576 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11578 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11579 implementation for powerpc.
11581 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11584 * sysdeps/posix/system.c (__libc_system): Do not enable
11585 asynchronous cancellation.
11587 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11590 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11591 handling only for numbers special also in the IEEE case.
11593 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11595 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11597 2014-01-11 Allan McRae <allan@archlinux.org>
11599 * po/bg.po: Update Bulgarian translation from translation project.
11601 * po/de.po: Update German translation from translation project.
11603 2014-01-10 Roland McGrath <roland@hack.frob.com>
11605 * sysdeps/generic/gcc-compat.h: New file.
11607 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11609 * benchtests/asin-inputs: Correct slow inputs.
11610 * benchtests/acos-inputs: Likewise.
11612 2014-01-10 Allan McRae <allan@archlinux.org>
11614 * po:sv.po: Update Swedish translation from translation project.
11616 * po/vi.po: Update Vietnamese translation from translation project.
11618 * po/eo.po: Update Esperanto translation from translation project.
11620 * po/cs.po: Update Czech translation from translation project.
11622 * po/nl.po: Update Dutch translation from translation project.
11624 * po/pl.po: Update Polish translation from translation project.
11626 * po/ru.po: Update Russian translation from translation project.
11628 * po/uk.po: Update Ukrainian translation from translation project.
11630 2014-01-08 Brooks Moses <bmoses@google.com>
11632 * elf/dl-load.c: Fix comment typo.
11634 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11636 * po/header.pot: Rename to...
11637 * po/pot.header: ... this.
11638 * po/Makefile: Use pot.header.
11640 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11641 Maxim Kuvyrkov <maxim@kugelworks.com>
11644 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11645 SRC and DEST against LEN.
11647 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11650 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11652 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11654 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11658 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11661 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11662 for large positive arguments.
11664 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11666 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11668 * math/auto-libm-test-in: Mark various tests with
11669 xfail-rounding:ldbl-128ibm.
11670 * math/auto-libm-test-out: Regenerated.
11673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11674 Increase overflow threshold.
11676 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11679 * stdio-common/vfprintf.c: Check for integer overflow.
11681 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11683 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11684 the first argument and return value of __tls_get_addr_internal.
11686 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11688 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11689 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11691 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11693 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11694 * sysdeps/s390/rtld-global-offsets.sym: New file.
11695 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11697 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11698 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11699 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11701 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11702 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11708 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11709 halfs of GPRs for high_gprs contexts.
11710 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11711 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11713 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11717 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11718 for high GPRs (uc_high_gprs) and for future extensions
11720 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11721 for future extensions (__reserved).
11722 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11724 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11725 SC_HIGHGPRS offset definition.
11726 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11727 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11729 * Versions.def: Add GLIBC_2.19 for libpthread.
11730 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11731 siglongjmp for libpthread with GLIBC_2.19 symver.
11732 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11733 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11734 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11735 * sysdeps/s390/__longjmp.c: New file.
11736 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11737 * sysdeps/s390/longjmp.c: New file.
11738 * sysdeps/s390/setjmp.S: New file.
11739 * sysdeps/s390/sigjmp.S: New file.
11740 * sysdeps/s390/v1-longjmp.c: New file.
11741 * sysdeps/s390/v1-setjmp.h: New file.
11742 * sysdeps/s390/v1-sigjmp.c: New file.
11743 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11744 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11745 GLIBC_2.19 version.
11746 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11747 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11748 versioned symbols for ____longjmp_chk.
11749 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11759 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11760 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11761 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11762 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11763 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11764 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11765 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11766 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11767 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11768 * sysdeps/s390/rtld-__longjmp.c: New file.
11769 * sysdeps/s390/rtld-setjmp.S: New file.
11771 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11775 Return -__logl (x) for small positive arguments without evaluating
11778 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11780 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11782 (__ptrace_peeksiginfo_args): ... this.
11783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11785 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11787 2014-01-06 Allan McRae <allan@archlinux.org>
11789 * inet/netinet/in.h: Fix typo in comment.
11791 2014-01-05 Andreas Jaeger <aj@suse.de>
11793 * sysdeps/i386/fpu/libm-test-ulps: Update.
11795 2014-01-05 Allan McRae <allan@archlinux.org>
11797 * po/libc.pot: Regenerated.
11799 * malloc/memusagestat.c: Fix gettext call formatting.
11801 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11803 * nscd/nscd.c: Improve usage() output.
11805 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11807 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11808 * sysdeps/unix/sysv/linux/configure: Regenerated.
11809 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11810 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11812 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11815 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11816 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11818 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11820 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11821 extra tokens at end of #undef directive.
11822 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11823 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11824 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11826 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11828 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11830 * math/auto-libm-test-in: Mark various tests with
11831 xfail-rounding:ldbl-128ibm.
11832 * math/auto-libm-test-out: Regenerated.
11834 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11838 numbers with subnormal high part when calculating exponent.
11841 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11845 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11847 (__ieee754_acoshl): Use __log1pl not __log1p.
11849 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11851 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11852 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11853 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11854 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11855 (reused_arena, arena_get2): Convert to GNU style.
11856 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11857 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11858 (memalign_check, __malloc_set_state): Likewise.
11859 * malloc/mallocbug.c (main): Likewise.
11860 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11861 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11862 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11863 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11864 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11865 (__posix_memalign, malloc_info): Likewise.
11866 * malloc/malloc.h: Likewise.
11867 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11868 (mallochook, memalignhook, reallochook, mabort): Likewise.
11869 * malloc/mcheck.h: Likewise.
11870 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11871 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11872 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11873 * malloc/morecore.c (__default_morecore): Likewise.
11874 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11875 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11876 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11877 (print_and_abort): Likewise.
11878 * malloc/obstack.h: Likewise.
11879 * malloc/set-freeres.c (__libc_freeres): Likewise.
11880 * malloc/tst-mallocstate.c (main): Likewise.
11881 * malloc/tst-mtrace.c (main): Likewise.
11882 * malloc/tst-realloc.c (do_test): Likewise.
11884 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11887 * nscd/netgroupcache.c (do_notfound): New function.
11888 (addgetnetgrentX): Use it.
11891 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11892 NSS_STATUS_NOTFOUND.
11894 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11896 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11899 2014-01-01 Allan McRae <allan@archlinux.org>
11901 * scripts/update-copyrights: Update configure input file suffix.
11903 * NEWS: Update copyright year.
11904 * catgets/gencat.c: Likewise.
11905 * csu/version.c: Likewise.
11906 * debug/catchsegv.sh: Likewise.
11907 * debug/pcprofiledump.c: Likewise.
11908 * debug/xtrace.sh: Likewise.
11909 * elf/ldconfig.c: Likewise.
11910 * elf/ldd.bash.in: Likewise.
11911 * elf/pldd.c: Likewise.
11912 * elf/sotruss.ksh: Likewise.
11913 * elf/sprof.c: Likewise.
11914 * iconv/iconv_prog.c: Likewise.
11915 * iconv/iconvconfig.c: Likewise.
11916 * locale/programs/locale.c: Likewise.
11917 * locale/programs/localedef.c: Likewise.
11918 * login/programs/pt_chown.c: Likewise.
11919 * malloc/memusage.sh: Likewise.
11920 * malloc/memusagestat.c: Likewise.
11921 * malloc/mtrace.pl: Likewise.
11922 * manual/libc.texinfo: Likewise.
11923 * nscd/nscd.c: Likewise.
11924 * nss/getent.c: Likewise.
11925 * nss/makedb.c: Likewise.
11926 * posix/getconf.c: Likewise.
11927 * scripts/test-installation.pl: Likewise.
11929 * All files with FSF copyright notices: Update copyright dates
11930 using scripts/update-copyrights.
11931 * intl/plural.c: Regenerated.
11932 * locale/programs/charmap-kw.h: Likewise.
11933 * locale/programs/locfile-kw.h: Likewise.
11935 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11937 * sysdeps/unix/sysv/linux/configure: Regenerated.
11938 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11939 the linux/fanotify.h header.
11940 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11941 HAVE_LINUX_FANOTIFY_H is defined.
11943 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11945 * benchtests/cos-inputs: New inputs.
11946 * benchtests/sin-inputs: Likewise.
11948 * benchtests/atan-inputs: New inputs. Fix name of multiple
11949 precision fallback inputs.
11951 * benchtests/atanh-inputs: New inputs.
11952 * benchtests/tanh-inputs: Likewise.
11954 * benchtests/acosh-inputs: New inputs.
11955 * benchtests/asinh-inputs: Likewise.
11957 * benchtests/cosh-inputs: New inputs.
11958 * benchtests/sinh-inputs: Likewise.
11960 * benchtests/acos-inputs: Add more inputs.
11961 * benchtests/asin-inputs: Likewise.
11963 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11966 * manual/arith.texi: Fix spelling.
11967 * manual/charset.texi: Likewise.
11968 * manual/errno.texi: Likewise.
11969 * manual/filesys.texi: Likewise.
11970 * manual/lang.texi: Likewise.
11971 * manual/llio.texi: Likewise.
11972 * manual/locale.texi: Likewise.
11973 * manual/message.texi: Likewise.
11974 * manual/resource.texi: Likewise.
11975 * manual/search.texi: Likewise.
11976 * manual/setjmp.texi: Likewise.
11977 * manual/stdio.texi: Likewise.
11978 * manual/string.texi: Likewise.
11979 * manual/sysinfo.texi: Likewise.
11980 * manual/time.texi: Likewise.
11982 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11984 * po/sl.po: New file.
11986 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11988 * .gitignore: Add core/.gdbinit/.gdb_history.
11990 2013-12-27 Allan McRae <allan@archlinux.org>
11993 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11994 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11996 2013-12-24 Brooks Moses <bmoses@google.com>
11998 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11999 all compilers that claim C++98 compliance, not just GCC.
12000 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12003 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12005 * NEWS: Restore accidentally deleted bug-fix entries.
12007 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12008 Ondřej Bílka <neleai@seznam.cz>
12011 * malloc/malloc.c (_int_free): Perform sanity check only if we
12014 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12017 * manual/stdio.texi (String Input Conversions): Clarify that character
12018 classes are not supported.
12020 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12024 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12027 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12028 Calculate results for small negative arguments directly rather
12029 than using reflection formula with special underflow handling.
12031 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12032 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12033 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12034 (fchflags): Likewise.
12035 (revoke): Likewise.
12036 (setlogin): Likewise.
12037 (sigaltstack): Likewise.
12039 (sigblock): Remove.
12040 (sigsetmask): Likewise.
12042 (waitpid): Likewise.
12043 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12044 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12046 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12047 * sysdeps/unix/bsd/Makefile: ... here.
12048 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12049 * sysdeps/unix/bsd/Versions: ... here.
12050 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12051 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12052 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12053 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12054 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12055 * sysdeps/unix/bsd/sigblock.c: ... here.
12056 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12057 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12058 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12059 * sysdeps/unix/bsd/sigvec.c: ... here.
12060 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12061 * sysdeps/unix/bsd/tcdrain.c: ... here.
12062 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12063 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12064 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12065 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12066 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12067 * sysdeps/unix/bsd/wait.c: ... here.
12068 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12069 * sysdeps/unix/bsd/wait3.c: ... here.
12070 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12071 * sysdeps/unix/bsd/waitpid.c: ... here.
12073 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12076 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12077 round-to-nearest for [!USE_AS_EXPM1L].
12078 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12079 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12080 more tests of exp and exp10. Expect some exp10 tests to miss
12081 exceptions or fail in directed rounding modes.
12082 * math/auto-libm-test-out: Regenerated.
12083 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12084 (exp10_test_tonearest): New function.
12085 (exp10_towardzero_test_data): New array.
12086 (exp10_test_towardzero): New function.
12087 (exp10_downward_test_data): New array.
12088 (exp10_test_downward): New function.
12089 (exp10_upward_test_data): New array.
12090 (exp10_test_upward): New function.
12091 (main): Call the new functions.
12092 * sysdeps/i386/fpu/libm-test-ulps: Update.
12093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12095 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12097 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12098 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12099 * math/auto-libm-test-out: Regenerated.
12100 * math/libm-test.inc (acosh_test_data): Add more tests.
12101 (atanh_test_data): Likewise.
12102 (ceil_test_data): Likewise.
12103 (copysign_test_data): Likewise.
12104 * sysdeps/i386/fpu/libm-test-ulps: Update.
12105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12107 * timezone/checktab.awk: Update from tzcode 2013i.
12108 * timezone/private.h: Likewise.
12109 * timezone/scheck.c: Likewise.
12110 * timezone/tzfile.h: Likewise.
12111 * timezone/tzselect.ksh: Likewise.
12112 * timezone/zdump.c: Likewise.
12113 * timezone/zic.c: Likewise.
12115 * math/auto-libm-test-in: Add tests of cpow.
12116 * math/auto-libm-test-out: Regenerated.
12117 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12118 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12120 (func_calc_desc): Add mpc_cc_c union field.
12121 (test_functions): Add cpow.
12122 (special_fill_2pi): New function.
12123 (special_real_inputs): Add 2pi.
12124 (calc_generic_results): Handle mpc_cc_c.
12125 * sysdeps/i386/fpu/libm-test-ulps: Update.
12126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12128 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12129 csqrt, ctan and ctanh.
12130 * math/auto-libm-test-out: Regenerated.
12131 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12132 (TEST_COND_x86): Likewise.
12133 (ccos_test_data): Use AUTO_TESTS_c_c.
12134 (ccosh_test_data): Likewise.
12135 (cexp_test_data): Likewise.
12136 (clog_test_data): Likewise.
12137 (csqrt_test_data): Likewise.
12138 (ctan_test_data): Likewise.
12139 (ctan_tonearest_test_data): Likewise.
12140 (ctan_towardzero_test_data): Likewise.
12141 (ctan_downward_test_data): Likewise.
12142 (ctan_upward_test_data): Likewise.
12143 (ctanh_test_data): Likewise.
12144 (ctanh_tonearest_test_data): Likewise.
12145 (ctanh_towardzero_test_data): Likewise.
12146 (ctanh_downward_test_data): Likewise.
12147 (ctanh_upward_test_data): Likewise.
12148 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12150 (func_calc_desc): Add mpc_c_c union field.
12151 (FUNC_mpc_c_c): New macro.
12152 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12153 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12155 (special_fill_min_subnorm_p120): New function.
12156 (special_real_inputs): Add min_subnorm_p120.
12157 (calc_generic_results): Handle mpc_c_c.
12158 * sysdeps/i386/fpu/libm-test-ulps: Update.
12159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12161 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12163 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12164 (do_sin_slow): New functions.
12165 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12166 (cslow2, csloww1, csloww2): Use the new functions.
12168 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12169 Use M to change sign of result instead of X. Assume X is
12171 (csloww1): Likewise.
12175 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12176 arguments A and DA.
12180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12182 (sloww1): Don't adjust sign of DX.
12183 (csloww1): Likewise.
12184 (sloww2): Use X directly and don't adjust sign of DX.
12185 (csloww2): Likewise.
12187 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12189 * math/auto-libm-test-in: Add tests of cabs and carg.
12190 * math/auto-libm-test-out: Regenerated.
12191 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12192 (carg_test_data): Likewise.
12193 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12195 (func_calc_desc): Add mpc_c_f union field.
12196 (test_functions): Add cabs and carg.
12197 (calc_generic_results): Handle mpc_c_f.
12199 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12200 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12201 as a macro and a compat symbol.
12202 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12203 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12204 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12205 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12206 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12209 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12213 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12215 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12217 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12219 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12220 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12223 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12227 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12229 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12230 trailing whitespace removed.
12231 * scripts/config.guess: Update to version 2013-11-29.
12232 * scripts/config.sub: Update to version 2013-10-01.
12234 * math/auto-libm-test-in: Add tests of sincos.
12235 * math/auto-libm-test-out: Regenerated.
12236 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12237 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12239 (func_calc_desc): Add mpfr_f_11 union field.
12240 (test_functions): Add sincos.
12241 (calc_generic_results): Handle mpfr_f_11.
12242 * sysdeps/i386/fpu/libm-test-ulps: Update.
12243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12245 2013-12-19 Andreas Schwab <schwab@suse.de>
12247 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12249 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12250 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12251 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12253 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12255 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12256 * sysdeps/i386/fpu/libm-test-ulps: Update.
12257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12260 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12261 round-to-nearest mode when using frndint.
12262 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12263 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12266 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12268 * math/auto-libm-test-out: Regenerated.
12269 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12270 (TEST_COND_x86): Likewise.
12271 (expm1_tonearest_test_data): New array.
12272 (expm1_test_tonearest): New function.
12273 (expm1_towardzero_test_data): New array.
12274 (expm1_test_towardzero): New function.
12275 (expm1_downward_test_data): New array.
12276 (expm1_test_downward): New function.
12277 (expm1_upward_test_data): New array.
12278 (expm1_test_upward): New function.
12279 (main): Run the new test functions.
12280 * sysdeps/i386/fpu/libm-test-ulps: Update.
12281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12283 * include/features.h: Update comment documenting feature test
12284 macros. Mention _DEFAULT_SOURCE in comment.
12285 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12286 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12287 _BSD_SOURCE and _SVID_SOURCE.
12288 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12289 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12290 !_SVID_SOURCE]: Likewise.
12291 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12292 (__USE_POSIX_IMPLICITLY): Define.
12293 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12294 (_POSIX_SOURCE): Undefine and redefine.
12295 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12296 (_POSIX_C_SOURCE): Likewise.
12297 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12298 (Feature Test Macros): Update documentation of default features.
12300 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12302 * benchtests/Makefile: Add bench-strtok.
12303 * benchtests/bench-strtok.c: New file: strtok benchtest.
12305 2013-12-19 Allan McRae <allan@archlinux.org>
12307 * manual/install.texi: Suppress menu for plain text output.
12308 * INSTALL: Regenerated.
12310 2013-12-18 Brooks Moses <bmoses@google.com>
12313 * misc/getauxval.c: Include errno.h.
12314 (__getauxval): Set errno to ENOENT if the requested type is not
12316 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12317 don't declare with __attribute_const__.
12318 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12319 * manual/startup.texi: Document that getauxval sets errno.
12321 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12323 * math/auto-libm-test-in: Add tests of jn and yn.
12324 * math/auto-libm-test-out: Regenerated.
12325 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12326 (yn_test_data): Likewise.
12327 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12329 (func_calc_desc): Add mpfr_if_f union field.
12330 (FUNC_mpfr_if_f): New macro.
12331 (test_functions): Add jn and yn.
12332 (calc_generic_results): Assert type of second input for
12333 mpfr_ff_f. Handle mpfr_if_f.
12334 (output_for_one_input_case): Disable all checking for arguments
12335 fitting floating-point types in case of an integer argument.
12336 * sysdeps/i386/fpu/libm-test-ulps: Update.
12337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12340 Don't expect fegetround reference in libm.so.
12342 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12344 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12345 $(config-cflags-nofma).
12347 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12349 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12350 * math/auto-libm-test-out: Regenerated.
12353 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12354 to determine exponent and adjust argument to have exponent of -1.
12355 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12357 * math/auto-libm-test-out: Regenerated.
12358 * sysdeps/i386/fpu/libm-test-ulps: Update.
12359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12361 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12363 * manual/probes.texi: Remove cases when per-thread arenas are
12366 2013-12-18 Andreas Schwab <schwab@suse.de>
12368 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12369 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12370 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12371 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12372 * sysdeps/i386/i686/multiarch/Makefile: Update.
12373 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12375 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12377 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12378 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12380 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12383 Support TZ transition times < 00:00:00.
12384 This is needed for version-3 tz-format files; it supports time
12385 stamps past 2037 for America/Godthab (the only entry in the tz
12386 database for which this change is relevant).
12387 * manual/time.texi (TZ Variable): Document transition times
12388 from -167:59:59 through -00:00:01.
12389 * time/tzset.c (tz_rule): Time of day is now signed.
12390 (__tzset_parse_tz): Parse negative time of day.
12392 Document TZ transition times >= 25:00:00.
12393 * manual/time.texi (TZ Variable): Document transition times from
12394 25:00:00 through 167:59:59. These are already supported, and this
12395 support will help with version-3 tz-format files.
12397 * manual/time.texi (TZ Variable): Modernize North America example
12398 to reflect current (i.e., 2007-and-later) daylight saving rules.
12400 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12402 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12404 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12405 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12408 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12409 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12410 * sysdeps/unix/bsd/clock.c: Likewise.
12411 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12412 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12413 * sysdeps/unix/bsd/init-posix.c: Likewise.
12414 * sysdeps/unix/bsd/poll.c: Likewise.
12415 * sysdeps/unix/bsd/ptsname.c: Likewise.
12416 * sysdeps/unix/bsd/seekdir.c: Likewise.
12417 * sysdeps/unix/bsd/setegid.c: Likewise.
12418 * sysdeps/unix/bsd/seteuid.c: Likewise.
12419 * sysdeps/unix/bsd/setgid.c: Likewise.
12420 * sysdeps/unix/bsd/setrgid.c: Likewise.
12421 * sysdeps/unix/bsd/setruid.c: Likewise.
12422 * sysdeps/unix/bsd/setsid.c: Likewise.
12423 * sysdeps/unix/bsd/setuid.c: Likewise.
12424 * sysdeps/unix/bsd/sigaction.c: Likewise.
12425 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12426 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12427 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12428 * sysdeps/unix/bsd/telldir.c: Likewise.
12429 * sysdeps/unix/bsd/times.c: Likewise.
12430 * sysdeps/unix/bsd/usleep.c: Likewise.
12432 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12433 ($(objpfx)libbsd-compat.a): Remove rule.
12435 * include/features.h (__FAVOR_BSD): Do not define.
12436 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12437 features conflicting with POSIX.
12438 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12439 (_BSD_SOURCE): Remove description of not being a subset of other
12440 feature test macros.
12441 * manual/job.texi (getpgrp): Do not document BSD version.
12442 (getpgid): Do not document by reference to BSD getpgrp.
12443 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12444 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12445 * signal/signal.h [__FAVOR_BSD]: Likewise.
12446 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12447 instead of making contents conditional on [__FAVOR_BSD].
12448 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12450 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12454 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12457 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12458 values below 2**-450, not 2**-500.
12459 * math/auto-libm-test-in: Don't allow spurious underflow from
12461 * math/auto-libm-test-out: Regenerated.
12465 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12466 values of ha and hb and sort them after adjusting subnormal
12468 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12470 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12471 values of ea and eb and sort them after adjusting subnormal
12473 * math/auto-libm-test-in: Do not expect some hypot tests of
12474 subnormals to fail. Add more hypot tests.
12475 * math/auto-libm-test-out: Regenerated.
12477 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12480 * sysdeps/sh/s_fma.c: New file.
12481 * sysdeps/sh/s_fmaf.c: New file.
12482 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12484 * sysdeps/sh/Implies: Add sh/soft-fp.
12486 2013-12-16 Roland McGrath <roland@hack.frob.com>
12488 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12489 level of indirection to members `objname', `errstring', `malloced'.
12490 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12491 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12492 it as the __longjmp argument (just pass 1 instead).
12493 (_dl_catch_error): Initialize C with argument pointers and address of
12494 volatile local ERRCODE rather than copying values out of C at return.
12496 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12498 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12499 * math/auto-libm-test-out: Regenerated.
12500 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12501 (hypot_test_data): Likewise.
12502 (pow_test_data): Likewise.
12503 (pow_tonearest_test_data): Likewise.
12504 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12506 (func_calc_desc): Add mpfr_ff_f union field.
12507 (FUNC_mpfr_ff_f): New macro.
12508 (test_functions): Add atan2, hypot and pow.
12509 (special_fill_min): New function.
12510 (special_fill_minus_min): Likewise.
12511 (special_fill_min_subnorm): Likewise.
12512 (special_fill_minus_min_subnorm): Likewise.
12513 (special_real_inputs): Add min, -min, min_subnorm and
12515 (calc_generic_results): Handle mpfr_ff_f.
12516 * sysdeps/i386/fpu/libm-test-ulps: Update.
12517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12519 2013-12-16 Will Newton <will.newton@linaro.org>
12521 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12522 (Aligned Memory Blocks): Add documentation for aligned_alloc
12523 and suggest it as an alternative to posix_memalign.
12524 (Hooks for Malloc): Document __memalign_hook is also called
12525 for aligned_alloc. (Summary of Malloc): Add summary for
12526 aligned alloc. Document __memalign_hook is also called
12529 2013-12-16 Will Newton <will.newton@linaro.org>
12531 * manual/memory.texi (Malloc Examples): Clarify default
12532 alignment documentation. Suggest posix_memalign rather
12533 than memalign or valloc.
12534 (Aligned Memory Blocks): Remove suggestion to use memalign
12535 or valloc. Remove obsolete comment about BSD.
12536 Document memalign errno values and mark the function obsolete.
12537 Document posix_memalign returned error codes. Mark valloc
12538 as obsolete. (Hooks for Malloc): __memalign_hook is also
12539 called for posix_memalign and valloc.
12540 (Summary of Malloc): Add posix_memalign to function summary.
12541 __memalign_hook is also called for posix_memalign and valloc.
12543 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12545 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12549 (sloww): Use mynumber union. Expand ternary operator into
12550 if-else statements.
12551 (cslow): use mynumber union.
12553 2013-12-16 Allan McRae <allan@archlinux.org>
12555 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12556 * configure: Regenerated.
12558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12561 * configure.ac: Added --enable-maintainer-mode. Check for
12562 autoconf when enabled.
12563 * configure: Regenerated.
12565 * nscd/nscd.service: New file.
12566 * nscd/nscd.tmpfiles: New file.
12568 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12571 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12572 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12573 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12574 (strstr): Add __strstr_sse2_unaligned ifunc.
12575 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12576 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12577 (strcasestr): Remove __strcasestr_sse42 ifunc.
12578 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12582 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12584 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12585 * sysdeps/sh/bits/fenv.h: ... here.
12586 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12588 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12590 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12593 hypotf multiarch implementations.
12594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12597 multiarch hypot for PPC64.
12598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12601 multiarch hypotf for PPC64.
12603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12604 modff multiarch implementations.
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12608 multiarch modf for PPC64.
12609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12612 multiarch modff for PPC64.
12614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12615 and logl multiarch implementations.
12616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12619 multiarch logb for PPC64.
12620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12623 multiarch logb for PPC64.
12624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12627 multiarch logb for PPC64.
12629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12630 isinff multiarch implementation.
12631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12635 multiarch isinf for PPC64.
12636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12639 multiarch isinff for PPC64.
12641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12642 finitef multiarch implementation.
12643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12647 multiarch finite for PPC64.
12648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12651 multiarch finitef for PPC64.
12653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12654 lrint multiarch implementation.
12655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12659 multiarch llrint for PPC64.
12660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12661 multiarch lrint for PPC64.
12663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12664 copysignf multiarch implementation.
12665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12670 multiarch copysign for PPC64.
12671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12672 multiarch copysignf for PPC64.
12674 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12675 multiarch implementation.
12676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12684 multiarch llround for PPC64.
12685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12686 multiarch trunc for PPC64.
12687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12688 multiarch truncf for PPC64.
12690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12691 multiarch implementation.
12692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12700 multiarch llround for PPC64.
12701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12702 multiarch round for PPC64.
12703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12704 multiarch roundf for PPC64.
12706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12707 multiarch implementation.
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12716 multiarch llround for PPC64.
12717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12718 multiarch floor for PPC64.
12719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12720 multiarch floorf for PPC64.
12722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12723 multiarch implementation.
12724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12732 multiarch llround for PPC64.
12733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12734 multiarch ceil for PPC64.
12735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12736 multiarch ceilf for PPC64.
12738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12739 multiarch implementation.
12740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12747 multiarch llround for PPC64.
12748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12749 multiarch lround for PPC64.
12751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12752 multiarch implementation.
12753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12760 multiarch isnan for PPC64.
12761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12762 multiarch isnanf for PPC64.
12764 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12765 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12766 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12767 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12768 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12771 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12772 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12774 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12777 multiarch implementations.
12778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12779 (__libc_ifunc_impl_list): Likewise.
12780 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12781 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12782 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12783 multiarch stpcpy for PPC64.
12785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12786 multiarch implementations.
12787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12788 (__libc_ifunc_impl_list): Likewise.
12789 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12790 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12791 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12792 multiarch strcpy for PPC64.
12794 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12795 redefine function name.
12796 (_wordcopy_fwd_dest_aligned): Likewise.
12797 (_wordcopy_bwd_aligned): Likewise.
12798 (_wordcopy_bwd_dest_aligned): Likewise.
12799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12800 multiarch implementations.
12801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12802 (__libc_ifunc_impl_list): Likewise.
12803 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12804 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12805 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12806 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12807 multiarch wcscpy for PPC64.
12809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12810 multiarch implementations.
12811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12812 (__libc_ifunc_impl_list): Likewise.
12813 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12814 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12815 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12816 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12817 multiarch wcscpy for PPC64.
12819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12820 multiarch implementations.
12821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12822 (__libc_ifunc_impl_list): Likewise.
12823 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12824 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12825 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12826 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12827 multiarch wcsrchr for PPC64.
12829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12830 multiarch implementations.
12831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12832 (__libc_ifunc_impl_list): Likewise.
12833 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12834 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12835 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12836 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12837 multiarch wcschr for PPC64.
12839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12840 multiarch implementations.
12841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12842 (__libc_ifunc_impl_list): Likewise.
12843 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12844 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12845 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12846 multiarch strchrnul for PPC64.
12848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12851 (__libc_ifunc_impl_list): Likewise.
12852 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12853 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12854 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12855 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12861 (__libc_ifunc_impl_list): Likewise.
12862 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12863 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12864 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12865 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12869 multiarch implementations.
12870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12871 (__libc_ifunc_impl_list): Likewise.
12872 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12873 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12874 strncasecmp for PPC64.
12875 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12876 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12877 multiarch strncasecmp_l for PPC64.
12879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12880 multiarch implementations.
12881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12882 (__libc_ifunc_impl_list): Likewise.
12883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12884 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12885 multiarch strcasecmp for PPC64.
12886 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12888 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12889 multiarch strcasecmp_l for PPC64.
12891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12894 (__libc_ifunc_impl_list): Likewise.
12895 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12896 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12897 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12903 (__libc_ifunc_impl_list): Likewise.
12904 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12905 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12906 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12912 (__libc_ifunc_impl_list): Likewise.
12913 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12914 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12915 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12916 rawmemrchr for PPC64.
12918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12921 (__libc_ifunc_impl_list): Likewise.
12922 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12923 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12924 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12930 (__libc_ifunc_impl_list): Likewise.
12931 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12932 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12933 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12939 (__libc_ifunc_impl_list): Likewise.
12940 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12941 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12942 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12945 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12946 avoid cretion of __bzero symbol.
12947 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12949 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12951 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12954 multiarch implementations.
12955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12956 (__libc_ifunc_impl_list): Likewise.
12957 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12958 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12959 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12960 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12962 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12963 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12964 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12965 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12966 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12968 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12970 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12974 (__libc_ifunc_impl_list): Likewise.
12975 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12976 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12977 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12978 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12982 multiarch for POWER/PPC64.
12983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12984 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12986 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12987 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12988 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12989 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12991 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12994 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12995 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12996 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12997 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12998 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12999 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13001 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13002 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13003 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13004 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13005 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13006 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13007 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13008 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13017 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13019 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13021 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13023 * benchtests/Makefile (bench): Add exp2 and log2.
13024 (LDLIBS-bench-exp2): Add -lm.
13025 (LDLIBS-bench-log2): Likewise.
13026 * benchtests/exp2-inputs: New inputs file.
13027 * benchtests/log2-inputs: New inputs file.
13028 * benchtests/log-inputs: Add new inputs.
13029 * benchtests/tan-inputs: Likewise.
13031 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13033 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13035 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13036 (csloww2): ... from here.
13038 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13039 instead of structures.
13040 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13041 (POLYNOMIAL): Likewise.
13042 (TAYLOR_SLOW): Likewise.
13048 (sloww1); Likewise.
13049 (sloww2): Likewise.
13050 (bsloww1): Likewise.
13051 (bsloww2): Likewise.
13052 (cslow2): Likewise.
13053 (csloww): Likewise.
13054 (csloww1): Likewise.
13055 (csloww2): Likewise.
13057 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13059 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13060 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13061 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13062 * malloc/hooks.c (realloc_check): Likewise.
13064 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13065 * malloc/arena.c: Remove PER_THREAD conditional.
13066 [!PER_THREAD]: Remove code.
13067 (ptmalloc_unlock_all2): Likewise.
13068 (ptmalloc_init): Likewise.
13069 (_int_new_arena): Likewise.
13070 (arena_get2): Likewise.
13071 * malloc/hooks.c (__malloc_get_state): Likewise.
13072 (__malloc_set_state): Likewise.
13073 * malloc/malloc.c: Likewise.
13074 (struct malloc_state): Likewise.
13075 (struct malloc_par): Likewise.
13076 (__libc_realloc): Likewise.
13077 (__libc_mallopt): Likewise.
13079 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13081 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13083 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13085 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13086 macro to a function. Check for zero perturb_byte.
13087 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13089 * malloc/malloc.c: (force_reg): Remove.
13090 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13091 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13092 force_reg by atomic_forced_read.
13093 * malloc/arena.c (ptmalloc_init): Likewise.
13094 * malloc/hooks.c (top_check): Likewise.
13096 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13100 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13104 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13106 * math/auto-libm-test-in: Add tests of lgamma.
13107 * math/auto-libm-test-out: Regenerated.
13108 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13109 (M_LOG_2_SQRT_PIl): Likewise.
13110 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13111 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13113 (func_calc_desc): Add mpfr_f_f1 union field.
13114 (ARGS1): New macro.
13122 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13123 (test_functions): Add lgamma.
13124 (calc_generic_results): Handle mpfr_f_f1.
13125 * sysdeps/i386/fpu/libm-test-ulps: Update.
13126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13130 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13131 __mpn_add_n for PowerPC64/POWER7.
13132 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13133 __mpn_sub_n for PowerPC64/POWER7.
13135 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13136 __mpn_addmul_1 for PowerPC64.
13137 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13138 __mpn_submul_1 for PowerPC64.
13139 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13141 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13144 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13147 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13149 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13151 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13153 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13154 add multiarch folders.
13155 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13159 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13160 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13161 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13162 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13163 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13164 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13165 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13174 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13180 multiarch __ieee754_hypot for PowerPC32.
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13186 multiarch __ieee754_hypotf for PowerPC32.
13188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13189 long_double_symbol only if __logbl is defined.
13190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13191 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13193 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13195 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13196 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13197 path for implementation.
13198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13199 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13201 logb, and logbl multiarch implementations for PowerPC32.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13207 multiarch logb for PowerPC32.
13208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13213 multiarch logbf for PowerPC32.
13214 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13218 multiarch logbl implementation for PowerPC32.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13221 and modff multiarch implementations.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13227 multiarch modf for PowerPC32.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13233 multiarch modff for PowerPC32.
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13236 and lrintf multiarch implementations.
13237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13242 multiarch lrint for PowerPC32.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13244 file: multiarch lrintf for PowerPC32.
13246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13247 and lroundf multiarch implementations.
13248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13255 multiarch lround for PowerPC32.
13256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13257 file: multiarch lroundf for PowerPC32.
13259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13260 copysign and copysignf multiarch implementations.
13261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13266 file: multiarch copysign for PowerPC32.
13267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13268 file: multiarch copysignf for PowerPC32.
13270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13271 and truncf multiarch implementations.
13272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13277 multiarch trunc for PowerPC32.
13278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13283 multiarch truncf for PowerPC32.
13285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13286 and roundf multiarch implementations.
13287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13292 multiarch round for PowerPC32.
13293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13298 multiarch roundf for PowerPC32.
13300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13301 and floorf multiarch implementations.
13302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13307 multiarch floor for PowerPC32.
13308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13313 multiarch floorf for PowerPC32.
13315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13316 and ceilf multiarch implementations.
13317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13322 multiarch ceil for PowerPC32.
13323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13328 multiarch ceilf for PowerPC32.
13330 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13332 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13333 FINITEF is defined.
13334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13335 and finitef multiarch implementations.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13341 multiarch finite for PowerPC32.
13342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13345 file: multiarch finitef for PowerPC32.
13347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13348 and isinff multiarch implementations.
13349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13354 multiarch isinf for PowerPC32.
13355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13358 multiarch isinff for PowerPC32.
13360 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13361 alias when __isnan is defined.
13362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13363 and isnanf multiarch implementations.
13364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13373 multiarch isnan for PowerPC32.
13374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13379 multiarch isnanf for PowerPC32.
13381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13382 and sqrtf multiarch implementations.
13383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13388 multiarch sqrt for PowerPC32.
13389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13394 multiarch sqrtf for PowerPC32.
13396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13397 and llroundf multiarch implementations.
13398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13405 file: multiarch llround for PowerPC32.
13406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13407 file: multiarch llroundf for PowerPC32.
13409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13410 multiarch PowerPC32 fpu implementations.
13411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13416 multiarch llrint for PowerPC32.
13417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13430 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13433 multiarch wordcopy for PPC32.
13434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13437 (__libc_ifunc_impl_list): Likewise.
13438 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13439 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13440 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13441 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13442 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13443 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13445 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13453 multiarch wcscpy for PPC32.
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13457 (__libc_ifunc_impl_list): Likewise.
13458 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13459 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13460 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13461 sysdeps/powerpc/power6/wcscpy.c.
13463 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13471 multiarch wcsrchr for PPC32.
13472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13475 (__libc_ifunc_impl_list): Likewise.
13476 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13477 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13478 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13479 sysdeps/powerpc/power6/wcsrchr.c.
13481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13487 multiarch wcschr for PPc32.
13488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13491 (__libc_ifunc_impl_list): Likewise.
13492 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13493 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13494 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13495 sysdeps/powerpc/power6/wcschr.c.
13497 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13501 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13502 file: multiarch strchr for PPC32.
13503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13506 (__libc_ifunc_impl_list): Likewise.
13508 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13510 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13512 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13514 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13515 multiarch strchrnul for PPC32.
13516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13519 (__libc_ifunc_impl_list): Likewise.
13521 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13524 multiarch strncasecmp for PPC32.
13525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13528 multiarch strncasecmp_l for PPC32.
13529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13530 strncasecmp multiarch objects.
13531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13532 (__libc_ifunc_impl_list): Likewise.
13534 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13537 multiarch strncasecmp for PPC32.
13538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13541 multiarch strcasecmp_l for PPC32.
13542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13545 (__libc_ifunc_impl_list): Likewise.
13547 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13549 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13551 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13552 multiarch strncmp for PPC32.
13553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13556 (__libc_ifunc_impl_list): Likewise.
13558 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13559 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13561 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13562 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13566 (__libc_ifunc_impl_list): Likewise.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13572 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13576 (__libc_ifunc_impl_list): Likewise.
13578 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13580 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13582 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13583 multiarch rawmemchr for PPC32.
13584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13587 (__libc_ifunc_impl_list): Likewise.
13589 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13591 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13593 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13594 file: memrchr multiarch for PPC32.
13595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13598 (__libc_ifunc_impl_list): Likewise.
13600 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13601 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13603 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13604 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13605 multiarch memchr for PPC32.
13606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13609 (__libc_ifunc_impl_list): Likewise.
13611 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13612 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13614 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13616 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13617 file: multiarch mempcpy for PPC32.
13618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13621 (__libc_ifunc_impl_list): Likewise.
13623 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13624 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13625 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13626 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13627 multiarch bzero for PPC32.
13628 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13630 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13632 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13633 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13634 file: multiarch memset for PPC32.
13635 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13637 memset multiarch objects.
13638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13639 (__libc_ifunc_impl_list): Likewise.
13641 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13643 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13644 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13646 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13647 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13649 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13650 (__libc_ifunc_impl_list): Likewise.
13652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13653 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13660 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13661 multiarch memcpy for PPC32.
13662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13665 (__libc_ifunc_impl_list): Likewise.
13667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13668 support multiarch for POWER/PPC32.
13669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13671 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13673 Implies file to make multiarch folder appers before the fpu and
13674 default folder for power4 configuration.
13676 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13678 * scripts/bench.pl: Append volatile keyword to type.
13680 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13682 * sysdeps/sh/sotruss-lib.c: New file.
13683 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13685 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13689 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13692 * math/w_tgamma.c: Include <errno.h>.
13693 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13694 * math/w_tgammaf.c: Include <errno.h>.
13695 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13696 * math/w_tgammal.c: Include <errno.h>.
13697 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13698 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13699 underflow. Add more tgamma tests.
13700 * math/auto-libm-test-out: Regenerated.
13701 * sysdeps/i386/fpu/libm-test-ulps: Update.
13702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13704 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13705 sin, sinh, tan, tanh, tgamma, y0 and y1.
13706 * math/auto-libm-test-out: Regenerated.
13707 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13708 (TEST_COND_x86): Likewise.
13709 (M_E2l): Remove macro.
13711 (M_2_SQRT_PIl): Likewise.
13712 (M_SQRT_PIl): Likewise.
13713 (M_1_DIV_El): Likewise.
13714 (log_test_data): Use AUTO_TESTS_f_f.
13715 (log10_test_data): Likewise.
13716 (log1p_test_data): Likewise.
13717 (log2_test_data): Likewise.
13718 (sin_test_data): Likewise.
13719 (sin_tonearest_test_data): Likewise.
13720 (sin_towardzero_test_data): Likewise.
13721 (sin_downward_test_data): Likewise.
13722 (sin_upward_test_data): Likewise.
13723 (sinh_test_data): Likewise.
13724 (sinh_tonearest_test_data): Likewise.
13725 (sinh_towardzero_test_data): Likewise.
13726 (sinh_downward_test_data): Likewise.
13727 (sinh_upward_test_data): Likewise.
13728 (tan_test_data): Likewise.
13729 (tan_tonearest_test_data): Likewise.
13730 (tan_towardzero_test_data): Likewise.
13731 (tan_downward_test_data): Likewise.
13732 (tan_upward_test_data): Likewise.
13733 (tanh_test_data): Likewise.
13734 (tgamma_test_data): Likewise.
13735 (y0_test_data): Likewise.
13736 (y1_test_data): Likewise.
13737 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13738 (special_real_inputs): Add pi/4.
13739 * sysdeps/i386/fpu/libm-test-ulps: Update.
13740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13742 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13744 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13745 "longjmp_target" static probes.
13746 (__longjmp): Rename to __longjmp_symbol.
13747 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13748 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13749 on which longjmp to generate.
13750 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13751 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13753 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13754 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13755 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13756 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13757 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13758 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13760 __longjmp_symbol based on which __longjmp to generate.
13761 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13763 (setjmp): Rename to setjmp_symbol.
13764 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13765 (_setjmp): Rename to _setjmp_symbol.
13766 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13767 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13768 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13769 which setjmp to generate.
13770 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13771 "longjmp_target" static probes.
13773 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13775 * benchtests/README: Add note about output arguments.
13776 * benchtests/bench-sincos.c: Remove file.
13777 * benchtests/sincos-inputs: New file.
13778 * scripts/bench.pl: Identify output arguments and define
13779 static variables for them.
13781 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13784 * Makefile (INSTALL): Add install-plain.texi as the primary
13786 * manual/install-plain.texi: New file.
13787 * manual/install.texi: Include node directive only for
13788 non-plaintext output.
13790 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13792 * stdlib/longlong.h: Update from GCC.
13796 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13797 * math/w_j0f.c (y0f): Likewise.
13798 * math/w_j0l.c (__y0l): Likewise.
13799 * math/w_j1.c (y1): Likewise.
13800 * math/w_j1f.c (y1f): Likewise.
13801 * math/w_j1l.c (__y1l): Likewise
13802 * math/w_jn.c (yn): Likewise.
13803 * math/w_jnf.c (ynf): Likewise.
13804 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13805 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13806 value for Bessel function domain errors outside _SVID_ mode.
13807 Adjust sign of return value for yn (negative integer, 0).
13808 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13809 by zero in return for negative x and set sign appropriately for
13811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13812 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13813 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13814 expectations in error cases.
13815 (y1_test_data): Likewise.
13816 (yn_test_data): Likewise.
13817 * sysdeps/i386/fpu/libm-test-ulps: Update.
13818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13820 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13822 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13823 "64" to "64-v1". Add "64-v2".
13824 (abi-64-options): Rename to ...
13825 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13826 (abi-64-condition): Rename to ...
13827 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13828 (abi-64-ld-soname): Rename to ...
13829 (abi-64-v1-ld-soname): ... this.
13830 (abi-64-v2-options): Define.
13831 (abi-64-v2-condition): Likewise.
13832 (abi-64-v2-ld-soname): Likewise.
13833 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13834 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13839 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13840 Alan Modra <amodra@gmail.com>
13842 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13843 New versions for use with the ELFv2 ABI.
13844 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13845 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13847 (struct La_ppc64v2_retval): Likewise.
13848 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13849 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13850 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13851 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13852 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13853 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13854 Do not save or restore CR.
13855 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13856 (_dl_profile_resolve): Do no save or restore CR. Support extended
13857 return values for ELFv2 ABI. Fix location of FPR return registers.
13858 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13859 updated values for _CALL_ELF == 2.
13860 (La_regs, La_retval, int_retval): Likewise.
13862 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13864 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13865 (FRAME_MIN_SIZE_PARM): Likewise.
13866 (FRAME_BACKCHAIN): Likewise.
13867 (FRAME_CR_SAVE): Likewise.
13868 (FRAME_LR_SAVE): Likewise.
13869 (FRAME_TOC_SAVE): Likewise.
13870 (FRAME_PARM_SAVE): Likewise.
13871 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13872 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13873 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13874 (call_mcount_parm_offset): New macro.
13875 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13876 (PROF): Use symbolic stack frame offsets.
13877 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13878 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13879 Redefine in terms of FRAME_MIN_SIZE.
13880 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13881 (_dl_profile_resolve): Likewise. Update comment.
13882 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13883 symbols stack frame offsets.
13884 (__sigsetjmp): Likewise.
13885 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13886 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13887 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13888 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13891 (FRAME_BACKCHAIN): Remove.
13892 (FRAME_CR_SAVE): Likewise.
13893 (FRAME_LR_SAVE): Likewise.
13894 (FRAME_COMPILER_DW): Likewise.
13895 (FRAME_LINKER_DW): Likewise.
13896 (FRAME_TOC_SAVE): Likewise.
13897 (FRAME_PARM_SAVE): Likewise.
13898 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13899 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13900 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13902 (CHECK_SP): Use symbolic stack frame offsets.
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13904 zone" instead of caller's parameter save area for temp storage.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13906 Likewise. Also, use symbolic stack frame offsets.
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13908 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13909 our own stack frame instead of the caller's.
13910 (__socket): Use symbolic stack frame offsets.
13912 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13913 Alan Modra <amodra@gmail.com>
13915 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13917 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13918 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13919 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13921 (elf_machine_fixup_plt): Call it.
13922 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13924 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13925 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13926 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13927 r2 before calling target.
13929 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13930 Alan Modra <amodra@gmail.com>
13932 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13933 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13934 versions of macros to support ELFv2 ABI.
13935 (LOCALENTRY): New macro.
13936 (ENTRY, EALIGN): Use it.
13937 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13938 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13939 fall through into ENTRY entry point.
13940 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13941 Only define if _CALL_ELF != 2.
13943 (elf_machine_matches_host): Verify ABI version matches.
13944 (RTLD_START): Use LOCALENTRY.
13945 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13946 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13947 (PLT_ENTRY_WORDS): New macro.
13948 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13949 (elf_machine_runtime_setup): Support ELFv2 ABI.
13950 (elf_machine_fixup_plt): Likewise.
13951 (elf_machine_plt_conflict): Likewise.
13952 (resolve_ifunc): Likewise.
13953 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13954 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13957 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13959 (makecontext): Support ELFv2 ABI.
13960 * elf/elf.h (EF_PPC64_ABI): Define.
13962 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13964 * sysdeps/powerpc/powerpc64/sysdep.h
13965 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13966 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13967 (ENTRY) [ASSEMBLER]: ... but instead here ...
13968 (EALIGN) [ASSEMBLER]: ... and here.
13969 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13970 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13971 (ENTRY_2) [!ASSEMBLER]: Use it.
13972 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13973 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13974 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13975 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13976 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13978 Use PPC64_LOAD_FUNCPTR.
13980 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13982 2013-12-04 Alan Modra <amodra@gmail.com>
13984 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13985 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13986 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13987 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13990 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13991 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13992 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13993 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13994 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13996 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13999 (__makecontext): Fix incorrect CFI when backtracing out of
14000 context created via makecontext.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14002 (__setcontext): Fix incorrect CFI during switch to new context.
14003 (__novec_setcontext): Likewise.
14005 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14008 * time/strptime_l.c (__strptime_internal): Allow modifiers
14010 * time/tst-strptime.c (day_tests): Add testcase.
14012 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14014 * scripts/bench.pl: Skip over blank lines.
14016 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14019 * manual/time.texi (Calendar Time): Clarify what timezone functions
14022 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14026 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14028 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14030 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14031 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14032 * debug/memset_chk.c (__memset_chk): Likewise.
14033 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14034 * debug/strncpy_chk.c: Likewise.
14036 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14040 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14041 (__ieee754_exp): For possibly underflowing results, check size of
14042 result and force underflow exception if required.
14043 * math/auto-libm-test-in: Add more tests of exp.
14044 * math/auto-libm-test-out: Regenerated.
14045 * sysdeps/i386/fpu/libm-test-ulps: Update.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14049 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14050 * math/w_exp2f.c (__exp2f): Likewise.
14051 * math/w_exp2l.c (__exp2l): Likewise.
14052 * math/auto-libm-test-in: Do not allow missing errno on exp2
14054 * math/auto-libm-test-out: Regenerated.
14056 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14059 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14060 handle filename validation.
14061 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14064 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14067 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14068 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14069 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14071 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14072 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14073 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14075 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14077 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14078 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14079 Add more erfc tests.
14080 * math/auto-libm-test-out: Regenerated.
14081 * sysdeps/i386/fpu/libm-test-ulps: Update.
14082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14084 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14085 exp2, expm1, j0 and j1.
14086 * math/auto-libm-test-out: Regenerated.
14087 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14088 (erfc_test_data): Likewise.
14089 (exp_test_data): Likewise.
14090 (exp_tonearest_test_data): Likewise.
14091 (exp_towardzero_test_data): Likewise.
14092 (exp_downward_test_data): Likewise.
14093 (exp_upward_test_data): Likewise.
14094 (exp10_test_data): Likewise.
14095 (exp2_test_data): Likewise.
14096 (expm1_test_data): Likewise.
14097 (j0_test_data): Likewise.
14098 (j1_test_data): Likewise.
14099 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14100 (input_flag_type): Add flag_xfail_rounding.
14101 (input_flags): Add xfail-rounding.
14102 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14103 (output_for_one_input_case): Handle flag_xfail_rounding.
14104 * sysdeps/i386/fpu/libm-test-ulps: Update.
14105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14107 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14110 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14113 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14116 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14117 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14118 (STAP_PROBE0): New macro.
14119 (STAP_PROBE1): Likewise.
14120 (STAP_PROBE2): Likewise.
14121 (STAP_PROBE3): Likewise.
14122 (STAP_PROBE4): Likewise.
14124 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14126 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14128 2013-12-02 Steve Ellcey <sellcey@mips.com>
14130 * benchtests/Makefile (bench): Add sqrt.
14131 (LDLIBS-bench-sqrt): New.
14132 * benchtests/sqrt-input: New.
14134 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14136 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14137 (GAIH_EAI): Likewise.
14138 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14139 (gaih_inet): Likewise.
14140 (getaddrinfo): Don't use GAIH_EAI.
14142 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14143 (struct gaih): Remove definition.
14145 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14147 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14148 Use HERRNOP directly.
14150 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14154 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14156 * math/gen-auto-libm-tests.c (test_functions): Add more
14157 single-argument functions.
14158 (special_fill_pi_2): New function.
14159 (special_fill_minus_pi_2): Likewise.
14160 (special_fill_pi_6): Likewise.
14161 (special_fill_minus_pi_6): Likewise.
14162 (special_fill_pi_3): Likewise.
14163 (special_fill_2pi_3): Likewise.
14164 (special_fill_e): Likewise.
14165 (special_fill_1_e): Likewise.
14166 (special_fill_e_minus_1): Likewise.
14167 (special_real_inputs): Add more special inputs.
14168 (output_for_one_input_case): Do not require ERANGE on underflow to
14169 zero if round-to-nearest result does not underflow to zero, unless
14170 exact results required.
14171 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14172 atan, atanh, cbrt, cos and cosh.
14173 * math/auto-libm-test-out: Regenerated.
14174 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14175 (acos_tonearest_test_data): Likewise.
14176 (acos_towardzero_test_data): Likewise.
14177 (acos_downward_test_data): Likewise.
14178 (acos_upward_test_data): Likewise.
14179 (acosh_test_data): Likewise.
14180 (asin_test_data): Likewise.
14181 (asin_tonearest_test_data): Likewise.
14182 (asin_towardzero_test_data): Likewise.
14183 (asin_upward_test_data): Likewise.
14184 (asinh_test_data): Likewise.
14185 (atan_test_data): Likewise.
14186 (atanh_test_data): Likewise.
14187 (cbrt_test_data): Likewise.
14188 (cos_test_data): Likewise.
14189 (cos_tonearest_test_data): Likewise.
14190 (cos_towardzero_test_data): Likewise.
14191 (cos_downward_test_data): Likewise.
14192 (cos_upward_test_data): Likewise.
14193 (cosh_test_data): Likewise.
14194 (cosh_tonearest_test_data): Likewise.
14195 (cosh_towardzero_test_data): Likewise.
14196 (cosh_downward_test_data): Likewise.
14197 (cosh_upward_test_data): Likewise.
14198 * sysdeps/i386/fpu/libm-test-ulps: Update.
14199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14201 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14204 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14205 * math/w_exp10f.c (__exp10f): Likewise.
14206 * math/w_exp10l.c (__exp10l): Likewise.
14207 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14208 errno settings in existing tests.
14211 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14212 precision control set to double precision.
14213 * sysdeps/i386/fpu/w_sqrt.c: New file.
14214 * math/auto-libm-test-in: Add more tests.
14215 * math/auto-libm-test-out: Update.
14217 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14218 (sqrt_test_tonearest): New function.
14219 (sqrt_towardzero_test_data): New variable.
14220 (sqrt_test_towardzero): New function.
14221 (sqrt_downward_test_data): New variable.
14222 (sqrt_test_downward): New function.
14223 (sqrt_upward_test_data): New variable.
14224 (sqrt_test_upward): New function.
14225 (main): Call the new functions.
14227 * math/gen-auto-libm-tests.c: New file.
14228 * math/auto-libm-test-in: Likewise.
14229 * math/auto-libm-test-out: New generated file.
14230 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14232 (%beautify): Add generated representations of zero.
14233 (top level): Set $auto_input and call parse_auto_input.
14234 (beautify): Remove trailing "f" from hex float constants.
14235 (parse_args): Handle XFAIL_TEST.
14236 (convert_condition): New function.
14237 (or_value): Likewise.
14238 (or_cond_value): Likewise.
14239 (generate_testfile): Handle AUTO_TESTS_* lines.
14240 (parse_auto_input): New function.
14241 * math/libm-test.inc (XFAIL_TEST): New macro.
14242 (ERRNO_UNCHANGED): Update value.
14243 (ERRNO_EDOM): Likewise.
14244 (ERRNO_ERANGE): Likewise.
14245 (IGNORE_RESULT): Likewise.
14246 (TEST_COND_flt_32): New macro.
14247 (TEST_COND_dbl_64): Likewise.
14248 (TEST_COND_ldbl_96_intel): Likewise.
14249 (TEST_COND_ldbl_96_m68k): Likewise.
14250 (TEST_COND_ldbl_128): Likewise.
14251 (TEST_COND_ldbl_128ibm): Likewise.
14252 (TEST_COND_long32): Likewise.
14253 (TEST_COND_long64): Likewise.
14254 (TEST_COND_before_rounding): Likewise.
14255 (TEST_COND_after_rounding): Likewise.
14256 (enable_test): Handle XFAIL_TEST flag.
14257 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14258 with finite results.
14259 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14260 auto-libm-test-out.
14262 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14263 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14266 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14267 __tls_get_addr_internal instead of __tls_get_offset in order to
14268 avoid GOT pointer dependency. Make rtld export
14269 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14270 __tls_get_addr since we are a __tls_get_offset platform.
14271 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14272 GOT pointer being set up before.
14273 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14275 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14277 * manual/math.texi (Errors in Math Functions): Document accuracy
14281 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14282 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14285 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14287 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14298 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14299 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14300 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14301 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14302 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14304 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14306 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14308 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14309 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14310 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14311 atomic-feupdateenv and flt-rounds.
14312 * sysdeps/powerpc/nofpu/Versions (libc): Add
14313 __atomic_feholdexcept, __atomic_feclearexcept,
14314 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14315 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14316 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14317 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14318 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14323 * manual/arith.texi (FP Exceptions): Document that exceptions may
14324 not be raised when matherr is used.
14325 (Math Error Reporting): Document overflow in directed rounding
14326 modes. Document that errno may not be set when finite values are
14327 returned on overflow. Document intent to set errno on underflow
14328 only for underflow to zero.
14331 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14332 round-to-nearest then adjust result for other rounding modes.
14333 * include/fenv.h (fegetround): Use libm_hidden_proto.
14334 * math/fegetround.c (fegetround): Use libm_hidden_def.
14335 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14336 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14337 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14338 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14340 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14341 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14342 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14343 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14345 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14348 * nss/Versions (libnss_files): Add
14349 _nss_files_gethostbyname3_r.
14350 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14352 (HOST_DB_LOOKUP): Remove macro.
14353 (_nss_files_gethostbyname_r): Implement function without the
14354 HOST_DB_LOOKUP macro.
14355 (_nss_files_gethostbyname2_r): Likewise.
14357 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14359 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14361 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14363 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14364 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14367 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14369 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14370 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14371 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14372 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14373 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14374 __fe_nomask_env_priv and attribute_hidden.
14375 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14376 (libc_feupdateenv_test_ppc): Likewise.
14377 (libc_feresetround_ppc): Likewise.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14379 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14380 compat_symbol macro.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14382 (__fe_nomask_env): Likewise.
14383 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14385 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14387 * string/Makefile: Remove ifunc tests.
14388 * string/test-string.h: Define TEST_IFUNC.
14389 * string/test-bcopy-ifunc.c: Remove.
14390 * string/test-bzero-ifunc.c: Likewise.
14391 * string/test-memccpy-ifunc.c: Likewise.
14392 * string/test-memchr-ifunc.c: Likewise.
14393 * string/test-memcmp-ifunc.c: Likewise.
14394 * string/test-memcpy-ifunc.c: Likewise.
14395 * string/test-memmem-ifunc.c: Likewise.
14396 * string/test-memmove-ifunc.c: Likewise.
14397 * string/test-mempcpy-ifunc.c: Likewise.
14398 * string/test-memrchr-ifunc.c: Likewise.
14399 * string/test-memset-ifunc.c: Likewise.
14400 * string/test-rawmemchr-ifunc.c: Likewise.
14401 * string/test-stpcpy-ifunc.c: Likewise.
14402 * string/test-stpncpy-ifunc.c: Likewise.
14403 * string/test-strcasecmp-ifunc.c: Likewise.
14404 * string/test-strcasestr-ifunc.c: Likewise.
14405 * string/test-strcat-ifunc.c: Likewise.
14406 * string/test-strchr-ifunc.c: Likewise.
14407 * string/test-strchrnul-ifunc.c: Likewise.
14408 * string/test-strcmp-ifunc.c: Likewise.
14409 * string/test-strcpy-ifunc.c: Likewise.
14410 * string/test-strcspn-ifunc.c: Likewise.
14411 * string/test-strlen-ifunc.c: Likewise.
14412 * string/test-strncasecmp-ifunc.c: Likewise.
14413 * string/test-strncat-ifunc.c: Likewise.
14414 * string/test-strncmp-ifunc.c: Likewise.
14415 * string/test-strncpy-ifunc.c: Likewise.
14416 * string/test-strnlen-ifunc.c: Likewise.
14417 * string/test-strpbrk-ifunc.c: Likewise.
14418 * string/test-strrchr-ifunc.c: Likewise.
14419 * string/test-strspn-ifunc.c: Likewise.
14420 * string/test-strstr-ifunc.c: Likewise.
14422 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14424 * benchtests/Makefile: Remove ifunc tests.
14425 * benchtests/bench-string.h: Define TEST_IFUNC.
14426 * benchtests/bench-bcopy-ifunc.c: Remove.
14427 * benchtests/bench-bzero-ifunc.c: Likewise.
14428 * benchtests/bench-memccpy-ifunc.c: Likewise.
14429 * benchtests/bench-memchr-ifunc.c: Likewise.
14430 * benchtests/bench-memcmp-ifunc.c: Likewise.
14431 * benchtests/bench-memcpy-ifunc.c: Likewise.
14432 * benchtests/bench-memmem-ifunc.c: Likewise.
14433 * benchtests/bench-memmove-ifunc.c: Likewise.
14434 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14435 * benchtests/bench-memrchr-ifunc.c: Likewise.
14436 * benchtests/bench-memset-ifunc.c: Likewise.
14437 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14438 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14439 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14440 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14441 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14442 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14443 * benchtests/bench-strcat-ifunc.c: Likewise.
14444 * benchtests/bench-strchr-ifunc.c: Likewise.
14445 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14446 * benchtests/bench-strcmp-ifunc.c: Likewise.
14447 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14448 * benchtests/bench-strcpy-ifunc.c: Likewise.
14449 * benchtests/bench-strcspn-ifunc.c: Likewise.
14450 * benchtests/bench-strlen-ifunc.c: Likewise.
14451 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14452 * benchtests/bench-strncat-ifunc.c: Likewise.
14453 * benchtests/bench-strncmp-ifunc.c: Likewise.
14454 * benchtests/bench-strncpy-ifunc.c: Likewise.
14455 * benchtests/bench-strnlen-ifunc.c: Likewise.
14456 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14457 * benchtests/bench-strrchr-ifunc.c: Likewise.
14458 * benchtests/bench-strsep-ifunc.c: Likewise.
14459 * benchtests/bench-strspn-ifunc.c: Likewise.
14460 * benchtests/bench-strstr-ifunc.c: Likewise.
14462 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14464 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14466 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14468 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14469 * rt/aio.h: Likewise.
14470 * sysdeps/gnu/bits/utmp.h: Likewise.
14471 * sysdeps/gnu/bits/utmpx.h: Likewise.
14472 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14473 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14474 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14475 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14476 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14477 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14478 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14479 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14480 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14481 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14482 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14483 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14484 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14486 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14487 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14488 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14489 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14490 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14491 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14492 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14493 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14494 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14495 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14496 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14498 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14499 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14501 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14502 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14503 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14504 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14505 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14506 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14507 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14508 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14509 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14510 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14511 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14512 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14513 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14515 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14518 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14519 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14521 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14523 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14524 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14527 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14530 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14531 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14532 (__fesetround): Remove define.
14533 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14534 rounding and exceptions handling.
14535 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14536 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14537 (__fe_nomask_env): Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14539 __fegetround instead of fegetround.
14540 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14543 2013-11-21 Roland McGrath <roland@hack.frob.com>
14545 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14548 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14550 2013-11-21 Meador Inge <meadori@codesourcery.com>
14553 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14554 (encrypt_r): Likewise.
14555 * malloc/obstack.h (obstack_free): Likewise.
14556 * posix/unistd.h (encrypt): Likewise.
14558 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14560 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14561 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14562 DL_CALL_DT_FINI() that call the functions directly.
14563 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14564 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14565 * elf/dl-fini.c: Likewise.
14567 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14569 * malloc/hooks.c (memalign_check): Add alignment rounding.
14570 * malloc/malloc.c (_mid_memalign): New function.
14571 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14572 Implement by calling _mid_memalign.
14573 * manual/probes.texi (Memory Allocation Probes): Remove
14574 memory_valloc_retry and memory_pvalloc_retry.
14576 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14578 * locale/programs/locarchive.c (open_archive): Add const
14579 qualifier to ARCHIVEFNAME and copy default fname to
14583 * libio/tst-widetext.input: Rename Oriya to Odia.
14584 * locale/iso-639.def: Likewise.
14586 * manual/probes.texi (Mathematical Function Probes): Add
14587 documentation for sin, cos, asin and acos probes.
14588 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14589 (__sin32): Add slowasin probe.
14590 (__cos32): Add slowacos probe.
14591 (__mpsin): Add slowsin probe.
14592 (__mpcos): Add slowcos probe.
14594 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14597 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14598 thread-local __sim_exceptions_thread and global
14599 __sim_exceptions_global.
14600 (__sim_disabled_exceptions): Change to thread-local
14601 __sim_disabled_exceptions_thread and global
14602 __sim_disabled_exceptions_global.
14603 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14604 and global __sim_round_mode_global.
14605 (__simulate_exceptions): Use thread-local floating-point state and
14606 set global state from it as needed.
14607 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14608 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14609 __sim_round_mode_thread.
14610 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14611 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14612 and global __sim_exceptions_global.
14613 (__sim_disabled_exceptions): Change to thread-local
14614 __sim_disabled_exceptions_thread and global
14615 __sim_disabled_exceptions_global.
14616 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14617 and global __sim_round_mode_global.
14618 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14619 (SIM_SET_GLOBAL): Likewise.
14620 * sysdeps/powerpc/soft-fp/sfp-machine.h
14621 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14622 __sim_round_mode_thread.
14623 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14624 __sim_disabled_exceptions_thread.
14625 (__sim_exceptions): Change to __sim_exceptions_thread.
14626 (__sim_disabled_exceptions): Change to
14627 __sim_disabled_exceptions_thread.
14628 (__sim_round_mode): Change to __sim_round_mode_thread.
14629 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14630 thread-local floating-point state and set global state from it as
14632 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14633 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14634 (__sim_disabled_exceptions): Remove extern declaration.
14635 (feenableexcept): Use thread-local floating-point state and set
14636 global state from it as needed.
14637 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14638 extern declaration.
14639 (__sim_disabled_exceptions): Likewise.
14640 (__sim_round_mode): Likewise.
14641 (__fegetenv): Use thread-local floating-point state.
14642 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14643 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14644 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14645 floating-point state and set global state from it as needed.
14646 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14647 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14648 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14650 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14651 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14653 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14654 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14655 Use __sim_round_mode_thread.
14656 * math/test-fenv-tls.c: New file.
14657 * math/Makefile (tests): Add test-fenv-tls.
14658 ($(objpfx)test-fenv-tls): Depend on
14659 $(common-objpfx)nptl/libpthread.so.
14661 2013-11-19 Andreas Schwab <schwab@suse.de>
14663 * locale/programs/locale.c (show_info): Decode wordarray elements.
14664 * locale/categories.def (LC_MONETARY): Add element for
14665 _NL_MONETARY_CRNCYSTR.
14666 * locale/C-monetary.c (conversion_rate): New variable.
14667 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14670 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14672 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14673 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14675 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14677 * elf/Makefile (tst-auxv): New test.
14678 * elf/tst-auxv.c: New
14679 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14681 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14683 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14684 (hidden_proto): Caller changed.
14685 (hidden_tls_proto): New macro.
14686 (libc_hidden_tls_proto): Likewise.
14687 (rtld_hidden_tls_proto): Likewise.
14688 (libm_hidden_tls_proto): Likewise.
14689 (libresolv_hidden_tls_proto): Likewise.
14690 (librt_hidden_tls_proto): Likewise.
14691 (libdl_hidden_tls_proto): Likewise.
14692 (libnss_files_hidden_tls_proto): Likewise.
14693 (libnsl_hidden_tls_proto): Likewise.
14694 (libnss_nisplus_hidden_tls_proto): Likewise.
14695 (libutil_hidden_tls_proto): Likewise.
14697 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14700 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14701 (decompose_rpath): Defer expansion to fillin_rpath.
14702 (_dl_init_paths): Pass linkmap to fillin_rpath.
14704 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14706 * benchtests/Makefile: Add strsep.
14707 * benchtests/bench-strsep.c: New file: strsep benchtest.
14708 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14710 2013-11-18 Andreas Schwab <schwab@suse.de>
14712 * locale/programs/locale.c (show_info) [case byte]: Check for
14713 '\377' instead of '\177'.
14714 * locale/C-monetary.c (not_available): Always use "\377".
14715 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14716 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14717 detect unavailable sign_posn locale elements.
14718 * locale/localeconv.c (__localeconv): For grouping and
14719 mon_grouping handle "\177" and "\377" like no grouping.
14720 (INT_ELEM): New macro. Use it to set all numeric members.
14721 * locale/programs/ld-monetary.c (monetary_read)
14722 <tok_mon_grouping>: Normalize single -1 to the empty string.
14723 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14726 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14729 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14730 when we match (nil).
14731 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14733 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14735 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14736 (NO_TEST_INLINE): Update value.
14737 (ERRNO_UNCHANGED): Likewise.
14738 (ERRNO_EDOM): Likewise.
14739 (ERRNO_ERANGE): Likewise.
14740 (IGNORE_RESULT): Likewise.
14741 (check_float_internal): Check signs of NaN results if
14742 TEST_NAN_SIGN used.
14743 (check_complex): Pass TEST_NAN_SIGN flag through to second
14744 check_float_internal call.
14745 (copysign_test_data): Add tests with quiet NaNs as second
14746 argument. Use TEST_NAN_SIGN.
14747 (fabs_test_data): Add test of negative quiet NaN argument. Use
14749 (signbit_test_data): Add tests of quiet NaN argument.
14750 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14752 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14754 (parse_args): Handle function results specified as IGNORE.
14755 * math/libm-test.inc (IGNORE_RESULT): New macro.
14756 (check_float_internal): Do not check numerical result if flag
14758 (check_complex): Pass through IGNORE_RESULT to second
14759 check_float_internal call.
14760 (check_int): Do not check numerical result if flag IGNORE_RESULT
14762 (check_long): Likewise.
14763 (check_bool): Likewise.
14764 (check_longlong): Likewise.
14765 (lrint_test_data): Add tests of infinite and NaN arguments.
14766 (lrint_tonearest_test_data): Likewise.
14767 (lrint_towardzero_test_data): Likewise.
14768 (lrint_downward_test_data): Likewise.
14769 (lrint_upward_test_data): Likewise.
14770 (llrint_test_data): Likewise.
14771 (llrint_tonearest_test_data): Likewise.
14772 (llrint_towardzero_test_data): Likewise.
14773 (llrint_downward_test_data): Likewise.
14774 (llrint_upward_test_data): Likewise.
14775 (lround_test_data): Likewise.
14776 (llround_test_data): Likewise.
14778 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14779 (ERRNO_UNCHANGED): Update value.
14780 (ERRNO_EDOM): Likewise.
14781 (ERRNO_ERANGE): Likewise.
14782 (NO_TEST_INLINE_FLOAT): New macro.
14783 (NO_TEST_INLINE_DOUBLE): Likewise.
14784 (enable_test): New function.
14785 (RUN_TEST_f_f): Check enable_test before running test.
14786 (RUN_TEST_2_f): Likewise.
14787 (RUN_TEST_fff_f): Likewise.
14788 (RUN_TEST_c_f): Likewise.
14789 (RUN_TEST_f_f1): Likewise.
14790 (RUN_TEST_fF_f1): Likewise.
14791 (RUN_TEST_fI_f1): Likewise.
14792 (RUN_TEST_ffI_f1): Likewise.
14793 (RUN_TEST_c_c): Likewise.
14794 (RUN_TEST_cc_c): Likewise.
14795 (RUN_TEST_f_i): Likewise.
14796 (RUN_TEST_f_i_tg): Likewise.
14797 (RUN_TEST_ff_i_tg): Likewise.
14798 (RUN_TEST_f_b): Likewise.
14799 (RUN_TEST_f_b_tg): Likewise.
14800 (RUN_TEST_f_l): Likewise.
14801 (RUN_TEST_f_L): Likewise.
14802 (RUN_TEST_fFF_11): Likewise.
14803 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14805 (cosh_test_data): Likewise.
14806 (exp_test_data): Likewise.
14807 (expm1_test_data): Likewise.
14808 (hypot_test_data): Likewise.
14809 (pow_test_data): Likewise.
14810 (sinh_test_data): Likewise.
14811 (tanh_test_data): Likewise.
14812 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14815 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14816 tests with quiet NaN input and output.
14817 (acosh_test_data): Likewise.
14818 (asin_test_data): Likewise.
14819 (asinh_test_data): Likewise.
14820 (atan_test_data): Likewise.
14821 (atanh_test_data): Likewise.
14822 (atan2_test_data): Likewise.
14823 (cbrt_test_data): Likewise.
14824 (cos_test_data): Likewise.
14825 (cosh_test_data): Likewise.
14826 (erf_test_data): Likewise.
14827 (erfc_test_data): Likewise.
14828 (exp_test_data): Likewise.
14829 (exp10_test_data): Likewise.
14830 (exp2_test_data): Likewise.
14831 (expm1_test_data): Likewise.
14832 (hypot_test_data): Likewise.
14833 (j0_test_data): Likewise.
14834 (j1_test_data): Likewise.
14835 (jn_test_data): Likewise.
14836 (lgamma_test_data): Likewise.
14837 (log_test_data): Likewise.
14838 (log10_test_data): Likewise.
14839 (log1p_test_data): Likewise.
14840 (log2_test_data): Likewise.
14841 (pow_test_data): Likewise.
14842 (scalb_test_data): Likewise.
14843 (sin_test_data): Likewise.
14844 (sincos_test_data): Likewise.
14845 (sinh_test_data): Likewise.
14846 (tan_test_data): Likewise.
14847 (tanh_test_data): Likewise.
14848 (tgamma_test_data): Likewise.
14849 (y0_test_data): Likewise.
14850 (y1_test_data): Likewise.
14851 (yn_test_data): Likewise.
14854 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14855 argument being NaN and avoid computations with second argument in
14857 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14858 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14859 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14861 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14863 * locale/iso-639.def: Add Chitwani Tharu (the).
14865 2013-11-14 Andreas Schwab <schwab@suse.de>
14867 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14868 word instead of empty string.
14870 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14873 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14875 (__fe_nomask_env): Likewise.
14877 2013-11-13 Steve Ellcey <sellcey@mips.com>
14879 * benchtests/bench-timing.h: Include time.h.
14881 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14884 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14886 * sysdeps/unix/sysv/linux/configure: Regenerated.
14888 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14891 * stdlib/strtod_l.c (round_and_return): Do not consider
14892 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14893 exponent one less than half the least subnormal exponent.
14894 * stdlib/test-strtod-round-data: Add more tests.
14895 * stdlib/tst-strtod-round.c (tests): Regenerated.
14897 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14900 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14901 (__fe_mask_env): Likewise.
14902 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14903 libm_hidden_proto and add function prototype.
14904 (__fe_mask_env): Add function prototype.
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14906 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14908 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14910 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14912 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14914 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14915 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14917 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14919 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14920 of htab_find_slot().
14922 2013-11-11 David S. Miller <davem@davemloft.net>
14925 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14926 symbol in the non-vis3 case in static builds.
14927 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14928 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14929 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14930 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14932 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14935 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14938 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14940 * benchtests/Makefile: Add bench-strtod.
14941 * benchtests/bench-strtod.c: New file: strtod benchtest
14943 2013-11-11 Andreas Schwab <schwab@suse.de>
14946 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14947 terminating NUL in key length.
14949 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14951 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14952 Add artificial ODP entry for vDSO symbol for PPC64.
14953 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14954 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14956 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14959 * nss/getent.c (services_keys): Recognize services starting with digit.
14961 2013-11-06 David S. Miller <davem@davemloft.net>
14964 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14965 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14967 2013-11-06 Will Newton <will.newton@linaro.org>
14969 * manual/memory.texi (Malloc Examples): Remove register
14970 keyword from examples.
14972 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14974 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14976 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14979 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14980 depending on [__GCC_IEC_559 > 0].
14981 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14982 depending on [__GCC_IEC_559_COMPLEX > 0].
14984 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14986 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14989 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14991 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14993 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14996 * malloc/malloc (malloc_info): Do not handle first bin as
14999 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15001 * locale/iso-639.def: Add Central Nahuatl (nhn).
15003 2013-11-01 Bruno Haible <bruno@clisp.org>
15006 * manual/math.texi (BSD Random): Specify range upper bound as
15009 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15011 * locale/iso-639.def: Add Meadow Mari (mhr).
15013 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15015 [BZ #14752], [BZ #15763]
15016 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15018 * rt/tst_shm.c: Add test for escaping directory.
15020 2013-10-31 Andreas Schwab <schwab@suse.de>
15023 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15024 followed by 'x' as part of digit sequence.
15025 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15027 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15030 * configure.ac: allow GNU Make 4.0 and greater.
15031 * configure: Regenerated.
15033 2013-10-30 Will Newton <will.newton@linaro.org>
15036 * malloc/hooks.c (memalign_check): Limit alignment to the
15037 maximum representable power of two.
15038 * malloc/malloc.c (__libc_memalign): Likewise.
15039 * malloc/tst-memalign.c (do_test): Add test for very
15040 large alignment values.
15041 * malloc/tst-posix_memalign.c (do_test): Likewise.
15043 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15046 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15047 (munmap_chunk): Likewise.
15048 (mremap_chunk): Likewise.
15050 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15053 * stdlib/div.c (div): Remove obsolete code.
15054 * stdlib/ldiv.c (ldiv): Likewise.
15055 * stdlib/lldiv.c (lldiv): Likewise.
15057 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15060 * nss/nss_files/files-XXX.c (get_contents_ret): New
15062 (get_contents): New function.
15063 (internal_getent): Use it. Expand size of LINEBUFLEN.
15065 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15067 * configure.in: Moved to ...
15068 * configure.ac: ... here. Change reference to configure.in
15070 * sysdeps/arm/preconfigure.ac: ... here.
15071 configure.in to configure.ac.
15072 * sysdeps/gnu/configure.in: Moved to ...
15073 * sysdeps/gnu/configure.ac: ... here.
15074 * sysdeps/i386/configure.in: Moved to ...
15075 * sysdeps/i386/configure.ac: ... here.
15076 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15077 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15078 * sysdeps/mach/configure.in: Moved to ...
15079 * sysdeps/mach/configure.ac: ... here.
15080 * sysdeps/mach/hurd/configure.in: Moved to ...
15081 * sysdeps/mach/hurd/configure.ac: ... here.
15082 * sysdeps/powerpc/configure.in: Moved to ...
15083 * sysdeps/powerpc/configure.ac: ... here.
15084 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15085 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15086 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15087 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15088 * sysdeps/s390/s390-32/configure.in: Moved to ...
15089 * sysdeps/s390/s390-32/configure.ac: ... here.
15090 * sysdeps/s390/s390-64/configure.in: Moved to ...
15091 * sysdeps/s390/s390-64/configure.ac: ... here.
15092 * sysdeps/sh/configure.in: Moved to ...
15093 * sysdeps/sh/configure.ac: ... here.
15094 * sysdeps/sparc/configure.in: Moved to ...
15095 * sysdeps/sparc/configure.ac: ... here.
15096 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15097 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15098 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15099 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15100 * sysdeps/x86_64/configure.in: Moved to ...
15101 * sysdeps/x86_64/configure.ac: ... here.
15102 * sysdeps/x86_64/preconfigure.in: Moved to ...
15103 * sysdeps/x86_64/preconfigure.ac: ... here.
15104 * aclocal.m4: Change reference to configure.in to configure.ac.
15105 * config.h.in: Likewise.
15106 * manual/install.texi: Likewise.
15107 * manual/maint.texi: Likewise.
15108 * Makefile: Likewise.
15109 * malloc/Makefile: Likewise.
15110 * nscd/Makefile: Likewise.
15111 * Makeconfig: Change reference to configure.in and
15112 preconfigure.in to configure.ac and preconfigure.ac
15114 * INSTALL: Regenerated.
15115 * configure: Likewise.
15116 * sysdeps/gnu/configure: Likewise.
15117 * sysdeps/i386/configure: Likewise.
15118 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15119 * sysdeps/mach/configure: Likewise.
15120 * sysdeps/mach/hurd/configure: Likewise.
15121 * sysdeps/powerpc/configure: Likewise.
15122 * sysdeps/powerpc/powerpc32/configure: Likewise.
15123 * sysdeps/powerpc/powerpc64/configure: Likewise.
15124 * sysdeps/s390/s390-32/configure: Likewise.
15125 * sysdeps/s390/s390-64/configure: Likewise.
15126 * sysdeps/sh/configure: Likewise.
15127 * sysdeps/sparc/configure: Likewise.
15128 * sysdeps/unix/sysv/linux/configure: Likewise.
15129 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15130 * sysdeps/x86_64/configure: Likewise.
15131 * sysdeps/x86_64/preconfigure: Likewise.
15133 2013-10-29 Andreas Schwab <schwab@suse.de>
15135 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15137 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15139 * benchtests/pow-inputs: Add new inputs.
15141 * benchtests/exp-inputs: Add new inputs.
15143 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15144 conditional check for return value.
15145 (__cos32): Likewise.
15147 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15149 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15150 to provide a boost for large inputs with word alignment.
15151 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15152 implementation based on optimized PPC64 strcpy.
15153 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15154 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15155 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15156 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15158 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15161 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15163 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15166 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15167 * time/tst-strptime.c (day_tests): Add testcase.
15169 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15172 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15174 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15177 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15178 MAP_FAILED on error.
15180 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15183 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15184 heap for large requests.
15186 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15189 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15190 result if the result has no associated interface.
15191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15192 interface for all 127.X.Y.Z addresses.
15194 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15196 * locale/iso-639.def: Add Ligurian (lij)
15198 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15201 * sunrpc/rpc_main.c: Document rpcgen -5.
15203 2013-10-19 Michael Stahl <mstahl@redhat.com>
15205 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15207 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15210 * posix/glob.c: Match only directories when trailing slash is present.
15211 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15212 (main): Add testcase.
15214 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15217 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15219 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15221 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15222 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15223 AUTH_DES and cindex for FIPS 140-2.
15224 (DES Encryption): Add cindex FIPS 46-3.
15226 * locale/locarchive.h (struct locarhandle): Add fname.
15227 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15228 if an optional argument was specified to --list-archive,
15230 * locale/programs/locarchive.c (show_archive_content): Take new
15231 argument fname and pass it via ah.fname to open_archive.
15232 * locale/programs/localedef.h: Update decl.
15233 (open_archive): If AH->fname is non-null, open that file
15234 rather than the default file name, and don't ignore ENOENT.
15235 (create_archive): Set AH.fname to NULL.
15236 (delete_locales_from_archive): Likewise.
15237 (add_locales_to_archive): Likewise.
15238 * locale/programs/locfile.c (write_all_categories): Likewise.
15240 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15241 Aldy Hernandez <aldyh@redhat.com>
15243 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15244 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15245 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15246 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15247 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15248 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15249 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15250 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15251 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15252 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15253 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15254 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15255 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15256 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15257 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15259 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15261 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15263 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15265 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15266 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15268 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15269 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15270 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15271 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15273 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15274 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15275 * sysdeps/powerpc/preconfigure: Likewise.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15278 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15279 Replace contents of file by #include of <fenv_libc.h>.
15280 * sysdeps/powerpc/soft-fp/sfp-machine.h
15281 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15283 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15284 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15285 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15287 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15291 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15293 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15294 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15296 Allow copysignl PLT reference to be missing.
15298 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15299 Joseph Myers <joseph@codesourcery.com
15302 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15304 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15306 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15308 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15309 * elf/tst-tls1.c: Likewise.
15310 * elf/tst-tls10.h: Likewise.
15311 * elf/tst-tls14.c: Likewise.
15312 * elf/tst-tls2.c: Likewise.
15313 * elf/tst-tls3.c: Likewise.
15314 * elf/tst-tls4.c: Likewise.
15315 * elf/tst-tls5.c: Likewise.
15316 * elf/tst-tls6.c: Likewise.
15317 * elf/tst-tls7.c: Likewise.
15318 * elf/tst-tls8.c: Likewise.
15319 * elf/tst-tls9.c: Likewise.
15320 * elf/tst-tlsmod1.c: Likewise.
15321 * elf/tst-tlsmod13.c: Likewise.
15322 * elf/tst-tlsmod13a.c: Likewise.
15323 * elf/tst-tlsmod14a.c: Likewise.
15324 * elf/tst-tlsmod16a.c: Likewise.
15325 * elf/tst-tlsmod16b.c: Likewise.
15326 * elf/tst-tlsmod2.c: Likewise.
15327 * elf/tst-tlsmod3.c: Likewise.
15328 * elf/tst-tlsmod4.c: Likewise.
15329 * elf/tst-tlsmod5.c: Likewise.
15330 * elf/tst-tlsmod6.c: Likewise.
15332 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15335 * malloc/malloc.c: remove checks for statistics.
15337 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15340 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15341 * inet/tst-network.c: Add testcase.
15343 2013-10-17 Andreas Schwab <schwab@suse.de>
15346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15347 to determine canonical name.
15349 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15351 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15352 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15375 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15376 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15381 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15410 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15413 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15414 make result into a quiet NaN.
15416 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15418 * soft-fp/adddf3.c: Fix horizontal whitespace.
15419 * soft-fp/addsf3.c: Likewise.
15420 * soft-fp/addtf3.c: Likewise.
15421 * soft-fp/divdf3.c: Likewise.
15422 * soft-fp/divsf3.c: Likewise.
15423 * soft-fp/divtf3.c: Likewise.
15424 * soft-fp/double.h: Likewise.
15425 * soft-fp/eqdf2.c: Likewise.
15426 * soft-fp/eqsf2.c: Likewise.
15427 * soft-fp/eqtf2.c: Likewise.
15428 * soft-fp/extenddftf2.c: Likewise.
15429 * soft-fp/extended.h: Likewise.
15430 * soft-fp/extendsfdf2.c: Likewise.
15431 * soft-fp/extendsftf2.c: Likewise.
15432 * soft-fp/extendxftf2.c: Likewise.
15433 * soft-fp/fixdfdi.c: Likewise.
15434 * soft-fp/fixdfsi.c: Likewise.
15435 * soft-fp/fixdfti.c: Likewise.
15436 * soft-fp/fixsfdi.c: Likewise.
15437 * soft-fp/fixsfsi.c: Likewise.
15438 * soft-fp/fixsfti.c: Likewise.
15439 * soft-fp/fixtfdi.c: Likewise.
15440 * soft-fp/fixtfsi.c: Likewise.
15441 * soft-fp/fixtfti.c: Likewise.
15442 * soft-fp/fixunsdfdi.c: Likewise.
15443 * soft-fp/fixunsdfsi.c: Likewise.
15444 * soft-fp/fixunsdfti.c: Likewise.
15445 * soft-fp/fixunssfdi.c: Likewise.
15446 * soft-fp/fixunssfsi.c: Likewise.
15447 * soft-fp/fixunssfti.c: Likewise.
15448 * soft-fp/fixunstfdi.c: Likewise.
15449 * soft-fp/fixunstfsi.c: Likewise.
15450 * soft-fp/fixunstfti.c: Likewise.
15451 * soft-fp/floatdidf.c: Likewise.
15452 * soft-fp/floatdisf.c: Likewise.
15453 * soft-fp/floatditf.c: Likewise.
15454 * soft-fp/floatsidf.c: Likewise.
15455 * soft-fp/floatsisf.c: Likewise.
15456 * soft-fp/floatsitf.c: Likewise.
15457 * soft-fp/floattidf.c: Likewise.
15458 * soft-fp/floattisf.c: Likewise.
15459 * soft-fp/floattitf.c: Likewise.
15460 * soft-fp/floatundidf.c: Likewise.
15461 * soft-fp/floatundisf.c: Likewise.
15462 * soft-fp/floatunditf.c: Likewise.
15463 * soft-fp/floatunsidf.c: Likewise.
15464 * soft-fp/floatunsisf.c: Likewise.
15465 * soft-fp/floatunsitf.c: Likewise.
15466 * soft-fp/floatuntidf.c: Likewise.
15467 * soft-fp/floatuntisf.c: Likewise.
15468 * soft-fp/floatuntitf.c: Likewise.
15469 * soft-fp/fmadf4.c: Likewise.
15470 * soft-fp/fmasf4.c: Likewise.
15471 * soft-fp/fmatf4.c: Likewise.
15472 * soft-fp/gedf2.c: Likewise.
15473 * soft-fp/gesf2.c: Likewise.
15474 * soft-fp/getf2.c: Likewise.
15475 * soft-fp/ledf2.c: Likewise.
15476 * soft-fp/lesf2.c: Likewise.
15477 * soft-fp/letf2.c: Likewise.
15478 * soft-fp/muldf3.c: Likewise.
15479 * soft-fp/mulsf3.c: Likewise.
15480 * soft-fp/multf3.c: Likewise.
15481 * soft-fp/negdf2.c: Likewise.
15482 * soft-fp/negsf2.c: Likewise.
15483 * soft-fp/negtf2.c: Likewise.
15484 * soft-fp/op-1.h: Likewise.
15485 * soft-fp/op-2.h: Likewise.
15486 * soft-fp/op-4.h: Likewise.
15487 * soft-fp/op-8.h: Likewise.
15488 * soft-fp/op-common.h: Likewise.
15489 * soft-fp/quad.h: Likewise.
15490 * soft-fp/single.h: Likewise.
15491 * soft-fp/soft-fp.h: Likewise.
15492 * soft-fp/sqrtdf2.c: Likewise.
15493 * soft-fp/sqrtsf2.c: Likewise.
15494 * soft-fp/sqrttf2.c: Likewise.
15495 * soft-fp/subdf3.c: Likewise.
15496 * soft-fp/subsf3.c: Likewise.
15497 * soft-fp/subtf3.c: Likewise.
15498 * soft-fp/truncdfsf2.c: Likewise.
15499 * soft-fp/trunctfdf2.c: Likewise.
15500 * soft-fp/trunctfsf2.c: Likewise.
15501 * soft-fp/trunctfxf2.c: Likewise.
15502 * soft-fp/unorddf2.c: Likewise.
15503 * soft-fp/unordsf2.c: Likewise.
15504 * soft-fp/unordtf2.c: Likewise.
15506 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15508 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15509 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15511 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15513 * elf/dl-libc.c: Clear initfini list after freeing.
15515 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15517 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15518 * soft-fp/addsf3.c: Likewise.
15519 * soft-fp/addtf3.c: Likewise.
15520 * soft-fp/divdf3.c: Likewise.
15521 * soft-fp/divsf3.c: Likewise.
15522 * soft-fp/divtf3.c: Likewise.
15523 * soft-fp/double.h: Likewise.
15524 * soft-fp/eqdf2.c: Likewise.
15525 * soft-fp/eqsf2.c: Likewise.
15526 * soft-fp/eqtf2.c: Likewise.
15527 * soft-fp/extenddftf2.c: Likewise.
15528 * soft-fp/extended.h: Likewise.
15529 * soft-fp/extendsfdf2.c: Likewise.
15530 * soft-fp/extendsftf2.c: Likewise.
15531 * soft-fp/extendxftf2.c: Likewise.
15532 * soft-fp/fixdfdi.c: Likewise.
15533 * soft-fp/fixdfsi.c: Likewise.
15534 * soft-fp/fixdfti.c: Likewise.
15535 * soft-fp/fixsfdi.c: Likewise.
15536 * soft-fp/fixsfsi.c: Likewise.
15537 * soft-fp/fixsfti.c: Likewise.
15538 * soft-fp/fixtfdi.c: Likewise.
15539 * soft-fp/fixtfsi.c: Likewise.
15540 * soft-fp/fixtfti.c: Likewise.
15541 * soft-fp/fixunsdfdi.c: Likewise.
15542 * soft-fp/fixunsdfsi.c: Likewise.
15543 * soft-fp/fixunsdfti.c: Likewise.
15544 * soft-fp/fixunssfdi.c: Likewise.
15545 * soft-fp/fixunssfsi.c: Likewise.
15546 * soft-fp/fixunssfti.c: Likewise.
15547 * soft-fp/fixunstfdi.c: Likewise.
15548 * soft-fp/fixunstfsi.c: Likewise.
15549 * soft-fp/fixunstfti.c: Likewise.
15550 * soft-fp/floatdidf.c: Likewise.
15551 * soft-fp/floatdisf.c: Likewise.
15552 * soft-fp/floatditf.c: Likewise.
15553 * soft-fp/floatsidf.c: Likewise.
15554 * soft-fp/floatsisf.c: Likewise.
15555 * soft-fp/floatsitf.c: Likewise.
15556 * soft-fp/floattidf.c: Likewise.
15557 * soft-fp/floattisf.c: Likewise.
15558 * soft-fp/floattitf.c: Likewise.
15559 * soft-fp/floatundidf.c: Likewise.
15560 * soft-fp/floatundisf.c: Likewise.
15561 * soft-fp/floatunsidf.c: Likewise.
15562 * soft-fp/floatunsisf.c: Likewise.
15563 * soft-fp/floatuntidf.c: Likewise.
15564 * soft-fp/floatuntisf.c: Likewise.
15565 * soft-fp/floatuntitf.c: Likewise.
15566 * soft-fp/fmadf4.c: Likewise.
15567 * soft-fp/fmasf4.c: Likewise.
15568 * soft-fp/fmatf4.c: Likewise.
15569 * soft-fp/gedf2.c: Likewise.
15570 * soft-fp/gesf2.c: Likewise.
15571 * soft-fp/getf2.c: Likewise.
15572 * soft-fp/ledf2.c: Likewise.
15573 * soft-fp/lesf2.c: Likewise.
15574 * soft-fp/letf2.c: Likewise.
15575 * soft-fp/muldf3.c: Likewise.
15576 * soft-fp/mulsf3.c: Likewise.
15577 * soft-fp/multf3.c: Likewise.
15578 * soft-fp/negdf2.c: Likewise.
15579 * soft-fp/negsf2.c: Likewise.
15580 * soft-fp/negtf2.c: Likewise.
15581 * soft-fp/op-1.h: Likewise.
15582 * soft-fp/op-2.h: Likewise.
15583 * soft-fp/op-4.h: Likewise.
15584 * soft-fp/op-8.h: Likewise.
15585 * soft-fp/op-common.h: Likewise.
15586 * soft-fp/quad.h: Likewise.
15587 * soft-fp/single.h: Likewise.
15588 * soft-fp/soft-fp.h: Likewise.
15589 * soft-fp/sqrtdf2.c: Likewise.
15590 * soft-fp/sqrtsf2.c: Likewise.
15591 * soft-fp/sqrttf2.c: Likewise.
15592 * soft-fp/subdf3.c: Likewise.
15593 * soft-fp/subsf3.c: Likewise.
15594 * soft-fp/subtf3.c: Likewise.
15595 * soft-fp/truncdfsf2.c: Likewise.
15596 * soft-fp/trunctfdf2.c: Likewise.
15597 * soft-fp/trunctfsf2.c: Likewise.
15598 * soft-fp/trunctfxf2.c: Likewise.
15599 * soft-fp/unorddf2.c: Likewise.
15600 * soft-fp/unordsf2.c: Likewise.
15601 * soft-fp/unordtf2.c: Likewise.
15603 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15606 * misc/error.c (error_tail): Fix possible buffer overflow.
15608 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15611 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15614 2013-10-14 P. J. McDermott <pj@pehjota.net>
15617 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15618 testing pipefail option.
15620 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15622 * soft-fp/double.h: Indent preprocessor directives inside #if.
15623 * soft-fp/extended.h: Likewise.
15624 * soft-fp/op-2.h: Likewise.
15625 * soft-fp/op-4.h: Likewise.
15626 * soft-fp/op-common.h: Likewise.
15627 * soft-fp/quad.h: Likewise.
15628 * soft-fp/single.h: Likewise.
15629 * soft-fp/soft-fp.h: Likewise.
15631 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15633 * iconv/iconv_prog.c: Fix typos.
15634 * stdio-common/psiginfo-data.h: Likewise.
15636 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15639 * locale/setlocale.c: Fix typo.
15641 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15644 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15645 signaling NaN arguments.
15646 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15647 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15650 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15651 unordered operands.
15652 * soft-fp/gesf2.c (__gesf2): Likewise.
15653 * soft-fp/getf2.c (__getf2): Likewise.
15654 * soft-fp/ledf2.c (__ledf2): Likewise.
15655 * soft-fp/lesf2.c (__lesf2): Likewise.
15656 * soft-fp/letf2.c (__letf2): Likewise.
15658 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15659 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15660 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15661 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15662 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15663 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15664 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15665 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15666 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15667 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15668 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15669 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15670 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15671 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15672 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15673 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15674 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15675 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15676 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15677 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15678 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15679 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15680 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15681 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15682 * soft-fp/floattidf.c (__floattidf): Likewise.
15683 * soft-fp/floattisf.c (__floattisf): Likewise.
15684 * soft-fp/floattitf.c (__floattitf): Likewise.
15685 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15686 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15687 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15688 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15689 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15690 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15691 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15692 * soft-fp/gesf2.c (__gesf2): Likewise.
15693 * soft-fp/getf2.c (__getf2): Likewise.
15694 * soft-fp/ledf2.c (__ledf2): Likewise.
15695 * soft-fp/lesf2.c (__lesf2): Likewise.
15696 * soft-fp/letf2.c (__letf2): Likewise.
15698 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15699 Undefine and redefine.
15700 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15701 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15702 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15703 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15704 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15705 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15706 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15707 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15708 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15709 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15710 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15711 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15712 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15713 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15714 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15717 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15718 without decrementing exponent if mantissa >= that for the
15719 denominator, not >.
15720 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15721 denominator, not >. Decrement exponent in < case instead of
15722 incrementing in >= case.
15723 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15724 without decrementing exponent if mantissa >= that for the
15725 denominator, not >.
15727 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15728 computing saturated result for unsigned overflow.
15730 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15731 Jeff Law <law@redhat.com>
15733 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15734 (atan2Mp): Add systemtap probe marker.
15735 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15736 (__ieee754_log): Add systemtap probe marker.
15737 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15738 (atanMp): Add systemtap probe marker.
15739 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15740 (tanMp): Add systemtap probe marker.
15741 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15742 (__slowexp): Add systemtap probe marker.
15743 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15744 (__slowpow): Add systemtap probe marker.
15745 * manual/probes.texi: Document probes.
15747 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15750 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15752 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15754 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15755 written to buffer but not flushed.
15756 * libio/iofwrite_u.c: Likewise.
15757 * libio/iopadn.c: Return bytes returned even if EOF was
15759 * libio/iowpadn.c: Likewise.
15760 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15761 if _IO_padn does not write the whole buffer.
15762 [!COMPILE_WPRINTF] (PAD): Likewise.
15764 2013-10-10 David S. Miller <davem@davemloft.net>
15766 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15769 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15771 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15772 instead of FSF address.
15773 * soft-fp/fixdfti.c: Likewise.
15774 * soft-fp/fixsfti.c: Likewise.
15775 * soft-fp/fixtfti.c: Likewise.
15776 * soft-fp/fixunsdfti.c: Likewise.
15777 * soft-fp/fixunssfti.c: Likewise.
15778 * soft-fp/fixunstfti.c: Likewise.
15779 * soft-fp/floattidf.c: Likewise.
15780 * soft-fp/floattisf.c: Likewise.
15781 * soft-fp/floattitf.c: Likewise.
15782 * soft-fp/floatuntidf.c: Likewise.
15783 * soft-fp/floatuntisf.c: Likewise.
15784 * soft-fp/floatuntitf.c: Likewise.
15785 * soft-fp/trunctfxf2.c: Likewise.
15787 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15788 * soft-fp/fixdfti.c: Likewise.
15789 * soft-fp/fixsfti.c: Likewise.
15790 * soft-fp/fixtfti.c: Likewise.
15791 * soft-fp/fixunsdfti.c: Likewise.
15792 * soft-fp/fixunssfti.c: Likewise.
15793 * soft-fp/fixunstfti.c: Likewise.
15794 * soft-fp/floattidf.c: Likewise.
15795 * soft-fp/floattisf.c: Likewise.
15796 * soft-fp/floattitf.c: Likewise.
15797 * soft-fp/floatuntidf.c: Likewise.
15798 * soft-fp/floatuntisf.c: Likewise.
15799 * soft-fp/floatuntitf.c: Likewise.
15800 * soft-fp/trunctfxf2.c: Likewise.
15802 2013-10-10 David S. Miller <davem@davemloft.net>
15804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15806 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15808 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15809 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15810 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15811 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15812 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15813 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15814 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15817 for NaNs before doing comparisons on argument.
15818 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15821 2013-10-10 Will Newton <will.newton@linaro.org>
15823 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15824 passed to _int_memalign does not overflow.
15826 2013-10-10 Torvald Riegel <triegel@redhat.com>
15828 * scripts/bench.pl: Add include-sources directive.
15829 * benchtests/README: Update documentation.
15831 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15833 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15834 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15835 instead of FP_INIT_ROUNDMODE.
15836 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15837 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15840 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15841 copy class of input value.
15842 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15843 not handle exceptions.
15844 * soft-fp/negsf2.c (__negsf2): Likewise.
15845 * soft-fp/negtf2.c (__negtf2): Likewise.
15846 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15848 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15850 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15851 semicolon. From Linux kernel.
15853 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15855 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15857 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15860 * manual/socket.texi: Added statement about buffer
15861 for gethostbyname2_r.
15863 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15865 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15866 Use .p2align directive instead, throughout.
15867 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15868 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15869 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15870 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15872 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15873 * sysdeps/x86_64/strchr.S: Likewise.
15874 * sysdeps/x86_64/strrchr.S: Likewise.
15876 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15878 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15880 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15882 * sysdeps/generic/math_private.h (__mpsin1): Remove
15884 (__mpcos1): Likewise.
15885 (__mpsin): New argument __range_reduce.
15886 (__mpcos): Likewise.
15887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15888 (slow): Use __mpsin and __mpcos.
15892 (sloww1): Likewise.
15893 (sloww2): Likewise.
15894 (bsloww): Likewise.
15895 (bsloww1): Likewise.
15896 (bsloww2): Likewise.
15897 (cslow2): Likewise.
15898 (csloww): Likewise.
15899 (csloww1): Likewise.
15900 (csloww2): Likewise.
15901 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15902 range_reduce. Merge in __mpsin1.
15903 (__mpcos): Likewise.
15904 (__mpsin1): Remove.
15905 (__mpcos1): Likewise.
15907 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15909 * locale/loadlocale.c (_nl_intern_locale_data): Use
15911 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15912 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15913 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15914 obstack data is appropriately aligned.
15915 (obstack_int32_grow_fast): Likewise.
15916 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15917 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15918 (add_locale_uint32_array): Likewise.
15920 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15922 * benchtests/Makefile: Remove ARGLIST and RET variables.
15923 ($(objpfx)bench-%.c): Pass only function name to the script.
15924 * benchtests/README: Update documentation.
15925 * benchtests/acos-inputs: Add new directives.
15926 * benchtests/acosh-inputs: Likewise.
15927 * benchtests/asin-inputs: Likewise.
15928 * benchtests/asinh-inputs: Likewise.
15929 * benchtests/atan-inputs: Likewise.
15930 * benchtests/atanh-inputs: Likewise.
15931 * benchtests/cos-inputs: Likewise.
15932 * benchtests/cosh-inputs: Likewise.
15933 * benchtests/exp-inputs: Likewise.
15934 * benchtests/log-inputs: Likewise.
15935 * benchtests/pow-inputs: Likewise.
15936 * benchtests/rint-inputs: Likewise.
15937 * benchtests/sin-inputs: Likewise.
15938 * benchtests/sinh-inputs: Likewise.
15939 * benchtests/tan-inputs: Likewise.
15940 * benchtests/tanh-inputs: Likewise.
15941 * scripts/bench.pl: Add support for new directives.
15943 2013-10-07 Alan Modra <amodra@gmail.com>
15945 * README: Fix careless merge.
15947 2013-10-05 Alan Modra <amodra@gmail.com>
15949 * NEWS: Mention powerpc64le support and bugs fixed.
15950 * README: Both big-endian and little-endian powerpc64 supported.
15952 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15954 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15955 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15956 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15957 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15959 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15961 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15964 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15966 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15967 Move -mhard-float appending from
15968 ports/sysdeps/powerpc/powerpc32/Makefile.
15969 [$(with-fp) = yes] (ASFLAGS): Likewise.
15970 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15971 * sysdeps/powerpc/nofpu: Move directory from
15972 ports/sysdeps/powerpc/nofpu.
15973 * sysdeps/powerpc/soft-fp: Move directory from
15974 ports/sysdeps/powerpc/soft-fp.
15975 * sysdeps/powerpc/powerpc32/405: Move directory from
15976 ports/sysdeps/powerpc/powerpc32/405.
15977 * sysdeps/powerpc/powerpc32/440: Move directory from
15978 ports/sysdeps/powerpc/powerpc32/440.
15979 * sysdeps/powerpc/powerpc32/464: Move directory from
15980 ports/sysdeps/powerpc/powerpc32/464.
15981 * sysdeps/powerpc/powerpc32/476: Move directory from
15982 ports/sysdeps/powerpc/powerpc32/476.
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15984 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15986 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15988 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15990 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15992 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15993 * README: Update for powerpc-*-linux-gnu software floating point
15996 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15997 case to powerpc/powerpc32*.
15998 * sysdeps/unix/sysv/linux/configure: Regenerated.
16000 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16001 (_FPU_MASK_OM): Define as 0x04.
16002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16010 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16013 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16016 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16017 and setcontext_e500.
16019 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16021 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16023 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16025 * manual/threads.texi (Default Thread Attributes): Fix typo.
16027 2013-10-04 Will Newton <will.newton@linaro.org>
16029 * malloc/Makefile: Add tst-memalign.
16030 * malloc/tst-memalign.c: New file.
16032 * malloc/tst-posix_memalign.c: Add comments.
16033 (do_test): Add comments and call free on all potentially
16034 allocated pointers. Add space after cast.
16036 * malloc/tst-pvalloc.c: Add comments.
16037 (do_test): Add comments and call free on all potentially
16038 allocated pointers. Remove duplicate check for NULL pointer.
16039 Add space after cast.
16041 * malloc/tst-valloc.c: Add comments.
16042 (do_test): Add comments and call free on all potentially
16043 allocated pointers. Remove duplicate check for NULL pointer.
16044 Add space after cast.
16046 2013-10-04 Alan Modra <amodra@gmail.com>
16048 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16049 Use stdint types in rather than __attribute__((mode())).
16050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16052 2013-10-04 Alan Modra <amodra@gmail.com>
16054 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16055 Correct handling of unaligned relocs for little-endian.
16056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16058 2013-10-04 Alan Modra <amodra@gmail.com>
16060 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16061 * configure: Regenerate.
16062 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16063 * shlib-versions: Likewise.
16065 2013-10-04 Alan Modra <amodra@gmail.com>
16067 * string/tester.c (test_memrchr): Increment reported test cycle.
16069 2013-10-04 Alan Modra <amodra@gmail.com>
16071 * string/test-memcpy.c (do_one_test): When reporting errors, print
16072 string address and don't overrun end of string.
16074 2013-10-04 Alan Modra <amodra@gmail.com>
16076 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16077 insrdi. Make better use of reg selection to speed exit slightly.
16078 Schedule entry path a little better. Remove useless "are we done"
16079 checks on entry to main loop. Handle wrapping around zero address.
16080 Correct main loop count. Handle single left-over word from main
16081 loop inline rather than by using loop_small. Remove extra word
16082 case in loop_small caused by wrong loop count. Add little-endian
16084 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16085 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16087 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16088 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16089 support. Avoid rlwimi.
16090 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16092 2013-10-04 Alan Modra <amodra@gmail.com>
16094 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16095 insrdi. Formatting.
16096 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16097 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16098 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16099 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16100 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16101 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16103 2013-10-04 Alan Modra <amodra@gmail.com>
16105 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16106 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16107 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16109 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16110 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16111 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16112 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16113 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16114 use of regs. Use power7 mtocrf. Tidy function tails.
16116 2013-10-04 Alan Modra <amodra@gmail.com>
16118 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16119 Formatting. Consistently use rXXX register defines or rN defines.
16120 Use early exit labels that avoid restoring unused non-volatile regs.
16121 Make cr field use more consistent with rWORDn compares. Rename
16122 regs used as shift registers for unaligned loop, using rN defines
16123 for short lifetime/multiple use regs.
16124 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16125 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16126 addi 1,1,64 to pop stack frame. Simplify return value code.
16127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16129 2013-10-04 Alan Modra <amodra@gmail.com>
16131 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16132 support. Correct typos, formatting. Optimize tail. Use insrdi
16133 rather than rlwimi.
16134 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16135 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16136 little-endian support. Correct typos.
16137 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16138 rather than rlwimi.
16139 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16140 in loop and entry code to keep "and." results.
16141 (strchr): Add little-endian support. Comment. Move cntlzd
16143 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16145 2013-10-04 Alan Modra <amodra@gmail.com>
16147 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16148 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16149 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16150 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16152 2013-10-04 Alan Modra <amodra@gmail.com>
16154 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16155 (rTMP): Define as r11.
16156 (strcmp): Add little-endian support. Optimise tail.
16157 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16158 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16159 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16160 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16161 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16162 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16165 2013-10-04 Alan Modra <amodra@gmail.com>
16167 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16168 little-endian support. Remove unnecessary "are we done" tests.
16169 Handle "s" wrapping around zero and extremely large "size".
16170 Correct main loop count. Handle single left-over word from main
16171 loop inline rather than by using small_loop. Correct comments.
16172 Delete "zero" tail, use "end_max" instead.
16173 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16175 2013-10-04 Alan Modra <amodra@gmail.com>
16177 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16178 support. Don't branch over align.
16179 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16180 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16181 support. Rearrange tmp reg use to suit. Comment.
16182 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16184 2013-10-04 Alan Modra <amodra@gmail.com>
16186 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16188 2013-10-04 Alan Modra <amodra@gmail.com>
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16191 conditional form of branch and link when obtaining pc.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16194 2013-10-04 Alan Modra <amodra@gmail.com>
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16201 2013-10-04 Alan Modra <amodra@gmail.com>
16203 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16204 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16205 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16206 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16207 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16208 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16209 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16210 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16211 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16212 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16214 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16215 Alistair Popple <alistair@ozlabs.au.ibm.com>
16216 Alan Modra <amodra@gmail.com>
16219 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16220 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16221 _dl_hwcap access for little-endian.
16222 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16223 destroy vmx regs when saving unaligned.
16224 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16225 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16226 destroy vmx regs when saving unaligned.
16228 2013-10-04 Alan Modra <amodra@gmail.com>
16230 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16231 Don't use a union to pack hi/low value.
16233 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16235 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16237 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16239 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16240 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16241 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16243 2013-10-04 Alan Modra <amodra@gmail.com>
16245 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16246 constants to usual value for .cst8 section, and remove redundant
16248 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16249 constant for 0x1p52. Load little-endian words of double from
16250 correct stack offsets.
16252 2013-10-04 Alan Modra <amodra@gmail.com>
16254 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16255 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16256 words of double from correct stack offsets.
16257 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16258 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16259 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16260 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16261 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16262 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16263 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16264 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16265 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16267 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16268 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16269 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16270 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16271 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16272 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16273 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16275 2013-10-04 Alan Modra <amodra@gmail.com>
16277 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16278 64-bit int/double union.
16279 (_FPU_SETCW): Likewise.
16280 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16281 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16283 2013-10-04 Alan Modra <amodra@gmail.com>
16285 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16286 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16288 2013-10-04 Alan Modra <amodra@gmail.com>
16290 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16291 use vector int constants.
16292 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16294 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16296 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16297 array with long long.
16298 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16299 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16300 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16301 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16302 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16303 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16304 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16305 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16306 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16307 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16308 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16309 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16310 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16312 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16314 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16315 (__signbit): Likewise. Correct for little-endian.
16316 (__signbitl): Call __signbit.
16317 (lrint): Correct for little-endian.
16318 (lrintf): Call lrint.
16320 2013-10-04 Alan Modra <amodra@gmail.com>
16322 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16323 union 32-bit int array member with 64-bit int array.
16324 (t515, tm256): Double rather than long double.
16325 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16327 2013-10-04 Alan Modra <amodra@gmail.com>
16329 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16331 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16333 version of math_ldbl.h.
16335 2013-10-04 Alan Modra <amodra@gmail.com>
16337 [BZ #15734], [BZ #15735]
16338 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16339 all uses of ieee875 long double macros and unions. Simplify test
16340 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16341 ldbl_extract_mantissa value for ix,iy exponents. Properly
16342 normalize after ldbl_extract_mantissa, and don't add hidden bit
16343 already handled. Don't treat low word of ieee854 mantissa like
16344 low word of IBM long double and mask off bit when testing for
16346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16347 all uses of ieee875 long double macros and unions. Simplify tests
16348 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16349 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16350 two1022, instead use their values. Recognise that tests for large
16351 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16352 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16353 Rewrite all uses of ieee875 long double macros and unions. Simplify
16354 test for 0.0L and nan. Correct negation.
16355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16356 ieee875 long double macros and unions. Correct output for large
16357 magnitude x. Correct absolute value calculation.
16358 (__erfcl): Likewise.
16359 * math/libm-test.inc: Add tests for errors discovered in IBM long
16360 double versions of fmodl, remainderl, erfl and erfcl.
16362 2013-10-04 Alan Modra <amodra@gmail.com>
16364 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16365 all uses of ieee854 long double macros and unions. Simplify tests
16366 for long doubles that are fully specified by the high double.
16367 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16369 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16370 Remove dead code too.
16371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16372 (__ieee754_ynl): Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16376 Remove dead code too.
16377 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16378 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16379 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16380 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16382 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16384 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16385 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16386 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16387 Comment on variable precision.
16388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16391 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16392 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16393 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16394 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16395 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16397 2013-10-04 Alan Modra <amodra@gmail.com>
16399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16400 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16401 all uses of ieee854 long double macros and unions.
16402 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16404 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16405 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16406 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16407 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16409 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16410 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16411 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16415 Simplify sign and nan test too.
16416 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16417 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16419 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16421 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16422 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16424 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16427 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16428 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16431 2013-10-04 Alan Modra <amodra@gmail.com>
16433 * stdio-common/printf_size.c (__printf_size): Don't use
16434 union ieee854_long_double in fpnum union.
16435 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16436 signbit macro to retrieve sign from long double.
16437 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16438 retrieve sign from long double.
16439 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16440 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16441 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16442 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16443 * math/test-misc.c (main): Don't use union ieee854_long_double.
16445 2013-10-04 Alan Modra <amodra@gmail.com>
16448 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16449 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16450 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16451 calculation. Remove unnecessary test for denormal exponent.
16452 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16453 Correct handling of denormals. Avoid undefined shift behaviour.
16454 Correct normalisation of low mantissa when low double is denormal.
16455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16456 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16457 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16458 Correct normalisation of low mantissa. Test for overflow of high
16459 mantissa and normalise.
16460 (ldbl_nearbyint): Use more readable constant for two52.
16461 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16462 (__mpn_construct_long_double): Fix test for overflow of high
16463 mantissa and correct normalisation. Avoid undefined shift.
16465 2013-10-04 Alan Modra <amodra@gmail.com>
16467 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16468 (union ibm_extended_long_double): Define as an array of ieee754_double.
16469 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16470 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16471 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16472 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16473 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16474 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16475 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16476 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16477 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16478 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16479 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16481 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16483 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16484 page size instead of calling getpagesize.
16486 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16487 (LOCFILE_ALIGN_MASK): Likewise.
16488 (LOCFILE_ALIGN_UP): Likewise.
16489 (LOCFILE_ALIGNED_P): Likewise.
16490 * locale/programs/ld-collate.c (collate_output): Use the new
16491 macros instead of __alignof__ (int32_t).
16492 * locale/weight.h (findidx): Likewise.
16494 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16497 * manual/string.texi: Fix strncat and wcsncat.
16499 2013-10-03 Brooks Moses <bmoses@google.com>
16502 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16503 * Makerules: ...here, and adjust associated comments.
16505 2013-10-02 Will Newton <will.newton@linaro.org>
16507 * malloc/Makefile: Add tst-pvalloc.
16508 * malloc/tst-pvalloc.c: New file.
16510 2013-10-02 Will Newton <will.newton@linaro.org>
16512 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16513 improve test coverage.
16515 2013-10-02 Will Newton <will.newton@linaro.org>
16517 * malloc/Makefile: Add tst-posix_memalign.
16518 * malloc/tst-posix_memalign.c: New file.
16520 2013-10-01 Eric Blake <eblake@redhat.com>
16522 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16523 Use __THROWNL rather than __THROW on static functions.
16525 2013-09-30 Petr Machata <pmachata@redhat.com>
16527 * elf/elf.h (R_AARCH64_ABS16): New macro.
16528 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16529 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16530 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16531 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16532 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16533 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16534 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16535 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16536 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16537 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16538 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16539 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16540 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16541 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16542 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16543 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16544 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16545 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16546 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16547 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16548 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16549 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16550 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16551 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16552 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16553 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16554 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16555 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16556 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16557 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16558 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16559 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16560 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16561 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16562 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16563 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16564 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16565 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16566 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16567 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16568 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16569 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16570 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16571 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16572 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16573 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16574 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16575 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16576 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16577 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16578 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16579 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16580 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16581 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16582 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16583 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16584 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16585 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16586 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16587 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16588 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16589 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16590 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16591 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16592 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16593 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16594 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16595 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16596 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16597 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16598 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16599 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16600 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16601 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16602 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16603 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16604 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16605 (R_AARCH64_TLSDESC_LDR): Likewise.
16606 (R_AARCH64_TLSDESC_ADD): Likewise.
16607 (R_AARCH64_TLSDESC_CALL): Likewise.
16609 2013-09-30 Andreas Schwab <schwab@suse.de>
16612 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16613 the nss database lookup.
16614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16617 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16619 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16621 2013-09-28 P. J. McDermott <pj@pehjota.net>
16623 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16624 ${Bash-specific parameter/pattern/string} parameter expansion.
16625 * sysdeps/unix/make-syscalls.sh: Likewise.
16627 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16629 * sysdeps/sh/stackguard-macros.h: New file.
16631 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16635 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16636 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16638 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16640 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16642 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16643 Fix thread ID register.
16645 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16647 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16648 [POSIX || UNIX98]: Require rather than permitting all symbols from
16650 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16651 element of struct sched_param.
16652 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16653 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16654 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16655 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16658 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16660 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16661 argument calculation.
16663 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16665 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16667 [POSIX] (pthread_attr_t): Do not require type.
16668 [POSIX] (pthread_cond_t): Likewise.
16669 [POSIX] (pthread_condattr_t): Likewise.
16670 [POSIX] (pthread_key_t): Likewise.
16671 [POSIX] (pthread_mutex_t): Likewise.
16672 [POSIX] (pthread_mutexattr_t): Likewise.
16673 [POSIX] (pthread_once_t): Likewise.
16674 [POSIX] (pthread_t): Likewise.
16675 [POSIX-based standards] (pthread_atfork): Expect function.
16677 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16678 Richard Sandiford <richard@codesourcery.com>
16680 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16681 (swap_endianness_p): New extern variable.
16682 (set_big_endian): New inline function.
16683 (maybe_swap_uint32): Likewise.
16684 (maybe_swap_uint32_array): Likewise.
16685 (maybe_swap_uint32_obstack): Likewise.
16686 * locale/programs/locfile.c: Include <stdbool.h>.
16687 (swap_endianness_p): New variable.
16688 (add_locale_uint32): Call maybe_swap_uint32.
16689 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16690 (write_locale_data): Call maybe_swap_uint32_array.
16691 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16693 (obstack_int32_grow_fast): Likewise.
16694 (output_weightwc): Call maybe_swap_uint32_obstack.
16695 (collate_output): Likewise.
16696 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16697 (OPT_LITTLE_ENDIAN): Likewise.
16698 (options): Add --little-endian and --big-endian options.
16699 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16700 * locale/programs/locarchive.c: Include "locfile.h".
16704 (create_archive): Use the new macros to access fields of
16705 structures directly mapped from or written to locale archives.
16706 (oldlocrecentcmp): Likewise.
16707 (enlarge_archive): Likewise.
16708 (insert_name): Likewise.
16709 (add_alias): Likewise.
16710 (add_locale): Likewise.
16711 (delete_locales_from_archive): Likewise.
16712 (show_archive_content): Likewise.
16713 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16716 2013-09-24 Roland McGrath <roland@hack.frob.com>
16718 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16719 http://www.gnu.org/doc/freemanuals.texi.
16720 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16722 2013-09-24 Will Newton <will.newton@linaro.org>
16724 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16727 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16729 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16732 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16734 * manual/threads.texi (POSIX Threads): Fix a typo.
16736 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16739 * string/tst-strcoll-overflow.c: New test case.
16740 * string/Makefile (xtests): Add tst-strcoll-overflow.
16741 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16742 cache if string sizes may cause integer overflow.
16745 * string/strcoll_l.c (coll_seq): New members rule, idx,
16746 save_idx and back_us.
16747 (get_next_seq_nocache): New function.
16748 (do_compare_nocache): New function.
16749 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16752 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16755 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16756 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16757 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16760 * elf/Makefile (tests): Add tst-ptrguard1.
16761 (tests-static): Add tst-ptrguard1-static.
16762 (tst-ptrguard1-ARGS): Define.
16763 (tst-ptrguard1-static-ARGS): Define.
16764 * elf/tst-ptrguard1.c: New file.
16765 * elf/tst-ptrguard1-static.c: New file.
16766 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16767 * sysdeps/i386/stackguard-macros.h: Likewise.
16768 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16769 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16770 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16771 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16772 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16773 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16775 2013-09-23 Hector Marco <hecmargi@upv.es>
16776 Ismael Ripoll <iripoll@disca.upv.es>
16777 Carlos O'Donell <carlos@redhat.com>
16780 * sysdeps/generic/stackguard-macros.h: Define
16781 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16782 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16783 Define __pointer_chk_guard_local.
16784 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16785 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16787 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16790 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16792 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16794 * include/string.h (__ffs): Declare as hidden.
16795 * string/ffs.c (__ffs): Define as hidden.
16796 * sysdeps/i386/ffs.c (__ffs): Likewise.
16797 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16798 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16799 * sysdeps/s390/ffs.c (__ffs): Likewise.
16800 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16802 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16804 * NEWS: Mention malloc probes.
16806 * malloc/arena.c (new_heap): New memory_heap_new probe.
16807 (grow_heap): New memory_heap_more probe.
16808 (shrink_heap): New memory_heap_less probe.
16809 (heap_trim): New memory_heap_free probe.
16810 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16811 (systrim): New memory_sbrk_less probe.
16812 * manual/probes.texi: Document them.
16814 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16815 * manual/probes.texi: Document it.
16817 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16818 (__libc_realloc): Add memory_realloc_retry probe.
16819 (__libc_memalign): Add memory_memalign_retry probe.
16820 (__libc_valloc): Add memory_valloc_retry probe.
16821 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16822 (__libc_calloc): Add memory_calloc_retry probe.
16823 * manual/probes.texi: Document them.
16825 * malloc/arena.c (get_free_list): Add probe
16826 memory_arena_reuse_free_list.
16827 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16828 and memory_arena_reuse.
16829 (arena_get2) [!PER_THREAD]: Likewise.
16830 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16831 memory_arena_reuse_realloc.
16832 * manual/probes.texi: Document them.
16834 * malloc/malloc.c (__libc_free): Add
16835 memory_mallopt_free_dyn_thresholds probe.
16836 (__libc_mallopt): Add multiple memory_mallopt probes.
16837 * manual/probes.texi: Document them.
16839 * malloc/malloc.c: Include stap-probe.h.
16840 (__libc_mallopt): Add memory_mallopt probe.
16841 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16842 * manual/probes.texi: New.
16843 * manual/Makefile (chapters): Add probes.
16844 * manual/threads.texi: Set next node.
16846 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16848 [BZ #15963, #13985]
16849 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16850 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16851 Add `Chinese' to `nan' entry name.
16853 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16855 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16856 (POLYNOMIAL): Likewise.
16857 (TAYLOR_SINCOS): Likewise.
16858 (TAYLOR_SLOW): Likewise.
16859 (__sin): Use TAYLOR_SINCOS.
16861 (slow): Use TAYLOR_SLOW.
16863 (bsloww): Likewise.
16864 (csloww): Likewise.
16866 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16868 * stdlib/strtod_l.c: Fix buffer overrun.
16870 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16872 * benchtests/Makefile (bench): Add sincos.
16873 * benchtests/bench-sincos.c: New file.
16875 * math/libm-test.inc (cos_test_data): New test inputs.
16876 (sin_test_data): Likewise.
16878 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16884 (sloww1): Likewise.
16885 (sloww2): Likewise.
16886 (bsloww1): Likewise.
16887 (bsloww2): Likewise.
16888 (cslow2): Likewise.
16889 (csloww1): Likewise.
16890 (csloww2): Likewise.
16892 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16901 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16903 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16904 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16905 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16906 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16907 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16908 * elf/cache.c (print_entry): Handle the new cache flags.
16910 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16911 Aldy Hernandez <aldyh@redhat.com>
16913 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16914 Change condition to [_SOFT_FLOAT].
16915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16927 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16930 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16933 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16935 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16936 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16937 (__longjmp): Use LOAD_GP to load saved GPRs.
16938 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16939 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16940 (__sigsetjmp): Use SAVE_GP to save GPRs.
16942 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16943 Do not append -msoft-float.
16944 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16946 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16950 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16953 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16954 (_FPU_GETCW): Use initial "__" on variable and field names but not
16955 on macro parameter name.
16956 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16957 parentheses around reference to macro parameter.
16959 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16961 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16963 (ctype_startup): Use uint32_t in cast and sizeof for
16966 2013-09-11 Jia Liu <proljc@gmail.com>
16968 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16970 [__FreeBSD__]: Likewise.
16972 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16975 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16976 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16977 (strchr): Remove __strchr_sse42 ifunc selection.
16978 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16979 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16981 2013-09-11 Will Newton <will.newton@linaro.org>
16983 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16984 parameter to RES. Remove hardcoded 1000 value.
16985 * benchtests/bench-skeleton.c (main): Pass RES parameter
16986 to TIMING_INIT and multiply result by 1000.
16988 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16992 2013-09-11 Andreas Schwab <schwab@suse.de>
16994 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16996 (O_TMPFILE) [__USE_GNU]: Define.
16997 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17000 2013-09-11 Will Newton <will.newton@linaro.org>
17003 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17006 2013-09-11 Will Newton <will.newton@linaro.org>
17009 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17012 2013-09-11 Will Newton <will.newton@linaro.org>
17015 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17018 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17020 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17021 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17023 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17024 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17026 2013-09-10 Allan McRae <allan@archlinux.org>
17029 * manual/arith.texi (Parsing of Floats): Clarify
17033 * manual/install.texi (Running make install): Mention
17035 * INSTALL: Regenerated.
17037 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17039 * csu/init-first.c (_init): Remove the !SHARED condition around
17040 FPU control word initialization.
17041 * elf/dl-support.c (_dl_fpu_control): New variable.
17042 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17043 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17044 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17045 * math/test-fpucw-static.c: New file.
17046 * math/test-fpucw-ieee.c: New file.
17047 * math/test-fpucw-ieee-static.c: New file.
17048 * math/Makefile (tests): Add `test-fpucw-ieee' and
17050 (tests-static): New variable.
17051 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17053 [($(build-shared),yes)]
17054 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17056 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17059 2013-09-09 Allan McRae <allan@archlinux.org>
17062 * manual/string.texi (Collation Functions): Fix typo in
17064 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17067 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17070 * libio/memstream.c (open_memstream): Fix memory leak.
17071 * libio/wmemstream.c (open_wmemstream): Likewise.
17074 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17076 2013-09-09 Will Newton <will.newton@linaro.org>
17078 * malloc/Makefile: Add tst-realloc to tests.
17079 * malloc/tst-realloc.c: New file.
17081 2013-09-09 Allan McRae <allan@archlinux.org>
17084 * COPYING: Update from GNU website to fix FSF address.
17085 * COPYING.LIB: Likewise.
17087 2013-09-06 David S. Miller <davem@davemloft.net>
17089 * po/zh_TW.po: Update Chinese (traditional) translation from
17090 translation project.
17092 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17093 Joseph Myers <joseph@codesourcery.com>
17095 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17097 (obstack_chunk_alloc): New macro.
17098 (obstack_chunk_free): Likewise.
17099 (record_offset): New function.
17100 (init_locale_data): Likewise.
17101 (align_locale_data): Likewise.
17102 (add_locale_empty): Likewise.
17103 (add_locale_raw_data): Likewise.
17104 (add_locale_raw_obstack): Likewise.
17105 (add_locale_string): Likewise.
17106 (add_locale_wstring): Likewise.
17107 (add_locale_uint32): Likewise.
17108 (add_locale_uint32_array): Likewise.
17109 (add_locale_char): Likewise.
17110 (start_locale_structure): Likewise.
17111 (end_locale_structure): Likewise.
17112 (start_locale_prelude): Likewise.
17113 (end_locale_prelude): Likewise.
17114 (write_locale_data): Take locale_file structure rather than an
17116 * locale/programs/locfile.h: Include "obstack.h".
17117 (struct locale_file): Change to store locale file contents instead
17119 (init_locale_data): New prototype.
17120 (align_locale_data): Likewise.
17121 (add_locale_empty): Likewise.
17122 (add_locale_raw_data): Likewise.
17123 (add_locale_raw_obstack): Likewise.
17124 (add_locale_string): Likewise.
17125 (add_locale_wstring): Likewise.
17126 (add_locale_uint32): Likewise.
17127 (add_locale_uint32_array): Likewise.
17128 (add_locale_char): Likewise.
17129 (start_locale_structure): Likewise.
17130 (end_locale_structure): Likewise.
17131 (start_locale_prelude): Likewise.
17132 (end_locale_prelude): Likewise.
17133 (write_locale_data): Update prototype.
17134 * locale/programs/3level.h (struct TABLE): Remove result field.
17135 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17136 Use new locale_file interface.
17137 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17138 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17139 * locale/programs/ld-address.c (address_output): Use new
17140 locale_file interface.
17141 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17143 (collate_finish): Don't call collseq_table_finalize.
17144 (collate_output): Use new locale_file interface.
17145 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17147 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17148 (TABLE): Move defines earlier in file.
17149 (ELEMENT): Likewise.
17150 (DEFAULT): Likewise.
17151 (wctrans_table_add): Move macro and inline function earlier in
17153 (struct wctype_table): Move type earlier in file.
17154 (add_locale_wctype_table): New static prototype.
17155 (struct locale_ctype_t): Use logical types instead of struct iovec
17156 pointers for members.
17157 (ctype_output): Use new locale_file interface.
17158 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17159 new locale_file interface.
17160 (allocate_arrays): Update for use of new locale_file interface.
17161 * locale/programs/ld-identification.c (identification_output): Use
17162 new locale_file interface.
17163 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17164 * locale/programs/ld-messages.c (messages_output): Likewise.
17165 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17166 * locale/programs/ld-name.c (name_output): Likewise.
17167 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17168 * locale/programs/ld-paper.c (paper_output): Likewise.
17169 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17170 * locale/programs/ld-time.c (time_output): Likewise.
17172 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17174 * benchtests/Makefile: Add memrchr benchmark.
17175 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17176 benchmark as memrchr.
17177 * benchtests/bench-memrchr-ifunc.c: New file.
17178 * benchtests/bench-memrchr.c: New file.
17180 2013-09-06 Will Newton <will.newton@linaro.org>
17182 * benchtests/Makefile (string-bench): Add memcpy.
17184 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17185 Cong Wang <amwang@redhat.com>
17188 * sysdeps/unix/sysv/linux/bits/in.h
17189 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17190 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17191 before __USE_KERNEL_IPV6_DEFS uses.
17192 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17194 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17195 sockaddr_in6, or ipv6_mreq.
17197 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17199 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17200 memory access for final bytes in some large inputs.
17201 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17203 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17205 * string/test-memrchr.c: New file.
17206 * string/test-memrchr-ifunc.c: New file.
17207 * string/Makefile: Add new memrchr testcase.
17209 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17211 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17212 fanotify_init returns EPERM.
17214 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17216 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17218 (top level): Treat second token from macro or constant entries for
17219 allowed headers as allowed.
17220 * include/complex.h: Condition internal declarations on
17222 * include/fenv.h: Condition include of <stdbool.h> and internal
17223 declarations on [!_ISOMAC].
17225 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17228 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17230 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17232 * configure.in (--enable-versioning): Remove configure option.
17233 (libc_cv_asm_symver_directive): Remove configure test.
17234 (libc_cv_ld_version_script_option): Likewise.
17235 (VERSIONING): Remove variable and AC_SUBST.
17236 (DO_VERSIONING): Remove AC_DEFINE.
17237 * configure: Regenerated.
17238 * config.h.in (DO_VERSIONING): Remove macro.
17239 * Makerules [$(versioning) = yes]: Change conditionals to
17240 [$(build-shared) = yes].
17241 * config.make.in (versioning): Remove variable.
17242 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17243 [$(build-shared) = yes].
17244 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17245 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17246 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17247 [$(build-shared) = yes].
17248 * extra-lib.mk [$(versioning) = yes]: Likewise.
17249 * hurd/Makefile [$(versioning) = yes]: Likewise.
17250 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17252 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17254 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17255 [SHARED && !NO_HIDDEN].
17256 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17258 [SHARED && DO_VERSIONING]: Likewise..
17259 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17260 [$(build-shared) = yes].
17261 * manual/install.texi (--disable-versioning): Remove
17263 * INSTALL: Regenerated.
17264 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17266 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17267 [$(build-shared) = yes].
17268 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17269 * sysdeps/i386/i686/multiarch/strstr-c.c
17270 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17271 [SHARED && !NO_HIDDEN].
17272 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17273 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17274 * sysdeps/powerpc/powerpc32/dl-machine.c
17275 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17276 * sysdeps/powerpc/powerpc32/sysdep.h
17277 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17278 to [SHARED && PIC && !NO_HIDDEN].
17279 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17280 conditional to [SHARED].
17282 2013-09-04 Will Newton <will.newton@linaro.org>
17284 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17285 * benchtests/bench-string.h: Include bench-timing.h instead
17286 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17287 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17288 call to HP_TIMING_DIFF_INIT.
17289 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17290 instead of hp-timing.h macros.
17291 * benchtests/bench-memchr.c: Likewise.
17292 * benchtests/bench-memcmp.c: Likewise.
17293 * benchtests/bench-memcpy.c: Likewise.
17294 * benchtests/bench-memmem.c: Likewise.
17295 * benchtests/bench-memmove.c: Likewise.
17296 * benchtests/bench-memset.c: Likewise.
17297 * benchtests/bench-rawmemchr.c: Likewise.
17298 * benchtests/bench-strcasecmp.c: Likewise.
17299 * benchtests/bench-strcasestr.c: Likewise.
17300 * benchtests/bench-strcat.c: Likewise.
17301 * benchtests/bench-strchr.c: Likewise.
17302 * benchtests/bench-strcmp.c: Likewise.
17303 * benchtests/bench-strcpy.c: Likewise.
17304 * benchtests/bench-strcpy_chk.c: Likewise.
17305 * benchtests/bench-strlen.c: Likewise.
17306 * benchtests/bench-strncasecmp.c: Likewise.
17307 * benchtests/bench-strncat.c: Likewise.
17308 * benchtests/bench-strncmp.c: Likewise.
17309 * benchtests/bench-strncpy.c: Likewise.
17310 * benchtests/bench-strnlen.c: Likewise.
17311 * benchtests/bench-strpbrk.c: Likewise.
17312 * benchtests/bench-strrchr.c: Likewise.
17313 * benchtests/bench-strspn.c: Likewise.
17314 * benchtests/bench-strstr.c: Likewise.
17316 2013-09-04 Will Newton <will.newton@linaro.org>
17318 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17320 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17323 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17324 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17325 * math/libm-test.inc (lgamma_test_data): Add more tests.
17326 * sysdeps/i386/fpu/libm-test-ulps: Update.
17327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17331 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17335 Add strcmp-sse2-unaligned
17336 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17338 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17340 * Versions.def (libc): Add GLIBC_2.19.
17342 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17344 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17345 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17347 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17350 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17351 intermediate calculations in recurrence.
17352 (__ieee754_ynf): Likewise.
17353 * math/libm-test.inc (jn_test_data): Do not allow spurious
17354 underflow exception. Add more tests.
17355 (yn_test_data): Add more tests.
17356 * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17361 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17363 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17365 * csu/init-first.c: Fix then/than typos.
17366 * locale/programs/ld-collate.c: Likewise.
17367 * locale/programs/linereader.h: Likewise.
17368 * manual/charset.texi: Likewise.
17369 * manual/filesys.texi: Likewise.
17370 * manual/stdio.texi: Likewise.
17371 * manual/string.texi: Likewise.
17372 * stdlib/fmtmsg.c: Likewise.
17373 * sysdeps/i386/stpncpy.S: Likewise.
17374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17375 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17376 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17377 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17379 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17381 * elf/dl-open.c: Fix typos.
17382 * iconvdata/gbbig5.c: Likewise.
17383 * iconvdata/iso-2022-jp.c: Likewise.
17384 * iconv/gconv_int.h: Likewise.
17385 * iconv/loop.c: Likewise.
17386 * nis/rpcsvc/nis.h: Likewise.
17387 * resolv/ns_name.c: Likewise.
17388 * stdio-common/vfscanf.c: Likewise.
17389 * streams/stropts.h: Likewise.
17390 * sunrpc/rpc_thread.c: Likewise.
17391 * sysdeps/i386/strpbrk.S: Likewise.
17392 * sysdeps/ieee754/k_standard.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17395 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17396 * sysdeps/mach/hurd/profil.c: Likewise.
17397 * sysdeps/s390/dl-procinfo.h: Likewise.
17398 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17399 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17400 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17401 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17402 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17404 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17406 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17409 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17411 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17412 aix specific files.
17413 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17414 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17415 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17416 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17417 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17418 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17419 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17420 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17422 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17423 Roland McGrath <roland@hack.frob.com>
17425 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17426 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17428 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17430 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17431 __executable_start symbol instead of _start.
17433 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17435 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17436 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17438 * sysdeps/gnu/ldsodefs.h: ... this new file.
17440 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17441 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17442 instead of ELFOSABI_LINUX.
17444 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17445 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17446 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17447 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17449 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17450 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17451 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17453 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17454 (ibm_extended_long_double): Add ieee_nan member.
17455 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17456 (do_test): New function.
17458 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17460 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17461 functions, renamed from truncdfsf_test, trunctfsf_test,
17463 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17465 (do_test): Run all these.
17467 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17469 * argp/argp-help.c: Fix typos.
17470 * argp/argp-parse.c: Likewise.
17471 * debug/backtracesyms.c: Likewise.
17472 * elf/elf.h: Likewise.
17473 * malloc/malloc.c: Likewise.
17474 * nis/nis_print.c: Likewise.
17475 * resolv/res_comp.c: Likewise.
17476 * stdlib/stdlib.h: Likewise.
17477 * sunrpc/clnt_tcp.c: Likewise.
17478 * sunrpc/clnt_udp.c: Likewise.
17479 * sunrpc/clnt_unix.c: Likewise.
17480 * sysdeps/unix/bsd/ptsname.c: Likewise.
17481 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17482 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17489 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17491 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17493 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17496 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17499 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17500 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17501 ($(objpfx)bug-dl-leaf): New rule.
17502 ($(objpfx)bug-dl-leaf.so): Likewise.
17503 ($(objpfx)bug-dl-leaf.out): Likewise.
17504 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17505 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17506 * dlfcn/bug-dl-leaf.c: New test.
17507 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17508 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17509 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17510 (dlclose): Likewise.
17511 (dlmopen): Likewise.
17513 2013-08-27 Roland McGrath <roland@hack.frob.com>
17515 * include/netdb.h [!_ISOMAC]:
17516 Don't include <tls.h>.
17517 (h_errno, __libc_h_errno): Move declaration and macros out of
17520 * include/resolv.h [_RESOLV_H_]:
17521 Don't include <tls.h>.
17522 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17523 * resolv/res_libc.c: Don't include <tls.h>.
17524 (_res): Use __attribute__ ((nocommon)) in place of
17525 __attribute__ ((section (".bss"))).
17527 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17528 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17530 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17532 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17533 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17535 * resolv/res_mkquery.c: Include <sys/time.h>.
17537 * inet/ifreq.c: Moved to ...
17538 * sysdeps/unix/ifreq.c: ... here.
17539 * inet/ifreq.c: New file, true stub version.
17541 * socket/sa_len.c: New file.
17542 * socket/Makefile (aux): Add it.
17543 * sysdeps/unix/sysv/linux/Makefile
17544 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17545 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17546 and #include <socket/sa_len.c>.
17547 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17548 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17550 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17551 * bits/socket.h: ... here.
17553 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17554 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17555 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17557 2013-08-27 Andreas Schwab <schwab@suse.de>
17560 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17561 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17562 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17563 * string/test-strcasecmp.c (test_main): Run tests in several
17565 * string/test-strncasecmp.c (test_main): Likewise.
17567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17568 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17569 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17571 (__strncasecmp_ssse3) [PIC]: Likewise.
17573 2013-08-26 Roland McGrath <roland@hack.frob.com>
17575 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17577 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17578 instead of explicitly declaring xdecrypt.
17579 * nis/nss_nis/nis-publickey.c: Likewise.
17581 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17584 * nscd/aicache.c: Include res_hconf.h.
17585 (addhstaiX): Initialize res_hconf.
17587 2013-08-26 Andreas Schwab <schwab@suse.de>
17589 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17590 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17592 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17594 * nscd/aicache.c (addhstaiX): Fix indentation.
17596 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17598 * configure.ac: Quote $build_pt_chown test.
17599 * configure: Regenerated.
17601 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17604 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17605 * math/s_cexpf.c (__cexpf): Likewise.
17606 * math/s_cexpl.c (__cexpl): Likewise.
17607 * math/libm-test.inc (cexp_test_data): Correct expected return
17608 value for NaN + i0. Add another test.
17610 2013-08-22 David S. Miller <davem@davemloft.net>
17612 * po/ca.po: Update Catalan translation from translation project.
17613 * po/uk.po: Add Ukrainian translations from translation project.
17615 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17618 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17619 is infinite, not alongside NaN test.
17620 * math/s_fdimf.c (__fdimf): Likewise.
17621 * math/s_fdiml.c (__fdiml): Likewise.
17622 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17623 errno is unchanged.
17625 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17627 * argp/argp-help.c: Fix typos.
17628 * crypt/speeds.c: Likewise.
17629 * csu/check_fds.c: Likewise.
17630 * elf/dl-load.c: Likewise.
17631 * elf/dl-open.c: Likewise.
17632 * elf/reldep3.c: Likewise.
17633 * elf/reldep.c: Likewise.
17634 * elf/sprof.c: Likewise.
17635 * iconv/iconv_charmap.c: Likewise.
17636 * iconv/skeleton.c: Likewise.
17637 * iconv/strtab.c: Likewise.
17638 * io/lockf64.c: Likewise.
17639 * libio/libioP.h: Likewise.
17640 * resolv/gai_notify.c: Likewise.
17641 * resolv/ns_name.c: Likewise.
17642 * resolv/ns_samedomain.c: Likewise.
17643 * resolv/res_send.c: Likewise.
17644 * stdlib/random.c: Likewise.
17645 * sunrpc/rpc/xdr.h: Likewise.
17646 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17647 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17648 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17649 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17650 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17654 * sysdeps/mach/hurd/check_fds.c: Likewise.
17655 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17656 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17658 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17659 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17660 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17661 * sysdeps/pthread/aio_notify.c: Likewise.
17662 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17663 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17664 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17665 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17666 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17668 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17670 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17671 version if bit_Slow_SSE4_2 is set.
17672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17673 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17675 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17678 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17679 trampoline stack frame information.
17680 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17681 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17682 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17683 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17684 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17685 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17686 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17687 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17689 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17690 interrupting a syscall and set with option SA_SIGINFO.
17692 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17695 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17696 argument is infinite.
17697 * math/s_cprojf.c (__cprojf): Likewise.
17698 * math/s_cprojl.c (__cprojl): Likewise.
17699 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17700 * math/libm-test.inc (cproj_test_data): Add more tests.
17702 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17704 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17705 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17706 size. Use __ffs to determine corresponding shift.
17708 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17709 Roland McGrath <roland@hack.frob.com>
17711 * Makefile (INSTALL): Remove trailing blank lines from output of
17714 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17716 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17717 Align 32 bit compat elf_greg to 8 bytes.
17719 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17721 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17723 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17725 * string/strcoll_l.c (coll_seq): New structure.
17726 (get_next_seq_cached): New function.
17727 (get_next_seq): New function.
17728 (do_compare): New function.
17729 (STRCOLL): Use GNU style definition. Simplify implementation
17730 by using get_next_seq, get_next_seq_cached and do_compare.
17732 2013-08-16 Florian Weimer <fweimer@redhat.com>
17736 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17738 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17740 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17741 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17742 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17744 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17745 GETDENTS_64BIT_ALIGNED.
17746 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17747 * manual/filesys.texi (Reading/Closing Directory): Document
17748 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17750 * manual/conf.texi (Limits for Files): Add portability note to
17751 NAME_MAX, PATH_MAX.
17752 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17754 2013-08-13 Andreas Schwab <schwab@suse.de>
17757 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17759 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17760 LDBL_MAX_EXP >= 16384]: Add tests for it.
17762 2013-08-12 David S. Miller <davem@davemloft.net>
17764 * version.h (RELEASE): Set to "development".
17765 (VERSION): Set to "2.18.90".
17766 * NEWS: Add 2.19 section.
17768 2013-08-03 David S. Miller <davem@davemloft.net>
17770 * po/ko.po: Update Korean translation from translation project.
17772 2013-08-01 David S. Miller <davem@davemloft.net>
17774 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17775 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17778 2013-07-30 David S. Miller <davem@davemloft.net>
17780 * po/fr.po: Update French translation from translation project.
17782 2013-07-28 David S. Miller <davem@davemloft.net>
17784 * po/cs.po: Update Czech translation from translation project.
17786 * po/sv.po: Update Swedish translation from translation project.
17788 2013-07-27 David S. Miller <davem@davemloft.net>
17790 * po/eo.po: Update Esperanto translation from translation project.
17792 * po/vi.po: Update Vietnamese translation from translation project.
17794 * po/de.po: Update German translation from translation project.
17796 2013-07-26 David S. Miller <davem@davemloft.net>
17798 * po/bg.po: Update Bulgarian translation from translation project.
17800 * po/nl.po: Update Dutch translation from translation project.
17801 * po/pl.po: Update Polish translation from translation project.
17802 * po/ru.po: Update Russian translation from translation project.
17804 2013-07-24 David S. Miller <davem@davemloft.net>
17806 * po/libc.pot: Update.
17808 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17810 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17811 variable page size.
17812 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17813 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17814 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17816 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17818 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17820 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17821 Andreas Schwab <schwab@suse.de>
17822 Roland McGrath <roland@hack.frob.com>
17823 Joseph Myers <joseph@codesourcery.com>
17824 Carlos O'Donell <carlos@redhat.com>
17827 * config.h.in: Define HAVE_PT_CHOWN.
17828 * config.make.in (build-pt-chown): New variable.
17829 * configure.in (--enable-pt_chown): New configure option.
17830 * configure: Regenerate.
17831 * login/Makefile: Include Makeconfig. Build pt_chown only if
17832 build-pt-chown is enabled.
17833 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17834 pt_chown to fix pty ownership.
17835 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17837 * manual/install.texi (Configuring and compiling): Mention
17838 --enable-pt_chown. Add @findex for grantpt.
17839 * INSTALL: Regenerate.
17841 2013-07-20 David S. Miller <davem@davemloft.net>
17843 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17844 difference between 32-bit and 64-bit.
17846 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17849 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17850 Avoid system header dependency with -ffreestanding.
17851 ($(objpfx)bits/syscall%d): Likewise.
17853 2013-07-13 David S. Miller <davem@davemloft.net>
17855 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17856 underflows from atanl/atan2l due to bug 15319.
17857 (casinh_test_data): Likewise.
17859 2013-07-07 David S. Miller <davem@davemloft.net>
17861 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17863 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17870 * configure.in (--enable-lock-elision): Fix message text.
17871 * INSTALL: Regenerate.
17872 * configure: Regenerate.
17874 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17878 2013-07-03 Andreas Jaeger <aj@suse.de>
17880 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17882 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17883 (ptrace_peeksiginfo_args): Add.
17884 (__ptrace_peeksiginfo_flags): Add.
17885 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17887 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17889 2013-07-03 Allan McRae <allan@archlinux.org>
17891 * sysdeps/i386/fpu/libm-test-ulps: Update.
17893 2013-07-02 David S. Miller <davem@davemloft.net>
17895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17897 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17901 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17903 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17906 2013-07-02 Andi Kleen <ak@linux.intel.com>
17908 * config.h.in (ENABLE_LOCK_ELISION): Add.
17909 * configure.in (--enable-lock-elision): Add option.
17910 * manual/install.texi: Document --enable lock elision.
17911 * configure: Regenerate
17912 * INSTALL: Regenerate.
17914 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17916 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17917 SSE4.2 strcasecmp for libc.a.
17918 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17920 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17923 * soft-fp/op-common.h (_FP_FMA): New macro.
17924 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17925 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17926 (_FP_MUL_MEAT_1_imm): ... here.
17927 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17928 (_FP_MUL_MEAT_1_wide): ... here.
17929 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17930 (_FP_MUL_MEAT_1_hard): ... here.
17931 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17932 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17933 (_FP_MUL_MEAT_2_wide): ... here.
17934 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17935 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17936 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17937 (_FP_MUL_MEAT_2_gmp): ... here.
17938 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17939 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17940 (_FP_MUL_MEAT_4_wide): ... here.
17941 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17942 (_FP_MUL_MEAT_4_gmp): ... here.
17943 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17944 (_FP_WFRACBITS_DW_S): Likewise.
17945 (_FP_WFRACXBITS_DW_S): Likewise.
17946 (_FP_HIGHBIT_DW_S): Likewise.
17947 (FP_FMA_S): Likewise.
17948 (_FP_FRAC_HIGH_DW_S): Likewise.
17949 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17950 (_FP_WFRACBITS_DW_D): Likewise.
17951 (_FP_WFRACXBITS_DW_D): Likewise.
17952 (_FP_HIGHBIT_DW_D): Likewise.
17953 (FP_FMA_D): Likewise.
17954 (_FP_FRAC_HIGH_DW_D): Likewise.
17955 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17956 (_FP_WFRACBITS_DW_E): Likewise.
17957 (_FP_WFRACXBITS_DW_E): Likewise.
17958 (_FP_HIGHBIT_DW_E): Likewise.
17959 (FP_FMA_E): Likewise.
17960 (_FP_FRAC_HIGH_DW_E): Likewise.
17961 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17962 (_FP_WFRACBITS_DW_Q): Likewise.
17963 (_FP_WFRACXBITS_DW_Q): Likewise.
17964 (_FP_HIGHBIT_DW_Q): Likewise.
17965 (FP_FMA_Q): Likewise.
17966 (_FP_FRAC_HIGH_DW_Q): Likewise.
17967 * soft-fp/fmasf4.c: New file.
17968 * soft-fp/fmadf4.c: Likewise.
17969 * soft-fp/fmatf4.c: Likewise.
17971 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17974 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17978 (index_Slow_SSE4_2): Likewise.
17979 (index_Prefer_PMINUB_for_stringop): Likewise.
17980 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17981 bit_Slow_SSE4_2 is set.
17982 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17983 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17985 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17987 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17988 rtld_global._dl_hwcap2.
17989 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17991 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17992 POWER8 feature descriptions defined in _dl_hwcap2.
17993 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17994 string handling for POWER8 feature bits.
17995 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17996 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17997 _dl_powerpc_cap_flags.
17998 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17999 * sysdeps/powerpc/rtld-global-offsets.sym
18000 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18001 _dl_hwcap2 in the rtld_global_ro structure.
18003 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18005 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18006 hardware capabilities in support of AT_HWCAP2.
18007 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18008 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18010 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18011 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18012 explicitly the unknown a_type display mechanism is used.
18013 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18014 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18016 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18017 to macro prototype for AT_HWCAP2 support.
18018 * sysdeps/i386/dl-procinfo.h: Likewise.
18019 * sysdeps/s390/dl-procinfo.h: Likewise.
18020 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18021 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18022 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18023 return -1 for unknown a_type display fallback.
18024 * sysdeps/sparc/dl-procinfo.h: Likewise.
18025 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18026 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18028 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18030 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18031 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18033 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18036 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18037 mprotect making __stack_prot writable.
18039 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18040 Joseph Myers <joseph@codesourcery.com>
18042 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18043 as being properly aligned.
18045 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18047 * dlfcn/modstatic5.c: New file.
18048 * dlfcn/tststatic5.c: New file.
18049 * dlfcn/Makefile (tests): Add tststatic5.
18050 (tests-static): Likewise.
18051 (modules-names): Add modstatic5.
18052 (tststatic5-ENV): New variable.
18053 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18056 * elf/dl-support.c (_dl_main_map): New variable.
18057 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18058 (_dl_nns, _dl_load_adds): Set to 1.
18059 (_dl_initial_searchlist): Refer to _dl_main_map.
18060 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18061 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18062 call to _dl_get_origin.
18063 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18065 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18066 * dlfcn/modstatic3.c: New file.
18067 * dlfcn/tststatic3.c: New file.
18068 * dlfcn/tststatic4.c: New file.
18069 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18070 (tests-static): Likewise.
18071 (modules-names): Add modstatic3.
18072 (tststatic3-ENV, tststatic4-ENV): New variables.
18073 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18074 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18076 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18078 * configure.in (CC): Require GCC version 4.4 or later.
18079 * configure: Regenerated.
18080 * manual/install.texi (Tools for Compilation): Update GCC version
18082 * INSTALL: Regenerated.
18084 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18087 * string/test-memcmp.c (check2): New.
18088 (main): Call check2.
18090 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18092 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18095 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18097 (dl_open_worker) [!SHARED]: ... here.
18099 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18101 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18103 2013-06-25 Richard Henderson <rth@redhat.com>
18105 * locale/programs/locarchive.c: Include <libc-internal.h>
18107 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18109 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18110 trailing whitespace removed.
18112 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18115 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18116 * locale/programs/locarchive.c: Include libc-mmap.h.
18117 (prepare_address_space): Take two new outputs (the mmap base and len).
18118 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18120 (create_archive): Declare new mmap base and len values for
18121 prepare_address_space, and store the result in ah.
18122 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18123 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18124 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18125 Declare new mmap base and len values for
18126 prepare_address_space, and store the result in new_ah.
18127 (open_archive): Declare new mmap base and len values for
18128 prepare_address_space, and store the result in ah.
18129 (close_archive): If ah->mmap_base is not NULL, use that and
18130 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18131 * sysdeps/generic/libc-mmap.h: New file.
18133 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18135 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18136 (ALIGN_UP): Likewise.
18137 (PTR_ALIGN_DOWN): Likewise.
18138 (PTR_ALIGN_UP): Likewise.
18140 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18142 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18143 entry mapped to PPC_PLATFORM_POWER8.
18144 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18146 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18147 (_dl_string_platform): Add case for exporting platform position for
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18150 search path to sysdeps/powerpc/powerpc32/power8 directory.
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18152 search path to sysdeps/powerpc/powerpc64/power8 directory.
18153 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18154 power7 directories.
18155 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18156 power7 directories.
18158 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18160 * INSTALL: Regenerate.
18162 * nscd/connections.c (nscd_init): Fix comment.
18164 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18166 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18169 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18170 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18172 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18174 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18176 (DL_DST_REQ_STATIC): Remove macro.
18178 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18181 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18182 with a shift of 0 bits.
18184 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18186 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18189 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18192 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18194 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18196 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18197 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18198 accepts -fno-tree-loop-distribute-patterns.
18199 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18200 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18202 * string/memset.c (memset): Likewise.
18203 * string/test-memmove.c (simple_memmove): Disable loop transformation
18205 * string/test-memset.c (simple_memset): Likewise.
18206 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18207 * benchtests/bench-memset.c (simple_memset): Likewise.
18208 * configure: Regenerated.
18210 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18212 * math/test-misc.c (main): Ignore fesetround failure when failures
18213 of subsequent rounding tests would be ignored.
18216 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18217 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18218 * math/fegetenv.c (__fegetenv): Return 0.
18219 * math/fegetexcept.c (fegetexcept): Return 0.
18220 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18222 * math/feholdexcpt.c (feholdexcept): Return 0.
18223 * math/fesetenv.c (__fesetenv): Return 0.
18224 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18225 argument FE_TONEAREST.
18226 * math/feupdateenv.c (__feupdateenv): Return 0.
18227 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18229 2013-06-18 Roland McGrath <roland@hack.frob.com>
18231 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18232 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18233 ($(objpfx)rtld-%.os rules): Use them.
18235 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18237 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18240 2013-06-17 Roland McGrath <roland@hack.frob.com>
18242 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18243 length of target pattern, then descending length of dependency pattern.
18244 * configure.in (AWK): Require gawk 3.1.2 or newer.
18245 * manual/install.texi (Tools for Compilation): Say that we do.
18246 * configure: Regenerated.
18248 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18249 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18250 * scripts/sysd-rules.awk: ... this new script.
18251 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18252 than a glob-style pattern.
18254 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18256 * math/test-misc.c (main): Do not treat incorrectly rounded
18257 conversions as failure unless ROUNDING_TESTS passes.
18259 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18262 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18263 restore exception state around main square root computation, then
18264 check for inexactness explicitly.
18266 * math/libm-test.inc (fma_test_data): Add another test.
18268 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18270 * manual/threads.texi (Non-POSIX Extensions): New document
18271 node. Document pthread_getattr_default_np and
18272 pthread_setattr_default_np.
18274 * Versions.def (libpthread): Add GLIBC_2.18.
18275 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18284 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18295 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18298 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18300 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18301 H.J. Lu <hjl.tools@gmail.com>
18304 * sysdeps/x86_64/rtld-memset.c: Remove file.
18305 * sysdeps/x86_64/rtld-memset.S: New file.
18307 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18309 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18310 (test_in_one_mode): Take arguments for whether the rounding mode
18311 is supported for each floating-point type.
18312 (do_test): Pass new arguments to test_in_one_mode using
18315 2013-06-13 Roland McGrath <roland@hack.frob.com>
18317 * posix/tst-waitid.c (do_test): Distinguish different instances of
18318 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18319 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18320 before entering the kernel for waitpid.
18322 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18324 * NEWS: Fix note on clock function precision. Text by Roland
18327 2013-06-13 Roland McGrath <roland@hack.frob.com>
18329 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18330 it into place only when and if the sanity check passes.
18332 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18334 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18335 output for whether conversion result is exact. Take argument
18336 indicating whether type is IBM long double.
18337 (round_for_all): Change need_exact field to ibm_ld.
18338 * stdlib/tst-strtod-round.c (struct exactness): New type.
18339 (struct test): Change bool ld_ok field to struct exactness exact.
18340 (TEST): Update all definitions for change to field.
18341 (tests): Regenerate array contents.
18342 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18343 field value. Check for IBM long double here.
18344 (do_test): Update calls to test_in_one_mode.
18346 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18349 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18350 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18352 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18355 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18356 generated by the compiler on loop optimizations.
18357 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18358 general definitions.
18360 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18362 * math/bug-nextafter.c: Include <math-tests.h>.
18363 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18365 * math/bug-nexttoward.c: Include <math-tests.h>.
18366 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18368 * math/test-misc.c: Include <math-tests.h>.
18369 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18372 2013-06-12 Andreas Jaeger <aj@suse.de>
18374 * po/ia.po: Update Interlingua translation from translation
18377 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18379 * include/fenv.h: Include stdbool.h.
18380 (struct rm_ctx): New structure.
18381 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18383 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18384 (SET_RESTORE_ROUNDF): Likewise.
18385 (SET_RESTORE_ROUNDL): Likewise.
18386 (SET_RESTORE_ROUND_NOEX): Likewise.
18387 (SET_RESTORE_ROUND_NOEXF): Likewise.
18388 (SET_RESTORE_ROUND_NOEXL): Likewise.
18389 (SET_RESTORE_ROUND_53BIT): Likewise.
18390 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18391 (libc_feresetround_noexf_ctx): Likewise.
18392 (libc_feresetround_noexl_ctx): Likewise.
18393 (libc_feholdsetround_53bit_ctx): Likewise.
18394 (libc_feresetround_53bit_ctx): Likewise.
18395 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18396 (libc_feholdexcept_setround_sse_ctx): New function.
18397 (libc_fesetenv_sse_ctx): Likewise.
18398 (libc_feupdateenv_sse_ctx): Likewise.
18399 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18400 (libc_feholdexcept_setround_387_ctx): Likewise.
18401 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18402 (libc_feholdsetround_387_prec_ctx): Likewise.
18403 (libc_feholdsetround_387_ctx): Likewise.
18404 (libc_feholdsetround_387_53bit_ctx): Likewise.
18405 (libc_feholdsetround_sse_ctx): Likewise.
18406 (libc_feresetround_sse_ctx): Likewise.
18407 (libc_feresetround_387_ctx): Likewise.
18408 (libc_feupdateenv_387_ctx): Likewise.
18409 (libc_feholdexcept_setroundf_ctx): Define macro.
18410 (libc_fesetenvf_ctx): Likewise.
18411 (libc_feupdateenvf_ctx): Likewise.
18412 (libc_feholdsetroundf_ctx): Likewise.
18413 (libc_feresetroundf_ctx): Likewise.
18414 (libc_feholdexcept_setround_ctx): Likewise.
18415 (libc_fesetenv_ctx): Likewise.
18416 (libc_feupdateenv_ctx): Likewise.
18417 (libc_feholdsetround_ctx): Likewise.
18418 (libc_feresetround_ctx): Likewise.
18419 (libc_feholdexcept_setroundl_ctx): Likewise.
18420 (libc_feupdateenvl_ctx): Likewise.
18421 (libc_feholdsetroundl_ctx): Likewise.
18422 (libc_feresetroundl_ctx): Likewise.
18423 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18424 (libc_feresetround_53bit_ctx): Likewise.
18426 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18428 * locale/iso-639.def: Convert to UTF-8.
18430 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18432 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18433 (EXCEPTION_TESTS_double): Likewise.
18434 (EXCEPTION_TESTS_long_double): Likewise.
18435 (EXCEPTION_TESTS): Likewise.
18436 * math/libm-test.inc (test_exceptions): Only test exceptions if
18437 EXCEPTION_TESTS (FLOAT).
18439 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18441 * benchtests/Makefile (string-bench): Add strcpy_chk and
18443 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18444 * benchtests/bench-stpcpy_chk.c: New file.
18445 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18446 * benchtests/bench-strcpy_chk.c: New file.
18447 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18449 (do_test): Likewise.
18451 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18453 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18454 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18455 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18456 with tabs where appropriate.
18457 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18459 [PPC_PLATFORM_PPC440]: Likewise.
18460 [PPC_PLATFORM_PPC464]: Likewise.
18461 [PPC_PLATFORM_PPC476]: Likewise.
18462 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18463 ppc464, and ppc476 platform strings merging from ports/
18466 2013-06-11 Andreas Schwab <schwab@suse.de>
18469 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18470 (from_ucs4_idx): Regenerate.
18471 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18472 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18473 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18474 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18475 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18476 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18477 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18478 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18479 from FROM_LOOP and TO_LOOP specific macros.
18480 (BODY): Handle combining characters.
18481 * iconvdata/BIG5HKSCS.irreversible: Update.
18482 * iconvdata/BIG5HKSCS.precomposed: New file.
18483 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18485 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18487 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18489 * include/sys/time.h: Fix indentation and add copyright header.
18491 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18492 (do_test): Likewise.
18493 * string/test-memchr.c (do_one_test): Likewise.
18494 (do_test): Likewise.
18495 * string/test-memcmp.c (do_one_test): Likewise.
18496 (do_test): Likewise.
18497 * string/test-memcpy.c (do_one_test): Likewise.
18498 (do_test): Likewise.
18499 * string/test-memmem.c (do_one_test): Likewise.
18500 (do_test): Likewise.
18501 (do_random_tests): Likewise.
18502 * string/test-memmove.c (do_one_test): Likewise.
18503 (do_test): Likewise.
18504 * string/test-memset.c (do_one_test): Likewise.
18505 (do_test): Likewise.
18506 * string/test-rawmemchr.c (do_one_test): Likewise.
18507 (do_test): Likewise.
18508 * string/test-strcasecmp.c (do_one_test): Likewise.
18509 (do_test): Likewise.
18510 * string/test-strcasestr.c (do_one_test): Likewise.
18511 (do_test): Likewise.
18512 * string/test-strcat.c (do_one_test): Likewise.
18513 (do_test): Likewise.
18514 * string/test-strchr.c (do_one_test): Likewise.
18515 (do_test): Likewise.
18516 * string/test-strcmp.c (do_one_test): Likewise.
18517 (do_test): Likewise.
18518 * string/test-strcpy.c (do_one_test): Likewise.
18519 (do_test): Likewise.
18520 * string/test-string.h: Likewise.
18521 (test_init): Likewise.
18522 * string/test-strlen.c (do_one_test): Likewise.
18523 (do_test): Likewise.
18524 * string/test-strncasecmp.c (do_one_test): Likewise.
18525 (do_test): Likewise.
18526 * string/test-strncat.c (do_one_test): Likewise.
18527 (do_test): Likewise.
18528 * string/test-strncmp.c (do_one_test): Likewise.
18529 (do_test_limit): Likewise.
18530 (do_test): Likewise.
18531 * string/test-strncpy.c (do_one_test): Likewise.
18532 (do_test): Likewise.
18533 * string/test-strnlen.c (do_one_test): Likewise.
18534 (do_test): Likewise.
18535 * string/test-strpbrk.c (do_one_test): Likewise.
18536 (do_test): Likewise.
18537 * string/test-strrchr.c (do_one_test): Likewise.
18538 (do_test): Likewise.
18539 * string/test-strspn.c (do_one_test): Likewise.
18540 (do_test): Likewise.
18541 * string/test-strstr.c (do_one_test): Likewise.
18542 (do_test): Likewise.
18544 * benchtests/Makefile (string-bench): Add string benchmarks.
18545 * benchtests/bench-bcopy-ifunc.c: New file.
18546 * benchtests/bench-bcopy.c: New file.
18547 * benchtests/bench-bzero-ifunc.c: New file.
18548 * benchtests/bench-bzero.c: New file.
18549 * benchtests/bench-memccpy-ifunc.c: New file.
18550 * benchtests/bench-memccpy.c: New file.
18551 * benchtests/bench-memchr-ifunc.c: New file.
18552 * benchtests/bench-memchr.c: New file.
18553 * benchtests/bench-memcmp-ifunc.c: New file.
18554 * benchtests/bench-memcmp.c: New file.
18555 * benchtests/bench-memmem-ifunc.c: New file.
18556 * benchtests/bench-memmem.c: New file.
18557 * benchtests/bench-memmove-ifunc.c: New file.
18558 * benchtests/bench-memmove.c: New file.
18559 * benchtests/bench-mempcpy-ifunc.c: New file.
18560 * benchtests/bench-mempcpy.c: New file.
18561 * benchtests/bench-memset-ifunc.c: New file.
18562 * benchtests/bench-memset.c: New file.
18563 * benchtests/bench-rawmemchr-ifunc.c: New file.
18564 * benchtests/bench-rawmemchr.c: New file.
18565 * benchtests/bench-stpcpy-ifunc.c: New file.
18566 * benchtests/bench-stpcpy.c: New file.
18567 * benchtests/bench-stpncpy-ifunc.c: New file.
18568 * benchtests/bench-stpncpy.c: New file.
18569 * benchtests/bench-strcasecmp-ifunc.c: New file.
18570 * benchtests/bench-strcasecmp.c: New file.
18571 * benchtests/bench-strcasestr-ifunc.c: New file.
18572 * benchtests/bench-strcasestr.c: New file.
18573 * benchtests/bench-strcat-ifunc.c: New file.
18574 * benchtests/bench-strcat.c: New file.
18575 * benchtests/bench-strchr-ifunc.c: New file.
18576 * benchtests/bench-strchr.c: New file.
18577 * benchtests/bench-strchrnul-ifunc.c: New file.
18578 * benchtests/bench-strchrnul.c: New file.
18579 * benchtests/bench-strcmp-ifunc.c: New file.
18580 * benchtests/bench-strcmp.c: New file.
18581 * benchtests/bench-strcpy-ifunc.c: New file.
18582 * benchtests/bench-strcpy.c: New file.
18583 * benchtests/bench-strcspn-ifunc.c: New file.
18584 * benchtests/bench-strcspn.c: New file.
18585 * benchtests/bench-strlen-ifunc.c: New file.
18586 * benchtests/bench-strlen.c: New file.
18587 * benchtests/bench-strncasecmp-ifunc.c: New file.
18588 * benchtests/bench-strncasecmp.c: New file.
18589 * benchtests/bench-strncat-ifunc.c: New file.
18590 * benchtests/bench-strncat.c: New file.
18591 * benchtests/bench-strncmp-ifunc.c: New file.
18592 * benchtests/bench-strncmp.c: New file.
18593 * benchtests/bench-strncpy-ifunc.c: New file.
18594 * benchtests/bench-strncpy.c: New file.
18595 * benchtests/bench-strnlen-ifunc.c: New file.
18596 * benchtests/bench-strnlen.c: New file.
18597 * benchtests/bench-strpbrk-ifunc.c: New file.
18598 * benchtests/bench-strpbrk.c: New file.
18599 * benchtests/bench-strrchr-ifunc.c: New file.
18600 * benchtests/bench-strrchr.c: New file.
18601 * benchtests/bench-strspn-ifunc.c: New file.
18602 * benchtests/bench-strspn.c: New file.
18603 * benchtests/bench-strstr-ifunc.c: New file.
18604 * benchtests/bench-strstr.c: New file.
18606 * benchtests/Makefile: Disable parallel execution of targets.
18607 (string-bench): Add memcpy.
18608 (benchset): New variable to store a list of benchmark sets.
18609 (bench-func): Renamed from bench.
18610 (bench-set): New target.
18611 (bench): Depend on bench-func and bench-set.
18612 * benchtests/README: Add section on benchmark sets.
18613 * benchtests/bench-memcpy-ifunc.c: New file.
18614 * benchtests/bench-memcpy.c: New file.
18615 * benchtests/bench-string.h: New file.
18617 2013-06-11 Andreas Schwab <schwab@suse.de>
18620 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18621 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18622 values in the triple.
18623 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18624 terminator in the group key.
18626 2013-06-11 Andreas Jaeger <aj@suse.de>
18628 * po/zh_TW.po: Update Chinese (traditional) translation from
18629 translation project.
18631 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18633 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18634 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18635 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18637 (clock_getcpuclockid): Likewise.
18638 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18639 Add weak_alias and libc_hidden_def.
18640 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18641 * rt/clock_gettime.c (clock_gettime): Rename to
18642 __clock_gettime. Add weak_alias and libc_hidden_def.
18643 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18644 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18645 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18646 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18647 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18649 * rt/clock_settime.c (clock_settime): Rename to
18650 __clock_settime. Add weak_alias and libc_hidden_def.
18651 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18653 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18655 * mach/err_boot.sub: Remove trailing whitespace.
18656 * mach/err_ipc.sub: Likewise.
18657 * mach/err_mach.sub: Likewise.
18659 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18660 (ROUNDING_TESTS_double): Likewise.
18661 (ROUNDING_TESTS_long_double): Likewise.
18662 (ROUNDING_TESTS): Likewise.
18663 * math/libm-test.inc: Include <math-tests.h>.
18664 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18665 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18666 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18667 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18669 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18671 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18674 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18676 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18677 otherwise empty TRANS lines.
18678 * sysdeps/gnu/errlist.c: Regenerated.
18680 * catgets/gencat.c (error_print): Use (void) in function
18682 * crypt/crypt_util.c (__init_des): Likewise.
18683 * crypt/speeds.c (Stop): Likewise.
18685 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18686 * inet/ruserpass.c (token): Likewise.
18687 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18688 * intl/localealias.c (extend_alias_table): Likewise.
18689 * intl/plural-exp.c (init_germanic_plural): Likewise.
18690 * libio/fcloseall.c (__fcloseall): Likewise.
18691 * libio/genops.c (_IO_flush_all): Likewise.
18692 (_IO_flush_all_linebuffered): Likewise.
18693 (_IO_cleanup): Likewise.
18694 (_IO_iter_begin): Likewise.
18695 (_IO_iter_end): Likewise.
18696 (_IO_list_lock): Likewise.
18697 (_IO_list_unlock): Likewise.
18698 (_IO_list_resetlock): Likewise.
18699 * libio/getchar.c (getchar): Likewise.
18700 * libio/getchar_u.c (getchar_unlocked): Likewise.
18701 * libio/getwchar.c (getwchar): Likewise.
18702 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18703 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18704 * login/getpt.c (__getpt): Likewise.
18705 * login/tst-utmp.c (main): Likewise.
18706 * malloc/hooks.c (__malloc_check_init): Likewise.
18707 * malloc/malloc.c (__malloc_stats): Likewise.
18708 * malloc/mtrace.c (tr_break): Likewise.
18709 (mtrace): Likewise.
18710 (muntrace): Likewise.
18711 * misc/fstab.c (endfsent): Likewise.
18712 * misc/getclktck.c (__getclktck): Likewise.
18713 * misc/getdtsz.c (__getdtablesize): Likewise.
18714 * misc/gethostid.c (gethostid): Likewise.
18715 * misc/getpagesize.c (__getpagesize): Likewise.
18716 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18717 (__get_nprocs): Likewise.
18718 (__get_phys_pages): Likewise.
18719 (__get_avphys_pages): Likewise.
18720 * misc/getttyent.c (getttyent): Likewise.
18721 (setttyent): Likewise.
18722 (endttyent): Likewise.
18723 * misc/getusershell.c (getusershell): Likewise.
18724 (endusershell): Likewise.
18725 (setusershell): Likewise.
18726 (initshells): Likewise.
18727 * misc/hsearch.c (__hdestroy): Likewise.
18728 * misc/sync.c (sync): Likewise.
18729 * misc/syslog.c (closelog_internal): Likewise.
18730 (closelog): Likewise.
18731 * misc/ttyslot.c (ttyslot): Likewise.
18732 * misc/vhangup.c (vhangup): Likewise.
18733 * posix/fork.c (__fork): Likewise.
18734 * posix/getegid.c (__getegid): Likewise.
18735 * posix/geteuid.c (__geteuid): Likewise.
18736 * posix/getgid.c (__getgid): Likewise.
18737 * posix/getpid.c (__getpid): Likewise.
18738 * posix/getppid.c (__getppid): Likewise.
18739 * posix/getuid.c (__getuid): Likewise.
18740 * posix/pause.c (pause): Likewise.
18741 * posix/setpgrp.c (setpgrp): Likewise.
18742 * posix/setsid.c (__setsid): Likewise.
18743 * posix/test-vfork.c (noop): Likewise.
18744 * resolv/gethnamaddr.c (_endhtent): Likewise.
18745 (_gethtent): Likewise.
18746 (ht_endhostent): Likewise.
18747 (gethostent): Likewise.
18748 (dns_service): Likewise.
18749 * stdlib/drand48.c (drand48): Likewise.
18750 * stdlib/lrand48.c (lrand48): Likewise.
18751 * stdlib/mrand48.c (mrand48): Likewise.
18752 * stdlib/rand.c (rand): Likewise.
18753 * stdlib/random.c (__random): Likewise.
18754 * stdlib/setenv.c (clearenv): Likewise.
18755 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18756 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18757 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18758 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18759 (__get_nprocs): Likewise.
18760 (__get_phys_pages): Likewise.
18761 (__get_avphys_pages): Likewise.
18762 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18763 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18764 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18765 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18766 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18767 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18768 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18769 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18770 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18771 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18772 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18773 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18774 * sysdeps/posix/clock.c (clock): Likewise.
18775 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18776 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18777 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18778 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18779 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18780 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18781 (__get_nprocs_conf): Likewise.
18782 (__get_phys_pages): Likewise.
18783 (__get_avphys_pages): Likewise.
18784 * time/clock.c (clock): Likewise.
18785 * time/tzset.c (__tzname_max): Likewise.
18787 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18789 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18790 (__bswap_32): Do not use "register".
18791 * crypt/crypt.c (_ufc_doit_r): Likewise.
18792 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18793 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18794 * gmon/gmon.c (__monstartup): Likewise.
18795 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18796 * hurd/hurdmalloc.c (more_memory): Likewise.
18797 (malloc): Likewise.
18799 (realloc): Likewise.
18800 (malloc_fork_prepare): Likewise.
18801 (malloc_fork_parent): Likewise.
18802 (malloc_fork_child): Likewise.
18803 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18804 (_svcauth_des): Likewise.
18805 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18806 * inet/inet_net.c (inet_network): Likewise.
18807 * inet/inet_netof.c (inet_netof): Likewise.
18808 * inet/rcmd.c (__validuser2_sa): Likewise.
18809 * io/fts.c (fts_open): Likewise.
18810 (fts_load): Likewise.
18811 (fts_close): Likewise.
18812 (fts_read): Likewise.
18813 (fts_children): Likewise.
18814 (fts_build): Likewise.
18815 (fts_stat): Likewise.
18816 (fts_sort): Likewise.
18817 (fts_alloc): Likewise.
18818 (fts_lfree): Likewise.
18819 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18820 (_IO_file_xsgetn): Likewise.
18821 (_IO_file_xsgetn_mmap): Likewise.
18822 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18823 (_IO_cookie_write): Likewise.
18824 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18825 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18826 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18827 * malloc/obstack.c (_obstack_begin): Likewise.
18828 (_obstack_begin_1): Likewise.
18829 (_obstack_newchunk): Likewise.
18830 (_obstack_allocated_p): Likewise.
18831 (obstack_free): Likewise.
18832 (_obstack_memory_used): Likewise.
18833 * misc/getttyent.c (getttynam): Likewise.
18834 (getttyent): Likewise.
18837 * misc/getusershell.c (initshells): Likewise.
18838 * misc/syslog.c (__vsyslog_chk): Likewise.
18839 * misc/ttyslot.c (ttyslot): Likewise.
18840 * nis/nis_hash.c (__nis_hash): Likewise.
18841 * posix/fnmatch_loop.c (FCT): Likewise.
18842 * posix/getconf.c (print_all): Likewise.
18844 * posix/getopt.c (exchange): Likewise.
18845 * posix/glob.c (globfree): Likewise.
18846 (prefix_array): Likewise.
18847 (__glob_pattern_type): Likewise.
18848 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18849 (NS_GET32): Likewise.
18850 (NS_PUT16): Likewise.
18851 (NS_PUT32): Likewise.
18852 * resolv/gethnamaddr.c (getanswer): Likewise.
18853 (gethostbyname2): Likewise.
18854 (gethostbyaddr): Likewise.
18855 (_gethtent): Likewise.
18856 (_gethtbyname2): Likewise.
18857 (_gethtbyaddr): Likewise.
18858 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18859 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18860 * resolv/res_init.c (__res_vinit): Likewise.
18861 (net_mask): Likewise.
18862 * resolv/res_mkquery.c (outchar): Likewise.
18864 * stdio-common/printf_fp.c (outchar): Likewise.
18866 * stdio-common/printf_fphex.c (outchar): Likewise.
18868 * stdio-common/printf_size.c (outchar): Likewise.
18870 * stdio-common/test_rdwr.c (main): Likewise.
18871 * stdio-common/tfformat.c (matches): Likewise.
18872 * stdio-common/vfprintf.c (outchar): Likewise.
18873 (printf_unknown): Likewise.
18874 (buffered_vfprintf): Likewise.
18875 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18876 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18877 (ReadFile): Likewise.
18878 * stdlib/qsort.c (SWAP): Likewise.
18879 (_quicksort): Likewise.
18880 * stdlib/setenv.c (__add_to_environ): Likewise.
18881 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18882 * stdlib/strtol_l.c (__strtol_l): Likewise.
18883 * stdlib/tst-strtod.c (main): Likewise.
18884 * stdlib/tst-strtol.c (main): Likewise.
18885 * stdlib/tst-strtoll.c (main): Likewise.
18886 * string/bits/string2.h (__strcmp_cc): Likewise.
18887 (__strcmp_cg): Likewise.
18888 (__strcspn_c1): Likewise.
18889 (__strcspn_c2): Likewise.
18890 (__strcspn_c3): Likewise.
18891 (__strspn_c1): Likewise.
18892 (__strspn_c2): Likewise.
18893 (__strspn_c3): Likewise.
18894 (__strsep_1c): Likewise.
18895 (__strsep_2c): Likewise.
18896 (__strsep_3c): Likewise.
18897 * string/memccpy.c (__memccpy): Likewise.
18898 * string/stpcpy.c (__stpcpy): Likewise.
18899 * string/strcmp.c (strcmp): Likewise.
18900 * string/strrchr.c (strrchr): Likewise.
18901 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18903 * sysdeps/mach/hurd/getcwd.c
18904 (_hurd_canonicalize_directory_name_internal): Likewise.
18905 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18906 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18907 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18908 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18909 Likewise, in both definitions.
18910 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18912 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18913 64] (__bswap_64): Likewise.
18914 * time/test_time.c (main): Likewise.
18915 * time/tzfile.c (__tzfile_read): Likewise.
18916 (__tzfile_compute): Likewise.
18917 * time/tzset.c (__tzset_parse_tz): Likewise.
18918 (tzset_internal): Likewise.
18919 (compute_change): Likewise.
18920 * wcsmbs/wcscat.c (__wcscat): Likewise.
18921 * wcsmbs/wcschr.c (wcschr): Likewise.
18922 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18923 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18924 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18925 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18926 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18927 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18928 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18929 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18930 * wcsmbs/wmemset.c (wmemset): Likewise.
18932 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18934 * scripts/config.guess: Update to version 2013-05-16.
18935 * scripts/config.sub: Update to version 2013-04-24.
18936 * scripts/install-sh: Update to version 2011-11-20.07.
18937 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18938 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18940 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18942 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18943 * elf/sln.c: Likewise.
18944 * hurd/hurd/ioctl.h: Likewise.
18945 * hurd/hurdmalloc.c: Likewise.
18946 * hurd/xattr.c: Likewise.
18947 * include/shlib-compat.h: Likewise.
18948 * inet/ruserpass.c: Likewise.
18949 * libio/iofgets_u.c: Likewise.
18950 * libio/iofgetws_u.c: Likewise.
18951 * locale/programs/ld-identification.c: Likewise.
18952 * locale/programs/ld-time.c: Likewise.
18953 * mach/msg-destroy.c: Likewise.
18954 * nss/nss_files/files-netgrp.c: Likewise.
18955 * resolv/res_data.c: Likewise.
18956 * soft-fp/op-1.h: Likewise.
18957 * soft-fp/op-2.h: Likewise.
18958 * soft-fp/op-4.h: Likewise.
18959 * soft-fp/op-common.h: Likewise.
18960 * stdio-common/printf_fphex.c: Likewise.
18961 * stdlib/strtod_l.c: Likewise.
18962 * sunrpc/rpc/clnt.h: Likewise.
18963 * sysdeps/generic/framestate.c: Likewise.
18964 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18965 * sysdeps/i386/bsd-setjmp.S: Likewise.
18966 * sysdeps/i386/__longjmp.S: Likewise.
18967 * sysdeps/i386/setjmp.S: Likewise.
18968 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18969 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18970 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18986 * sysdeps/ieee754/support.c: Likewise.
18987 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18988 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18989 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18990 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18991 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18992 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18993 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18994 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18995 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18996 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18997 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18998 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18999 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19000 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19001 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19002 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19003 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19006 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19008 * posix/transbug.c: Remove executable mode.
19010 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19012 * crypt/speeds.c: Remove trailing whitespace.
19013 * dlfcn/default.c: Likewise.
19014 * elf/ifuncdep2.c: Likewise.
19015 * elf/ifuncmain1.c: Likewise.
19016 * elf/ifuncmain1vis.c: Likewise.
19017 * elf/testobj.h: Likewise.
19018 * elf/tst-stackguard1.c: Likewise.
19019 * gmon/sys/gmon.h: Likewise.
19020 * hurd/hurdmsg.c: Likewise.
19021 * hurd/new-fd.c: Likewise.
19022 * hurd/ports-get.c: Likewise.
19023 * iconvdata/ibm1008_420.c: Likewise.
19024 * inet/tst-getni1.c: Likewise.
19025 * inet/tst-getni2.c: Likewise.
19026 * libio/ioungetc.c: Likewise.
19027 * libio/wfiledoalloc.c: Likewise.
19028 * manual/libm-err-tab.pl: Likewise.
19029 * math/w_dremf.c: Likewise.
19030 * misc/ftruncate.c: Likewise.
19031 * posix/bug-glob2.c: Likewise.
19032 * posix/tst-pcre.c: Likewise.
19033 * posix/wait4.c: Likewise.
19034 * resolv/README: Likewise.
19035 * resolv/res_debug.h: Likewise.
19036 * resolv/tst-inet_ntop.c: Likewise.
19037 * setjmp/bug269-setjmp.c: Likewise.
19038 * soft-fp/extended.h: Likewise.
19039 * soft-fp/op-1.h: Likewise.
19040 * soft-fp/op-2.h: Likewise.
19041 * soft-fp/op-4.h: Likewise.
19042 * soft-fp/op-8.h: Likewise.
19043 * soft-fp/testit.c: Likewise.
19044 * stdio-common/bug16.c: Likewise.
19045 * stdlib/random.c: Likewise.
19046 * sunrpc/rpcsvc/rquota.x: Likewise.
19047 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19052 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19053 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19054 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19055 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19056 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19057 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19076 * sysdeps/ieee754/s_lib_version.c: Likewise.
19077 * sysdeps/mach/hurd/check_fds.c: Likewise.
19078 * sysdeps/mach/hurd/getsockname.c: Likewise.
19079 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19080 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19081 * sysdeps/powerpc/bits/link.h: Likewise.
19082 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19083 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19084 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19085 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19086 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19087 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19088 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19089 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19090 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19091 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19092 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19093 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19094 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19095 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19096 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19097 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19101 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19102 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19103 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19104 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19105 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19106 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19107 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19109 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19110 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19112 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19114 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19115 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19116 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19117 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19118 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19119 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19120 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19121 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19122 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19123 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19124 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19125 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19126 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19127 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19128 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19129 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19130 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19131 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19133 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19134 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19135 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19136 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19137 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19138 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19141 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19142 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19143 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19144 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19145 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19146 * sysdeps/powerpc/sysdep.h: Likewise.
19147 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19148 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19149 * sysdeps/sh/dl-trampoline.S: Likewise.
19150 * sysdeps/sh/memset.S: Likewise.
19151 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19152 * sysdeps/sh/strlen.S: Likewise.
19153 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19154 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19155 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19156 * sysdeps/sparc/sparc32/rem.S: Likewise.
19157 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19158 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19159 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19160 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19161 * sysdeps/sparc/sparc32/urem.S: Likewise.
19162 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19163 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19164 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19165 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19166 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19167 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19168 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19169 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19170 * sysdeps/unix/bsd/times.c: Likewise.
19171 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19172 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19176 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19177 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19178 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19179 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19180 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19181 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19182 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19183 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19184 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19185 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19186 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19187 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19188 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19189 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19190 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19191 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19192 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19193 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19194 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19195 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19196 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19197 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19198 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19199 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19200 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19201 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19202 * sysdeps/x86_64/strcspn.S: Likewise.
19204 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19206 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19207 generated file. Regenerate properly from gen-translit.pl.
19208 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19209 locale/C-translit.h.
19211 2013-06-05 Andreas Schwab <schwab@suse.de>
19214 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19215 week as 6 instead of -1.
19216 * time/tst-strptime.c (day_tests): Add test case.
19218 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19220 * sysdeps/generic/math_private.h
19221 (libc_feholdexcept_setround_53bit): Replace with
19222 libc_feholdsetround_53bit.
19223 (libc_feupdateenv_53bit): Replace with
19224 libc_feresetround_53bit.
19225 (SET_RESTORE_ROUND_53BIT): Adjust.
19227 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19229 * string/test-strchrnul.c: Add copyright header.
19231 * posix/tst-getaddrinfo4.c: Increase test timeout.
19233 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19236 * math/libm-test.inc (MAX_EXP): Remove
19238 (ulp): Use MIN_EXP - MANT_DIG.
19239 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19241 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19243 * po/be.po: Revert last change.
19244 * po/zh_CN.po: Likewise.
19245 * po/header.pot: Likewise.
19247 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19249 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19250 link-libc-deps to empty as target-specific variable.
19251 * Makerules (link-libc-args): New variable.
19252 (libc-for-link): Likewise.
19253 (link-libc-deps): Likewise.
19254 (lib%.so): Depend on $(link-libc-deps). Link with
19256 (build-module): Link with $(link-libc-args).
19257 (build-module-asneeded): Likewise.
19258 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19260 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19261 target-specific variable.
19262 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19263 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19264 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19266 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19268 ($(objpfx)libpcprofile.so): Likewise.
19269 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19271 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19272 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19273 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19275 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19276 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19277 * login/Makefile ($(objpfx)libutil.so): Likewise.
19278 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19279 * math/Makefile ($(objpfx)libm.so): Likewise.
19280 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19281 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19282 variable instead of depending directly on libc.
19283 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19284 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19286 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19288 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19289 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19290 ($(objpfx)libanl.so): Likewise.
19291 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19293 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19295 * sysdeps/i386/fpu/Makefile: Remove file.
19296 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19297 ($(objpfx)libm.so): Remove dependency on ld.so.
19299 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19302 * nis/yp_xdr.c (XDRMAXNAME): Define.
19303 (XDRMAXRECORD): Define.
19304 (xdr_domainname): Use XDRMAXNAME.
19305 (xdr_mapname): Likewise.
19306 (xdr_peername): Likewise.
19307 (xdr_keydat): Use XDRMAXRECORD.
19308 (xdr_valdat): Likewise.
19310 2013-05-30 Jeff Law <law@redhat.com>
19313 * manual/errno.texi (ESTALE): Update to account for more than
19314 just NFS file systems.
19315 * sysdeps/gnu/errlist.c: Regenerated.
19317 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19320 * elf/Makefile (tests): Add tst-null-argv.
19321 (modules-names): Add tst-null-argv-lib.
19322 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19323 (tst-null-argv-ENV): Set environment for tst-null-argv.
19324 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19325 (RTLD_PROGNAME): New macro.
19326 * elf/tst-null-argv.c: New test case.
19327 * elf/tst-null-argv-lib.c: Library for test case.
19328 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19329 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19330 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19331 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19332 * elf/dl-init.c (call_init): Likewise.
19333 (_dl_init): Likewise.
19334 * elf/dl-load.c (print_search_path): Likewise.
19335 (_dl_map_object): Likewise.
19336 * elf/dl-lookup.c (do_lookup_x): Likewise.
19337 (add_dependency): Likewise.
19338 (_dl_lookup_symbol_x): Likewise.
19339 (_dl_debug_bindings): Likewise.
19340 * elf/dl-open.c (_dl_show_scope): Likewise.
19341 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19342 * elf/dl-version.c (match_symbol): Likewise.
19343 (_dl_check_map_versions): Likewise.
19344 * elf/rtld.c (dl_main): Likewise.
19345 (print_unresolved): Use RTLD_PROGNAME.
19346 (print_missing_version): Likewise.
19347 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19348 (elf_machine_rela): Likewise.
19349 * sysdeps/powerpc/powerpc32/dl-machine.c
19350 (__process_machine_rela): Likewise.
19351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19353 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19355 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19357 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19364 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19366 * po/be.po: Add descriptive title.
19367 * po/zh_CN.po: Likewise.
19368 * po/header.pot: Likewise.
19370 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19372 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19374 (enlarge_archive): Likewise.
19376 2013-05-28 Ben North <ben@redfrontdoor.org>
19378 * manual/arith.texi (frexp): It is the magnitude of the return
19379 value which lies in [0.5, 1), not the return value itself.
19381 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19385 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19387 * stdio-common/bug26.c (main): Correct fscanf template.
19389 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19390 declare _dl_skip_args.
19392 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19395 * manual/platform.texi: Add missing @end deftypefun.
19397 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19400 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19401 bit of mantissa of 2^16382.
19402 * math/libm-test.inc (hypot_test_data): Add more tests.
19404 * math/libm-test.inc: Add drem and pow10 to list of tested
19406 (pow10_test): New function.
19407 (drem_test): Likewise.
19408 (drem_test_tonearest): Likewise.
19409 (drem_test_towardzero): Likewise.
19410 (drem_test_downward): Likewise.
19411 (drem_test_upward): Likewise.
19412 (main): Call the new functions.
19414 * math/libm-test.inc (finite_test_data): Remove.
19415 (finite_test): Run tests from isfinite_test_data.
19416 (gamma_test_data): Remove.
19417 (gamma_test): Run tests from lgamma_test_data.
19418 * sysdeps/i386/fpu/libm-test-ulps: Update.
19419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19421 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19423 * manual/platform.texi: Add PowerPC PPR function set documentation.
19424 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19427 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19429 * math/libm-test.inc (MAX_EXP): Define.
19431 (ulp): New function.
19432 (check_float_internal): Use ULPDIFF.
19433 (cpow_test): Disable failing test.
19434 (check_ulp): Test ulp() implemetnation.
19435 (main): Call check_ulp before starting tests.
19437 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19439 * math/gen-libm-test.pl (generate_testfile): Do not handle
19440 START_DATA and END_DATA.
19441 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19443 (acos_tonearest_test_data): Likewise.
19444 (acos_towardzero_test_data): Likewise.
19445 (acos_downward_test_data): Likewise.
19446 (acos_upward_test_data): Likewise.
19447 (acosh_test_data): Likewise.
19448 (asin_test_data): Likewise.
19449 (asin_tonearest_test_data): Likewise.
19450 (asin_towardzero_test_data): Likewise.
19451 (asin_downward_test_data): Likewise.
19452 (asin_upward_test_data): Likewise.
19453 (asinh_test_data): Likewise.
19454 (atan_test_data): Likewise.
19455 (atanh_test_data): Likewise.
19456 (atan2_test_data): Likewise.
19457 (cabs_test_data): Likewise.
19458 (cacos_test_data): Likewise.
19459 (cacosh_test_data): Likewise.
19460 (carg_test_data): Likewise.
19461 (casin_test_data): Likewise.
19462 (casinh_test_data): Likewise.
19463 (catan_test_data): Likewise.
19464 (catanh_test_data): Likewise.
19465 (cbrt_test_data): Likewise.
19466 (ccos_test_data): Likewise.
19467 (ccosh_test_data): Likewise.
19468 (ceil_test_data): Likewise.
19469 (cexp_test_data): Likewise.
19470 (cimag_test_data): Likewise.
19471 (clog_test_data): Likewise.
19472 (clog10_test_data): Likewise.
19473 (conj_test_data): Likewise.
19474 (copysign_test_data): Likewise.
19475 (cos_test_data): Likewise.
19476 (cos_tonearest_test_data): Likewise.
19477 (cos_towardzero_test_data): Likewise.
19478 (cos_downward_test_data): Likewise.
19479 (cos_upward_test_data): Likewise.
19480 (cosh_test_data): Likewise.
19481 (cosh_tonearest_test_data): Likewise.
19482 (cosh_towardzero_test_data): Likewise.
19483 (cosh_downward_test_data): Likewise.
19484 (cosh_upward_test_data): Likewise.
19485 (cpow_test_data): Likewise.
19486 (cproj_test_data): Likewise.
19487 (creal_test_data): Likewise.
19488 (csin_test_data): Likewise.
19489 (csinh_test_data): Likewise.
19490 (csqrt_test_data): Likewise.
19491 (ctan_test_data): Likewise.
19492 (ctan_tonearest_test_data): Likewise.
19493 (ctan_towardzero_test_data): Likewise.
19494 (ctan_downward_test_data): Likewise.
19495 (ctan_upward_test_data): Likewise.
19496 (ctanh_test_data): Likewise.
19497 (ctanh_tonearest_test_data): Likewise.
19498 (ctanh_towardzero_test_data): Likewise.
19499 (ctanh_downward_test_data): Likewise.
19500 (ctanh_upward_test_data): Likewise.
19501 (erf_test_data): Likewise.
19502 (erfc_test_data): Likewise.
19503 (exp_test_data): Likewise.
19504 (exp_tonearest_test_data): Likewise.
19505 (exp_towardzero_test_data): Likewise.
19506 (exp_downward_test_data): Likewise.
19507 (exp_upward_test_data): Likewise.
19508 (exp10_test_data): Likewise.
19509 (exp2_test_data): Likewise.
19510 (expm1_test_data): Likewise.
19511 (fabs_test_data): Likewise.
19512 (fdim_test_data): Likewise.
19513 (finite_test_data): Likewise.
19514 (floor_test_data): Likewise.
19515 (fma_test_data): Likewise.
19516 (fma_towardzero_test_data): Likewise.
19517 (fma_downward_test_data): Likewise.
19518 (fma_upward_test_data): Likewise.
19519 (fmax_test_data): Likewise.
19520 (fmin_test_data): Likewise.
19521 (fmod_test_data): Likewise.
19522 (fpclassify_test_data): Likewise.
19523 (frexp_test_data): Likewise.
19524 (gamma_test_data): Likewise.
19525 (hypot_test_data): Likewise.
19526 (ilogb_test_data): Likewise.
19527 (isfinite_test_data): Likewise.
19528 (isgreater_test_data): Likewise.
19529 (isgreaterequal_test_data): Likewise.
19530 (isinf_test_data): Likewise.
19531 (isless_test_data): Likewise.
19532 (islessequal_test_data): Likewise.
19533 (islessgreater_test_data): Likewise.
19534 (isnan_test_data): Likewise.
19535 (isnormal_test_data): Likewise.
19536 (issignaling_test_data): Likewise.
19537 (isunordered_test_data): Likewise.
19538 (j0_test_data): Likewise.
19539 (j1_test_data): Likewise.
19540 (jn_test_data): Likewise.
19541 (ldexp_test_data): Likewise.
19542 (lgamma_test_data): Likewise.
19543 (lrint_test_data): Likewise.
19544 (lrint_tonearest_test_data): Likewise.
19545 (lrint_towardzero_test_data): Likewise.
19546 (lrint_downward_test_data): Likewise.
19547 (lrint_upward_test_data): Likewise.
19548 (llrint_test_data): Likewise.
19549 (llrint_tonearest_test_data): Likewise.
19550 (llrint_towardzero_test_data): Likewise.
19551 (llrint_downward_test_data): Likewise.
19552 (llrint_upward_test_data): Likewise.
19553 (log_test_data): Likewise.
19554 (log10_test_data): Likewise.
19555 (log1p_test_data): Likewise.
19556 (log2_test_data): Likewise.
19557 (logb_test_data): Likewise.
19558 (logb_downward_test_data): Likewise.
19559 (lround_test_data): Likewise.
19560 (llround_test_data): Likewise.
19561 (modf_test_data): Likewise.
19562 (nearbyint_test_data): Likewise.
19563 (nextafter_test_data): Likewise.
19564 (nexttoward_test_data): Likewise.
19565 (pow_test_data): Likewise.
19566 (pow_tonearest_test_data): Likewise.
19567 (pow_towardzero_test_data): Likewise.
19568 (pow_downward_test_data): Likewise.
19569 (pow_upward_test_data): Likewise.
19570 (remainder_test_data): Likewise.
19571 (remainder_tonearest_test_data): Likewise.
19572 (remainder_towardzero_test_data): Likewise.
19573 (remainder_downward_test_data): Likewise.
19574 (remainder_upward_test_data): Likewise.
19575 (remquo_test_data): Likewise.
19576 (rint_test_data): Likewise.
19577 (rint_tonearest_test_data): Likewise.
19578 (rint_towardzero_test_data): Likewise.
19579 (rint_downward_test_data): Likewise.
19580 (rint_upward_test_data): Likewise.
19581 (round_test_data): Likewise.
19582 (scalb_test_data): Likewise.
19583 (scalbn_test_data): Likewise.
19584 (scalbln_test_data): Likewise.
19585 (signbit_test_data): Likewise.
19586 (sin_test_data): Likewise.
19587 (sin_tonearest_test_data): Likewise.
19588 (sin_towardzero_test_data): Likewise.
19589 (sin_downward_test_data): Likewise.
19590 (sin_upward_test_data): Likewise.
19591 (sincos_test_data): Likewise.
19592 (sinh_test_data): Likewise.
19593 (sinh_tonearest_test_data): Likewise.
19594 (sinh_towardzero_test_data): Likewise.
19595 (sinh_downward_test_data): Likewise.
19596 (sinh_upward_test_data): Likewise.
19597 (sqrt_test_data): Likewise.
19598 (tan_test_data): Likewise.
19599 (tan_tonearest_test_data): Likewise.
19600 (tan_towardzero_test_data): Likewise.
19601 (tan_downward_test_data): Likewise.
19602 (tan_upward_test_data): Likewise.
19603 (tanh_test_data): Likewise.
19604 (tgamma_test_data): Likewise.
19605 (trunc_test_data): Likewise.
19606 (y0_test_data): Likewise.
19607 (y1_test_data): Likewise.
19608 (yn_test_data): Likewise.
19609 (significand_test_data): Likewise.
19611 * math/gen-libm-test.pl (@functions): Remove variable.
19612 (generate_testfile): Don't handle START and END lines.
19613 * math/libm-test.inc (START): New macro.
19615 (END_COMPLEX): Likewise.
19616 (acos_test): Use END macro without arguments.
19617 (acos_test_tonearest): Likewise.
19618 (acos_test_towardzero): Likewise.
19619 (acos_test_downward): Likewise.
19620 (acos_test_upward): Likewise.
19621 (acosh_test): Likewise.
19622 (asin_test): Likewise.
19623 (asin_test_tonearest): Likewise.
19624 (asin_test_towardzero): Likewise.
19625 (asin_test_downward): Likewise.
19626 (asin_test_upward): Likewise.
19627 (asinh_test): Likewise.
19628 (atan_test): Likewise.
19629 (atanh_test): Likewise.
19630 (atan2_test): Likewise.
19631 (cabs_test): Likewise.
19632 (cacos_test): Use END_COMPLEX macro without arguments.
19633 (cacosh_test): Likewise.
19634 (carg_test): Use END macro without arguments.
19635 (casin_test): Use END_COMPLEX macro without arguments.
19636 (casinh_test): Likewise.
19637 (catan_test): Likewise.
19638 (catanh_test): Likewise.
19639 (cbrt_test): Use END macro without arguments.
19640 (ccos_test): Use END_COMPLEX macro without arguments.
19641 (ccosh_test): Likewise.
19642 (ceil_test): Use END macro without arguments.
19643 (cexp_test): Use END_COMPLEX macro without arguments.
19644 (cimag_test): Use END macro without arguments.
19645 (clog_test): Use END_COMPLEX macro without arguments.
19646 (clog10_test): Likewise.
19647 (conj_test): Likewise.
19648 (copysign_test): Use END macro without arguments.
19649 (cos_test): Likewise.
19650 (cos_test_tonearest): Likewise.
19651 (cos_test_towardzero): Likewise.
19652 (cos_test_downward): Likewise.
19653 (cos_test_upward): Likewise.
19654 (cosh_test): Likewise.
19655 (cosh_test_tonearest): Likewise.
19656 (cosh_test_towardzero): Likewise.
19657 (cosh_test_downward): Likewise.
19658 (cosh_test_upward): Likewise.
19659 (cpow_test): Use END_COMPLEX macro without arguments.
19660 (cproj_test): Likewise.
19661 (creal_test): Use END macro without arguments.
19662 (csin_test): Use END_COMPLEX macro without arguments.
19663 (csinh_test): Likewise.
19664 (csqrt_test): Likewise.
19665 (ctan_test): Likewise.
19666 (ctan_test_tonearest): Likewise.
19667 (ctan_test_towardzero): Likewise.
19668 (ctan_test_downward): Likewise.
19669 (ctan_test_upward): Likewise.
19670 (ctanh_test): Likewise.
19671 (ctanh_test_tonearest): Likewise.
19672 (ctanh_test_towardzero): Likewise.
19673 (ctanh_test_downward): Likewise.
19674 (ctanh_test_upward): Likewise.
19675 (erf_test): Use END macro without arguments.
19676 (erfc_test): Likewise.
19677 (exp_test): Likewise.
19678 (exp_test_tonearest): Likewise.
19679 (exp_test_towardzero): Likewise.
19680 (exp_test_downward): Likewise.
19681 (exp_test_upward): Likewise.
19682 (exp10_test): Likewise.
19683 (exp2_test): Likewise.
19684 (expm1_test): Likewise.
19685 (fabs_test): Likewise.
19686 (fdim_test): Likewise.
19687 (finite_test): Likewise.
19688 (floor_test): Likewise.
19689 (fma_test): Likewise.
19690 (fma_test_towardzero): Likewise.
19691 (fma_test_downward): Likewise.
19692 (fma_test_upward): Likewise.
19693 (fmax_test): Likewise.
19694 (fmin_test): Likewise.
19695 (fmod_test): Likewise.
19696 (fpclassify_test): Likewise.
19697 (frexp_test): Likewise.
19698 (gamma_test): Likewise.
19699 (hypot_test): Likewise.
19700 (ilogb_test): Likewise.
19701 (isfinite_test): Likewise.
19702 (isgreater_test): Likewise.
19703 (isgreaterequal_test): Likewise.
19704 (isinf_test): Likewise.
19705 (isless_test): Likewise.
19706 (islessequal_test): Likewise.
19707 (islessgreater_test): Likewise.
19708 (isnan_test): Likewise.
19709 (isnormal_test): Likewise.
19710 (issignaling_test): Likewise.
19711 (isunordered_test): Likewise.
19712 (j0_test): Likewise.
19713 (j1_test): Likewise.
19714 (jn_test): Likewise.
19715 (ldexp_test): Likewise.
19716 (lgamma_test): Likewise.
19717 (lrint_test): Likewise.
19718 (lrint_test_tonearest): Likewise.
19719 (lrint_test_towardzero): Likewise.
19720 (lrint_test_downward): Likewise.
19721 (lrint_test_upward): Likewise.
19722 (llrint_test): Likewise.
19723 (llrint_test_tonearest): Likewise.
19724 (llrint_test_towardzero): Likewise.
19725 (llrint_test_downward): Likewise.
19726 (llrint_test_upward): Likewise.
19727 (log_test): Likewise.
19728 (log10_test): Likewise.
19729 (log1p_test): Likewise.
19730 (log2_test): Likewise.
19731 (logb_test): Likewise.
19732 (logb_test_downward): Likewise.
19733 (lround_test): Likewise.
19734 (llround_test): Likewise.
19735 (modf_test): Likewise.
19736 (nearbyint_test): Likewise.
19737 (nextafter_test): Likewise.
19738 (nexttoward_test): Likewise.
19739 (pow_test): Likewise.
19740 (pow_test_tonearest): Likewise.
19741 (pow_test_towardzero): Likewise.
19742 (pow_test_downward): Likewise.
19743 (pow_test_upward): Likewise.
19744 (remainder_test): Likewise.
19745 (remainder_test_tonearest): Likewise.
19746 (remainder_test_towardzero): Likewise.
19747 (remainder_test_downward): Likewise.
19748 (remainder_test_upward): Likewise.
19749 (remquo_test): Likewise.
19750 (rint_test): Likewise.
19751 (rint_test_tonearest): Likewise.
19752 (rint_test_towardzero): Likewise.
19753 (rint_test_downward): Likewise.
19754 (rint_test_upward): Likewise.
19755 (round_test): Likewise.
19756 (scalb_test): Likewise.
19757 (scalbn_test): Likewise.
19758 (scalbln_test): Likewise.
19759 (signbit_test): Likewise.
19760 (sin_test): Likewise.
19761 (sin_test_tonearest): Likewise.
19762 (sin_test_towardzero): Likewise.
19763 (sin_test_downward): Likewise.
19764 (sin_test_upward): Likewise.
19765 (sincos_test): Likewise.
19766 (sinh_test): Likewise.
19767 (sinh_test_tonearest): Likewise.
19768 (sinh_test_towardzero): Likewise.
19769 (sinh_test_downward): Likewise.
19770 (sinh_test_upward): Likewise.
19771 (sqrt_test): Likewise.
19772 (tan_test): Likewise.
19773 (tan_test_tonearest): Likewise.
19774 (tan_test_towardzero): Likewise.
19775 (tan_test_downward): Likewise.
19776 (tan_test_upward): Likewise.
19777 (tanh_test): Likewise.
19778 (tgamma_test): Likewise.
19779 (trunc_test): Likewise.
19780 (y0_test): Likewise.
19781 (y1_test): Likewise.
19782 (yn_test): Likewise.
19783 (significand_test): Likewise.
19785 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19788 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19790 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19793 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19794 __ppc_mdoio and __ppc_mdoom.
19795 * manual/platform.texi: Document new functions __ppc_yield,
19796 __ppc_mdoio and __ppc_mdoom.
19798 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19800 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19801 (main): Mention "tls" pseudo-hwcap is legacy.
19802 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19804 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19806 * math/gen-libm-test.pl (parse_args): Output only string of
19807 arguments as text for test name, not full call or descriptions of
19808 tests for extra outputs.
19809 (generate_testfile): Do not pass function name to parse_args.
19810 Generate this_func variable from START.
19811 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19813 (struct test_ff_f_data): Likewise.
19814 (test_ff_f_data_nexttoward): Likewise.
19815 (struct test_fi_f_data): Likewise.
19816 (struct test_fl_f_data): Likewise.
19817 (struct test_if_f_data): Likewise.
19818 (struct test_fff_f_data): Likewise.
19819 (struct test_c_f_data): Likewise.
19820 (struct test_f_f1_data): Likewise. Remove field extra_name.
19821 (struct test_fF_f1_data): Likewise.
19822 (struct test_ffI_f1_data): Likewise.
19823 (struct test_c_c_data): Rename test_name field to arg_str.
19824 (struct test_cc_c_data): Likewise.
19825 (struct test_f_i_data): Likewise.
19826 (struct test_ff_i_data): Likewise.
19827 (struct test_f_l_data): Likewise.
19828 (struct test_f_L_data): Likewise.
19829 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19831 (COMMON_TEST_SETUP): New macro.
19832 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19833 (COMMON_TEST_CLEANUP): Likewise.
19834 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19835 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19837 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19838 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19840 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19841 (RUN_TEST_fff_f): Take argument string. Call new setup and
19843 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19844 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19846 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19847 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19849 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19850 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19852 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19853 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19855 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19856 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19858 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19859 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19861 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19862 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19864 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19865 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19867 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19868 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19870 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19871 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19873 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19874 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19876 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19877 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19879 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19880 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19882 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19883 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19885 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19886 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19888 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19890 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19892 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19893 to _sifields.sigfault.
19894 (si_addr_lsb): Define new macro.
19895 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19897 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19899 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19902 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19904 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19906 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19907 loading the domain.
19909 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19911 * math/gen-libm-test.pl (parse_args): Do not include expected
19912 result in test name.
19913 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19914 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19915 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19916 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19917 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19920 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19922 * benchtests/Makefile: Sort function entries.
19924 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19925 tanh, asinh, acosh, atanh.
19926 * benchtests/acos-inputs: New file.
19927 * benchtests/acosh-inputs: New file.
19928 * benchtests/asin-inputs: New file.
19929 * benchtests/asinh-inputs: New file.
19930 * benchtests/atanh-inputs: New file.
19931 * benchtests/cosh-inputs: New file.
19932 * benchtests/log-inputs: New file.
19933 * benchtests/sinh-inputs: New file.
19934 * benchtests/tanh-inputs: New file.
19936 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19939 * posix/tst-getaddrinfo4.c: New test.
19940 * posix/Makefile (tests): Add it.
19942 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19945 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19946 when no services were used.
19947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19948 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19950 2013-05-21 Andreas Schwab <schwab@suse.de>
19953 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19954 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19956 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19957 redundant variable declarations and reallocation of buffer when
19958 parsing as IPv6 address. Always set NSS status when called from
19959 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19960 buffer too small. Correct computation of needed size.
19961 * nss/Makefile (tests): Add test-digits-dots.
19962 * nss/test-digits-dots.c: New test.
19964 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19966 * benchtests/Makefile: Remove instructions for adding
19968 * benchtests/README: New file to explain how to execute and
19969 enhance the benchmark tests.
19971 2013-05-21 Andreas Schwab <schwab@suse.de>
19974 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19975 * setjmp/tst-sigsetjmp.c: New test.
19977 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19979 * sysdeps/x86_64/memset.S (memset): New implementation.
19980 (__bzero): Likewise.
19981 (__memset_tail): New function.
19983 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19985 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19986 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19987 __memcpy_sse2_unaligned ifunc selection.
19988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19989 Add memcpy-sse2-unaligned.S.
19990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19991 Add: __memcpy_sse2_unaligned.
19993 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19996 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19997 math_force_eval before restoring floating-point envrionment.
19998 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19999 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20001 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20003 (__nearbyintl): Use math_force_eval before restoring
20004 floating-point environment.
20005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20007 * math/gen-libm-test.pl (special_functions): Remove.
20008 (parse_args): Don't handle TEST_extra. Handle functions with no
20010 * math/libm-test.inc (struct test_sincos_data): Replace with
20011 struct test_fFF_11_data.
20012 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20013 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20014 (sincos_test_data): Change element type to struct
20015 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20016 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20017 RUN_TEST_LOOP_sincos.
20018 * math/README.libm-test: Don't mention special handling of
20019 individual functions.
20020 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20022 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20023 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20024 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20027 * math/gen-libm-test.pl (get_variable): Remove function.
20028 (parse_args): Don't show pointer parameters to call in test
20029 names. Use "extra output N" in test names for extra outputs
20030 rather than naming variables.
20032 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20035 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20036 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20037 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20039 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20041 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20044 * math/gen-libm-test.pl (@tests): Remove variable.
20045 ($count): Likewise.
20046 (new_test): Remove function.
20047 (show_exceptions): New function.
20048 (special_functions): Use show_exceptions instead of new_test.
20049 (parse_args): Likewise.
20050 (generate_testfile): Pass only function name in generated call to
20051 print_max_error or print_complex_max_error.
20052 (get_ulps): Do not handle complex tests specially.
20053 (output_test): Rename to ...
20054 (get_all_ulps_for_test): ... this. Return a string rather than
20055 printing to a file. Require ulps to be present.
20056 (output_ulps): Generate arrays rather than #defines.
20057 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20058 (struct ulp_data): New type.
20059 (BUILD_COMPLEX_ULP): Remove macro.
20060 (compare_ulp_data): New function.
20061 (find_ulps): Likewise.
20062 (find_test_ulps): Likewise.
20063 (find_function_ulps): Likewise.
20064 (find_complex_function_ulps): Likewise.
20065 (print_max_error): Determine allowed ulps using
20066 find_function_ulps.
20067 (print_complex_max_error): Determine allowed ulps using
20068 find_complex_function_ulps.
20069 (check_float_internal): Determine max ulps using find_test_ulps.
20070 (check_float): Do not take max_ulp parameter. Update call to
20071 check_float_internal.
20072 (check_complex): Likewise.
20073 (check_int): Do not take max_ulp parameter.
20074 (check_long): Likewise.
20075 (check_bool): Likewise.
20076 (check_longlong): Likewise.
20077 (struct test_f_f_data): Remove max_ulp field.
20078 (struct test_ff_f_data): Likewise.
20079 (struct test_ff_f_data_nexttoward): Likewise.
20080 (struct test_fi_f_data): Likewise.
20081 (struct test_fl_f_data): Likewise.
20082 (struct test_if_f_data): Likewise.
20083 (struct test_fff_f_data): Likewise.
20084 (struct test_c_f_data): Likewise.
20085 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20086 (struct test_fF_f1_data): Likewise.
20087 (struct test_ffI_f1_data): Likewise.
20088 (struct test_c_c_data): Remove max_ulp field.
20089 (struct test_cc_c_data): Likewise.
20090 (struct test_f_i_data): Likewise.
20091 (struct test_ff_i_data): Likewise.
20092 (struct test_f_l_data): Likewise.
20093 (struct test_f_L_data): Likewise.
20094 (struct test_sincos_data): Likewise.
20095 (RUN_TEST_f_f): Do not handle ulps.
20096 (RUN_TEST_LOOP_f_f): Likewise.
20097 (RUN_TEST_2_f): Likewise.
20098 (RUN_TEST_LOOP_2_f): Likewise.
20099 (RUN_TEST_fff_f): Likewise.
20100 (RUN_TEST_LOOP_fff_f): Likewise.
20101 (RUN_TEST_c_f): Likewise.
20102 (RUN_TEST_LOOP_c_f): Likewise.
20103 (RUN_TEST_f_f1): Likewise.
20104 (RUN_TEST_LOOP_f_f1): Likewise.
20105 (RUN_TEST_fF_f1): Likewise.
20106 (RUN_TEST_LOOP_fF_f1): Likewise.
20107 (RUN_TEST_fI_f1): Likewise.
20108 (RUN_TEST_LOOP_fI_f1): Likewise.
20109 (RUN_TEST_ffI_f1): Likewise.
20110 (RUN_TEST_LOOP_ffI_f1): Likewise.
20111 (RUN_TEST_c_c): Likewise.
20112 (RUN_TEST_LOOP_c_c): Likewise.
20113 (RUN_TEST_cc_c): Likewise.
20114 (RUN_TEST_LOOP_cc_c): Likewise.
20115 (RUN_TEST_f_i): Likewise.
20116 (RUN_TEST_LOOP_f_i): Likewise.
20117 (RUN_TEST_f_i_tg): Likewise.
20118 (RUN_TEST_LOOP_f_i_tg): Likewise.
20119 (RUN_TEST_ff_i_tg): Likewise.
20120 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20121 (RUN_TEST_f_b): Likewise.
20122 (RUN_TEST_LOOP_f_b): Likewise.
20123 (RUN_TEST_f_b_tg): Likewise.
20124 (RUN_TEST_LOOP_f_b_tg): Likewise.
20125 (RUN_TEST_f_l): Likewise.
20126 (RUN_TEST_LOOP_f_l): Likewise.
20127 (RUN_TEST_f_L): Likewise.
20128 (RUN_TEST_LOOP_f_L): Likewise.
20129 (RUN_TEST_sincos): Likewise.
20130 (RUN_TEST_LOOP_sincos): Likewise.
20132 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20136 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20137 main case of finite arguments, set rounding mode to FE_TONEAREST
20138 and discard exceptions.
20139 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20141 (remainder_tonearest_test_data): New variable.
20142 (remainder_test_tonearest): New function.
20143 (remainder_towardzero_test_data): New variable.
20144 (remainder_test_towardzero): New function.
20145 (remainder_downward_test_data): New variable.
20146 (remainder_test_downward): New function.
20147 (remainder_upward_test_data): New variable.
20148 (remainder_test_upward): New function.
20149 (main): Call the new test functions.
20151 * math/libm-test.inc (struct test_f_f1_data): Remove field
20153 (struct test_fF_f1_data): Likewise.
20154 (struct test_ffI_f1_data): Likewise.
20155 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20156 based on value of EXTRA_EXPECTED.
20157 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20158 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20159 EXTRA_VAR based on value of EXTRA_EXPECTED.
20160 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20161 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20162 EXTRA_VAR based on value of EXTRA_EXPECTED.
20163 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20164 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20165 EXTRA_VAR based on value of EXTRA_EXPECTED.
20166 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20167 * math/gen-libm-test.pl (parse_args): Don't output initializers
20168 for extra output values.
20170 * math/libm-test.inc (check_int): Expect result to be exactly
20171 equal to expected value and do not handle ulps.
20172 (check_long): Likewise.
20173 (check_longlong): Likewise.
20175 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20177 (cimag_test_data): Likewise.
20178 (conj_test_data): Likewise.
20179 (copysign_test_data): Likewise.
20180 (cproj_test_data): Likewise.
20181 (creal_test_data): Likewise.
20182 (fabs_test_data): Likewise.
20183 (fdim_test_data): Likewise.
20184 (finite_test_data): Likewise.
20185 (floor_test_data): Likewise.
20186 (fmax_test_data): Likewise.
20187 (fmin_test_data): Likewise.
20188 (fmod_test_data): Likewise.
20189 (fpclassify_test_data): Likewise.
20190 (frexp_test_data): Likewise.
20191 (ilogb_test_data): Likewise.
20192 (isfinite_test_data): Likewise.
20193 (isgreater_test_data): Likewise.
20194 (isgreaterequal_test_data): Likewise.
20195 (isinf_test_data): Likewise.
20196 (isless_test_data): Likewise.
20197 (islessequal_test_data): Likewise.
20198 (islessgreater_test_data): Likewise.
20199 (isnan_test_data): Likewise.
20200 (isnormal_test_data): Likewise.
20201 (issignaling_test_data): Likewise.
20202 (isunordered_test_data): Likewise.
20203 (ldexp_test_data): Likewise.
20204 (lrint_test_data): Likewise.
20205 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20206 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20207 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20208 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20209 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20210 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20212 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20213 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20214 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20215 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20217 (lrint_downward_test_data): Test for "inexact" exceptions.
20218 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20219 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20220 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20222 (lrint_upward_test_data): Test for "inexact" exceptions.
20223 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20225 (llrint_test_data): Test for "inexact" exceptions.
20226 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20227 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20228 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20229 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20230 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20231 (llrint_downward_test_data): Test for "inexact" exceptions.
20232 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20233 (llrint_upward_test_data): Test for "inexact" exceptions.
20234 (logb_test_data): Likewise.
20235 (logb_downward_test_data): Likewise.
20236 (nextafter_test_data): Likewise.
20237 (nexttoward_test_data): Likewise.
20238 (remainder_test_data): Likewise.
20239 (remquo_test_data): Likewise.
20240 (scalbn_test_data): Likewise.
20241 (scalbln_test_data): Likewise.
20242 (signbit_test_data): Likewise.
20243 (sqrt_test_data): Likewise.
20244 (significand_test_data): Likewise.
20246 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20249 * benchtests/bench-modf.c (struct args): Mark arg0 as
20251 * scripts/bench.pl: Mark members of struct args as volatile.
20253 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20256 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20257 negative infinity on POWER6 or lower.
20258 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20260 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20263 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20264 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20265 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20266 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20267 (_FP_SETQNAN): New macro.
20268 (_FP_SETQNAN_SEMIRAW): Likewise.
20269 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20270 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20271 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20272 (FP_EXTEND): Use _FP_FRAC_SNANP.
20273 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20274 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20276 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20278 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20281 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20283 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20284 with DIVIDE_BY_ZERO_EXCEPTION.
20285 (gamma_test_data): Likewise.
20286 (lgamma_test_data): Likewise.
20287 (log_test_data): Likewise.
20288 (log10_test_data): Likewise.
20289 (log2_test_data): Likewise.
20290 (tgamma_test_data): Likewise.
20292 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20293 (acos_test_tonearest): Likewise.
20294 (acos_test_towardzero): Likewise.
20295 (acos_test_downward): Likewise.
20296 (acos_test_upward): Likewise.
20297 (acosh_test): Likewise.
20298 (asin_test): Likewise.
20299 (asin_test_tonearest): Likewise.
20300 (asin_test_towardzero): Likewise.
20301 (asin_test_downward): Likewise.
20302 (asin_test_upward): Likewise.
20303 (asinh_test): Likewise.
20304 (atan_test): Likewise.
20305 (atanh_test): Likewise.
20306 (atan2_test): Likewise.
20307 (cabs_test): Likewise.
20308 (cacos_test): Likewise.
20309 (cacosh_test): Likewise.
20310 (casin_test): Likewise.
20311 (casinh_test): Likewise.
20312 (catan_test): Likewise.
20313 (catanh_test): Likewise.
20314 (cbrt_test): Likewise.
20315 (ccos_test): Likewise.
20316 (ccosh_test): Likewise.
20317 (cexp_test): Likewise.
20318 (clog_test): Likewise.
20319 (clog10_test): Likewise.
20320 (cos_test): Likewise.
20321 (cos_test_tonearest): Likewise.
20322 (cos_test_towardzero): Likewise.
20323 (cos_test_downward): Likewise.
20324 (cos_test_upward): Likewise.
20325 (cosh_test): Likewise.
20326 (cosh_test_tonearest): Likewise.
20327 (cosh_test_towardzero): Likewise.
20328 (cosh_test_downward): Likewise.
20329 (cosh_test_upward): Likewise.
20330 (cpow_test): Likewise.
20331 (csin_test): Likewise.
20332 (csinh_test): Likewise.
20333 (csqrt_test): Likewise.
20334 (ctan_test): Likewise.
20335 (ctan_test_tonearest): Likewise.
20336 (ctan_test_towardzero): Likewise.
20337 (ctan_test_downward): Likewise.
20338 (ctan_test_upward): Likewise.
20339 (ctanh_test): Likewise.
20340 (ctanh_test_tonearest): Likewise.
20341 (ctanh_test_towardzero): Likewise.
20342 (ctanh_test_downward): Likewise.
20343 (ctanh_test_upward): Likewise.
20344 (erf_test): Likewise.
20345 (erfc_test): Likewise.
20346 (exp_test): Likewise.
20347 (exp_test_tonearest): Likewise.
20348 (exp_test_towardzero): Likewise.
20349 (exp_test_downward): Likewise.
20350 (exp_test_upward): Likewise.
20351 (exp10_test): Likewise.
20352 (exp2_test): Likewise.
20353 (expm1_test): Likewise.
20354 (fmod_test): Likewise.
20355 (gamma_test): Likewise.
20356 (hypot_test): Likewise.
20357 (j0_test): Likewise.
20358 (j1_test): Likewise.
20359 (jn_test): Likewise.
20360 (lgamma_test): Likewise.
20361 (log_test): Likewise.
20362 (log10_test): Likewise.
20363 (log1p_test): Likewise.
20364 (log2_test): Likewise.
20365 (logb_test_downward): Likewise.
20366 (pow_test): Likewise.
20367 (pow_test_tonearest): Likewise.
20368 (pow_test_towardzero): Likewise.
20369 (pow_test_downward): Likewise.
20370 (pow_test_upward): Likewise.
20371 (remainder_test): Likewise.
20372 (remquo_test): Likewise.
20373 (sin_test): Likewise.
20374 (sin_test_tonearest): Likewise.
20375 (sin_test_towardzero): Likewise.
20376 (sin_test_downward): Likewise.
20377 (sin_test_upward): Likewise.
20378 (sincos_test): Likewise.
20379 (sinh_test): Likewise.
20380 (sinh_test_tonearest): Likewise.
20381 (sinh_test_towardzero): Likewise.
20382 (sinh_test_downward): Likewise.
20383 (sinh_test_upward): Likewise.
20384 (sqrt_test): Likewise.
20385 (tan_test): Likewise.
20386 (tan_test_tonearest): Likewise.
20387 (tan_test_towardzero): Likewise.
20388 (tan_test_downward): Likewise.
20389 (tan_test_upward): Likewise.
20390 (tanh_test): Likewise.
20391 (tgamma_test): Likewise.
20392 (y0_test): Likewise.
20393 (y1_test): Likewise.
20394 (yn_test): Likewise.
20396 * math/gen-libm-test.pl (adjust_arg): Remove function.
20397 (special_function): Remove argument $in_func. Only handle
20398 generating output for tables of tests, not inside functions.
20399 (parse_args): Likewise.
20400 (generate_testfile): Remove variable $in_func. Update call to
20402 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20403 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20404 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20405 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20406 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20407 (MAX_VALUE_INIT): Rename macro to max_value.
20408 (MIN_VALUE_INIT): Rename macro to min_value.
20409 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20410 (plus_zero): Remove variable.
20411 (minus_zero): Likewise.
20412 (plus_infty): Likewise.
20413 (minus_infty): Likewise.
20414 (qnan_value): Likewise.
20415 (max_value): Likewise.
20416 (min_value): Likewise.
20417 (min_subnorm_value): Likewise.
20419 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20421 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20422 uint64_t or uint32_t usage.
20423 * crypt/sha256-block.c: Likewise.
20424 * crypt/sha256-crypt.c: Likewise.
20425 * crypt/sha256.c: Likewise.
20426 * crypt/sha512-block.c: Likewise.
20427 * crypt/sha512-crypt.c: Likewise.
20428 * crypt/sha512.c: Likewise.
20429 * debug/backtrace-tst.c: Likewise.
20430 * debug/pcprofiledump.c: Likewise.
20431 * elf/cache.c: Likewise.
20432 * elf/dl-cache.c: Likewise.
20433 * elf/dl-misc.c: Likewise.
20434 * elf/dl-profile.c: Likewise.
20435 * elf/dl-support.c: Likewise.
20436 * elf/ldconfig.c: Likewise.
20437 * elf/sprof.c: Likewise.
20438 * iconv/dummy-repertoire.c: Likewise.
20439 * iconv/iconv_charmap.c: Likewise.
20440 * iconv/skeleton.c: Likewise.
20441 * iconvdata/8bit-generic.c: Likewise.
20442 * iconvdata/cp737.h: Likewise.
20443 * iconvdata/cp775.h: Likewise.
20444 * iconvdata/ibm1008.h: Likewise.
20445 * iconvdata/ibm1025.h: Likewise.
20446 * iconvdata/ibm1046.h: Likewise.
20447 * iconvdata/ibm1097.h: Likewise.
20448 * iconvdata/ibm1112.h: Likewise.
20449 * iconvdata/ibm1122.h: Likewise.
20450 * iconvdata/ibm1123.h: Likewise.
20451 * iconvdata/ibm1124.h: Likewise.
20452 * iconvdata/ibm1129.h: Likewise.
20453 * iconvdata/ibm1130.h: Likewise.
20454 * iconvdata/ibm1132.h: Likewise.
20455 * iconvdata/ibm1133.h: Likewise.
20456 * iconvdata/ibm1137.h: Likewise.
20457 * iconvdata/ibm1140.h: Likewise.
20458 * iconvdata/ibm1141.h: Likewise.
20459 * iconvdata/ibm1142.h: Likewise.
20460 * iconvdata/ibm1143.h: Likewise.
20461 * iconvdata/ibm1144.h: Likewise.
20462 * iconvdata/ibm1145.h: Likewise.
20463 * iconvdata/ibm1146.h: Likewise.
20464 * iconvdata/ibm1147.h: Likewise.
20465 * iconvdata/ibm1148.h: Likewise.
20466 * iconvdata/ibm1149.h: Likewise.
20467 * iconvdata/ibm1153.h: Likewise.
20468 * iconvdata/ibm1154.h: Likewise.
20469 * iconvdata/ibm1155.h: Likewise.
20470 * iconvdata/ibm1156.h: Likewise.
20471 * iconvdata/ibm1157.h: Likewise.
20472 * iconvdata/ibm1158.h: Likewise.
20473 * iconvdata/ibm1160.h: Likewise.
20474 * iconvdata/ibm1161.h: Likewise.
20475 * iconvdata/ibm1162.h: Likewise.
20476 * iconvdata/ibm1163.h: Likewise.
20477 * iconvdata/ibm1164.h: Likewise.
20478 * iconvdata/ibm1166.h: Likewise.
20479 * iconvdata/ibm1167.h: Likewise.
20480 * iconvdata/ibm12712.h: Likewise.
20481 * iconvdata/ibm1390.h: Likewise.
20482 * iconvdata/ibm1399.h: Likewise.
20483 * iconvdata/ibm16804.h: Likewise.
20484 * iconvdata/ibm4517.h: Likewise.
20485 * iconvdata/ibm4899.h: Likewise.
20486 * iconvdata/ibm4909.h: Likewise.
20487 * iconvdata/ibm4971.h: Likewise.
20488 * iconvdata/ibm5347.h: Likewise.
20489 * iconvdata/ibm803.h: Likewise.
20490 * iconvdata/ibm856.h: Likewise.
20491 * iconvdata/ibm901.h: Likewise.
20492 * iconvdata/ibm902.h: Likewise.
20493 * iconvdata/ibm9030.h: Likewise.
20494 * iconvdata/ibm9066.h: Likewise.
20495 * iconvdata/ibm921.h: Likewise.
20496 * iconvdata/ibm922.h: Likewise.
20497 * iconvdata/ibm9448.h: Likewise.
20498 * iconvdata/isiri-3342.h: Likewise.
20499 * iconvdata/jis0201.h: Likewise.
20500 * include/link.h: Likewise.
20501 * include/netdb.h: Likewise.
20502 * inet/check_native.c: Likewise.
20503 * inet/check_pf.c: Likewise.
20504 * inet/getipv4sourcefilter.c: Likewise.
20505 * inet/getnameinfo.c: Likewise.
20506 * inet/getsourcefilter.c: Likewise.
20507 * inet/htonl.c: Likewise.
20508 * inet/setipv4sourcefilter.c: Likewise.
20509 * inet/setsourcefilter.c: Likewise.
20510 * inet/test-inet6_opt.c: Likewise.
20511 * inet/tst-network.c: Likewise.
20512 * locale/C-collate.c: Likewise.
20513 * locale/C-ctype.c: Likewise.
20514 * locale/C-time.c: Likewise.
20515 * locale/C-translit.h: Likewise.
20516 * locale/loadarchive.c: Likewise.
20517 * locale/programs/3level.h: Likewise.
20518 * locale/programs/charmap.c: Likewise.
20519 * locale/programs/charmap.h: Likewise.
20520 * locale/programs/ld-address.c: Likewise.
20521 * locale/programs/ld-collate.c: Likewise.
20522 * locale/programs/ld-ctype.c: Likewise.
20523 * locale/programs/ld-identification.c: Likewise.
20524 * locale/programs/ld-measurement.c: Likewise.
20525 * locale/programs/ld-messages.c: Likewise.
20526 * locale/programs/ld-monetary.c: Likewise.
20527 * locale/programs/ld-name.c: Likewise.
20528 * locale/programs/ld-numeric.c: Likewise.
20529 * locale/programs/ld-paper.c: Likewise.
20530 * locale/programs/ld-telephone.c: Likewise.
20531 * locale/programs/ld-time.c: Likewise.
20532 * locale/programs/linereader.c: Likewise.
20533 * locale/programs/locale.c: Likewise.
20534 * locale/programs/locarchive.c: Likewise.
20535 * locale/programs/locfile.h: Likewise.
20536 * locale/programs/repertoire.c: Likewise.
20537 * locale/programs/simple-hash.c: Likewise.
20538 * locale/programs/simple-hash.h: Likewise.
20539 * malloc/memusage.c: Likewise.
20540 * malloc/memusagestat.c: Likewise.
20541 * nis/nis_defaults.c: Likewise.
20542 * nis/nis_hash.c: Likewise.
20543 * nis/nis_print.c: Likewise.
20544 * nis/nis_xdr.c: Likewise.
20545 * nscd/connections.c: Likewise.
20546 * nscd/hstcache.c: Likewise.
20547 * nscd/nscd_gethst_r.c: Likewise.
20548 * nscd/nscd_getserv_r.c: Likewise.
20549 * nscd/nscd_helper.c: Likewise.
20550 * nscd/servicescache.c: Likewise.
20551 * nss/makedb.c: Likewise.
20552 * nss/nss_db/db-XXX.c: Likewise.
20553 * nss/nss_db/db-initgroups.c: Likewise.
20554 * nss/nss_db/db-netgrp.c: Likewise.
20555 * nss/nss_files/files-network.c: Likewise.
20556 * nss/nss_files/files-parse.c: Likewise.
20557 * posix/bug-regex5.c: Likewise.
20558 * posix/fnmatch_loop.c: Likewise.
20559 * posix/regcomp.c: Likewise.
20560 * posix/regexec.c: Likewise.
20561 * posix/tst-rfc3484-2.c: Likewise.
20562 * posix/tst-rfc3484-3.c: Likewise.
20563 * posix/tst-rfc3484.c: Likewise.
20564 * resolv/nss_dns/dns-canon.c: Likewise.
20565 * resolv/nss_dns/dns-network.c: Likewise.
20566 * resolv/res_init.c: Likewise.
20567 * resolv/res_mkquery.c: Likewise.
20568 * resolv/tst-aton.c: Likewise.
20569 * stdlib/cxa_atexit.c: Likewise.
20570 * stdlib/cxa_finalize.c: Likewise.
20571 * stdlib/gen-fpioconst.c: Likewise.
20572 * stdlib/strtol_l.c: Likewise.
20573 * string/tst-endian.c: Likewise.
20574 * sunrpc/auth_des.c: Likewise.
20575 * sunrpc/clnt_udp.c: Likewise.
20576 * sunrpc/rtime.c: Likewise.
20577 * sunrpc/svcauth_des.c: Likewise.
20578 * sunrpc/xdr.c: Likewise.
20579 * sunrpc/xdr_intXX_t.c: Likewise.
20580 * sunrpc/xdr_rec.c: Likewise.
20581 * sysdeps/generic/ldconfig.h: Likewise.
20582 * sysdeps/generic/ldsodefs.h: Likewise.
20583 * sysdeps/generic/memusage.h: Likewise.
20584 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20585 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20586 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20587 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20588 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20590 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20591 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20592 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20594 * sysdeps/posix/getaddrinfo.c: Likewise.
20595 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20596 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20597 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20598 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20599 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20600 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20601 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20602 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20603 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20604 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20605 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20606 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20607 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20608 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20609 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20610 * sysdeps/x86_64/dl-tls.h: Likewise.
20611 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20612 * time/alt_digit.c: Likewise.
20613 * time/era.c: Likewise.
20614 * wcsmbs/tst-c16c32-1.c: Likewise.
20616 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20618 * math/libm-test.inc (struct test_sincos_data): New type.
20619 (RUN_TEST_LOOP_sincos): New macro.
20620 (sincos_test_data): New variable.
20621 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20623 2013-05-16 Richard Henderson <rth@redhat.com>
20625 * math/atest-exp2.c (LIMB64): New macro.
20626 (CONSTSZ): New macro.
20627 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20629 (print_mpn_fp): ... to function scope.
20630 (read_mpn_hex): Remove.
20631 (get_log2): Remove.
20632 (exp2_mpn): Use mp_log2.
20633 (main): Use mp_exp1.
20635 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20637 * math/libm-test.inc: Remove comment about not testing "inexact"
20639 (INEXACT_EXCEPTION): New macro.
20640 (NO_INEXACT_EXCEPTION): Likewise.
20641 (INVALID_EXCEPTION_OK): Update value.
20642 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20643 (OVERFLOW_EXCEPTION_OK): Likewise.
20644 (UNDERFLOW_EXCEPTION_OK): Likewise.
20645 (IGNORE_ZERO_INF_SIGN): Likewise.
20646 (ERRNO_UNCHANGED): Likewise.
20647 (ERRNO_EDOM): Likewise.
20648 (ERRNO_ERANGE): Likewise.
20649 (test_exceptions): Handle testing "inexact" exceptions.
20650 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20651 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20652 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20653 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20655 (rint_towardzero_test_data): Likewise.
20656 (rint_downward_test_data): Likewise.
20657 (rint_upward_test_data): Likewise.
20659 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20660 with OVERFLOW_EXCEPTION.
20661 (exp10_test_data): Likewise.
20662 (exp2_test_data): Likewise.
20663 (expm1_test_data): Likewise.
20664 (lgamma_test_data): Likewise.
20665 (pow_test_data): Likewise.
20666 (tgamma_test_data): Likewise.
20667 (yn_test_data): Remove duplicate test of overflow.
20669 * math/libm-test.inc (struct test_cc_c_data): New type.
20670 (RUN_TEST_LOOP_cc_c): New macro.
20671 (cpow_test_data): New variable.
20672 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20674 * math/libm-test.inc (struct test_f_L_data): New type.
20675 (RUN_TEST_LOOP_f_L): New macro.
20676 (llrint_test_data): New variable.
20677 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20678 (llrint_tonearest_test_data): New variable.
20679 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20680 (llrint_towardzero_test_data): New variable.
20681 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20682 (llrint_downward_test_data): New variable.
20683 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20684 (llrint_upward_test_data): New variable.
20685 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20686 (llround_test_data): New variable.
20687 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20689 2013-05-13 Peter Collingbourne <pcc@google.com>
20691 * math/atest-exp2.c (get_log2): Remove const attribute.
20693 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20695 * math/libm-test.inc (struct test_f_l_data): New type.
20696 (RUN_TEST_LOOP_f_l): New macro.
20697 (lrint_test_data): New variable.
20698 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20699 (lrint_tonearest_test_data): New variable.
20700 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20701 (lrint_towardzero_test_data): New variable.
20702 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20703 (lrint_downward_test_data): New variable.
20704 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20705 (lrint_upward_test_data): New variable.
20706 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20707 (lround_test_data): New variable.
20708 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20710 2013-05-15 Peter Collingbourne <pcc@google.com>
20712 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20713 (EXTRACT_WORDS64) Use where appropriate.
20714 (INSERT_WORDS64) Likewise.
20716 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20717 constraints with x constraints.
20718 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20720 * malloc/obstack.c (_obstack_compat): Add initializer.
20722 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20724 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20725 si_trapno and add si_addr_lsb to _sifields.sigfault.
20726 (si_trapno): Remove macro.
20727 (si_addr_lsb): Define new macro.
20728 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20730 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20732 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20733 instead of TEST_f_l.
20734 (llrint_test_tonearest): Likewise.
20735 (llrint_test_towardzero): Likewise.
20736 (llrint_test_downward): Likewise.
20737 (llrint_test_upward): Likewise.
20738 (llround_test): Likewise.
20740 * math/libm-test.inc (struct test_f_i_data): Add comment.
20741 (RUN_TEST_LOOP_f_b): New macro.
20742 (RUN_TEST_LOOP_f_b_tg): Likewise.
20743 (finite_test_data): New variable.
20744 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20745 (isfinite_test_data): New variable.
20746 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20747 (isinf_test_data): New variable.
20748 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20749 (isnan_test_data): New variable.
20750 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20751 (isnormal_test_data): New variable.
20752 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20753 (issignaling_test_data): New variable.
20754 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20755 (signbit_test_data): New variable.
20756 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20758 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20759 with INVALID_EXCEPTION.
20760 (acosh_test_data): Likewise.
20761 (asin_test_data): Likewise.
20762 (atanh_test_data): Likewise.
20763 (fmod_test_data): Likewise.
20764 (log_test_data): Likewise.
20765 (log10_test_data): Likewise.
20766 (log2_test_data): Likewise.
20767 (pow_test_data): Likewise.
20768 (sqrt_test_data): Likewise.
20769 (y0_test_data): Likewise.
20770 (y1_test_data): Likewise.
20771 (yn_test_data): Likewise.
20773 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20776 * math/libm-test.inc (struct test_ff_i_data): New type.
20777 (RUN_TEST_LOOP_ff_i_tg): New macro.
20778 (isgreater_test_data): New variable.
20779 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20780 (isgreaterequal_test_data): New variable.
20781 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20782 (isless_test_data): New variable.
20783 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20784 (islessequal_test_data): New variable.
20785 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20786 (islessgreater_test_data): New variable.
20787 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20788 (isunordered_test_data): New variable.
20789 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20791 2013-05-14 David S. Miller <davem@davemloft.net>
20793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20795 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20797 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20799 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20801 (struct test_f_i_data): Change type of max_ulp to int.
20803 * math/libm-test.inc (test_ffI_f1_data): New type.
20804 (RUN_TEST_LOOP_ffI_f1): New macro.
20805 (remquo_test_data): New variable.
20806 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20808 * setjmp/tst-setjmp-fp.c: New file.
20809 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20810 (link-libm): New variable.
20811 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20813 * math/libm-test.inc (struct test_f_i_data): New type.
20814 (RUN_TEST_LOOP_f_i): New macro.
20815 (RUN_TEST_LOOP_f_i_tg): Likewise.
20816 (fpclassify_test_data): New variable.
20817 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20818 (ilogb_test_data): New variable.
20819 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20821 * math/libm-test.inc (scalbln_test): Correct function name in END
20824 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20825 (RUN_TEST_LOOP_fI_f1): New macro.
20826 (frexp_test_data): New variable.
20827 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20829 * math/libm-test.inc (struct test_fF_f1_data): New type.
20830 (RUN_TEST_LOOP_fF_f1): New macro.
20831 (modf_test_data): New variable.
20832 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20834 * math/libm-test.inc (struct test_f_f1_data): New type.
20835 (RUN_TEST_LOOP_f_f1): New macro.
20836 (gamma_test_data): New variable.
20837 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20838 (lgamma_test_data): New variable.
20839 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20841 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20843 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20844 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20845 (main): Comment "tls" pseudo-hwcap.
20847 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20849 * math/libm-test.inc (struct test_fl_f_data): New type.
20850 (RUN_TEST_LOOP_fl_f): New variable.
20851 (scalbln_test_data): New variable.
20852 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20854 * math/libm-test.inc (struct test_fi_f_data): New type.
20855 (RUN_TEST_LOOP_fi_f): New macro.
20856 (ldexp_test_data): New variable.
20857 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20858 (scalbn_test_data): New variable.
20859 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20861 * math/libm-test.inc (struct test_c_f_data): New type.
20862 (RUN_TEST_LOOP_c_f): New macro.
20863 (cabs_test_data): New variable.
20864 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20865 (carg_test_data): New variable.
20866 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20867 (cimag_test_data): New variable.
20868 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20869 (creal_test_data): New variable.
20870 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20872 * math/libm-test.inc (struct test_if_f_data): New type.
20873 (RUN_TEST_LOOP_if_f): New macro.
20874 (jn_test_data): New variable.
20875 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20876 (yn_test_data): New variable.
20877 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20879 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20881 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20883 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20884 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20886 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20888 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20889 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20890 (bench-deps): Add bench-timing.h.
20891 * benchtests-bench-skeleton.c: Include bench-timing.h.
20892 (main): Use TIMING_* macros instead of clock_gettime.
20893 * benchtests/bench-timing.h: New file.
20896 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20897 Renamed from _LIB_VERSION.
20898 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20900 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20902 * math/libm-test.inc (struct test_fff_f_data): New type.
20903 (RUN_TEST_LOOP_fff_f): New macro.
20904 (fma_test_data): New variable.
20905 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20906 (fma_towardzero_test_data): New variable.
20907 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20908 (fma_downward_test_data): New variable.
20909 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20910 (fma_upward_test_data): New variable.
20911 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20913 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20914 (struct test_c_c_data): New type.
20915 (RUN_TEST_LOOP_c_c): New macro.
20916 (cacos_test_data): New variable.
20917 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20918 (cacosh_test_data): New variable.
20919 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20920 (casin_test_data): New variable.
20921 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20922 (casinh_test_data): New variable.
20923 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20924 (catan_test_data): New variable.
20925 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20926 (catanh_test_data): New variable.
20927 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20928 (ccos_test_data): New variable.
20929 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20930 (ccosh_test_data): New variable.
20931 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20932 (cexp_test_data): New variable.
20933 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20934 (clog_test_data): New variable.
20935 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20936 (clog10_test_data): New variable.
20937 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20938 (conj_test_data): New variable.
20939 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20940 (cproj_test_data): New variable.
20941 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20942 (csin_test_data): New variable.
20943 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20944 (csinh_test_data): New variable.
20945 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20946 (csqrt_test_data): New variable.
20947 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20948 (ctan_test_data): New variable.
20949 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20950 (ctan_tonearest_test_data): New variable.
20951 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20952 (ctan_towardzero_test_data): New variable.
20953 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20954 (ctan_downward_test_data): New variable.
20955 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20956 (ctan_upward_test_data): New variable.
20957 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20958 (ctanh_test_data): New variable.
20959 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20960 (ctanh_tonearest_test_data): New variable.
20961 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20962 (ctanh_towardzero_test_data): New variable.
20963 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20964 (ctanh_downward_test_data): New variable.
20965 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20966 (ctanh_upward_test_data): New variable.
20967 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20968 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20971 * math/libm-test.inc (struct test_ff_f_data): New type.
20972 (struct test_ff_f_data_nexttoward): Likewise.
20973 (RUN_TEST_LOOP_2_f): New macro.
20974 (RUN_TEST_LOOP_ff_f): Likewise.
20975 (atan2_test_data): New variable.
20976 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20977 (copysign_test_data): New variable.
20978 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20979 (fdim_test_data): New variable.
20980 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20981 (fmax_test_data): New variable.
20982 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20983 (fmin_test_data): New variable.
20984 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20985 (fmod_test_data): New variable.
20986 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20987 (hypot_test_data): New variable.
20988 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20989 (nextafter_test_data): New variable.
20990 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20991 (nexttoward_test_data): New variable.
20992 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20993 (pow_test_data): New variable.
20994 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20995 (pow_tonearest_test_data): New variable.
20996 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20997 (pow_towardzero_test_data): New variable.
20998 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20999 (pow_downward_test_data): New variable.
21000 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21001 (pow_upward_test_data): New variable.
21002 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21003 (remainder_test_data): New variable.
21004 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21005 (scalb_test_data): New variable.
21006 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21007 * sysdeps/i386/fpu/libm-test-ulps: Update.
21009 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21011 * math/libm-test.inc (fma_test): Use max_value instead of local
21013 (nextafter_test): Likewise.
21015 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21016 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21017 (acos_downward_test_data): New variable.
21018 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21019 (acos_upward_test_data): New variable.
21020 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21021 (acosh_test_data): New variable.
21022 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21023 (asin_test_data): New variable.
21024 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21025 (asin_tonearest_test_data): New variable.
21026 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21027 (asin_towardzero_test_data): New variable.
21028 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21029 (asin_downward_test_data): New variable.
21030 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21031 (asin_upward_test_data): New variable.
21032 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21033 (asinh_test_data): New variable.
21034 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21035 (atan_test_data): New variable.
21036 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21037 (atanh_test_data): New variable.
21038 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21039 (cbrt_test_data): New variable.
21040 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21041 (ceil_test_data): New variable.
21042 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21043 (cos_test_data): New variable.
21044 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21045 (cos_tonearest_test_data): New variable.
21046 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21047 (cos_towardzero_test_data): New variable.
21048 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21049 (cos_downward_test_data): New variable.
21050 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21051 (cos_upward_test_data): New variable.
21052 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21053 (cosh_test_data): New variable.
21054 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21055 (cosh_tonearest_test_data): New variable.
21056 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21057 (cosh_towardzero_test_data): New variable.
21058 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21059 (cosh_downward_test_data): New variable.
21060 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21061 (cosh_upward_test_data): New variable.
21062 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21063 (erf_test_data): New variable.
21064 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21065 (erfc_test_data): New variable.
21066 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21067 (exp_test_data): New variable.
21068 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21069 (exp_tonearest_test_data): New variable.
21070 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21071 (exp_towardzero_test_data): New variable.
21072 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21073 (exp_downward_test_data): New variable.
21074 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21075 (exp_upward_test_data): New variable.
21076 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21077 (exp10_test_data): New variable.
21078 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21079 (exp2_test_data): New variable.
21080 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21081 (expm1_test_data): New variable.
21082 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21083 (fabs_test_data): New variable.
21084 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21085 (floor_test_data): New variable.
21086 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21087 (j0_test_data): New variable.
21088 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21089 (j1_test_data): New variable.
21090 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21091 (log_test_data): New variable.
21092 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21093 (log10_test_data): New variable.
21094 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21095 (log1p_test_data): New variable.
21096 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21097 (log2_test_data): New variable.
21098 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21099 (logb_test_data): New variable.
21100 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21101 (logb_downward_test_data): New variable.
21102 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21103 (nearbyint_test_data): New variable.
21104 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21105 (rint_test_data): New variable.
21106 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21107 (rint_tonearest_test_data): New variable.
21108 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21109 (rint_towardzero_test_data): New variable.
21110 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21111 (rint_downward_test_data): New variable.
21112 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21113 (rint_upward_test_data): New variable.
21114 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21115 (round_test_data): New variable.
21116 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21117 (sin_test_data): New variable.
21118 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21119 (sin_tonearest_test_data): New variable.
21120 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21121 (sin_towardzero_test_data): New variable.
21122 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21123 (sin_downward_test_data): New variable.
21124 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21125 (sin_upward_test_data): New variable.
21126 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21127 (sinh_test_data): New variable.
21128 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21129 (sinh_tonearest_test_data): New variable.
21130 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21131 (sinh_towardzero_test_data): New variable.
21132 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21133 (sinh_downward_test_data): New variable.
21134 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21135 (sinh_upward_test_data): New variable.
21136 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21137 (sqrt_test_data): New variable.
21138 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21139 (tan_test_data): New variable.
21140 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21141 (tan_tonearest_test_data): New variable.
21142 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21143 (tan_towardzero_test_data): New variable.
21144 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21145 (tan_downward_test_data): New variable.
21146 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21147 (tan_upward_test_data): New variable.
21148 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21149 (tanh_test_data): New variable.
21150 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21151 (tgamma_test_data): New variable.
21152 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21153 (trunc_test_data): New variable.
21154 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21155 (y0_test_data): New variable.
21156 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21157 (y1_test_data): New variable.
21158 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21159 (significand_test_data): New variable.
21160 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21162 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21165 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21167 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21169 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21171 2013-05-10 Andreas Jaeger <aj@suse.de>
21174 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21175 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21177 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21179 * math/gen-libm-test.pl (adjust_arg): New function.
21180 (special_functions): Handle generating output in both functions
21182 (parse_args): Likewise.
21183 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21184 $in_func argument to parse_args.
21185 * math/libm-test.inc (struct test_f_f_data): New type.
21186 (IF_ROUND_INIT_): New macro.
21187 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21188 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21189 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21190 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21191 (ROUND_RESTORE_): Likewise.
21192 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21193 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21194 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21195 (ROUND_RESTORE_FE_UPWARD): Likewise.
21196 (RUN_TEST_LOOP_f_f): New macro.
21197 (acos_test_data): New variable.
21198 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21199 (acos_tonearest_test_data): New variable.
21200 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21202 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21204 * benchtests/bench-skeleton.c (startup): Fix coding style.
21206 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21209 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21210 negative infinity argument.
21211 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21212 negative infinity argument.
21213 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21214 negative infinity argument.
21215 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21218 2013-05-10 Florian Weimer <fweimer@redhat.com>
21220 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21221 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21222 * iconv/iconv_prog.c (main): Likewise.
21223 * locale/programs/charmap-dir.c (charmap_readdir)
21224 (fopen_uncompressed): Likewise.
21225 * locale/programs/locfile.c (siblings_uncached)
21226 (write_locale_data): Use lstat64 instead of lstat.
21227 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21230 2013-05-10 Andreas Jaeger <aj@suse.de>
21233 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21235 Include <locale.h>.
21237 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21239 * elf/dl-close.c (_dl_close_worker): Add comments.
21241 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21244 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21246 (__ieee754_rem_pio2l): Update comments.
21249 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21251 (__ieee754_rem_pio2l): Update comments.
21253 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21254 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21256 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21259 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21260 (M_PI_34_LOG10El): Likewise.
21261 (M_PI2_LOG10El): Likewise.
21262 (M_PI4_LOG10El): Likewise.
21263 (M_PI_LOG10El): Likewise.
21265 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21269 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21271 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21272 (MINUS_ZERO_INIT): Likewise.
21273 (PLUS_INFTY_INIT): Likewise.
21274 (MINUS_INFTY_INIT): Likewise.
21275 (QNAN_VALUE_INIT): Likewise.
21276 (MAX_VALUE_INIT): Likewise.
21277 (MIN_VALUE_INIT): Likewise.
21278 (MIN_SUBNORM_VALUE_INIT): Likewise.
21279 (plus_zero): Initialize with PLUS_ZERO_INIT.
21280 (minus_zero): Initialize with MINUS_ZERO_INIT.
21281 (plus_infty): Initialize with PLUS_INFTY_INIT.
21282 (minus_infty): Initialize with MINUS_INFTY_INIT.
21283 (qnan_value): Initialize with QNAN_VALUE_INIT.
21284 (max_value): Initialize with MAX_VALUE_INIT.
21285 (min_value): Initialize with MIN_VALUE_INIT.
21286 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21288 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21289 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21290 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21291 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21293 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21294 (RUN_TEST_2_f): Likewise.
21295 (RUN_TEST_ff_f): Likewise.
21296 (RUN_TEST_fi_f): Likewise.
21297 (RUN_TEST_fl_f): Likewise.
21298 (RUN_TEST_fff_f): Likewise.
21299 (RUN_TEST_c_f): Likewise.
21300 (RUN_TEST_f_f1): Likewise.
21301 (RUN_TEST_fF_f1): Likewise.
21302 (RUN_TEST_fI_f1): Likewise.
21303 (RUN_TEST_ffI_f1): Likewise.
21304 (RUN_TEST_c_c): Likewise.
21305 (RUN_TEST_cc_c): Likewise.
21306 (RUN_TEST_f_i): Likewise.
21307 (RUN_TEST_f_i_tg): Likewise.
21308 (RUN_TEST_ff_i_tg): Likewise.
21309 (RUN_TEST_f_b): Likewise.
21310 (RUN_TEST_f_b_tg): Likewise.
21311 (RUN_TEST_f_l): Likewise.
21312 (RUN_TEST_f_L): Likewise.
21313 (RUN_TEST_sincos): Likewise.
21314 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21315 whether to show exceptions. Do not include ");\n" in return
21317 (special_functions): Output call to RUN_TEST_sincos instead of
21318 check_float calls. Update calls to new_test.
21319 (parse_args): Output call to single RUN_TEST_* macro instead of
21320 check_* calls and other assignments. Update calls to new_test.
21326 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21327 input to result for tgamma overflow.
21328 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21329 (gamma_coeff): New variable.
21330 (NCOEFF): New macro.
21331 (gamma_positive): New function.
21332 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21333 underflow here. Use gamma_positive instead of exp (lgamma) for
21335 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21336 (gamma_coeff): New variable.
21337 (NCOEFF): New macro.
21338 (gammaf_positive): New function.
21339 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21340 underflow here. Use gamma_positive instead of exp (lgamma) for
21342 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21343 (gamma_coeff): New variable.
21344 (NCOEFF): New macro.
21345 (gammal_positive): New function.
21346 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21347 underflow here. Use gamma_positive instead of exp (lgamma) for
21349 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21350 (gamma_coeff): New variable.
21351 (NCOEFF): New macro.
21352 (gammal_positive): New function.
21353 (__ieee754_gammal_r): Handle positive infinity, overflow and
21354 underflow here. Handle NaN the same as positive infinity. Remove
21355 check x < 0xffffffff for negative integers. Use gamma_positive
21356 instead of exp (lgamma) for other arguments.
21357 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21358 (gamma_coeff): New variable.
21359 (NCOEFF): New macro.
21360 (gammal_positive): New function.
21361 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21362 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21363 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21364 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21365 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21366 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21367 * sysdeps/generic/math_private.h (__gamma_productf): New
21369 (__gamma_product): Likewise.
21370 (__gamma_productl): Likewise.
21371 * math/Makefile (libm-calls): Add gamma_product.
21372 * math/libm-test.inc (tgamma_test): Add more tests.
21373 * sysdeps/i386/fpu/libm-test-ulps: Update.
21374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21376 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21378 * benchtests/bench-skeleton.c (main): Preheat CPU.
21380 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21382 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21384 2013-05-07 Roland McGrath <roland@hack.frob.com>
21386 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21387 and _dl_skip_args_internal.
21389 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21391 * manual/message.texi (Message Translation): Talk about users.
21392 Message to key mapping impacts design.
21394 2013-05-06 Roland McGrath <roland@hack.frob.com>
21396 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21398 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21400 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21401 * sysdeps/wordsize-64/glob64.c: ... here.
21403 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21404 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21407 * debug/getlogin_r_chk.c: Moved to ...
21408 * login/getlogin_r_chk.c: ... here.
21409 * debug/Makefile (routines): Move getlogin_r_chk to ...
21410 * login/Makefile (routines): ... here.
21411 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21412 * login/Versions (libc: GLIBC_2.4): ... here.
21414 * io/poll.c (__poll): Renamed from poll.
21415 Add libc_hidden_def.
21416 (poll): Define as weak alias.
21418 * debug/ptsname_r_chk.c: Moved to ...
21419 * login/ptsname_r_chk.c: ... here.
21420 * debug/Makefile (routines): Move ptsname_r_chk to ...
21421 * login/Makefile (routines): ... here.
21422 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21423 * login/Versions (libc: GLIBC_2.4): ... here.
21425 * posix/getlogin.c: Moved to ...
21426 * login/getlogin.c: ... here.
21427 * posix/getlogin_r.c: Moved to ...
21428 * login/getlogin_r.c: ... here.
21429 * posix/getlogin_r.c: Moved to ...
21430 * login/getlogin_r.c: ... here.
21431 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21432 * login/Makefile (routines): ... here.
21433 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21434 * login/Versions (libc: GLIBC_2.0): ... here.
21436 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21437 (setrlimit): Define as weak alias.
21439 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21440 Call __ names for open, ftruncate, and close.
21441 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21442 (truncate): Define as weak alias.
21444 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21446 * math/gen-libm-test.pl (parse_args): Initialize x before each
21447 test of frexp, modf and remquo.
21449 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21450 test signgam value.
21452 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21456 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21458 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21460 2013-05-06 Roland McGrath <roland@hack.frob.com>
21462 * elf/dl-writev.h: New file.
21463 * elf/dl-misc.c: Include it.
21464 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21465 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21467 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21469 * math/libm-test.inc (noXFails): Remove variable.
21470 (noXPasses): Likewise.
21471 (BUILD_COMPLEX_INT): Remove macro.
21472 (print_screen): Remove xfail argument.
21473 (print_screen_max_error): Likewise.
21474 (update_stats): Likewise.
21475 (print_max_error): Likewise. Update calls to other affected
21477 (print_complex_max_error): Likewise.
21478 (test_single_exception): Update calls to print_screen.
21479 (test_single_errno): Likewise.
21480 (check_float_internal): Remove xfail argument. Update calls to
21481 other affected functions.
21482 (check_float): Likewise.
21483 (check_complex): Likewise.
21484 (check_int): Likewise.
21485 (check_long): Likewise.
21486 (check_bool): Likewise.
21487 (check_longlong): Likewise.
21488 (main): Don't print noXFails and noXPasses.
21489 * math/gen-libm-test.pl (top level): Don't mention expected
21490 failure handling in comment.
21491 (new_test): Don't handle expected failures.
21492 (parse_args): Don't mention expected failure handling in comment.
21493 (generate_testfile): Don't handle expected failures.
21494 (parse_ulps): Likewise.
21495 (print_ulps_file): Likewise.
21496 (get_failure): Remove function.
21497 (output_test): Don't handle expected failures.
21498 * make/README.libm-test: Don't mention expected failure handling.
21500 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21501 (minus_zero): Likewise.
21502 (plus_infty): Likewise.
21503 (minus_infty): Likewise.
21504 (qnan_value): Likewise.
21505 (max_value): Likewise.
21506 (min_value): Likewise.
21507 (min_subnorm_value): Likewise.
21508 (initialize): Do not initialize those variables dynamically.
21510 2013-05-03 Roland McGrath <roland@hack.frob.com>
21512 * io/open.c (__open_2): Moved to ...
21513 * io/open_2.c: ... this new file.
21514 * io/open64.c (__open64_2): Moved to ...
21515 * io/open64_2.c: ... this new file.
21516 * io/openat.c (__openat_2): Moved to ...
21517 * io/openat_2.c: ... this new file.
21518 * io/openat64.c (__openat64_2): Moved to ...
21519 * io/openat64_2.c: ... this new file.
21520 * io/Makefile (routines): Add them.
21521 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21522 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21523 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21524 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21525 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21526 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21527 (__openat64): Add hidden_ver.
21528 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21529 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21531 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21532 Separately conditionalize setting of GLRO(dl_sysinfo) so
21533 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21534 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21536 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21538 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21539 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21541 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21542 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21543 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21544 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21545 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21547 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21549 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21550 test signgam value.
21552 * math/libm-test.inc (hypot_test): Do not use
21553 IGNORE_ZERO_INF_SIGN.
21555 2013-05-03 Andreas Jaeger <aj@suse.de>
21557 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21559 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21560 (PF_MAX): Adjust for VSOCK change.
21562 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21566 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21569 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21570 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21571 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21573 2013-05-02 David S. Miller <davem@davemloft.net>
21575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21577 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21579 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21581 2013-05-01 Roland McGrath <roland@hack.frob.com>
21583 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21585 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21588 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21589 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21590 Use __attribute__ ((__gnu_inline__)).
21591 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21592 Don't use __attribute__ ((__gnu_inline__)).
21594 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21597 * math/s_catan.c (__catan): Handle small real or imaginary part of
21598 input specially to avoid spurious underflow.
21599 * math/s_catanf.c (__catanf): Likewise.
21600 * math/s_catanh.c (__catanh): Likewise.
21601 * math/s_catanhf.c (__catanhf): Likewise.
21602 * math/s_catanhl.c (__catanhl): Likewise.
21603 * math/s_catanl.c (__catanl): Likewise.
21604 * math/libm-test.inc (catan_test): Add more tests.
21605 (catanh_test): Likewise.
21606 * sysdeps/i386/fpu/libm-test-ulps: Update.
21607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21609 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21613 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21616 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21617 accurately for denominator in atan2.
21618 * math/s_catanf.c (__catanf): Likewise.
21619 * math/s_catanh.c (__catanh): Likewise.
21620 * math/s_catanhf.c (__catanhf): Likewise.
21621 * math/s_catanhl.c (__catanhl): Likewise.
21622 * math/s_catanl.c (__catanl): Likewise.
21623 * math/libm-test.inc (catan_test): Add more tests.
21624 (catanh_test): Likewise.
21625 * sysdeps/i386/fpu/libm-test-ulps: Update.
21626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21628 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21630 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21632 * benchtests/Makefile (bench): Remove slow benchmarks.
21633 * benchtests/atan-inputs: Add slow benchmark inputs.
21634 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21635 (BENCH_FUNC): Accept variant offset.
21637 * benchtests/bench-skeleton.c (main): Run benchmark for each
21639 * benchtests/cos-inputs: Add slow benchmark inputs.
21640 * benchtests/exp-inputs: Likewise.
21641 * benchtests/pow-inputs: Likewise.
21642 * benchtests/sin-inputs: Likewise.
21643 * benchtests/slowatan-inputs: Remove.
21644 * benchtests/slowatan.c: Remove.
21645 * benchtests/slowcos-inputs: Remove.
21646 * benchtests/slowcos.c: Remove.
21647 * benchtests/slowexp-inputs: Remove.
21648 * benchtests/slowexp.c: Remove.
21649 * benchtests/slowpow-inputs: Remove.
21650 * benchtests/slowpow.c: Remove.
21651 * benchtests/slowsin-inputs: Remove.
21652 * benchtests/slowsin.c: Remove.
21653 * benchtests/slowtan-inputs: Remove.
21654 * benchtests/slowtan.c: Remove.
21655 * benchtests/tan-inputs: Add slow benchmark inputs.
21656 * scripts/bench.pl: Parse comments and directives.
21658 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21660 ($(objpfx)bench-%.c): Remove *-ITER.
21661 * benchtests/bench-modf.c: Remove definition of ITER.
21662 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21663 (main): Loop for DURATION seconds instead of fixed number of
21665 * scripts/bench.pl: Don't expect iterations in parameters.
21667 2013-04-29 Roland McGrath <roland@hack.frob.com>
21669 * io/fchdir.c (__fchdir): Renamed from fchdir.
21670 (fchdir): Define as weak alias.
21672 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21674 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21675 (ERRNO_EDOM): Likewise.
21676 (ERRNO_ERANGE): Likewise.
21677 (noErrnoTests): New variable.
21678 (init_max_error): Set errno to 0.
21679 (test_single_errno): New function.
21680 (test_errno): Likewise.
21681 (check_float_internal): Call test_errno. Set errno to 0.
21682 (check_complex): Refer to errno tests in comment.
21683 (check_int): Call test_errno. Set errno to 0.
21684 (check_long): Likewise.
21685 (check_bool): Likewise.
21686 (check_longlong): Likewise.
21687 (cos_test): Use ERRNO_* flags for errno tests instead of
21689 (expm1_test): Likewise.
21690 (fmod_test): Likewise.
21691 (ilogb_test): Likewise.
21692 (lgamma_test): Likewise.
21693 (pow_test): Likewise.
21694 (remainder_test): Likewise.
21695 (sin_test): Likewise.
21696 (tan_test): Likewise.
21697 (yn_test): Likewise.
21698 (initialize): Set errno to 0.
21699 (main): Print number of errno tests.
21700 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21702 2013-04-29 Andreas Jaeger <aj@suse.de>
21705 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21709 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21710 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21714 * stdlib/random.c (__initstate): Return NULL if
21718 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21719 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21722 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21726 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21728 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21729 of individual tests.
21730 (casin_test): Likewise.
21731 (casinh_test): Likewise.
21733 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21736 * math/s_catan.c (__catan): Handle arguments with large real or
21737 imaginary part separately without squaring.
21738 * math/s_catanf.c (__catanf): Likewise.
21739 * math/s_catanh.c (__catanh): Likewise.
21740 * math/s_catanhf.c (__catanhf): Likewise.
21741 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21743 (__catanhl): Handle arguments with large real or imaginary part
21744 separately without squaring.
21745 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21747 (__catanl): Handle arguments with large real or imaginary part
21748 separately without squaring.
21749 * math/libm-test.inc (catan_test): Add more tests.
21750 (catanh_test): Likewise.
21751 * sysdeps/i386/fpu/libm-test-ulps: Update.
21752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21754 2013-04-27 Andreas Jaeger <aj@suse.de>
21757 * stdlib/stdlib.h: Update guards for qecvt.
21758 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21761 2013-04-27 Allan McRae <allan@archlinux.org>
21763 * sysdeps/i386/fpu/libm-test-ulps: Update.
21765 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21768 * math/s_catan.c: Include <float.h>.
21769 (__catan): Ensure underflow exception occurs for underflowed
21771 * math/s_catanf.c: Include <float.h>.
21772 (__catanf): Ensure underflow exception occurs for underflowed
21774 * math/s_catanh.c: Include <float.h>.
21775 (__catanh): Ensure underflow exception occurs for underflowed
21777 * math/s_catanhf.c: Include <float.h>.
21778 (__catanhf): Ensure underflow exception occurs for underflowed
21780 * math/s_catanhl.c: Include <float.h>.
21781 (__catanhl): Ensure underflow exception occurs for underflowed
21783 * math/s_catanl.c: Include <float.h>.
21784 (__catanl): Ensure underflow exception occurs for underflowed
21786 * math/libm-test.inc (catan_test): Add more tests.
21787 (catanh_test): Likewise.
21790 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21791 underflowed result.
21792 * math/s_ccoshf.c (__ccoshf): Likewise.
21793 * math/s_ccoshl.c (__ccoshl): Likewise.
21794 * math/s_csin.c (__csin): Likewise.
21795 * math/s_csinf.c (__csinf): Likewise.
21796 * math/s_csinh.c (__csinh): Likewise.
21797 * math/s_csinhf.c (__csinhf): Likewise.
21798 * math/s_csinhl.c (__csinhl): Likewise.
21799 * math/s_csinl.c (__csinl): Likewise.
21800 * math/libm-test.inc (ccos_test): Add more tests.
21801 (ccosh_test): Likewise.
21802 (csin_test): Likewise.
21803 (csinh_test): Likewise.
21805 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21807 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21808 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21809 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21810 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21811 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21812 powerpc/power5+/fpu folders.
21813 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21816 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21820 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21822 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21823 additions to variable.
21824 [$(config-machine) = x86_64] (modules-names): Likewise.
21825 ($(objpfx)tst-audit3): Remove dependency.
21826 ($(objpfx)tst-audit3.out): Likewise.
21827 ($(objpfx)tst-audit4): Likewise.
21828 ($(objpfx)tst-audit4.out): Likewise.
21829 ($(objpfx)tst-audit5): Likewise.
21830 ($(objpfx)tst-audit5.out): Likewise.
21831 ($(objpfx)tst-audit6): Likewise.
21832 ($(objpfx)tst-audit6.out): Likewise.
21833 ($(objpfx)tst-audit7): Likewise.
21834 ($(objpfx)tst-audit7.out): Likewise.
21835 (tst-audit3-ENV): Remove variable.
21836 (tst-audit4-ENV): Likewise.
21837 (tst-audit5-ENV): Likewise.
21838 (tst-audit6-ENV): Likewise.
21839 (tst-audit7-ENV): Likewise.
21840 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21841 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21842 addition to variable.
21843 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21844 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21845 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21846 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21847 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21848 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21849 tst-audit3, tst-audit4 and tst-audit5.
21850 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21851 tst-audit6 and tst-audit7.
21852 [$(subdir) = elf] (modules-names): Add audit modules for those
21854 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21855 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21856 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21857 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21858 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21859 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21860 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21861 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21862 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21863 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21864 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21865 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21866 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21867 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21868 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21869 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21871 [$(subdir) = elf && $(config-cflags-avx) = yes]
21872 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21873 [$(subdir) = elf && $(config-cflags-avx) = yes]
21874 (CFLAGS-tst-auditmod4a.c): Likewise.
21875 [$(subdir) = elf && $(config-cflags-avx) = yes]
21876 (CFLAGS-tst-auditmod4b.c): Likewise.
21877 [$(subdir) = elf && $(config-cflags-avx) = yes]
21878 (CFLAGS-tst-auditmod6b.c): Likewise.
21879 [$(subdir) = elf && $(config-cflags-avx) = yes]
21880 (CFLAGS-tst-auditmod6c.c): Likewise.
21881 [$(subdir) = elf && $(config-cflags-avx) = yes]
21882 (CFLAGS-tst-auditmod7b.c): Likewise.
21883 * elf/tst-audit3.c: Move to ...
21884 * sysdeps/x86_64/tst-audit3.c: ... here.
21885 * elf/tst-audit4.c: Move to ...
21886 * sysdeps/x86_64/tst-audit4.c: ... here.
21887 * elf/tst-audit5.c: Move to ...
21888 * sysdeps/x86_64/tst-audit5.c: ... here.
21889 * elf/tst-audit6.c: Move to ...
21890 * sysdeps/x86_64/tst-audit6.c: ... here.
21891 * elf/tst-audit7.c: Move to ...
21892 * sysdeps/x86_64/tst-audit7.c: ... here.
21893 * elf/tst-auditmod3a.c: Move to ...
21894 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21895 * elf/tst-auditmod3b.c: Move to ...
21896 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21897 * elf/tst-auditmod4a.c: Move to ...
21898 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21899 * elf/tst-auditmod4b.c: Move to ...
21900 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21901 * elf/tst-auditmod5a.c: Move to ...
21902 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21903 * elf/tst-auditmod5b.c: Move to ...
21904 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21905 * elf/tst-auditmod6a.c: Move to ...
21906 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21907 * elf/tst-auditmod6b.c: Move to ...
21908 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21909 * elf/tst-auditmod6c.c: Move to ...
21910 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21911 * elf/tst-auditmod7a.c: Move to ...
21912 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21913 * elf/tst-auditmod7b.c: Move to ...
21914 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21916 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21919 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21920 define unconditionally.
21921 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21922 define unconditionally.
21923 (INT8_C, INT16_C, etc.): Likewise.
21925 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21927 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21928 __ehdr_start with hidden visibility.
21930 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21932 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21934 * math/libm-test.inc (cos_test): Use accurate hex constants.
21935 (sincost_test): Likewise.
21937 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21939 * math/libm-test.inc (catan_test): Add more tests.
21940 (catanh_test): Likewise.
21942 * math/s_catanf.c (__catanf): Use suffixed floating-point
21944 * math/s_catanhf.c (__catanhf): Likewise.
21945 * math/s_catanhl.c (__catanhl): Likewise.
21946 * math/s_catanl.c (__catanl): Likewise.
21949 * math/s_catan.c (__catan): Calculate imaginary part of result
21950 with log1p not log unless computing log of number close to 0.
21951 * math/s_catanf.c (__catanf): Likewise.
21952 * math/s_catanl.c (__catanl): Likewise.
21953 * math/s_catanh.c (__catanh): Calculate real part of result with
21954 log1p not log unless computing log of number close to 0.
21955 * math/s_catanhf.c (__catanhf): Likewise.
21956 * math/s_catanhl.c (__catanhl): Likewise.
21957 * math/libm-test.inc (catan_test): Add more tests.
21958 (catanh_test): Likewise.
21959 * sysdeps/i386/fpu/libm-test-ulps: Update.
21960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21964 * benchtests/Makefile: Mention files in which fast and slow
21965 paths of math functions are implemented.
21967 2013-04-23 Roland McGrath <roland@hack.frob.com>
21969 * sysdeps/posix/timespec_get.c: New file.
21971 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21973 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21975 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21977 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21978 powerpc/power5/fpu folders.
21979 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21980 * benchtests/Makefile: Add modf testcase.
21981 * benchtests/bench-modf.c: New file: Benchmark test for mo
21983 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21986 * time/Makefile (tests): Add tst-strptime-whitespace.
21987 * time/strptime_l.c (get_number): Use ISSPACE.
21988 (__strptime_internal): Likewise.
21989 * time/tst-strptime-whitespace.c: New test case.
21991 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21993 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21995 (_nss_files_init): Set it here.
21997 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21999 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22000 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22003 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22005 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22007 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22009 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22012 2013-04-21 David S. Miller <davem@davemloft.net>
22014 * po/ru.po: Update Russion translation from translation project.
22016 2013-04-17 Adam Conrad <adconrad@0c3.net>
22018 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22021 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22023 * configure.in: Remove i386 configure warning. Remove i386 case.
22024 * configure: Regenerate.
22025 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22026 Add example to error message.
22027 * sysdeps/i386/configure: Regenerate.
22029 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22031 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22033 * benchtests/cos-inputs: New file.
22034 * benchtests/slowcos-inputs: New file.
22035 * benchtests/slowcos.c: New file.
22036 * benchtests/slowtan-inputs: New file.
22037 * benchtests/slowtan.c: New file.
22038 * benchtests/tan-inputs: New file.
22040 2013-04-16 Roland McGrath <roland@hack.frob.com>
22042 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22045 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22047 * benchtests/Makefile: Include cppflags-iterator.mk to add
22048 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22050 * Makefile.in (bench-clean): New target.
22051 * benchtests/Makefile (bench-clean): Likewise.
22053 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22055 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22057 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22059 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22061 2013-04-15 Andreas Schwab <schwab@suse.de>
22063 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22065 * nscd/pwdcache.c (cache_addpw): Likewise.
22066 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22069 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22071 * benchtests/Makefile (bench): Write all output to
22072 bench-out.tmp together.
22074 2013-04-15 Andreas Schwab <schwab@suse.de>
22076 * nscd/nscd.c (main): Don't fork again after closing files.
22078 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22080 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22082 * benchtests/Rules (bench-deps): Collect dependencies into a
22083 single variable. Add Makefile to dependencies.
22084 ($(objpfx)bench-%.c): Depend on bench-deps.
22086 2013-04-12 Roland McGrath <roland@hack.frob.com>
22087 Xavier Roche <roche+kml2@exalead.com>
22090 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22091 just that it's a file descriptor.
22092 * manual/llio.texi (Synchronizing AIO Operations): Update description
22093 for EBADF error from aio_fsync.
22095 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22097 * Rules (bench): Move target definition...
22098 * benchtests/Makefile: ... here.
22100 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22102 * math/libm-test.inc (cos_test): Fix PI/2 test.
22103 (sincos_test): Likewise.
22104 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22105 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22107 2013-04-11 Andreas Schwab <schwab@suse.de>
22110 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22111 accept exponent character only when digits were seen.
22112 * stdio-common/Makefile (tests): Add bug26.
22113 * stdio-common/bug26.c: New file.
22116 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22119 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22121 * Makeconfig (rtld-prefix): Define built linker prefix.
22122 * Rules (run-bench): Use it.
22123 * math/Makefile (run-regen-ulps): Likewise.
22125 * Rules (bench): Remove eval.
22127 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22128 Roland McGrath <roland@hack.frob.com>
22129 Ondrej Bilka <neleai@seznam.cz>
22132 * time/getdate.c: Include ctype.h and alloca.h.
22133 (__getdate_r): Trim leading and trailing spaces of input.
22134 * time/tst-getdate.c (tests): Add tests with leading and
22137 2013-04-08 Roland McGrath <roland@hack.frob.com>
22140 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22141 when computing value.
22143 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22145 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22146 Use testrun.sh to run libm tests.
22149 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22151 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22154 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22156 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22158 * Makefile.in (regen-ulps): New target.
22159 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22160 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22161 [ifneq (no,$(PERL)] (regen-ulps): New target.
22162 [ifeq (no,$(PERL)] (regen-ulps): New target.
22163 * math/libm-test.inc (ulps_file_name): Define.
22164 (output_dir): New variable.
22165 (options): Add "output-dir" option.
22166 (parse_opt): Handle 'o' case.
22167 (main): If output_dir is non-NULL use it as a prefix
22169 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22171 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22173 [BZ #10060, #10062]
22174 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22175 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22176 fail configure if __sync_val_compare_and_swap is not inlined.
22177 * sysdeps/i386/configure: Regenerate.
22178 * configure.in: Build for i686 when configured for i386.
22179 * configure: Regenerate.
22180 * README: Remove i386 reference.
22182 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22184 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22185 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22187 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22189 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22190 (lmsnanval): New variables.
22191 (F): Add conversion tests.
22192 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22193 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22195 * stdio-common/tstdiomisc.c (F): Properly collect individual
22198 [BZ #14686, #15336]
22199 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22200 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22201 Instead, use input NaN values or generate a qNaN by arithmetic
22202 operation. Also fix bugs to comply with the standard.
22203 * math/libm-test.inc (remainder_test): Add more tests.
22205 [BZ #15335, #15342]
22206 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22208 input NaN values or generate a qNaN by arithmetic operation.
22210 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22213 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22216 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22219 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22220 underflowed result.
22221 * math/s_cexpf.c (__cexpf): Likewise.
22222 * math/s_cexpl.c (__cexpl): Likewise.
22223 * math/libm-test.inc (cexp_test): Add more tests.
22225 2013-04-03 Andreas Schwab <schwab@suse.de>
22228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22229 order arrays from heap if bigger than alloca cutoff.
22231 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22233 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22234 (SNAN_TESTS_double): Refer to GCC PR56831.
22235 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22238 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22240 * Rules (bench): Move bench.out after the run is complete.
22242 * Rules (bench): Echo currently running benchmark.
22244 * benchtests/Makefile (bench): Add atan and slowatan.
22245 * benchtests/atan-inputs: New file.
22246 * benchtests/slowatan-inputs: New file.
22247 * benchtests/slowatan.c: New file.
22249 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22254 * sysdeps/unix/sysv/linux/kernel-features.h
22255 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22256 __ASSUME_XFS_RESTRICTED_CHOWN.
22257 * sysdeps/unix/sysv/linux/pathconf.c
22258 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22259 Save and restore errno.
22261 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22264 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22265 arguments using __kernel_casinh.
22266 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22267 arguments using __kernel_casinhf.
22268 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22269 arguments using __kernel_casinhl.
22270 * math/libm-test.inc (cacosh_test): Add more tests.
22271 * sysdeps/i386/fpu/libm-test-ulps: Update.
22272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22274 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22276 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22279 * bench/Makefile (bench): Add sin and slowsin.
22280 * benchtests/sin-inputs: New file.
22281 * benchtests/slowsin-inputs: New file.
22282 * benchtests/slowsin.c: New file.
22284 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22285 (bench): Add slowexp and slowpow.
22286 (exp-ITER): Increase iterations.
22287 (pow-ITER): Likewise.
22288 * benchtests/exp-inputs: Change input.
22289 * benchtests/pow-inputs: Likewise.
22290 * benchtests/slowexp-inputs: New file.
22291 * benchtests/slowexp.c: New file.
22292 * benchtests/slowpow-inputs: New file.
22293 * benchtests/slowpow.c: New file.
22295 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22297 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22299 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22300 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22301 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22302 * benchtests/Makefile: Add rint benchtest.
22303 * benchtests/rint-inputs: Input for rint benchtest.
22305 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22307 * Versions.def (libm): Add GLIBC_2.18.
22308 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22309 hidden libm prototypes.
22310 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22311 * math/Makefile (libm-calls): Add s_issignaling.
22312 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22313 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22314 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22316 * math/math.h [__USE_GNU] (issignaling): New macro.
22317 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22318 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22320 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22321 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22322 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22323 * manual/arith.texi (issignaling): New section.
22324 * manual/libm-err-tab.pl (@all_functions): Update comment.
22325 * math/gen-libm-test.pl (parse_args): Apply special handling for
22327 * math/libm-test.inc (print_float, issignaling_test): New
22329 (check_float_internal): Add issignaling checks.
22330 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22331 default definition.
22332 * sysdeps/powerpc/math-tests.h: New file.
22333 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22335 * math/test-snan.c (TEST_FUNC): Likewise.
22337 2013-03-30 David S. Miller <davem@davemloft.net>
22339 * po/de.po: Update from translation team.
22341 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22344 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22345 imaginary part less than 1.0 and real part less than 0.5
22347 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22348 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22349 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22350 (cacos_test): Add more tests.
22351 (casin_test): Likewise.
22352 (casinh_test): Likewise.
22353 * sysdeps/i386/fpu/libm-test-ulps: Update.
22354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22356 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22358 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22359 ONE with its value.
22361 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22362 (__pow_mp): Replace ONE and MONE with their values.
22363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22365 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22366 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22367 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22368 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22370 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22372 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22373 (__pow_mp): Replace ZERO and MZERO with their values.
22374 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22375 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22376 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22378 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22379 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22382 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22384 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22386 2013-03-28 Roland McGrath <roland@hack.frob.com>
22388 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22389 Declare with __attribute__ ((weak)).
22390 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22391 Call __call_tls_dtors only if it's not NULL.
22393 2013-03-28 Roland McGrath <roland@hack.frob.com>
22395 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22396 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22397 magic __ehdr_start linker symbol if it's defined.
22398 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22399 them up here if it was already done.
22401 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22402 (_dl_aux_init): Use const in cast when setting it.
22403 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22404 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22405 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22407 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22409 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22410 * csu/libc-tls.c: Nor here.
22411 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22413 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22414 (__libc_message): Never call vsyslog.
22416 2013-03-28 Alan Modra <amodra@gmail.com>
22418 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22420 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22423 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22426 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22430 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22433 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22434 Don't add gid passed as argument.
22436 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22438 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22441 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22442 imaginary part between 1.0 and 1.5 and real part less than 0.5
22444 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22445 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22446 * math/libm-test.inc (cacos_test): Add more tests.
22447 (casin_test): Likewise.
22448 (casinh_test): Likewise.
22449 * sysdeps/i386/fpu/libm-test-ulps: Update.
22450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22452 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22454 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22457 (denorm): Likewise.
22458 (__dbl_mp): Likewise.
22459 (add_magnitudes): Likewise.
22460 (sub_magnitudes): Likewise.
22468 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22470 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22471 (__dubcos): Likewise.
22472 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22473 (__ieee754_acos): Likewise.
22474 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22475 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22476 (__exp1): Likewise.
22477 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22478 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22480 (my_log2): Likewise.
22481 (checkint): Likewise.
22482 * sysdeps/ieee754/dbl-64/e_remainder.c
22483 (__ieee754_remainder): Likewise.
22484 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22486 (bsloww): Likewise.
22487 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22489 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22490 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22491 MANTISSA_STORE_T to store computations on mantissa. Use
22492 macros for rounding and division.
22493 (denorm): Likewise.
22494 (__dbl_mp): Likewise.
22495 (add_magnitudes): Likewise.
22496 (sub_magnitudes): Likewise.
22499 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22500 powers of two in terms of TWOPOW macro.
22501 (mp_no): Make type of mantissa as MANTISSA_T.
22502 [!RADIXI]: Define RADIXI.
22503 [!TWO52]: Define TWO52.
22504 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22506 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22508 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22509 llroundl symbol when building for PPC32.
22511 2013-03-24 Mark H Weaver <mhw@netris.org>
22513 * manual/arith.texi (Normalization Functions): Fix prototypes for
22514 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22516 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22520 high value to check if expl overflow.
22521 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22522 to check for underflow and overflow.
22523 * math/libm-test.inc: Add exp test.
22525 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22528 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22531 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22533 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22536 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22538 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22539 wrap blocks consisting of several statements.
22541 * sysdeps/generic/math-tests.h: New file.
22542 * sysdeps/i386/fpu/math-tests.h: Likewise.
22543 * math/test-snan.c: Include it.
22544 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22546 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22549 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22550 (__ieee754_j0l): Do not improve calculations using cos of twice
22551 input for inputs above LDBL_MAX / 2.0L.
22552 (__ieee754_y0l): Likewise.
22553 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22554 (__ieee754_j1l): Do not improve calculations using cos of twice
22555 input for inputs above LDBL_MAX / 2.0L.
22556 (__ieee754_y1l): Likewise.
22557 * math/libm-test.inc (j0_test): Add another test.
22558 (j1_test): Likewise.
22559 (y0_test): Likewise.
22560 (y1_test): Likewise.
22561 * sysdeps/i386/fpu/libm-test-ulps: Update.
22563 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22565 * Rules ($(objpfx)bench-%.c): Include code from a C source
22568 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22571 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22572 imaginary part 1.0 and real part less than 0.5 specially.
22573 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22574 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22575 * math/libm-test.inc (cacos_test): Add more tests.
22576 (casin_test): Likewise.
22577 (casinh_test): Likewise.
22578 * sysdeps/i386/fpu/libm-test-ulps: Update.
22579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22581 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22583 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22584 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22586 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22588 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22589 * config.make.in (config-cflags-sse4): Remove variable.
22590 (config-cflags-avx): Likewise.
22591 (config-cflags-sse2avx): Likewise.
22592 (config-cflags-novzeroupper): Likewise.
22593 (config-asflags-i686): Likewise.
22594 (have-mfma4): Likewise.
22595 (have-as-vis3): Likewise.
22597 * configure.in (MIG): Do not AC_SUBST.
22598 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22599 (libc_cv_cc_sse4): Do not AC_SUBST.
22600 (libc_cv_cc_avx): Likewise.
22601 (libc_cv_cc_sse2avx): Likewise.
22602 (libc_cv_cc_novzeroupper): Likewise.
22603 (libc_cv_cc_fma4): Likewise.
22604 (libc_cv_as_i686): Likewise.
22605 (libc_cv_sparc_as_vis3): Likewise.
22606 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22608 (config-asflags-i686): Likewise.
22609 (config-cflags-avx): Likewise.
22610 (config-cflags-sse2avx): Likewise.
22611 (have-mfma4): Likewise.
22612 (config-cflags-novzeroupper): Likewise.
22613 * sysdeps/mach/configure.in (MIG): Likewise.
22614 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22615 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22617 (config-cflags-avx): Likewise.
22618 (config-cflags-sse2avx): Likewise.
22619 (have-mfma4): Likewise.
22620 (config-cflags-novzeroupper): Likewise.
22621 * configure: Regenerated.
22622 * sysdeps/i386/configure: Likewise.
22623 * sysdeps/mach/configure: Likewise.
22624 * sysdeps/sparc/configure: Likewise.
22625 * sysdeps/x86_64/configure: Likewise.
22627 2013-03-20 Roland McGrath <roland@hack.frob.com>
22630 * locale/programs/localedef.c (options): Put N_ translation marker
22631 on argument names, not just descriptions.
22633 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22635 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22637 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22640 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22642 2013-03-19 Roland McGrath <roland@hack.frob.com>
22644 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22645 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22646 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22647 [!BEFORE_ABORT] (before_abort): New function.
22648 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22649 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22650 (writev_for_fatal): New function.
22651 (WRITEV_FOR_FATAL): New macro; call that.
22652 (backtrace_and_maps): New function.
22653 (BEFORE_ABORT): New macro; call that.
22654 (struct str_list): Type removed.
22655 (__libc_message, __libc_fatal): Functions removed.
22656 Include <sysdeps/posix/libc_fatal.c> instead.
22658 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22660 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22662 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22665 2013-03-19 Andreas Schwab <schwab@suse.de>
22667 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22668 * sysdeps/gnu/configure: Regenerate.
22670 * configure.in: Substitute libc_cv_rtlddir.
22671 * configure: Regenerate.
22672 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22673 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22674 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22675 * elf/Makefile (install-others, CFLAGS-interp.c)
22676 (ldso_install, common-ldd-rewrite): Likewise.
22677 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22678 $(inst_slibdir)/$(rtld-installed-name).
22679 * scripts/rellns-sh: Add -p option.
22680 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22683 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22685 * manual/nptl.texi: Renamed to ...
22686 * manual/threads.texi: ... this.
22687 * manual/Makefile (chapters): Update.
22689 2013-03-18 Roland McGrath <roland@hack.frob.com>
22692 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22693 on argument names, not just descriptions.
22694 * malloc/memusagestat.c (options): Likewise.
22695 * nss/getent.c (options): Likewise.
22697 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22700 * iconv/iconv_prog.c (options): Put N_ translation marker
22701 on argument names, not just descriptions.
22702 * iconv/iconvconfig.c (options): Likewise.
22704 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22706 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22707 implementation which is faster on all x86_64 architectures.
22708 Tested on AMD, Intel Nehalem, SNB, IVB.
22709 * sysdeps/x86_64/strnlen.S: Likewise.
22711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22712 Remove all multiarch strlen and strnlen versions.
22713 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22714 Remove strlen and strnlen related parts.
22716 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22717 Inline strlen part.
22718 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22720 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22721 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22722 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22723 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22724 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22725 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22727 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22729 * manual/memory.texi (Malloc Tunable Parameters):
22730 Sort parameters alphabetically. Add comments for missing entries.
22732 2013-03-17 David S. Miller <davem@davemloft.net>
22734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22736 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22739 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22740 for arguments at most half maximum finite value.
22741 * math/libm-test.inc (j0_test): Add more tests.
22742 (j1_test): Likewise.
22743 (y0_test): Likewise.
22744 (y1_test): Likewise.
22745 * sysdeps/i386/fpu/libm-test-ulps: Update.
22746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22749 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22750 1 / x and functions P and Q for arguments above 0x1p256L.
22751 (__ieee754_y0l): Likewise.
22752 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22753 (__ieee754_y1l): Likewise.
22754 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22755 (j1_test): Likewise.
22756 (y0_test): Likewise.
22757 (y1_test): Likewise.
22759 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22761 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22764 2013-03-15 Roland McGrath <roland@hack.frob.com>
22766 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22767 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22768 zero since it's initialized to EXEC_PAGESIZE.
22770 * sysdeps/unix/sysv/linux/ldsodefs.h
22771 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22772 * sysdeps/generic/ldsodefs.h: ... here.
22774 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22776 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22778 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22780 * math/test-snan.c: Renamed from
22781 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22782 * math/Makefile (tests): Add test-snan.
22783 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22786 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22787 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22789 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22790 __builtin_nan family of functions.
22791 * math/libm-test.inc (initialize): Initialize qnan_value with
22792 __builtin_nan family of functions.
22793 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22795 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22797 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22798 storage class. Initialize qNaN_var and sNaN_var with
22799 __builtin_nan and __builtin_nans families of functions,
22802 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22803 (sqrt_test): Remove duplicate test with qNaN input.
22804 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22805 (round_test, signbit_test, significand_test): Note missing +/-Inf
22806 as well as qNaN tests.
22808 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22809 qNaN_var. Fix a few strings, too.
22810 * math/libm-test.inc (nan_value): Rename to qnan_value.
22811 * math/gen-libm-test.pl (%beautify): Adjust to that.
22812 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22813 * math/test-misc.c (main): Likewise.
22814 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22815 to __qnan_bytes, and __qnan_union, respectively.
22816 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22818 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22819 and lqnanval, respectively.
22820 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22821 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22822 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22823 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22825 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22826 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22829 * math/test-misc.c (main): Fix copy'n'pastos.
22830 * misc/tst-efgcvt.c (special): Likewise.
22832 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22833 Remove declarations.
22835 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22837 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22838 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22839 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22840 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22842 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22845 macro to return vdso values correctly in IFUNC implementations.
22846 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22847 Optimization by using IFUNC.
22849 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22850 Richard Henderson <rth@redhat.com>
22851 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22853 * Makefile.in (bench): New target.
22854 * NEWS: Mention the benchmark framework.
22855 * Rules (bench): Likewise.
22856 (binaries-bench): Generate binaries for functions to
22858 * benchtests/Makefile: New makefile for benchmark tests.
22859 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22861 * benchtests/exp-inputs: New input file for EXP function.
22862 * benchtests/pow-inputs: New input file for POW function.
22863 * scripts/bench.pl: New script to generate source files for
22864 benchmark programs.
22866 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22868 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22869 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22870 computations on mantissa. Use macros for rounding and
22872 (denorm): Likewise.
22873 (__dbl_mp): Likewise.
22874 (add_magnitudes): Likewise.
22875 (sub_magnitudes): Likewise.
22878 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22879 powers of two in terms of TWOPOW macro.
22880 (mp_no): Make type of mantissa as MANTISSA_T.
22881 [!RADIXI]: Define RADIXI.
22882 [!TWO52]: Define TWO52.
22883 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22885 * manual/nptl.texi (cindex): Modify threads to pthreads.
22887 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22889 * sysdeps/x86_64/preconfigure: Regenerated.
22891 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22894 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22896 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22897 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22899 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22900 * math/libm-test.inc (j0_test): Do not allow one spurious
22901 underflow exception.
22902 (y1_test): Likewise.
22904 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22906 * manual/Makefile (chapters): Add nptl.
22907 * manual/debug.texi (Debugging Support): Add link to Threads
22909 * manual/nptl.texi: New file.
22911 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22913 2013-03-14 Petr Baudis <pasky@ucw.cz>
22915 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22916 for non-NULL pointer before the memory validity test. Pointed
22917 out by Holger Brunck <holger.brunck@keymile.com>.
22919 2013-03-13 Andreas Schwab <schwab@suse.de>
22921 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22924 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22926 * timezone/zic.c: Update from tzcode 2013b.
22928 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22930 * manual/install.texi (Configuring and compiling):
22931 Mention i686 and i586.
22932 * INSTALL: Regenerate.
22934 2013-03-12 Roland McGrath <roland@hack.frob.com>
22936 * sysdeps/init_array/elf-init.c: New file.
22938 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22939 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22941 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22942 __gmon_start__ as global, but as static with a .preinit_array pointer.
22943 * sysdeps/init_array/gmon-start.c: New file. Use that.
22944 * sysdeps/init_array/crti.S: New file, empty except for comments.
22945 * sysdeps/init_array/crtn.S: Likewise.
22947 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22949 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22952 Remove Prefer_SSE_for_memop.
22953 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22954 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22955 HAS_PREFER_SSE_FOR_MEMOP.
22956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22959 Remove bzero, memset ifunc support.
22960 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22961 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22962 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22963 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22965 2013-03-11 Andreas Schwab <schwab@suse.de>
22968 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22971 (GLIBC_2.16): Remove pthread_atfork.
22973 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22975 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22976 (ptestcases.h): Likewise.
22978 2013-03-08 Roland McGrath <roland@hack.frob.com>
22980 * Makeconfig ($(common-objpfx)config.status): Depend on
22981 sysdeps/*/preconfigure{,.in} too.
22983 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22985 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22986 (__free_hook): Use void * instead of __malloc_ptr_t.
22987 (__malloc_hook): Likewise.
22988 (__realloc_hook): Likewise.
22989 (__memalign_hook): Likewise.
22990 (__after_morecore_hook): Likewise.
22991 * malloc/arena.c (save_malloc_hook): Likewise.
22992 (save_free_hook): Likewise.
22993 * malloc/hooks.c (malloc_hook_ini): Likewise.
22994 (realloc_hook_ini): Likewise.
22995 (memalign_hook_ini): Likewise.
22996 * malloc/malloc.c (malloc_hook_ini): Likewise.
22997 (realloc_hook_ini): Likewise.
22998 (memalign_hook_ini): Likewise.
22999 (__free_hook): Likewise.
23000 (__malloc_hook): Likewise.
23001 (__realloc_hook): Likewise.
23002 (__memalign_hook): Likewise.
23003 (__libc_malloc): Likewise.
23004 (__libc_free): Likewise.
23005 (__libc_realloc): Likewise.
23006 (__libc_memalign): Likewise.
23007 (__libc_valloc): Likewise.
23008 (__libc_pvalloc): Likewise.
23009 (__libc_calloc): Likewise.
23010 (__posix_memalign): Likewise.
23011 * malloc/morecore.c (__sbrk): Likewise.
23012 (__default_morecore): Likewise.
23014 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23016 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23017 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23018 __malloc_ptrdiff_t.
23020 * malloc/malloc.h (__malloc_size_t): Remove macro.
23021 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23023 (old_memalign_hook): Likewise.
23024 (old_realloc_hook): Likewise.
23025 (struct hdr): Likewise.
23027 (mallochook): Likewise.
23028 (memalignhook): Likewise.
23029 (reallochook): Likewise.
23030 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23031 (tr_old_realloc_hook): Likewise.
23032 (tr_old_memalign_hook): Likewise.
23033 (tr_mallochook): Likewise.
23034 (tr_reallochook): Likewise.
23035 (tr_memalignhook): Likewise.
23037 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23040 default_ldbl_pack and using as default implementation.
23041 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23043 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23044 redundant definition.
23045 (ldbl_insert_mantissa): Likewise.
23046 (ldbl_canonicalize): Likewise.
23047 (ldbl_nearbyint): Likewise.
23048 (ldbl_pack): Rename to ldbl_pack_ppc.
23049 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23050 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23051 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23053 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23056 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23057 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23058 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23060 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23061 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23062 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23064 2013-03-07 Andreas Jaeger <aj@suse.de>
23066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23069 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23071 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23072 Include mpa.h and declare __MPEXP.
23073 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23074 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23075 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23076 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23077 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23078 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23079 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23081 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23082 (__slowpow): Use long double EXPL and LOGL functions to
23084 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23085 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23086 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23087 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23088 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23089 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23092 intermediate variable to calculate exponent.
23094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23098 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23099 [!NO__SQR]: Define __sqr.
23100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23101 and NO__SQR. Remove all code except __mul and __sqr. Include
23102 sysdeps/ieee754/dbl-64/mpa.c.
23103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23106 * posix/Makefile (tests): Add tst-pathconf.
23107 * posix/tst-pathconf.c: New test case.
23108 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23110 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23112 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23114 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23116 2013-03-06 Andreas Jaeger <aj@suse.de>
23118 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23119 definition via __MAP_ANONYMOUS.
23121 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23122 it's not part of Linux headers.
23124 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23125 (MAP_HUGE_MASK): Define.
23127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23129 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23130 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23132 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23133 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23135 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23136 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23138 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23140 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23141 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23142 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23143 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23144 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23145 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23147 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23150 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23151 Handle f2fs and efivarfs.
23153 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23156 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23157 (EFIVARFS_MAGIC): Add.
23158 (F2FS_LINK_MAX): Add.
23160 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23162 * stdio-common/vfprintf.c: Replace __builtin_expect with
23165 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23168 * sysdeps/generic/bp-sym.h: Remove file.
23169 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23170 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23171 <bp-sym.h> and <bp-asm.h>.
23172 (__longjmp): Don't use BP_SYM.
23173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23175 (memcpy): Don't use BP_SYM.
23176 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23177 <bp-sym.h> and <bp-asm.h>.
23178 (memcpy): Don't use BP_SYM.
23179 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23181 (memcpy): Don't use BP_SYM.
23182 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23184 (memset): Don't use BP_SYM.
23185 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23186 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23187 (__bzero): Don't use BP_SYM.
23188 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23189 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23190 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23191 <bp-sym.h> and <bp-asm.h>.
23192 (memcmp): Don't use BP_SYM. Remove comment about bounded
23194 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23195 <bp-sym.h> and <bp-asm.h>.
23196 (memcpy): Don't use BP_SYM.
23197 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23198 <bp-sym.h> and <bp-asm.h>.
23199 (memset): Don't use BP_SYM.
23200 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23201 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23202 (__bzero): Don't use BP_SYM.
23203 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23204 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23205 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23206 <bp-sym.h> and <bp-asm.h>.
23207 (strncmp): Don't use BP_SYM. Remove comment about bounded
23209 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23210 <bp-sym.h> and <bp-asm.h>.
23211 (memcpy): Don't use BP_SYM.
23212 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23213 <bp-sym.h> and <bp-asm.h>.
23214 (memset): Don't use BP_SYM.
23215 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23216 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23217 (__bzero): Don't use BP_SYM.
23218 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23219 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23220 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23221 <bp-sym.h> and <bp-asm.h>.
23222 (__memchr): Don't use BP_SYM.
23223 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23224 <bp-sym.h> and <bp-asm.h>.
23225 (memcmp): Don't use BP_SYM. Remove comment about bounded
23227 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23228 <bp-sym.h> and <bp-asm.h>.
23229 (memcpy): Don't use BP_SYM.
23230 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23231 <bp-sym.h> and <bp-asm.h>.
23232 (__mempcpy): Don't use BP_SYM.
23233 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23234 <bp-sym.h> and <bp-asm.h>.
23235 (__memrchr): Don't use BP_SYM.
23236 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23237 <bp-sym.h> and <bp-asm.h>.
23238 (memset): Don't use BP_SYM.
23239 (__bzero): Likewise.
23240 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23241 <bp-sym.h> and <bp-asm.h>.
23242 (__rawmemchr): Don't use BP_SYM.
23243 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23244 <bp-sym.h> and <bp-asm.h>.
23245 (__STRCMP): Don't use BP_SYM.
23246 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23247 <bp-sym.h> and <bp-asm.h>.
23248 (strchr): Don't use BP_SYM.
23249 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23250 <bp-sym.h> and <bp-asm.h>.
23251 (__strchrnul): Don't use BP_SYM.
23252 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23253 <bp-sym.h> and <bp-asm.h>.
23254 (strlen): Don't use BP_SYM.
23255 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23256 <bp-sym.h> and <bp-asm.h>.
23257 (strncmp): Don't use BP_SYM. Remove comment about bounded
23259 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23260 <bp-sym.h> and <bp-asm.h>.
23261 (__strnlen): Don't use BP_SYM.
23262 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23263 <bp-sym.h> and <bp-asm.h>.
23264 (__GI__setjmp): Don't use BP_SYM.
23265 (_setjmp): Likewise.
23266 (__sigsetjmp): Likewise.
23267 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23268 (L(start_addresses)): Don't use BP_SYM.
23269 (_start): Likewise.
23270 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23272 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23273 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23274 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23275 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23276 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23278 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23279 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23280 about bounded pointers.
23281 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23282 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23283 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23285 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23286 about bounded pointers. Remove GKM FIXME comments.
23287 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23288 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23290 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23291 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23292 Remove GKM FIXME comments.
23293 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23294 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23295 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23297 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23298 about bounded pointers. Remove GKM FIXME comment.
23299 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23301 (strncmp): Don't use BP_SYM. Remove comment about bounded
23303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23304 <bp-sym.h> and <bp-asm.h>.
23305 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23307 <bp-sym.h> and <bp-asm.h>.
23308 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23311 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23313 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23316 2013-03-05 David S. Miller <davem@davemloft.net>
23318 * po/es.po: Update from translation team.
23320 2013-03-05 Andreas Jaeger <aj@suse.de>
23322 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23323 <bits/mman-linux.h>.
23324 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23326 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23327 <bits/mman-linux.h> to end of file.
23328 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23330 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23331 <bits/mman-linux.h> to end of file.
23332 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23335 <bits/mman-linux.h> to end of file.
23337 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23338 (MCL_CURRENT, MCL_FUTURE): Define here.
23340 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23343 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23345 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23347 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23349 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23350 fourth parameter needed for rt_sigprocmask syscall.
23351 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23352 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23353 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23354 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23355 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23356 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23358 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23361 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23362 comment about bounded pointers.
23363 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23364 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23366 2013-03-04 Andreas Jaeger <aj@suse.de>
23368 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23369 common definitions.
23371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23372 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23373 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23374 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23375 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23376 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23378 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23381 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23382 __ieee754_sqrl instead of __sqrl.
23384 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23386 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23387 * sysdeps/powerpc/fpu_control.h: ... here.
23388 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23389 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23390 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23391 * sysdeps/powerpc/bits/mathinline.h: ... here.
23393 2013-03-01 Roland McGrath <roland@hack.frob.com>
23395 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23396 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23397 to just [NEED_DL_SYSINFO_DSO].
23398 * elf/dl-support.c: Likewise.
23399 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23400 * elf/rtld.c (dl_main): Likewise.
23401 * elf/setup-vdso.h (setup_vdso): Likewise.
23402 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23403 * sysdeps/unix/sysv/linux/dl-sysdep.c
23404 (_dl_discover_osversion): Likewise.
23406 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23408 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23409 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23411 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23413 * NEWS: Mention libm performance improvements and non-x86 PI
23416 * csu/libc-start.c (__pthread_initialize_minimal): Change
23417 function arguments.
23418 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23420 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23423 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23424 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23425 <bp-sym.h> and <bp-asm.h>.
23426 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23427 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23429 (memcpy): Don't use BP_SYM.
23430 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23432 (__mpn_add_n): Don't use BP_SYM.
23433 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23434 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23436 (__mpn_addmul_1): Don't use BP_SYM.
23437 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23438 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23440 (_setjmp): Don't use BP_SYM.
23441 (__novmx_setjmp): Likewise.
23442 (__GI__setjmp): Likewise.
23443 (__vmx_setjmp): Likewise.
23444 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23446 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23447 (__bzero): Don't use BP_SYM.
23448 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23449 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23450 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23451 <bp-sym.h> and <bp-asm.h>.
23452 (memcpy): Don't use BP_SYM.
23453 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23454 <bp-sym.h> and <bp-asm.h>.
23455 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23456 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23457 <bp-sym.h> and <bp-asm.h>.
23458 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23459 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23461 (__mpn_lshift): Don't use BP_SYM.
23462 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23463 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23465 (memset): Don't use BP_SYM.
23466 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23467 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23468 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23470 (__mpn_mul_1): Don't use BP_SYM.
23471 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23472 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23473 <bp-sym.h> and <bp-asm.h>.
23474 (memcmp): Don't use BP_SYM.
23475 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23476 <bp-sym.h> and <bp-asm.h>.
23477 (memcpy): Don't use BP_SYM.
23478 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23479 <bp-sym.h> and <bp-asm.h>.
23480 (memset): Don't use BP_SYM.
23481 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23482 <bp-sym.h> and <bp-asm.h>.
23483 (strncmp): Don't use BP_SYM.
23484 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23485 <bp-sym.h> and <bp-asm.h>.
23486 (memcpy): Don't use BP_SYM.
23487 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23488 <bp-sym.h> and <bp-asm.h>.
23489 (memset): Don't use BP_SYM.
23490 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23491 <bp-sym.h> and <bp-asm.h>.
23492 (__memchr): Don't use BP_SYM.
23493 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23494 <bp-sym.h> and <bp-asm.h>.
23495 (memcmp): Don't use BP_SYM.
23496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23497 <bp-sym.h> and <bp-asm.h>.
23498 (memcpy): Don't use BP_SYM.
23499 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23500 <bp-sym.h> and <bp-asm.h>.
23501 (__mempcpy): Don't use BP_SYM.
23502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23503 <bp-sym.h> and <bp-asm.h>.
23504 (__memrchr): Don't use BP_SYM.
23505 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23506 <bp-sym.h> and <bp-asm.h>.
23507 (memset): Don't use BP_SYM.
23508 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23509 <bp-sym.h> and <bp-asm.h>.
23510 (__rawmemchr): Don't use BP_SYM.
23511 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23512 <bp-sym.h> and <bp-asm.h>.
23513 (__STRCMP): Don't use BP_SYM.
23514 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23515 <bp-sym.h> and <bp-asm.h>.
23516 (strchr): Don't use BP_SYM.
23517 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23518 <bp-sym.h> and <bp-asm.h>.
23519 (__strchrnul): Don't use BP_SYM.
23520 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23521 <bp-sym.h> and <bp-asm.h>.
23522 (strlen): Don't use BP_SYM.
23523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23524 <bp-sym.h> and <bp-asm.h>.
23525 (strncmp): Don't use BP_SYM.
23526 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23527 <bp-sym.h> and <bp-asm.h>.
23528 (__strnlen): Don't use BP_SYM.
23529 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23531 (__mpn_rshift): Don't use BP_SYM.
23532 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23533 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23534 <bp-sym.h> and <bp-asm.h>.
23535 (__sigsetjmp): Don't use BP_SYM.
23536 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23537 (L(start_addresses)): Don't use BP_SYM.
23538 (_start): Likewise.
23539 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23541 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23542 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23543 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23544 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23546 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23547 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23548 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23549 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23551 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23553 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23554 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23556 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23558 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23559 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23560 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23562 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23564 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23566 (strncmp): Don't use BP_SYM,
23567 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23569 (__mpn_sub_n): Don't use BP_SYM.
23570 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23571 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23573 (__mpn_submul_1): Don't use BP_SYM.
23574 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23576 <bp-sym.h> and <bp-asm.h>.
23577 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23579 <bp-sym.h> and <bp-asm.h>.
23580 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23583 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23586 Use ZK to minimize writes to Z.
23587 (sub_magnitudes): Simplify code a bit.
23588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23589 Use ZK to minimize writes to Z.
23590 (sub_magnitudes): Simplify code a bit.
23592 2013-02-27 Roland McGrath <roland@hack.frob.com>
23594 * csu/gmon-start.c: Add special exception to license text.
23596 2013-02-27 Richard Henderson <rth@redhat.com>
23598 * scripts/config.guess: Update from config.git.
23599 * scripts/config.sub: Likewise.
23601 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23603 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23605 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23607 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23609 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23611 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23613 2013-02-26 Roland McGrath <roland@hack.frob.com>
23615 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23616 [$(build-shared = yes].
23618 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23620 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23621 (__mul): Reduce iterations for calculating mantissa.
23623 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23625 (__mpranred): Likewise.
23628 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23629 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23631 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23633 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23634 Define __attribute__.
23636 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23638 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23640 * posix/regex_internal.h (__attribute): Remove.
23641 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23642 (re_string_context_at): Likewise.
23643 (bitset_not): Use __attribute__ and mark function as possibly
23645 (bitset_merge): Likewise.
23646 (bitset_mask): Likewise.
23647 (re_string_char_size_at): Likewise.
23648 (re_string_wchar_at): Likewise.
23649 (re_string_elem_size_at): Likewise.
23651 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23653 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23657 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23661 (denorm): Likewise.
23662 (__dbl_mp): Likewise.
23663 (add_magnitudes): Likewise.
23664 (sub_magnitudes): Likewise.
23668 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23671 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23674 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23678 up changes with default code.
23679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23682 2013-02-24 Allan McRae <allan@archlinux.org>
23684 * manual/socket.texi (The Internet Namespace): Order menu items
23685 to match that in the file.
23687 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23688 node listing of the info page menu.
23690 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23693 * sysdeps/i386/bp-asm.h: Remove file.
23694 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23695 (PARMS): Do not use macros from bp-asm.h.
23699 (__mpn_add_n): Do not use BP_SYM
23700 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23702 (PARMS): Do not use macros from bp-asm.h.
23705 (__mpn_addmul_1): Do not use BP_SYM
23706 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23708 (PARMS): Do not use macros from bp-asm.h.
23709 (SIGMSK): Likewise.
23710 (_setjmp): Likewise. Do not use BP_SYM.
23711 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23713 (PARMS): Do not use macros from bp-asm.h.
23714 (SIGMSK): Likewise.
23715 (setjmp): Likewise. Do not use BP_SYM.
23716 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23718 (PARMS): Do not use macros from bp-asm.h.
23719 (__frexp): Do not use BP_SYM.
23721 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23723 (PARMS): Do not use macros from bp-asm.h.
23724 (__frexpf): Do not use BP_SYM.
23725 (frexpf): Likewise.
23726 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23728 (PARMS): Do not use macros from bp-asm.h.
23729 (__frexpl): Do not use BP_SYM.
23730 (frexpl): Likewise.
23731 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23733 (PARMS): Do not use macros from bp-asm.h.
23734 (__remquo): Do not use BP_SYM.
23735 (remquo): Likewise.
23736 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23738 (PARMS): Do not use macros from bp-asm.h.
23739 (__remquof): Do not use BP_SYM.
23740 (remquof): Likewise.
23741 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23743 (PARMS): Do not use macros from bp-asm.h.
23744 (__remquol): Do not use BP_SYM.
23745 (remquol): Likewise.
23746 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23748 (PARMS): Do not use macros from bp-asm.h.
23751 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23752 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23754 (PARMS): Do not use macros from bp-asm.h.
23755 (strlen): Do not use BP_SYM.
23756 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23758 (PARMS): Do not use macros from bp-asm.h.
23762 (__mpn_add_n): Do not use BP_SYM.
23763 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23765 (PARMS): Do not use macros from bp-asm.h.
23768 (__mpn_addmul_1): Do not use BP_SYM.
23769 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23772 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23774 (PARMS): Do not use macros from bp-asm.h.
23777 (__mpn_lshift): Do not use BP_SYM.
23778 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23780 (PARMS): Do not use macros from bp-asm.h.
23784 (memcpy): Likewise. Do not use BP_SYM.
23785 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23786 libc_hidden_def and weak_alias.
23787 (mempcpy): Do not use BP_SYM in weak_alias.
23788 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23790 (PARMS): Do not use macros from bp-asm.h.
23793 [!BZERO_P] (CHR): Likewise.
23794 (memset): Likewise. Do not use BP_SYM.
23795 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23797 (PARMS): Do not use macros from bp-asm.h.
23800 (__mpn_mul_1): Do not use BP_SYM.
23801 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23803 (PARMS): Do not use macros from bp-asm.h.
23806 (__mpn_rshift): Do not use BP_SYM.
23807 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23809 (PARMS): Do not use macros from bp-asm.h.
23812 (strchr): Likewise. Do not use BP_SYM.
23813 (index): Do not use BP_SYM in weak_alias.
23814 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23816 (PARMS): Do not use macros from bp-asm.h.
23819 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23820 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23822 (PARMS): Do not use macros from bp-asm.h.
23823 (strlen): Do not use BP_SYM.
23824 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23826 (PARMS): Do not use macros from bp-asm.h.
23830 (__mpn_sub_n): Do not use BP_SYM.
23831 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23833 (PARMS): Do not use macros from bp-asm.h.
23836 (__mpn_submul_1): Do not use BP_SYM.
23837 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23839 (PARMS): Do not use macros from bp-asm.h.
23843 (__mpn_add_n): Do not use BP_SYM.
23844 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23847 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23849 (PARMS): Do not use macros from bp-asm.h.
23852 (memcmp): Do not use BP_SYM.
23853 (bcmp): Do not use BP_SYM in weak_alias.
23854 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23856 (PARMS): Do not use macros from bp-asm.h.
23860 (memcpy): Likewise. Do not use BP_SYM.
23861 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23863 (PARMS): Do not use macros from bp-asm.h.
23867 (memmove): Likewise. Do not use BP_SYM.
23868 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23870 (PARMS): Do not use macros from bp-asm.h.
23874 (__mempcpy): Likewise. Do not use BP_SYM.
23875 (mempcpy): Do not use BP_SYM in weak_alias.
23876 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23878 (PARMS): Do not use macros from bp-asm.h.
23881 [!BZERO_P] (CHR): Likewise.
23882 (memset): Likewise. Do not use BP_SYM.
23883 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23885 (PARMS): Do not use macros from bp-asm.h.
23887 (strcmp): Do not use BP_SYM.
23888 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23890 (PARMS): Do not use macros from bp-asm.h.
23893 [USE_AS_STRTOK_R] (SAVE): Likewise.
23894 (FUNCTION): Likewise. Do not use BP_SYM.
23895 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23897 (strtok_r): Likewise.
23898 (__GI___strtok_r): Likewise.
23899 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23900 (PARMS): Do not use macros from bp-asm.h.
23903 (__mpn_lshift): Do not use BP_SYM.
23904 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23905 (PARMS): Do not use macros from bp-asm.h.
23908 (__memchr): Do not use BP_SYM.
23909 (memchr): Do not use BP_SYM in weak_alias.
23910 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23911 (PARMS): Do not use macros from bp-asm.h.
23914 (memcmp): Do not use BP_SYM.
23915 (bcmp): Do not use BP_SYM in weak_alias.
23916 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23917 (PARMS): Do not use macros from bp-asm.h.
23920 (__mpn_mul_1): Do not use BP_SYM.
23921 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23923 (PARMS): Do not use macros from bp-asm.h.
23926 (__rawmemchr): Do not use BP_SYM.
23927 (rawmemchr): Do not use BP_SYM in weak_alias.
23928 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23929 (PARMS): Do not use macros from bp-asm.h.
23932 (__mpn_rshift): Do not use BP_SYM.
23933 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23934 (PARMS): Do not use macros from bp-asm.h.
23935 (SIGMSK): Likewise.
23936 (__sigsetjmp): Likewise. Do not use BP_SYM.
23937 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23938 (_start): Do not use BP_SYM.
23939 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23940 (PARMS): Do not use macros from bp-asm.h.
23943 (__stpcpy): Likewise. Do not use BP_SYM.
23944 (stpcpy): Do not use BP_SYM in weak_alias.
23945 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23947 (PARMS): Do not use macros from bp-asm.h.
23951 (__stpncpy): Likewise. Do not use BP_SYM.
23952 (stpncpy): Do not use BP_SYM in weak_alias.
23953 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23954 (PARMS): Do not use macros from bp-asm.h.
23957 (strchr): Likewise. Do not use BP_SYM.
23958 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23960 (PARMS): Do not use macros from bp-asm.h.
23963 (__strchrnul): Likewise. Do not use BP_SYM.
23964 (strchrnul): Do not use BP_SYM in weak_alias.
23965 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23967 (PARMS): Do not use macros from bp-asm.h.
23969 (strcspn): Do not use BP_SYM.
23970 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23972 (PARMS): Do not use macros from bp-asm.h.
23975 (strpbrk): Likewise. Do not use BP_SYM.
23976 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23978 (PARMS): Do not use macros from bp-asm.h.
23981 (strrchr): Likewise. Do not use BP_SYM.
23982 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23983 (PARMS): Do not use macros from bp-asm.h.
23985 (strspn): Do not use BP_SYM.
23986 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23987 (PARMS): Do not use macros from bp-asm.h.
23991 (FUNCTION): Likewise. Do not use BP_SYM.
23992 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23994 (strtok_r): Likewise.
23995 (__GI___strtok_r): Likewise.
23996 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23997 (PARMS): Do not use macros from bp-asm.h.
24001 (__mpn_sub_n): Do not use BP_SYM.
24002 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24004 (PARMS): Do not use macros from bp-asm.h.
24007 (__mpn_submul_1): Do not use BP_SYM.
24008 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24010 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24012 (PARMS): Do not use macros from bp-asm.h.
24017 (__clone): Do not use BP_SYM.
24018 (clone): Do not use BP_SYM in weak_alias.
24019 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24021 (PARMS): Do not use macros from bp-asm.h.
24023 (__mmap64): Do not use BP_SYM.
24024 (mmap64): Do not use BP_SYM in weak_alias.
24025 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24026 <bp-sym.h> and <bp-asm.h>.
24027 (PARMS): Do not use macros from bp-asm.h.
24028 (__posix_fadvise64_l64): Do not use BP_SYM.
24029 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24030 (PARMS): Do not use macros from bp-asm.h.
24032 (semtimedop): Do not use BP_SYM.
24033 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24036 2013-02-21 Allan McRae <allan@archlinux.org>
24038 * manual/message.texi (Charset conversion in gettext):
24039 Move @end statement to beginning of line.
24041 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24048 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24049 (denorm): Likewise.
24050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24053 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24055 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24056 tail-call to the resolved function if pltexit isn't needed.
24058 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24061 or Y being zero as being unlikely.
24062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24065 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24067 * manual/nss.texi (System Databases and Name Service Switch):
24068 Remove frobnicate @pxref.
24070 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24072 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24073 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24075 2013-02-20 Petr Machata <pmachata@redhat.com>
24077 * elf/elf.h (R_ARM_TARGET1): New macro.
24078 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24079 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24080 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24081 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24082 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24083 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24084 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24085 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24086 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24087 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24088 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24089 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24090 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24091 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24092 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24093 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24094 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24095 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24096 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24097 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24098 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24099 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24100 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24101 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24102 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24103 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24104 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24105 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24106 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24107 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24108 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24109 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24110 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24111 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24112 (R_ARM_THM_GOT_BREL12): Likewise.
24113 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24114 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24115 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24116 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24117 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24118 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24119 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24120 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24121 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24123 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24125 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24126 __attribute_used__ to __attribute__ ((unused)).
24128 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24130 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24133 comment formatting.
24134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24136 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24139 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24141 (ENTER): Remove both macro definitions.
24143 (CHECK_BOUNDS_LOW): Likewise.
24144 (CHECK_BOUNDS_HIGH): Likewise.
24145 (CHECK_BOUNDS_BOTH): Likewise.
24146 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24147 (RETURN_BOUNDED_POINTER): Likewise.
24148 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24149 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24150 (POP_ERRNO_LOCATION_RETURN): Likewise.
24151 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24152 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24153 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24155 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24156 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24157 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24158 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24159 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24160 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24161 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24162 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24163 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24164 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24165 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24166 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24167 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24168 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24170 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24171 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24173 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24174 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24175 * sysdeps/i386/i586/memset.S (memset): Likewise.
24176 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24177 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24178 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24180 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24181 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24182 Change uses of L(2) to L(out).
24183 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24184 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24185 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24186 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24187 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24189 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24190 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24192 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24193 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24194 (RETURN): Do not use macro LEAVE.
24195 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24196 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24197 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24198 * sysdeps/i386/i686/memset.S (memset): Likewise.
24199 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24200 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24201 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24202 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24204 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24205 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24206 L(1_2) and L(1_3) into L(1).
24207 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24208 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24209 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24210 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24211 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24212 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24213 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24214 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24215 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24217 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24218 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24219 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24220 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24221 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24222 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24223 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24224 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24225 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24226 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24227 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24228 * sysdeps/i386/strspn.S (strspn): Likewise.
24229 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24231 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24232 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24233 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24234 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24235 L(1_3) into L(1_1).
24236 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24237 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24238 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24240 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24242 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24244 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24247 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24249 * math/atest-exp.c (exp_mpn): Remove ROUND.
24250 * math/atest-exp2.c (exp_mpn): Likewise.
24251 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24253 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24254 * stdlib/tst-tls-atexit-lib.c: Likewise.
24255 * stdlib/tst-tls-atexit.c: Likewise.
24257 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24259 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24260 and __attribute_alloc_size__.
24262 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24264 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24265 __attribute_alloc_size__.
24266 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24267 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24269 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24271 * include/programs/xmalloc.h: New file.
24272 * catgets/gencat.c: Include it.
24273 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24274 * elf/pldd.c: Likewise.
24275 * iconv/iconv_charmap.c: Likewise.
24276 * iconv/iconvconfig.c: Likewise.
24277 * iconv/strtab.c: Likewise.
24278 * locale/programs/locale.c: Likewise.
24279 * locale/programs/localedef.h: Likewise.
24280 * locale/programs/simple-hash.c: Likewise.
24281 * nscd/nscd.h: Likewise.
24282 * nss/makedb.c: Likewise.
24283 * sysdeps/generic/ldconfig.h: Likewise.
24285 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24287 * Versions.def: Add GLIBC_2.18.
24288 * include/link.h (struct link_map): New member l_tls_dtor_count.
24289 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24290 (__call_tls_dtors): Likewise.
24291 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24292 __cxa_thread_atexit_impl.
24293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24309 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24310 (tests): Add test case tst-tls-atexit.
24311 (modules-names): Add shared library for tst-tls-atexit.
24312 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24313 (GLIBC_PRIVATE): Add __call_tls_dtors.
24314 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24316 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24317 * stdlib/tst-tls-atexit.c: New test case.
24318 * stdlib/tst-tls-atexit-lib.c: New test case.
24320 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24322 * elf/Versions (ld): Add _dl_find_dso_for_object.
24323 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24324 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24325 (dl_open_worker): Use _dl_find_dso_for_object.
24326 * elf/dl-sym.c (do_sym): Likewise.
24327 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24329 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24331 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24332 Syntactic changes only.
24333 (_dl_runtime_profile): Do a tail-call to the resolved function.
24335 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24338 * sysdeps/x86_64/bp-asm.h: Remove file.
24339 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24340 <bp-sym.h> and <bp-asm.h>.
24341 (__clone): Do not use BP_SYM.
24342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24343 <bp-sym.h> and <bp-asm.h>.
24344 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24345 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24347 (_setjmp): Do not use BP_SYM.
24348 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24350 (setjmp): Do not use BP_SYM.
24351 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24353 (mempcpy): Do not use BP_SYM in weak_alias.
24354 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24356 (strchr): Do not use BP_SYM.
24357 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24359 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24360 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24361 (_start): Do not use BP_SYM.
24362 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24364 (strcat): Do not use BP_SYM.
24365 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24367 (STRCMP): Do not use BP_SYM.
24368 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24370 (STRCPY): Do not use BP_SYM.
24371 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24373 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24375 (FUNCTION): Do not use BP_SYM.
24376 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24378 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24380 2013-02-17 Andreas Jaeger <aj@suse.de>
24382 * time/Versions: Sort entries.
24383 * string/Versions: Likewise.
24384 * resolv/Versions: Likewise.
24385 * posix/Versions: Likewise.
24386 * iconv/Versions: Likewise.
24387 * elf/Versions: Likewise.
24388 * wcsmbs/Versions: Likewise.
24390 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24392 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24393 loop termination condition.
24395 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24396 variable to calculate EZ.
24399 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24400 the lower precision input.
24402 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24405 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24406 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24407 (run-via-rtld-prefix): Do not handle %-bp tests.
24408 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24409 (all-object-suffixes): Remove .ob.
24410 (bppfx): Remove variable.
24411 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24412 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24413 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24414 [$(build-bounded) = yes] (libtype.ob): Likewise.
24415 * Makerules (elide-routines.ob): Remove variable.
24416 (do-tests-clean): Do not handle *-bp.out.
24417 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24418 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24419 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24420 (tests): Do not include $(tests-bp.out).
24421 (xtests): Do not include $(xtests-bp.out).
24422 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24423 [$(build-bounded) = yes] ($(addprefix
24424 $(objpfx),$(binaries-bounded))): Remove rule.
24425 ($(objpfx)%-bp.out): Remove rule.
24426 * config.make.in (build-bounded): Remove variable.
24427 * crypt/Makefile [$(build-bounded) = yes]
24428 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24429 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24430 append to variable.
24431 [$(build-bounded) = yes] (install-lib): Likewise.
24432 [$(build-bounded) = yes] (generated): Likewise.
24433 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24435 * intl/Makefile [$(build-bounded) = yes]
24436 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24437 * math/Makefile [$(build-bounded) = yes]
24438 ($(tests:%=$(objpfx)%-bp): Likewise.
24439 * misc/Makefile [$(build-bounded) = yes]
24440 ($(objpfx)tst-tsearch-bp): Likewise.
24441 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24442 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24444 * string/Makefile (o-objects.ob): Remove variable.
24445 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24446 (CFLAGS-.ob): Remove variable.
24447 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24448 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24449 both definitions of variable.
24450 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24451 (ASFLAGS-.ob): Remove variable.
24453 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24456 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24457 Remove __BOUNDED_POINTERS__ from condition.
24458 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24459 * string/bits/string2.h [!__NO_STRING_INLINES &&
24460 !__BOUNDED_POINTERS__]: Likewise.
24461 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24463 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24464 Remove conditional code.
24465 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24466 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24467 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24471 * csu/libc-start.c: Do not include <bp-sym.h>.
24472 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24473 * elf/dl-open.c: Do not include <bp-sym.h>.
24474 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24475 * math/fegetenv.c: Do not include <bp-sym.h>.
24476 (fegetenv): Do not use BP_SYM in versioned symbols.
24477 * nptl/sysdeps/pthread/bits/libc-lockP.h
24478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24481 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24483 (__pthread_mutex_destroy): Likewise.
24484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24485 (__pthread_mutex_lock): Likewise.
24486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24487 (__pthread_mutex_trylock): Likewise.
24488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24489 (__pthread_mutex_unlock): Likewise.
24490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24491 (__pthread_mutexattr_init): Likewise.
24492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24493 (__pthread_mutexattr_destroy): Likewise.
24494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24495 (__pthread_mutexattr_settype): Likewise.
24496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24497 (__pthread_rwlock_init): Likewise.
24498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24499 (__pthread_rwlock_destroy): Likewise.
24500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24501 (__pthread_rwlock_rdlock): Likewise.
24502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24503 (__pthread_rwlock_tryrdlock): Likewise.
24504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24505 (__pthread_rwlock_wrlock): Likewise.
24506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24507 (__pthread_rwlock_trywrlock): Likewise.
24508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24509 (__pthread_rwlock_unlock): Likewise.
24510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24511 (__pthread_key_create): Likewise.
24512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24513 (__pthread_setspecific): Likewise.
24514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24515 (__pthread_getspecific): Likewise.
24516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24519 (_pthread_cleanup_push_defer): Likewise.
24520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24521 (_pthread_cleanup_pop_restore): Likewise.
24522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24523 (pthread_setcancelstate): Likewise.
24524 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24526 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24527 (memchr): Do not use BP_SYM in weak_alias.
24528 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24529 (fegetenv): Do not use BP_SYM in versioned symbols.
24530 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24531 (fesetenv): Do not use BP_SYM in versioned symbols.
24532 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24533 (feupdateenv): Do not use BP_SYM in versioned symbols.
24534 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24535 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24536 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24537 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24538 (open64): Do not use BP_SYM in weak_alias.
24539 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24540 (fegetenv): Do not use BP_SYM in versioned symbols.
24541 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24542 (fesetenv): Do not use BP_SYM in versioned symbols.
24543 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24544 (feupdateenv): Do not use BP_SYM in versioned symbols.
24545 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24546 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24547 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24548 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24549 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24550 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24551 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24553 (__libc_start_main): Do not use BP_SYM.
24555 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24558 redundant return line.
24560 (denorm): Likewise.
24561 (dbl_mp): Likewise.
24562 (sub_magnitudes): Likewise.
24568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24570 (denorm): Likewise.
24571 (dbl_mp): Likewise.
24572 (sub_magnitudes): Likewise.
24579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24581 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24582 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24585 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24586 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24588 of __mul for squares.
24589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24593 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24594 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24596 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24599 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24601 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24602 prototype or function definition. Rename ubp_* variables and
24603 parameters. Remove argv definitions conditional on
24604 [__BOUNDED_POINTERS__].
24605 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24606 * elf/dl-runtime.c (_dl_fixup): Likewise.
24607 * include/set-hooks.h (RUN_HOOK): Likewise.
24608 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24610 * string/strcpy.c (strcpy): Do not use __unbounded.
24611 * sysdeps/generic/frame.h (struct layout): Likewise.
24612 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24613 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24614 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24615 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24616 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24617 (__backtrace): Likewise.
24618 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24620 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24621 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24622 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24624 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24625 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24626 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24627 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24628 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24629 Do not use __unbounded.
24630 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24631 Rename __unboundedrlimits parameter to rlimits in prototype.
24632 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24633 Do not use __unbounded.
24634 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24635 not use __ptrvalue.
24636 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24637 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24638 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24639 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24640 __ptrvalue or __unbounded.
24641 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24642 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24644 (__new_msgctl): Do not use __ptrvalue.
24645 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24647 (__libc_msgrcv): Do not use __ptrvalue.
24648 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24649 startup_info): Do not use __unbounded.
24650 (__libc_start_main): Likewise. Rename ubp_* variables and
24651 parameters. Remove argv definitions conditional on
24652 [__BOUNDED_POINTERS__].
24653 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24655 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24657 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24659 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24661 (__new_shmctl): Do not use __ptrvalue.
24662 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24663 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24665 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24667 (__libc_sigaction): Likewise.
24668 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24669 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24671 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24673 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24675 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24677 * string/mempcpy.c: Implement by calling memcpy.
24679 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24686 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24687 values in the mantissa.
24689 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24690 minimize writes to Z.
24691 (sub_magnitudes): Simplify code a bit.
24693 2013-02-12 Roland McGrath <roland@hack.frob.com>
24695 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24696 from the message. The linker prefixes all warnings with that already.
24698 2013-02-12 Andreas Schwab <schwab@suse.de>
24701 * posix/regexec.c (extend_buffers): Add parameter min_len.
24702 (check_matching): Pass minimum needed length.
24703 (clean_state_log_if_needed): Likewise.
24704 (get_subexp): Likewise.
24705 * posix/Makefile (tests): Add bug-regex34.
24706 (bug-regex34-ENV): Define.
24707 * posix/bug-regex34.c: New file.
24710 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24711 elements compare against the byte sequence of it, not its name.
24712 * posix/Makefile (tests): Add bug-regex35.
24713 (bug-regex35-ENV): Define.
24714 * posix/bug-regex35.c: New file.
24716 2013-02-11 Tom de Vries <tom@codesourcery.com>
24718 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24720 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24721 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24722 (CHECK_EOL): Add undef.
24724 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24726 * bits/stdlib-bsearch.h: New file.
24727 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24728 * stdlib/stdlib.h: Likewise.
24730 2013-02-11 Roland McGrath <roland@hack.frob.com>
24732 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24733 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24735 * manual/search.texi (Array Search Function): Add missing const in
24737 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24738 declaration to use rlim_t.
24739 (Basic Scheduling Functions): Remove erroneous const from
24740 sched_getparam prototype. Remove erroneous * from
24741 sched_get_priority_max and sched_get_priority_min prototypes.
24742 (Resource Usage): Fix summary @comment on vtimes to refer to
24743 sys/vtimes.h rather than vtimes.h.
24744 Add missing *s in vtimes prototype.
24745 (Limits on Resources): Fix ulimit prototype to return long int.
24746 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24747 prototypes to use long int rather than double.
24748 (BSD Random): Fix initstate and setstate to use char *, not void *.
24749 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24750 prototype to make second argument 'struct aiocb64 *const[]'.
24751 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24752 (Status of AIO Operations): Remove erroneous const in aio_return and
24753 aio_return64 prototypes.
24754 (Synchronizing I/O): Fix sync prototype to return void.
24755 * manual/startup.texi (Suboptions): Remove an erroneous const in
24756 getsubopt prototype.
24757 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24758 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24759 use size_t rather than int.
24760 (Scanning All Users): Likewise for getpwent_r.
24761 (Setting Groups): Add missing const to setgroups prototype.
24762 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24763 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24764 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24765 'const void *' rather than 'const char *'.
24766 (Host Address Functions): Likewise for inet_ntop.
24767 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24768 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24769 ssize_t for return value.
24770 (Sending Data): Likewise for send, sendto, sendmsg.
24771 (Socket Option Functions): Add a missing const in setsockopt prototype.
24772 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24773 use wchar_t for the argument.
24774 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24775 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24777 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24778 double/float/long double for second argument.
24779 Fix return types of significand, significandf, significandl.
24780 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24781 argument in fchmod prototype.
24782 (File Owner): Use uid_t and gid_t in fchown prototype.
24783 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24784 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24785 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24786 use 'const struct dirent **' as argument types to CMP function pointer
24788 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24789 (File Times): Fix summary magic @comment for struct utimbuf and utime
24790 to refer to utime.h, not time.h.
24791 * manual/string.texi (Argz Functions): Add missing const in
24792 argz_extract and argz_next prototypes.
24793 (Finding Tokens in a String): Likewise for basename.
24794 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24795 (Copying and Concatenation): Fix typo in wmemmove prototype.
24796 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24797 (Signal Stack): Remove erroneous const in sigstack prototype.
24798 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24800 (Simple Calendar Time): Likewise for stime.
24801 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24803 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24804 say sys/sysctl.h instead.
24805 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24806 and vsyslog prototypes.
24808 2013-02-11 Tom de Vries <tom@codesourcery.com>
24810 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24813 2013-02-11 Roland McGrath <roland@hack.frob.com>
24815 * misc/sys/mman.h: Fix typo in mremap comment.
24817 2013-02-08 Roland McGrath <roland@hack.frob.com>
24819 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24820 the '\0' terminator.
24822 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24825 * debug/segfault.c: Don't include <bp-checks.h>.
24826 * sysdeps/generic/bp-checks.h: Remove file.
24827 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24828 (__GETDENTS): Don't use CHECK_N.
24829 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24830 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24831 (__getgroups): Don't use CHECK_N.
24832 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24833 (setgroups): Don't use CHECK_N.
24834 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24835 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24836 (__libc_msgrcv): Don't use CHECK_N.
24837 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24838 (__libc_msgsnd): Don't use CHECK_N.
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24841 (__libc_pread): Don't use CHECK_N.
24842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24843 include <bp-checks.h>.
24844 (__libc_pread64): Don't use CHECK_N.
24845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24846 include <bp-checks.h>.
24847 (__libc_pwrite): Don't use CHECK_N.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24849 include <bp-checks.h>.
24850 (__libc_pwrite64): Don't use CHECK_N.
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24853 (__libc_pread): Don't use CHECK_N.
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24855 include <bp-checks.h>.
24856 (__libc_pread64): Don't use CHECK_N.
24857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24858 include <bp-checks.h>.
24859 (__libc_pwrite): Don't use CHECK_N.
24860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24861 include <bp-checks.h>.
24862 (__libc_pwrite64): Don't use CHECK_N.
24863 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24864 (do_pread): Don't use CHECK_N.
24865 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24866 (do_pread64): Don't use CHECK_N.
24867 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24868 (do_pwrite): Don't use CHECK_N.
24869 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24870 (do_pwrite64): Don't use CHECK_N.
24871 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24872 (__libc_readv): Don't use CHECK_N.
24873 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24874 (semop): Don't use CHECK_N.
24875 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24877 (semtimedop): Don't use CHECK_N.
24878 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24879 (__libc_pread): Don't use CHECK_N.
24880 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24882 (__libc_pread64): Don't use CHECK_N.
24883 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24885 (__libc_pwrite): Don't use CHECK_N.
24886 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24888 (__libc_pwrite64): Don't use CHECK_N.
24889 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24891 (__libc_msgrcv): Don't use CHECK_N.
24892 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24893 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24894 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24895 (__libc_writev): Don't use CHECK_N.
24897 2013-02-08 Roland McGrath <roland@hack.frob.com>
24899 * string/strcpy.c: Removed unused variable.
24901 * Makeconfig (+sysdep-includes): Define with := rather than =.
24902 Use an existing include/ subdir of each sysdeps dir before it.
24904 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24906 * nscd/connection.c (register_traced_file): Comment function.
24907 [HAVE_INOTIFY] (union __inev): Define.
24908 [HAVE_INOTIFY] (inotify_check_files): New function.
24909 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24910 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24912 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24914 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24916 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24917 loaded if not already and that a failure is permanent.
24919 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24922 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24923 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24925 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24928 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24929 (CHECK_1_NULL_OK): Likewise.
24930 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24931 (__fxstat): Do not use CHECK_1.
24932 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24934 (___fxstat64): Do not use CHECK_1.
24935 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24937 (__fxstatat): Do not use CHECK_1.
24938 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24940 (__fxstatat64): Do not use CHECK_1.
24941 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24943 (__fxstat): Do not use CHECK_1.
24944 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24946 (__fxstatat): Do not use CHECK_1.
24947 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24949 (__getresgid): Do not use CHECK_1.
24950 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24952 (__getresuid): Do not use CHECK_1.
24953 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24955 (__lxstat): Do not use CHECK_1.
24956 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24958 (__old_msgctl): Do not use CHECK_1.
24959 (__new_msgctl): Likewise.
24960 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24962 (__new_setrlimit): Do not use CHECK_1.
24963 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24965 (__old_shmctl): Do not use CHECK_1.
24966 (__new_shmctl): Likewise.
24967 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24969 (__xstat): Do not use CHECK_1.
24970 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24971 (__lxstat): Do not use CHECK_1.
24972 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24974 (___lxstat64): Do not use CHECK_1.
24975 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24976 (__old_msgctl): Do not use CHECK_1.
24977 (__new_msgctl): Likewise.
24978 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24980 (__gettimeofday): Do not use CHECK_1.
24981 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24982 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24983 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24985 (__gettimeofday): Do not use CHECK_1.
24986 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24987 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24988 (__new_shmctl): Do not use CHECK_1.
24989 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24991 (do_sigtimedwait): Do not use CHECK_1.
24992 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24994 (do_sigwaitinfo): Do not use CHECK_1.
24995 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24997 (msgctl): Do not use CHECK_1.
24998 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25000 (shmctl): Do not use CHECK_1.
25001 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25002 (ustat): Do not use CHECK_1.
25003 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25005 (__fxstat): Do not use CHECK_1.
25006 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25008 (__fxstatat): Do not use CHECK_1.
25009 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25011 (__lxstat): Do not use CHECK_1.
25012 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25014 (__xstat): Do not use CHECK_1.
25015 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25016 (__xstat): Do not use CHECK_1.
25017 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25018 (___xstat64): Do not use CHECK_1.
25021 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25023 (CHECK_BOUNDS_HIGH): Likewise.
25024 * string/strcpy.c: Do not include <bp-checks.h>.
25025 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25027 2013-02-07 Roland McGrath <roland@hack.frob.com>
25029 * nscd/nscd-client.h (__nscd_drop_map_ref):
25030 Add __attribute__ ((unused)).
25031 * nis/nss-nisplus.h (niserr2nss): Likewise.
25033 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25034 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25036 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25037 Remove inline keyword.
25038 * include/rounding-mode.h (round_away): Likewise.
25039 * libio/wfileops.c (adjust_wide_data): Likewise.
25040 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25041 (__m128i_strloadu_tolower): Likewise.
25042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25043 (__m128i_strloadu_tolower): Likewise.
25044 * time/mktime.c (ydhms_diff): Likewise.
25045 * locale/elem-hash.h (elem_hash): Likewise.
25046 * locale/setlocale.c (setdata): Likewise.
25047 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25048 (re_string_wchar_at): Likewise.
25049 (bitset_not, bitset_merge, bitset_mask): Likewise.
25050 [!(__GNUC__ > 3)] (inline): Remove macro.
25051 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25052 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25053 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25054 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25055 * string/memcmp.c (memcmp_bytes): Likewise.
25056 * locale/programs/locarchive.c (compute_hashval): Likewise.
25057 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25058 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25059 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25060 * nss/getent.c (print_rpc, print_protocols): Likewise.
25061 (print_passwd, print_group, print_aliases): Likewise.
25062 * nis/nss-nisplus.h (niserr2nss): Likewise.
25063 * nscd/connections.c (restart_p): Likewise.
25064 Change return type to bool.
25066 2013-02-05 Roland McGrath <roland@hack.frob.com>
25068 * Makeconfig (all-Depend-files): Add existing
25069 $(sorted-subdirs:=/Depend) files.
25070 (all-subdirs): Remove nss.
25071 * sysdeps/unix/inet/Subdirs: Add it here instead.
25072 * hesiod/Depend: New file.
25074 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25075 instead of calling alloca.
25077 * io/lseek.c (__lseek): Rename to __libc_lseek.
25078 Define __lseek as an alias.
25080 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25082 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25084 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25085 else clause and remove check for non-standard endianness.
25087 2013-02-04 David S. Miller <davem@davemloft.net>
25089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25091 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25094 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25095 (__ubp_memchr): Remove prototype.
25096 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25097 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25098 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25099 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25100 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25102 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25103 (__ubp_memchr): Likewise.
25104 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25105 (__ubp_memchr): Likewise.
25106 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25107 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25108 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25109 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25111 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25112 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25113 (__getcwd): Do not use CHECK_STRING.
25114 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25116 (__real_chown): Do not use CHECK_STRING.
25117 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25119 (fchownat): Do not use CHECK_STRING.
25120 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25122 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25124 (__lchown): Do not use CHECK_STRING.
25125 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25126 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25127 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25128 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25130 include <bp-checks.h>.
25131 (truncate64): Do not use CHECK_STRING.
25132 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25134 (__real_chown): Do not use CHECK_STRING.
25135 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25137 (__lchown): Do not use CHECK_STRING.
25138 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25140 (__chown): Do not use CHECK_STRING.
25141 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25143 (truncate64): Do not use CHECK_STRING.
25144 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25146 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25147 (__xmknod): Do not use CHECK_STRING.
25148 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25150 (__xmknodat): Do not use CHECK_STRING.
25151 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25152 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25154 2013-02-04 Andreas Schwab <schwab@suse.de>
25157 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25158 * include/netdb.h: Likewise for h_errno.
25159 * elf/tst-stackguard1.c: Include <tls.h>.
25161 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25163 * elf/link.h (struct link_map): Extend the l_addr comment.
25164 * include/link.h (struct link_map): Likewise.
25166 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25169 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25170 (BOUNDED_1): Remove macro.
25171 * debug/backtrace.c: Don't include <bp-checks.h>.
25172 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25173 (__backtrace): Likewise.
25174 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25176 (__backtrace): Don't use BOUNDED_1.
25177 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25179 (__backtrace): Don't use BOUNDED_1.
25180 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25181 (__backtrace): Don't use BOUNDED_1.
25182 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25183 (shmat): Don't use BOUNDED_N.
25185 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25188 * sysdeps/generic/bp-start.h: Remove file.
25189 * csu/libc-start.c: Don't include <bp-start.h>.
25190 (LIBC_START_MAIN): Set up __environ directly instead of using
25191 INIT_ARGV_and_ENVIRON.
25192 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25196 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25198 (CHECK_FCNTL): Likewise.
25199 (CHECK_N_PAGES): Likewise.
25202 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25204 (CHECK_SIGSET_NULL_OK): Likewise.
25205 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25207 (sigpending): Don't use CHECK_SIGSET.
25208 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25210 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25211 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25213 (do_sigsuspend): Don't use CHECK_SIGSET.
25214 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25216 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25217 (do_sigwait): Don't use CHECK_SIGSET.
25218 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25220 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25221 include <bp-checks.h>.
25222 (sigpending): Don't use CHECK_SIGSET.
25223 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25224 include <bp-checks.h>.
25225 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25226 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25228 (sigpending): Don't use CHECK_SIGSET.
25229 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25231 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25234 * sysdeps/generic/bp-semctl.h: Remove file.
25235 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25236 <bp-checks.h> and <bp-semctl.h>.
25237 (__old_semctl): Don't use CHECK_SEMCTL.
25238 (__new_semctl): Likewise.
25239 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25241 (__old_semctl): Don't use CHECK_SEMCTL.
25242 (__new_semctl): Likewise.
25243 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25244 <bp-checks.h> and <bp-semctl.h>.
25245 (__old_semctl): Don't use CHECK_SEMCTL.
25246 (__new_semctl): Likewise.
25247 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25248 <bp-checks.h> and <bp-semctl.h>.
25249 (semctl): Don't use CHECK_SEMCTL.
25252 * Makerules (elide-bp-thunks): Remove variable.
25253 (elide-routines.oS): Don't use $(elide-bp-thunks).
25254 (elide-routines.os): Likewise.
25255 (elide-routines.o): Likewise.
25256 (elide-routines.op): Likewise.
25257 (elide-routines.og): Likewise.
25258 (objects): Don't use $(bp-thunks).
25259 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25261 (common-generated): Do not add s-proto-bp.d.
25262 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25265 Do not generate makefile rules for bounded-pointer thunks.
25266 * sysdeps/generic/bp-thunks.h: Remove file.
25267 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25268 * sysdeps/unix/s-proto-bp.S: Likewise.
25271 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25272 parts of result separately when argument is not close to line from
25273 -i to i and one part of argument is small.
25274 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25275 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25276 * math/libm-test.inc (cacos_test): Add more tests.
25277 (casin_test): Likewise.
25278 (casinh_test): Likewise.
25279 * sysdeps/i386/fpu/libm-test-ulps: Update.
25280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25282 2013-01-31 David S. Miller <davem@davemloft.net>
25284 * po/de.po: Update from translation team.
25286 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25288 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25290 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25292 * configure.in (_AC_PROG_CC_C89): New definition.
25293 * configure: Regenerate.
25295 * configure.in (AC_PROG_CPP): New definition.
25296 * configure: Regenerate.
25298 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25300 * debug/tst-backtrace.h: New file.
25301 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25302 (ret): Remove variable.
25304 (FAIL): Remove macro.
25305 (NO_INLINE): Likewise.
25306 (fn1): Use match function instead of strstr.
25307 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25308 (ret): Remove variable.
25310 (FAIL): Remove macro.
25311 (NO_INLINE): Likewise.
25312 (fn): Use match function instead of strstr.
25313 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25314 (ret): Remove variable.
25316 (FAIL): Remove macro.
25317 (NO_INLINE): Likewise.
25318 (handle_signal): Use match function instead of strstr.
25319 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25320 (ret): Remove variable.
25322 (FAIL): Remove macro.
25323 (NO_INLINE): Likewise.
25324 (handle_signal): Use match function instead of strstr.
25326 2013-01-23 Roland McGrath <roland@hack.frob.com>
25328 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25330 2013-01-23 David S. Miller <davem@davemloft.net>
25332 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25333 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25334 argument of CAS if possible.
25335 * sysdeps/sparc/sparc64/bits/atomic.h
25336 (__arch_compare_and_exchange_val_32_acq): Likewise.
25337 (__arch_compare_and_exchange_val_64_acq): Likewise.
25339 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25341 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25342 * sysdeps/posix/ulimit.c: ... this.
25343 Include <limits.h>.
25344 * sysdeps/unix/bsd/ulimit.c: Remove file.
25346 2013-01-23 Adam Conrad <adconrad@0c3.net>
25348 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25349 (LDFLAGS-tst-array5): Likewise.
25351 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25354 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25355 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25356 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25357 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25359 2013-01-21 David S. Miller <davem@davemloft.net>
25361 * sysdeps/sparc/backtrace.c: New file.
25362 * sysdeps/sparc/sparc32/backtrace.h: New file.
25363 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25364 * sysdeps/sparc/sparc64/backtrace.h: New file.
25365 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25366 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25369 2013-01-21 Andreas Schwab <schwab@suse.de>
25372 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25375 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25381 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25382 Mark Mitchell <mark@codesourcery.com>
25383 Tom de Vries <tom@codesourcery.com>
25384 Paul Pluzhnikov <ppluzhnikov@google.com>
25386 * debug/tst-backtrace2.c: New file.
25387 * debug/tst-backtrace3.c: Likewise.
25388 * debug/tst-backtrace4.c: Likewise.
25389 * debug/tst-backtrace5.c: Likewise.
25390 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25391 (CFLAGS-tst-backtrace3.c): Likewise.
25392 (CFLAGS-tst-backtrace4.c): Likewise.
25393 (CFLAGS-tst-backtrace5.c): Likewise.
25394 (LDFLAGS-tst-backtrace2): Likewise.
25395 (LDFLAGS-tst-backtrace3): Likewise.
25396 (LDFLAGS-tst-backtrace4): Likewise.
25397 (LDFLAGS-tst-backtrace5): Likewise.
25398 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25399 tst-backtrace4 and tst-backtrace5.
25401 2013-01-18 Anton Blanchard <anton@samba.org>
25402 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25405 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25406 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25407 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25409 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25410 "+r" and remove output regs list as redundant. Add explicit inline
25411 asm to specify register of return val to work around compiler codegen
25412 bug. Remove (int) cast on return value. Add return type parameter to
25413 use in macro so that this macro does not truncate return value for
25415 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25416 pass to INTERNAL_VSYSCALL_NCS.
25417 (INLINE_VSYSCALL): Add 'long int' as return type to
25418 INTERNAL_VSYSCALL_NCS macro invocation.
25419 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25420 INTERNAL_VSYSCALL_NCS macro invocation.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25423 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25426 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25427 Fix application of SIMD FP exception mask.
25429 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25430 mp_no from a power of two.
25431 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25432 __mpexp_twomm1. Use __pow_mp.
25434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25437 2013-01-17 David S. Miller <davem@davemloft.net>
25439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25441 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25444 * include/complex.h: Condition contents on [!_COMPLEX_H].
25445 (__kernel_casinhf): New prototype.
25446 (__kernel_casinh): Likewise.
25447 (__kernel_casinhl): Likewise.
25448 * math/Makefile (libm_calls): Add k_casinh.
25449 * math/k_casinh.c: New file.
25450 * math/k_casinhf.c: Likewise.
25451 * math/k_casinhl.c: Likewise.
25452 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25453 finite nonzero arguments.
25454 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25455 finite nonzero arguments.
25456 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25457 finite nonzero arguments.
25458 * math/s_casinh.c: Do not include <float.h>.
25459 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25460 * math/s_casinhf.c: Do not include <float.h>.
25461 (__casinhf): Move code for finite nonzero arguments to
25463 * math/s_casinhl.c: Do not include <float.h>.
25464 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25466 (__casinhl): Move code for finite nonzero arguments to
25468 * math/libm-test.inc (cacos_test): Add more tests.
25469 * sysdeps/i386/fpu/libm-test-ulps: Update.
25470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25472 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25474 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25475 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25476 [!HAVE_MREMAP]: Remove [defined linux] case.
25477 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25479 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25481 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25483 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25485 * elf/elf.h (R_386_SIZE32): New relocation.
25486 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25488 (elf_machine_rela): Likewise.
25489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25490 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25492 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25494 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25495 (FP_FAST_FMA): Do not define.
25496 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25497 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25498 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25499 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25500 !_SOFT_FLOAT]: Likewise.
25501 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25502 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25504 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25505 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25506 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25507 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25508 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25509 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25512 2013-01-16 Andreas Schwab <schwab@suse.de>
25515 * include/stdlib.h (__mktemp): Add declaration.
25516 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25517 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25519 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25521 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25523 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25524 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25525 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25527 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25528 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25530 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25532 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25533 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25534 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25536 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25537 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25539 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25541 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25543 2013-01-15 David S. Miller <davem@davemloft.net>
25545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25546 trunc{,f} to libm-sysdep_routes.
25547 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25557 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25558 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25559 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25560 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25561 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25562 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25565 nearbyint{,f} to libm-sysdep_routes.
25566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25577 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25579 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25580 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25583 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25584 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25586 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25587 libc_feholdexcept and libc_fesetenv.
25589 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25591 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25593 2013-01-14 David S. Miller <davem@davemloft.net>
25595 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25596 (SPARC_ASM_VIS2_IFUNC): Likewise.
25597 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25599 use of 'siam' instruction.
25600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25633 routines to libm-sysdep_routines.
25634 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25637 fdim/fdimf to libm-sysdep_routines.
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25646 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25647 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25648 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25649 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25651 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25653 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25654 to optimize copies.
25656 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25661 local variable MPTWO.
25662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25665 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25667 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25670 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25672 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25674 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25676 * manual/pattern.texi (glob_t): Document gl_flags.
25677 (glob64_t): Likewise.
25679 2013-01-11 David S. Miller <davem@davemloft.net>
25681 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25682 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25683 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25684 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25685 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25686 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25687 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25688 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25689 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25690 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25691 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25692 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25693 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25695 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25696 sparc V9 rather than using V8 code.
25697 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25698 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25700 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25702 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25705 2013-01-11 Roland McGrath <roland@hack.frob.com>
25707 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25708 not in the main loop.
25709 * configure: Regenerated.
25711 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25713 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25714 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25716 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25717 [!__GLIBC_HAVE_LONG_LONG] case.
25718 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25719 condition to just #else.
25720 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25721 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25722 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25723 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25725 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25726 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25727 #elif condition to just #else.
25728 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25729 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25730 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25731 #elif condition to just #else.
25733 2013-01-11 Steve Ellcey <sellcey@mips.com>
25735 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25736 (EF_MIPS_ARCH_64): Fix value.
25737 (EF_MIPS_ARCH_32R2): New.
25738 (EF_MIPS_ARCH_64R2): New.
25740 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25742 * Makeconfig (+link-pie-before-libc): New.
25743 (+link-pie-after-libc): Likewise.
25744 (+link-pie-tests): Likewise.
25745 (+link-pie): Rewritten.
25746 (link-before-libc): Remove $(config-LDFLAGS).
25747 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25748 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25749 (config-LDFLAGS): Renamed to ...
25750 (rtld-LDFLAGS): This.
25751 (rtld-tests-LDFLAGS): New macro.
25752 (link-libc-rpath-link): Likewise.
25753 (link-libc-tests-rpath-link): Likewise.
25754 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25755 (link-libc): Prepand $(link-libc-rpath-link).
25756 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25757 (test-program-prefix): New macro.
25758 (test-via-rtld-prefix): Likewise.
25759 (test-program-cmd): Likewise.
25760 (host-test-program-cmd): Likewise.
25761 * Makefile ($(common-objpfx)testrun.sh): Replace
25762 $(run-program-prefix) with $(test-program-prefix).
25763 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25765 ($(common-objpfx)shlib.lds): Likewise.
25766 (build-module-helper): Likewise.
25767 ($(common-objpfx)format.lds): Likewise.
25768 * Rules (binaries-pie-tests): New.
25769 (binaries-pie-notests): Likewise.
25770 (binaries-pie): Rewritten.
25771 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25772 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25773 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25774 (make-test-out): Replace $(host-built-program-cmd) with
25775 $(host-test-program-cmd).
25776 * config.make.in (build-hardcoded-path-in-tests): New variable.
25777 * configure.in (--enable-hardcoded-path-in-tests): New configure
25779 (hardcoded_path_in_tests): New AC_SUBST.
25780 * configure: Regenerated.
25781 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25782 $(built-program-cmd) with $(test-program-cmd).
25783 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25784 (test_program_cmd): This.
25785 * elf/Makefile ($(objpfx)order.out): Run test with
25786 $(test-program-prefix).
25787 ($(objpfx)order2.out): Likewise.
25788 ($(objpfx)tst-initorder.out): Likewise.
25789 ($(objpfx)tst-initorder2.out): Likewise.
25790 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25791 $(test-program-cmd).
25792 ($(objpfx)tst-array1-static.out): Likewise.
25793 ($(objpfx)tst-array2.out): Likewise.
25794 ($(objpfx)tst-array3.out): Likewise.
25795 ($(objpfx)tst-array4.out): Likewise.
25796 ($(objpfx)tst-array5.out): Likewise.
25797 ($(objpfx)tst-array5-static.out): Likewise.
25798 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25799 $(test-program-cmd).
25800 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25801 $(run-program-prefix) with $(test-program-prefix).
25802 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25803 (test_program_prefix): This.
25804 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25805 $(run-program-prefix) with $(test-program-prefix).
25806 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25807 (test_program_prefix): This.
25808 * iconvdata/tst-tables.sh: Likewise.
25809 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25810 $(run-program-prefix) with $(test-program-prefix).
25811 ($(objpfx)tst-translit.out): Likewise.
25812 ($(objpfx)tst-gettext2.out): Likewise.
25813 ($(objpfx)tst-gettext4.out): Likewise.
25814 ($(objpfx)tst-gettext6.out): Likewise.
25815 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25816 (test_program_prefix): This.
25817 * intl/tst-gettext2.sh: Likewise.
25818 * intl/tst-gettext4.sh Likewise.
25819 * intl/tst-gettext6.sh: Likewise.
25820 * intl/tst-translit.sh: Likewise.
25821 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25822 with $(test-program-cmd).
25823 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25824 $(run-program-prefix) with $(test-program-prefix).
25825 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25826 (test_program_prefix): This.
25827 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25828 $(run-program-prefix) with $(test-program-prefix).
25829 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25830 (test_program_prefix): This.
25831 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25832 * posix/Makefile ($(objpfx)globtest.out): Replace
25833 $(run-via-rtld-prefix) and $(test-wrapper) with
25834 $(test-program-prefix) and $(test-via-rtld-prefix).
25835 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25836 $(test-program-prefix).
25837 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25838 $(host-test-program-cmd).
25839 (tst-spawn-ARGS): Likewise.
25840 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25841 $(test-program-prefix).
25842 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25843 (test_via_rtld_prefix): This.
25844 (test_wrapper): Renamed to ...
25845 (test_program_prefix): This.
25846 (run_program_prefix): Replaced by test_program_prefix.
25847 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25848 (test_program_prefix): This.
25849 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25850 with $(host-test-program-cmd).
25851 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25852 $(run-program-prefix) with $(test-program-prefix).
25853 ($(objpfx)tst-printf.out): Likewise.
25854 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25855 $(test-program-cmd).
25856 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25857 (test_program_prefix): This.
25858 * stdio-common/tst-unbputc.sh: Likewise.
25859 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25860 $(run-program-prefix) with $(test-program-prefix).
25861 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25862 (test_program_prefix): This.
25863 * string/Makefile ($(objpfx)tst-svc.out): Replace
25864 $(built-program-cmd) with $(test-program-cmd).
25866 2013-01-11 Andreas Jaeger <aj@suse.de>
25869 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25870 value. Sync with Linux 3.7.
25872 2013-01-10 David S. Miller <davem@davemloft.net>
25874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25875 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25876 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25878 2013-01-10 Roland McGrath <roland@hack.frob.com>
25880 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25882 * configure: Regenerated.
25884 2013-01-10 David S. Miller <davem@davemloft.net>
25886 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25887 sparc V9 rather than using V8 code.
25888 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25889 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25891 2013-01-10 Roland McGrath <roland@hack.frob.com>
25893 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25894 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25895 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25896 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25897 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25898 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25899 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25900 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25901 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25902 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25903 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25904 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25905 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25906 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25907 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25908 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25909 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25910 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25911 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25912 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25913 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25914 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25915 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25916 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25917 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25918 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25919 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25921 2013-01-10 David S. Miller <davem@davemloft.net>
25923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25925 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25927 * posix/Makefile (tests-static): New variable.
25928 (tests): Add $(tests-static).
25929 (tst-exec-static-ARGS): New variable.
25930 (tst-spawn-static-ARGS): Likewise.
25931 * posix/tst-exec-static.c: New file.
25932 * posix/tst-spawn-static.c: Likewise.
25933 * posix/tst-exec.c: Support run directly.
25934 * posix/tst-spawn.c: Likewise.
25936 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25938 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25940 * math/bits/mathcalls.h (llrint): Likewise.
25941 (llround): Likewise.
25942 * stdlib/stdlib.h (struct drand48_data): Likewise.
25943 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25944 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25945 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25947 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25949 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25950 (elf_greg_t): Likewise.
25951 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25952 (__jmp_buf): Likewise.
25953 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25955 (llrint): Likewise, for all definitions.
25956 (llrintl): Likewise.
25958 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25959 Remove [__GNUC__] condition.
25960 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25961 condition to just [__USE_ISOC99].
25962 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25964 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25967 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25968 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25970 (_POSIX_V6_ILP32_OFF32): Likewise.
25971 (_XBS5_ILP32_OFF32): Likewise.
25972 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25973 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25975 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25977 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25980 doubles __mpexp_twomm1. Adjust usage.
25981 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25984 2013-01-10 Andreas Schwab <schwab@suse.de>
25987 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25988 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25990 2013-01-09 David S. Miller <davem@davemloft.net>
25993 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25994 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25995 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25996 (TCP_FASTOPEN): Define.
25997 (tcp_repair_opt): New structure.
25998 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26000 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26001 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26002 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26003 (tcp_cookie_transactions): New structure.
26005 2013-01-09 Anton Blanchard <anton@samba.org>
26007 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26008 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26009 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26012 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26014 * include/features.h (__USE_ANSI): Remove.
26016 2013-01-09 Roland McGrath <roland@hack.frob.com>
26018 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26020 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26022 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26024 * sysdeps/s390/fpu/libm-test-ulps: Update.
26026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26028 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26032 (denorm): Likewise.
26033 (__mp_dbl): Likewise.
26034 (__dbl_mp): Likewise.
26035 (add_magnitudes): Likewise.
26036 (sub_magnitudes): Likewise.
26042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26046 (denorm): Likewise.
26047 (__mp_dbl): Likewise.
26048 (__dbl_mp): Likewise.
26049 (add_magnitudes): Likewise.
26050 (sub_magnitudes): Likewise.
26056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26060 (denorm): Likewise.
26061 (__mp_dbl): Likewise.
26062 (__dbl_mp): Likewise.
26063 (add_magnitudes): Likewise.
26064 (sub_magnitudes): Likewise.
26071 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26073 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26074 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26075 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26076 2 && __USE_EXTERN_INLINES]: Likewise.
26078 2013-01-08 Andreas Jaeger <aj@suse.de>
26081 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26083 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26084 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26086 2013-01-07 Anton Blanchard <anton@samba.org>
26088 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26089 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26090 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26091 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26092 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26093 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26094 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26095 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26097 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26098 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26099 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26100 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26101 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26102 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26103 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26104 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26105 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26106 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26108 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26109 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26110 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26111 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26112 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26114 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26115 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26116 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26117 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26118 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26120 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26121 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26123 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26124 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26125 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26126 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26127 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26128 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26130 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26132 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26134 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26135 (__MALLOC_PMT): Likewise.
26136 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26137 [__GNUC__], only on [_LIBC].
26138 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26139 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26140 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26141 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26142 forward declaration.
26143 (realloc_hook_ini): Likewise.
26144 (memalign_hook_ini): Likewise.
26145 (__libc_memalign): Do not use __MALLOC_PMT in variable
26147 (__libc_valloc): Likewise.
26148 (__libc_pvalloc): Likewise.
26149 (__libc_calloc): Likewise.
26150 (__posix_memalign): Likewise.
26153 * math/s_casinh.c: Include <float.h>.
26154 (__casinh): Do not do computation with squaring and square root
26155 for large arguments.
26156 * math/s_casinhf.c: Include <float.h>.
26157 (__casinhf): Do not do computation with squaring and square root
26158 for large arguments.
26159 * math/s_casinhl.c: Include <float.h>.
26160 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26161 (__casinhl): Do not do computation with squaring and square root
26162 for large arguments.
26163 * math/libm-test.inc (casin_test): Add more tests.
26164 (casinh_test): Likewise.
26165 * sysdeps/i386/fpu/libm-test-ulps: Update.
26166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26168 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26170 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26171 (__x86_64_raw_data_cache_size): Likewise.
26172 (__x86_64_data_cache_size_half): Likewise.
26173 (__x86_64_raw_data_cache_size_half): Likewise.
26174 (__x86_64_shared_cache_size): Likewise.
26175 (__x86_64_raw_shared_cache_size): Likewise.
26176 (__x86_64_shared_cache_size_half): Likewise.
26177 (__x86_64_raw_shared_cache_size_half): Likewise.
26178 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26180 (__x86_data_cache_size): This.
26181 (__x86_64_raw_data_cache_size): Renamed to ...
26182 (__x86_raw_data_cache_size): This.
26183 (__x86_64_data_cache_size_half): Renamed to ...
26184 (__x86_data_cache_size_half): This.
26185 (__x86_64_raw_data_cache_size_half): Renamed to ...
26186 (__x86_raw_data_cache_size_half): This.
26187 (__x86_64_shared_cache_size): Renamed to ...
26188 (__x86_shared_cache_size): This.
26189 (__x86_64_raw_shared_cache_size): Renamed to ...
26190 (__x86_raw_shared_cache_size): This.
26191 (__x86_64_shared_cache_size_half): Renamed to ...
26192 (__x86_shared_cache_size_half): This.
26193 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26194 (__x86_raw_shared_cache_size_half): This.
26195 * sysdeps/x86_64/memcpy.S: Updated.
26196 * sysdeps/x86_64/memset.S: Likewise.
26197 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26198 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26199 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26201 2013-01-04 David S. Miller <davem@davemloft.net>
26203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26205 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26207 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26208 1 to avoid redefinition warning.
26209 (__USE_GNU): Don't define.
26210 (init_signaling_nan): Protoize.
26212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26214 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26216 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26218 (__cpymn): Likewise.
26219 (norm): Remove commented code.
26220 (denorm): Likewise.
26221 (__mp_dbl): Likewise.
26223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26224 (__cpymn): Likewise.
26225 (norm): Remove commented code.
26226 (denorm): Likewise.
26227 (__mp_dbl): Likewise.
26230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26231 mp_no value for 1.0 and 2.0.
26232 (norm): Use RADIXI instead of radixi.d.
26233 (denorm): Likewise.
26234 (__mul): Use 0.0 instead of zero.d.
26235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26236 mp_no value for 1.0 and 2.0.
26237 (norm): Use RADIXI instead of radixi.d.
26238 (denorm): Likewise.
26239 (__mul): Use 0.0 instead of zero.d.
26241 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26244 * math/s_casinh.c (__casinh): Reduce finite argument to first
26245 quadrant then set signs of results at the end.
26246 * math/s_casinhf.c (__casinhf): Likewise.
26247 * math/s_casinhl.c (__casinhl): Likewise.
26248 * math/libm-test.inc (casin_test): Add more tests.
26249 (casinh_test): Likewise.
26250 * sysdeps/i386/fpu/libm-test-ulps: Update.
26251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26253 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26255 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26257 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26259 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26261 (denorm): Likewise.
26262 (__mp_dbl): Likewise.
26265 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26266 and adjust the header comment.
26268 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26269 variable name from declaration.
26271 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26274 Initialize COMMON_CPUID_INDEX_7 element.
26275 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26276 (CPUID_RTM): Likewise.
26277 (HAS_RTM): Likewise.
26278 (COMMON_CPUID_INDEX_7): New enum.
26280 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26283 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26284 size is zero, record memory as freed.
26286 2013-01-03 Andreas Jaeger <aj@suse.de>
26288 * po/ia.po: Add new Interlingua translation.
26290 2012-01-03 Allan McRae <allan@archlinux.org>
26292 * locale/programs/localedef.c: Fix description of '--posix' flag.
26294 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26296 * NEWS: Update dates in second copyright notice.
26297 * README: Update copyright dates in example.
26298 * manual/libc.texinfo: Update copyright dates.
26299 * scripts/test-installation.pl: Update copyright date in --version
26302 * hurd/ctty-input.c: Fix copyright notice formatting.
26303 * hurd/ctty-output.c: Likewise.
26304 * hurd/dtable.c: Likewise.
26305 * hurd/hurd-raise.c: Likewise.
26306 * hurd/hurdprio.c: Likewise.
26307 * hurd/msgportdemux.c: Likewise.
26308 * misc/sys/file.h: Likewise.
26309 * misc/sys/ioctl.h: Likewise.
26310 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26311 * sysdeps/mach/hurd/chdir.c: Likewise.
26312 * sysdeps/mach/hurd/fchdir.c: Likewise.
26313 * sysdeps/mach/hurd/rename.c: Likewise.
26314 * sysdeps/mach/hurd/rmdir.c: Likewise.
26315 * sysdeps/mach/hurd/seekdir.c: Likewise.
26316 * sysdeps/mach/hurd/setsid.c: Likewise.
26317 * sysdeps/posix/wait3.c: Likewise.
26319 * All files with FSF copyright notices: Update copyright dates
26320 using scripts/update-copyrights.
26321 * intl/plural.c: Regenerated.
26322 * locale/programs/charmap-kw.h: Likewise.
26323 * locale/programs/locfile-kw.h: Likewise.
26325 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26327 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26331 calculation loop and add branch prediction.
26333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26334 check access beyond bounds of m1np.
26336 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26338 (__inv): Remove local variable MPTWO to use the global
26340 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26344 MP3HALFS static const.
26346 2013-01-01 David S. Miller <davem@davemloft.net>
26348 * po/ca.po: Update from translation team.
26350 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26352 * scripts/update-copyrights: New file.
26353 * Makeconfig: Reformat copyright notice.
26354 * ctype/ctype.h: Likewise.
26355 * debug/swprintf_chk.c: Likewise.
26356 * elf/dl-cache.c: Likewise.
26357 * elf/dl-debug.c: Likewise.
26358 * elf/dl-object.c: Likewise.
26359 * grp/initgroups.c: Likewise.
26360 * hurd/Makefile: Likewise.
26361 * hurd/hurd/signal.h: Likewise.
26362 * hurd/hurdfault.c: Likewise.
26363 * hurd/hurdioctl.c: Likewise.
26364 * hurd/hurdlookup.c: Likewise.
26365 * hurd/intr-msg.c: Likewise.
26366 * iconv/gconv_open.c: Likewise.
26367 * libio/swprintf.c: Likewise.
26368 * locale/lc-ctype.c: Likewise.
26369 * locale/nl_langinfo.c: Likewise.
26370 * mach/Machrules: Likewise.
26371 * mach/Makefile: Likewise.
26372 * malloc/obstack.h: Likewise.
26373 * manual/Makefile: Likewise.
26374 * manual/tsort.awk: Likewise.
26375 * misc/bits/stab.def: Likewise.
26376 * nis/nis_print_group_entry.c: Likewise.
26377 * nis/nis_table.c: Likewise.
26378 * nis/nss_compat/compat-pwd.c: Likewise.
26379 * nis/nss_compat/compat-spwd.c: Likewise.
26380 * po/Makefile: Likewise.
26381 * posix/fnmatch.c: Likewise.
26382 * posix/regex.h: Likewise.
26383 * resolv/Makefile: Likewise.
26384 * resolv/nss_dns/dns-network.c: Likewise.
26385 * resolv/res_hconf.c: Likewise.
26386 * scripts/gen-sorted.awk: Likewise.
26387 * soft-fp/soft-fp.h: Likewise.
26388 * stdio-common/printf.h: Likewise.
26389 * stdlib/monetary.h: Likewise.
26390 * stdlib/random.c: Likewise.
26391 * stdlib/random_r.c: Likewise.
26392 * sysdeps/generic/Makefile: Likewise.
26393 * sysdeps/gnu/Makefile: Likewise.
26394 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26410 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26412 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26416 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26417 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26418 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26419 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26420 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26421 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26422 * sysdeps/mach/hurd/errnos.awk: Likewise.
26423 * sysdeps/mach/hurd/fork.c: Likewise.
26424 * sysdeps/mach/hurd/getcwd.c: Likewise.
26425 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26426 * sysdeps/mach/hurd/mmap.c: Likewise.
26427 * sysdeps/mach/hurd/utimes.c: Likewise.
26428 * sysdeps/mach/hurd/xmknod.c: Likewise.
26429 * sysdeps/posix/profil.c: Likewise.
26430 * sysdeps/posix/readdir_r.c: Likewise.
26431 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26432 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26433 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26434 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26436 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26437 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26438 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26440 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26442 * sysdeps/pthread/lio_listio.c: Likewise.
26443 * sysdeps/sparc/dl-procinfo.h: Likewise.
26444 * sysdeps/unix/i386/sysdep.S: Likewise.
26445 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26446 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26447 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26448 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26450 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26451 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26452 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26453 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26454 * sysdeps/wordsize-32/divdi3.c: Likewise.
26455 * time/sys/time.h: Likewise.
26456 * wcsmbs/Makefile: Likewise.
26458 2013-01-01 David S. Miller <davem@davemloft.net>
26460 * po/fr.po: Update from translation team.
26462 * catgets/gencat.c: Update copyright year.
26463 * csu/version.c: Likewise.
26464 * debug/catchsegv.sh: Likewise.
26465 * debug/pcprofiledump.c: Likewise.
26466 * debug/xtrace.sh: Likewise.
26467 * elf/ldconfig.c: Likewise.
26468 * elf/ldd.bash.in: Likewise.
26469 * elf/pldd.c: Likewise.
26470 * elf/sotruss.ksh: Likewise.
26471 * elf/sprof.c: Likewise.
26472 * iconv/iconv_prog.c: Likewise.
26473 * iconv/iconvconfig.c: Likewise.
26474 * locale/programs/locale.c: Likewise.
26475 * locale/programs/localedef.c: Likewise.
26476 * login/programs/pt_chown.c: Likewise.
26477 * malloc/memusage.sh: Likewise.
26478 * malloc/memusagestat.c: Likewise.
26479 * malloc/mtrace.pl: Likewise.
26480 * nscd/nscd.c: Likewise.
26481 * nss/getent.c: Likewise.
26482 * nss/makedb.c: Likewise.
26483 * posix/getconf.c: Likewise.
26485 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26487 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26490 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26492 * math/bits/mathcalls.h (modf): Use __nonnull.
26494 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26496 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26497 (split): Use macro CN instead of the bare value.
26498 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26501 instead of the bare value.
26502 (power1): Likewise.
26504 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26508 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26510 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26512 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26513 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26514 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26515 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26517 2012-12-28 Andreas Jaeger <aj@suse.de>
26519 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26520 values are from Linux 3.7.
26522 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26523 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26525 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26527 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26530 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26532 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26533 variables with preprocessor constants.
26534 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26535 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26536 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26538 2012-12-27 Bruno Haible <bruno@clisp.org>
26541 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26544 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26547 and use variable directly.
26548 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26550 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26552 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26553 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26555 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26557 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26558 include directive. Remove local variable MPONE.
26559 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26560 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26561 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26563 2012-12-25 David S. Miller <davem@davemloft.net>
26565 * version.h (RELEASE): Set to "development".
26566 (VERSION): Set to "2.17.90".
26567 * NEWS: Add 2.18 section.
26569 2012-12-21 David S. Miller <davem@davemloft.net>
26571 * po/hr.po: Update from translation team.
26573 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26575 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26577 2012-12-19 Steve Ellcey <sellcey@mips.com>
26579 * NEWS: Mention new memcpy for MIPS.
26581 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26583 * manual/contrib.texi (Contributors): Spelling correction.
26585 2012-12-15 David S. Miller <davem@davemloft.net>
26587 * po/ru.po: Update from translation team.
26589 2012-12-13 David S. Miller <davem@davemloft.net>
26591 * NEWS: Mention IFUNC testsuite enhancements.
26593 * po/pl.po: Update from translation team.
26594 * po/bg.po: Likewise.
26596 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26597 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26599 2012-12-11 David S. Miller <davem@davemloft.net>
26601 * po/sv.po: Update from translation team.
26603 * po/vi.po: Update from translation team.
26605 * po/cs.po: Update from translation team.
26607 * po/de.po: Update from translation team.
26608 * po/eo.po: Likewise.
26609 * po/nl.po: Likewise.
26611 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26614 * manual/argp.texi (Argp Helper Functions): Move node to follow
26615 Argp Parsing State.
26618 * manual/conf.texi (Limits on File System Capacity): Mention if
26619 terminating null is included in the max size.
26621 2012-12-10 Andreas Jaeger <aj@suse.de>
26623 * po/cs.po: Update from translation team.
26625 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26627 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26628 void pointer and cast to uintptr_t.
26629 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26631 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26632 * sysdeps/s390/s390-64/memset.S: Likewise.
26634 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26637 * menual/message.texi (Message Translation): Fix typos.
26638 (Helper programs for gettext): Likewise.
26640 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26643 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26646 2012-12-07 David S. Miller <davem@davemloft.net>
26648 * po/libc.pot: Update.
26650 2012-12-07 Richard Henderson <rth@redhat.com>
26653 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26654 normal/normal case to before the switch.
26655 (_FP_DIV): Likewise.
26657 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26658 Mike Frysinger <vapier@gentoo.org>
26660 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26661 check for __NR_fadvise64_64.
26663 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26665 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26666 0, not just to plain "0" as a statement.
26667 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26670 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26672 * NEWS: Use sourceware.org in Bugzilla URL.
26674 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26677 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26679 * stdio-common/tst-put-error.c (do_test): Add newline to the
26680 padded test to ensure flush.
26682 2012-12-05 Jeff Law <law@redhat.com>
26684 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26686 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26688 * README: Don't refer to ports add-on as distributed separately.
26689 Mention AArch64 in list of systems supported in the ports add-on.
26691 * LICENSES: Add more non-FSF copyright and license notices.
26693 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26696 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26698 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26699 10000 as width of padded output.
26701 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26703 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26705 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26706 variable LX with __attribute__ ((unused)).
26707 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26709 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26711 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26712 with __attribute__ ((unused)).
26714 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26716 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26718 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26720 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26721 (CFLAGS-nldbl-acos.c): New variable.
26722 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26723 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26724 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26725 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26726 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26727 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26728 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26729 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26730 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26731 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26732 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26733 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26734 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26735 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26736 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26737 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26738 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26739 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26740 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26741 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26742 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26743 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26744 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26745 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26746 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26747 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26748 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26749 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26750 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26751 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26752 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26753 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26754 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26755 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26756 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26757 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26758 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26759 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26760 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26761 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26762 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26763 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26764 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26765 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26766 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26767 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26769 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26770 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26771 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26772 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26773 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26774 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26775 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26776 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26777 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26778 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26779 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26780 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26781 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26782 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26783 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26784 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26785 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26786 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26787 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26788 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26789 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26790 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26791 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26792 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26793 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26794 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26795 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26796 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26797 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26798 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26799 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26800 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26801 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26802 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26803 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26804 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26805 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26806 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26807 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26808 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26809 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26810 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26811 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26812 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26813 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26814 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26815 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26816 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26817 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26818 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26821 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26825 whole low double instead of just low 47 bits when splitting values
26828 2012-12-03 Allan McRae <allan@archlinux.org>
26830 * manual/stdio.texi (Predefined Printf Handlers): Remove
26831 @hsep and @vsep usage.
26833 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26835 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26836 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26838 2012-12-03 Jeff Law <law@redhat.com>
26840 * time/sys/time.h (settimeofday): Do not mark TV argument
26843 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26845 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26846 when currently writing and seek to current position when not.
26847 * libio/Makefile (tests): Remove bug-fclose1.
26848 * libio/bug-fclose1.c: Delete.
26850 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26852 * manual/arith.texi (feenableexcept): Fix typo.
26853 (fedisableexcept): Likewise.
26855 2012-11-30 Roland McGrath <roland@hack.frob.com>
26857 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26858 second, differently-typed declaration, rather than a cast.
26860 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26862 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26863 * include/rpc/svc.h: ... here.
26865 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26868 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26869 depending n and resplen2 to catch cases where answer
26872 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26874 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26875 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26877 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26881 2012-11-29 Roland McGrath <roland@hack.frob.com>
26883 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26885 2012-11-28 Jeff Law <law@redhat.com>
26888 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26889 dataset_temporary. Track alloca usage into alloca_used.
26890 If dataset is large allocate and release it via malloc/free.
26892 2012-06-04 Florian Weimer <fweimer@redhat.com>
26895 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26897 2012-11-28 David S. Miller <davem@davemloft.net>
26899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26901 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26904 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26905 of pi/2 rounded to nearest to 64 bits.
26906 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26907 nearest to 64 bits.
26908 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26911 2012-11-28 Jeff Law <law@redhat.com>
26912 Martin Osvald <mosvald@redhat.com>
26915 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26916 * sunrpc/svc.c: Include time.h.
26917 (__svc_accept_failed): New function.
26918 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26919 any reason other than EINTR, call __svc_accept_failed.
26920 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26921 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26923 2012-11-28 Andreas Schwab <schwab@suse.de>
26925 * scripts/abilist.awk: Also handle indirect functions in .opd
26928 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26931 * sysdeps/x86/fpu/powl_helper.c: New file.
26932 * sysdeps/x86/fpu/Makefile: Likewise.
26933 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26935 (__ieee754_powl): Use __powl_helper for finite arguments except
26936 integer exponents below 8.
26937 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26939 (__ieee754_powl): Use __powl_helper for finite arguments except
26940 integer exponents below 8.
26941 * math/libm-test.inc (pow_test): Add more tests and enable some
26942 previously disabled tests.
26943 * sysdeps/i386/fpu/libm-test-ulps: Update.
26944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26946 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26947 Carlos O'Donell <carlos_odonell@mentor.com>
26949 * nss/makedb.c (is_prime): Assert that input is odd and greater
26950 than 4. Note that fact in a comment too.
26951 (next_prime): Add 4 to input.
26953 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26956 * libio/Makefile (tests): Add test case tst-fwrite-error.
26957 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26958 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26959 * libio/tst-fwrite-error.c: New test case.
26961 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26963 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26964 before casting to void *.
26965 * include/libc-internal.h (__pointer_type): New macro.
26966 (__integer_if_pointer_type_sub): Likewise.
26967 (__integer_if_pointer_type): Likewise.
26968 (cast_to_integer): Likewise.
26969 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26970 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26971 before casting to atomic64_t.
26972 (atomic_exchange_acq): Likewise.
26973 (__arch_exchange_and_add_body): Likewise.
26974 (__arch_add_body): Likewise.
26975 (atomic_add_negative): Likewise.
26976 (atomic_add_zero): Likewise.
26978 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26980 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26981 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26982 (add_fdes): Likewise.
26983 (linear_search_fdes): Likewise.
26984 (binary_search_unencoded_fdes): Likewise.
26986 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26988 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26990 2012-11-24 Adam Conrad <adconrad@0c3.net>
26992 * configure.in: Autodetect C++ header directories.
26993 * configure: Regenerated.
26995 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26997 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26999 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27003 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27005 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27006 LDBL_MANT_DIG == 106]: Disable some tests.
27007 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27009 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27013 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27014 input for small inputs. Return +/- pi/2 for large inputs.
27015 * math/libm-test.inc (atan_test): Add more tests.
27017 * sysdeps/generic/unwind-dw2-fde-glibc.c
27018 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27019 __attribute__ ((unused)).
27022 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27023 x * y if x and y are nonzero and z is zero.
27026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27027 nonzero exponents with absolute value below 0x1p-117 to +/-
27031 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27032 up arguments below 2**-450, not just those below 2**-500.
27033 * math/libm-test.inc (hypot_test): Add another test.
27036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27037 Return a+b for ratio over 2**120, not 2**60.
27038 * math/libm-test.inc (hypot_test): Add another test.
27040 * math/libm-test.inc (clog_test): Use
27041 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27042 (clog10_test): Likewise.
27045 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27047 2012-11-22 Andreas Schwab <schwab@suse.de>
27049 * sysdeps/i386/fpu/libm-test-ulps: Update.
27051 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27053 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27054 printf output with newline.
27056 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27059 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27060 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27061 -z nodlopen, -z initfirst and -z execstack support.
27062 * configure: Regenerated.
27064 * elf/elf.h (DF_1_NODIRECT): New macro.
27065 (DF_1_IGNMULDEF): Likewise.
27066 (DF_1_NOKSYMS): Likewise.
27067 (DF_1_NOHDR): Likewise.
27068 (DF_1_EDITED): Likewise.
27069 (DF_1_NORELOC): Likewise.
27070 (DF_1_SYMINTPOSE): Likewise.
27071 (DF_1_GLOBAUDIT): Likewise.
27072 (DF_1_SINGLETON): Likewise.
27073 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27074 DT_1_SUPPORTED_MASK bits.
27075 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27077 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27079 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27081 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27083 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27086 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27087 (sendmmsg): Move declarations...
27088 * socket/sys/socket.h: ... here.
27089 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27090 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27092 * socket/recvmmsg.c: ... this new file.
27093 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27094 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27095 definition of __sendmmsg hidden.
27096 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27097 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27098 Move ENOSYS stub into and include it from...
27099 * socket/sendmmsg.c: ... this new file.
27100 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27101 (sysdep_routines): Move recvmmsg and sendmmsg...
27102 * socket/Makefile (routines): ... here.
27103 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27104 (GLIBC_PRIVATE): Add __sendmmsg.
27105 * include/sys/socket.h (__sendmmsg): Add declarations.
27106 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27109 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27111 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27112 variable I1 with __attribute__ ((unused)).
27113 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27115 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27117 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27118 DUMMY variables with __attribute__ ((unused)).
27120 * bits/byteswap.h: Include <bits/types.h>.
27121 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27123 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27125 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27126 string_t. Do not manually set errno.
27127 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27128 length with __strnlen. Make sure to both set errno and return it on
27131 2012-11-19 David S. Miller <davem@davemloft.net>
27133 With help from Joseph Myers.
27134 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27135 very large arguments properly.
27136 * math/libm-test.inc (atan_test): New tests.
27137 (atan2_test): New tests.
27138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27141 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27144 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27147 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27148 [POSIX] (EADDRNOTAVAIL): Likewise.
27149 [POSIX] (EAFNOSUPPORT): Likewise.
27150 [POSIX] (EALREADY): Likewise.
27151 [POSIX] (ECONNABORTED): Likewise.
27152 [POSIX] (ECONNREFUSED): Likewise.
27153 [POSIX] (ECONNRESET): Likewise.
27154 [POSIX] (EDESTADDRREQ): Likewise.
27155 [POSIX] (EDQUOT): Likewise.
27156 [POSIX] (EHOSTUNREACH): Likewise.
27157 [POSIX] (EIDRM): Likewise.
27158 [POSIX] (EISCONN): Likewise.
27159 [POSIX] (ELOOP): Likewise.
27160 [POSIX] (EMULTIHOP): Likewise.
27161 [POSIX] (ENETDOWN): Likewise.
27162 [POSIX] (ENETUNREACH): Likewise.
27163 [POSIX] (ENOBUFS): Likewise.
27164 [POSIX] (ENODATA): Likewise.
27165 [POSIX] (ENOLINK): Likewise.
27166 [POSIX] (ENOMSG): Likewise.
27167 [POSIX] (ENOPROTOOPT): Likewise.
27168 [POSIX] (ENOSR): Likewise.
27169 [POSIX] (ENOSTR): Likewise.
27170 [POSIX] (ENOTCONN): Likewise.
27171 [POSIX] (ENOTSOCK): Likewise.
27172 [POSIX] (EOPNOTSUPP): Likewise.
27173 [POSIX] (EOVERFLOW): Likewise.
27174 [POSIX] (EPROTO): Likewise.
27175 [POSIX] (EPROTONOSUPPORT): Likewise.
27176 [POSIX] (EPROTOTYPE): Likewise.
27177 [POSIX] (ESTALE): Likewise.
27178 [POSIX] (ETIME): Likewise.
27179 [POSIX] (ETXTBSY): Likewise.
27180 [POSIX] (EWOULDBLOCK): Likewise.
27181 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27182 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27183 [POSIX] (SEEK_CUR): Likewise.
27184 [POSIX] (SEEK_END): Likewise.
27185 [POSIX || UNIX98] (mode_t): Do not require.
27186 [POSIX] (off_t): Likewise.
27187 [POSIX] (pid_t): Likewise.
27188 [POSIX] (sys/stat.h): Do not allow header.
27189 [POSIX] (unistd.h): Likewise.
27190 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27191 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27192 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27193 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27195 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27196 sigevent): Specify elements.
27197 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27199 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27200 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27202 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27203 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27204 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27205 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27206 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27207 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27208 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27209 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27211 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27212 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27213 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27214 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27215 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27217 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27219 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27221 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27223 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27224 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27225 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27226 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27228 Specify lower bound on value.
27229 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27230 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27234 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27235 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27236 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27238 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27240 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27242 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27243 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27248 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27249 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27250 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27251 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27252 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27253 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27254 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27257 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27259 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27260 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27266 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27269 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27270 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27271 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27272 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27274 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27275 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27276 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27277 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27278 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27279 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27280 specify as optional.
27281 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27282 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27283 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27284 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27285 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27286 [XPG3] (NL_LANGMAX): Likewise.
27287 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27288 [POSIX || XPG3] (NL_NMAX): Likewise.
27289 [POSIX || XPG3] (NL_SETMAX): Likewise.
27290 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27291 [XPG3] (NZERO): Likewise.
27292 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27293 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27294 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27295 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27296 (REG_ERANGE): Expect.
27297 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27299 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27300 Use (void) in prototype.
27301 [POSIX] (*_t): Allow.
27302 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27303 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27304 (WRDE_BADVAL): Expect.
27306 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27308 [XPG3 || XPG4] (O_RSYNC): Likewise.
27309 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27311 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27312 [XPG3 || XPG4] (sigqueue): Likewise.
27313 [XPG3 || XPG4] (sigtimedwait): Likewise.
27314 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27315 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27316 [XPG3 || XPG4] (vsnprintf): Likewise.
27317 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27319 [XPG3 || XPG4] (blksize_t): Likewise.
27320 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27322 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27323 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27324 [XPG3 || XPG4] (struct itimerspec): Likewise.
27325 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27326 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27327 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27328 [XPG3 || XPG4] (clockid_t): Likewise.
27329 [XPG3 || XPG4] (timer_t): Likewise.
27330 [XPG3 || XPG4] (clock_getres): Likewise.
27331 [XPG3 || XPG4] (clock_gettime): Likewise.
27332 [XPG3 || XPG4] (clock_settime): Likewise.
27333 [XPG3 || XPG4] (nanosleep): Likewise.
27334 [XPG3 || XPG4] (timer_create): Likewise.
27335 [XPG3 || XPG4] (timer_delete): Likewise.
27336 [XPG3 || XPG4] (timer_gettime): Likewise.
27337 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27338 [XPG3 || XPG4] (timer_settime): Likewise.
27339 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27340 [XPG3 || XPG4] (getlogin_r): Likewise.
27341 [XPG3 || XPG4] (pread): Likewise.
27342 [XPG3 || XPG4] (pthread_atfork): Likewise.
27343 [XPG3 || XPG4] (pwrite): Likewise.
27346 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27349 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27351 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27352 finalizing MALLSTREAM.
27354 * sysdeps/mach/hurd/syncfs.c: New file.
27356 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27359 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27360 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27361 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27362 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27363 (_nss_dns_gethostbyname4_r): Likewise.
27364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27365 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27367 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27370 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27372 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27374 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27375 * elf/cache.c (print_entry): Print ",AArch64" for
27378 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27379 * elf/cache.c (print_entry): Print ",hard-float" for
27382 2012-11-18 David S. Miller <davem@davemloft.net>
27384 With help from Joseph Myers.
27385 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27387 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27389 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27390 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27392 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27393 * math/libm-test.inc (y0_test): New tests.
27394 (y1_test): New tests.
27395 * sysdeps/i386/fpu/libm-test-ulps: Update.
27396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27399 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27401 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27403 * configure: Regenerated.
27405 2012-11-17 David S. Miller <davem@davemloft.net>
27408 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27409 nonzero exponents with absolute value below 0x1p-128 to +/-
27412 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27414 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27416 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27418 * posix/getconf-speclist.c: New file.
27419 * posix/posix-envs.def: Likewise.
27420 * posix/confstr.c (START_ENV_GROUP): New macro.
27421 (END_ENV_GROUP): Likewise.
27422 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27423 (KNOWN_PRESENT_ENV_STRING): Likewise.
27424 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27425 (UNKNOWN_ENVIRONMENT): Likewise.
27426 (confstr): Include posix-envs.def instead of handling
27427 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27428 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27429 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27430 (END_ENV_GROUP): Likewise.
27431 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27432 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27433 (UNKNOWN_ENVIRONMENT): Likewise.
27434 (__sysconf): Include posix-envs.def instead of handling associated
27435 cases directly here.
27436 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27437 preprocessing getconf-speclist.c rather than running getconf or
27438 generating empty file.
27440 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27442 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27444 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27447 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27449 2012-11-16 David S. Miller <davem@davemloft.net>
27451 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27452 smaller than LDBL_EPSILON/2.0L, just return xm1.
27454 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27456 * elf/tst-array1.c (init): Set constructor priority to 1000.
27457 (fini): Set destructor priority to 1000.
27458 * elf/tst-array2dep.c: Likewise.
27460 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27463 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27464 (_IO_new_file_xsputn): Also return EOF if none of the input
27465 data was written when overflow failed.
27466 * libio/iopadn.c (_IO_padn): Likewise.
27467 * libio/iowpadn.c (_IO_wpadn): Likewise.
27468 * stdio-common/tst-put-error.c: Add copyright notice.
27469 (do_test): Add case for printing padded string.
27470 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27471 _IO_padn returned error.
27472 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27473 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27476 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27478 * libio/libioP.h: Add comment note that the references to C++
27479 bits are now obsolete.
27481 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27483 * math/libm-test.inc (check_complex): Use asprintf.
27485 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27487 * debug/pcprofiledump.c (print_version): Update copyright year.
27488 * malloc/memusagestat.c (print_version): Likewise.
27490 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27493 * elf/Makefile (tests): Add tst-audit8.
27494 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27495 ($(objpfx)tst-audit8.out): New target.
27496 (tst-audit8-ENV): New variable.
27497 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27498 audit if l_reloc_result is NULL.
27499 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27500 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27501 * elf/tst-audit8.c: New file.
27503 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27505 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27506 * misc/Makefile (CFLAGS-select.c): Define.
27507 * posix/Makefile (CFLAGS-pause.c): Define.
27509 2012-11-13 David S. Miller <davem@davemloft.net>
27511 * crypt/Makefile: Move test targets after toplevel Rules
27512 inclusion. Grab any necessary sysdep routines when linking.
27513 * crypt/md5.c (md5_process_block): Remove define, we will always
27514 name it __md5_process_block.
27515 (md5_finish_ctx): Update md5_process_block call.
27516 (md5_stream): Likewise.
27517 (md5_process_bytes): Likewise.
27518 (md5_process_block): Rename to __md5_process_block and move to ...
27519 * crypt/md5-block.c: ... here.
27520 * crypt/sha256.c (sha256_process_block): Move to ...
27521 * crypt/sha256-block.c: ... here.
27522 * crypt/sha512.c (sha512_process_block): Move to ...
27523 * crypt/sha512-block.c: ... here.
27524 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27526 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27527 * sysdeps/sparc/sparc64/multiarch/Makefile
27528 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27530 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27533 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27534 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27535 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27536 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27537 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27538 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27539 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27540 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27541 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27543 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27544 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27546 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27548 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27550 * timezone/tzselect.ksh: Update from tzcode git revision
27551 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27552 * timezone/zdump.c: Likewise.
27553 * timezone/zic.c: Likewise.
27554 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27555 in TZVERSION setting, not $(PKGVERSION).
27556 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27557 REPORT_BUGS_TO settings.
27560 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27563 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27565 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27566 detection to immediately after _FP_ROUND().
27567 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27570 2012-11-11 David S. Miller <davem@davemloft.net>
27572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27574 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27575 __close rather than their public counterparts.
27577 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27579 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27581 [UNIX98] (sem_timedwait): Do not expect.
27582 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27583 [XPG4 || UNIX98] (sockatmark): Do not expect.
27584 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27585 (clock_getcpuclockid): Do not expect.
27586 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27587 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27589 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27590 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27591 [UNIX98] (vwscanf): Likewise.
27592 [UNIX98] (vswscanf): Likewise.
27594 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27596 * timezone/version.h: Remove file.
27597 * timezone/README: Do not refer to version.h.
27598 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27599 $(objpfx)version.h.
27600 ($(objpfx)zdump.o): Likewise.
27601 ($(objpfx)version.h): New target.
27603 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27605 * timezone/README: Don't mention modification to tzselect.ksh.
27606 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27607 work on unmodified tzselect.ksh. Substitute version numbers in
27610 * Makefile (format-me): Remove.
27611 (INSTALL): Adjust indentation. Use commands directly instead of
27612 using $(format-me).
27614 * aclocal.m4 (ACX_PKGVERSION): New macro.
27615 (ACX_BUGURL): Likewise.
27616 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27617 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27618 (REPORT_BUGS_TO): Likewise.
27619 * configure: Regenerated.
27620 * config.h.in (PKGVERSION): New macro.
27621 (REPORT_BUGS_TO): Likewise.
27622 * config.make.in (PKGVERSION): New variable.
27623 (PKGVERSION_TEXI): Likewise.
27624 (REPORT_BUGS_TO): Likewise.
27625 (REPORT_BUGS_TEXI): Likewise.
27626 * Makefile (format-me): Use -I$(common-objpfx)manual.
27627 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27628 ($(common-objpfx)manual/%): New target.
27629 (manual/%): Remove target.
27630 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27631 (print_version): Use PKGVERSION.
27632 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27633 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27634 and REPORT_BUGS_TO.
27635 ($(objpfx)xtrace): Likewise.
27636 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27637 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27638 (print_version): Use PKGVERSION.
27639 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27640 (do_version): Use PKGVERSION.
27641 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27643 (common-ldd-rewrite): Likewise.
27644 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27645 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27646 (print_version): Use PKGVERSION.
27647 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27648 * elf/pldd.c (argp_program_bug_address): Remove variable.
27649 (more_help): New function.
27650 (argp): Use more_help.
27651 (print_version): Use PKGVERSION.
27652 * elf/sln.c (main): Use PKGVERSION.
27653 (usage): Use REPORT_BUGS_TO.
27654 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27655 (top level): Use PKGVERSION.
27656 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27657 (print_version): Use PKGVERSION.
27658 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27659 (print_version): Use PKGVERSION.
27660 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27661 (print_version): Use PKGVERSION.
27662 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27663 (print_version): Use PKGVERSION.
27664 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27665 (print_version): Use PKGVERSION.
27666 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27667 (print_version): Use PKGVERSION.
27668 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27670 ($(objpfx)memusage): Likewise.
27671 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27672 (do_version): Use PKGVERSION.
27673 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27674 (print_version): Use PKGVERSION.
27675 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27676 ($PKGVERSION): New variable.
27677 ($REPORT_BUGS_TO): Likewise.
27678 (usage): Use $REPORT_BUGS_TO.
27679 (top level): Use $PKGVERSION.
27680 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27681 ($(objpfx)pkgvers.texi): New rule.
27682 ($(objpfx)stamp-pkgvers): Likewise.
27683 * manual/install.texi: Include pkgvers.texi.
27684 (--with-pkgversion): Document new configure option.
27685 (--with-bugurl): Likewise.
27686 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27687 than necessarily for this particular distribution. Use
27688 REPORT_BUGS_TO for where to report bugs.
27689 * INSTALL: Regenerated.
27690 * manual/libc.texinfo: Include pkgvers.texi.
27691 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27692 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27693 (print_version): Use PKGVERSION.
27694 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27695 (print_version): Use PKGVERSION.
27696 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27697 (print_version): Use PKGVERSION.
27698 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27699 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27701 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27702 (print_version): Use PKGVERSION.
27703 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27704 (print_version): Use PKGVERSION.
27705 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27708 * timezone/checktab.awk: Update from tzcode 2012i.
27709 * timezone/ialloc.c: Likewise.
27710 * timezone/private.h: Likewise.
27711 * timezone/scheck.c: Likewise.
27712 * timezone/tzfile.h: Likewise.
27713 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27714 (TZVERSION): Hardcode tzcode version number.
27715 * timezone/zdump.c: Update from tzcode 2012i.
27716 * timezone/zic.c: Likewise.
27717 * timezone/version.h: New file.
27718 * timezone/README: Describe version.h. Update upstream location.
27721 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27722 (mktemp): Enable declaration.
27723 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27740 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27741 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27742 for copies of such integer values.
27743 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27744 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27746 2012-11-09 Andreas Jaeger <aj@suse.de>
27748 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27749 definitions and declarations that are provided by
27750 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27752 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27754 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27755 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27756 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27759 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27761 * elf/elf.h: Update comment before AArch64 relocations.
27763 2012-11-07 David S. Miller <davem@davemloft.net>
27765 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27766 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27767 (__start_context): Declare.
27768 (__makecontext_ret): Delete.
27769 (__makecontext): Hook up __start_context instead of
27771 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27772 (sysdep_routines): Add __start_context when in stdlib.
27774 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27776 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27777 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27778 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27780 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27781 (READELF): New variable. Use it instead of hardcoded "readelf".
27783 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27785 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27786 * sysdeps/x86/Makefile: Here.
27787 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27788 * sysdeps/x86/tst-xmmymm.sh: This.
27790 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27792 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27794 [UNIX98] (pthread_barrier_t): Do not expect.
27795 [UNIX98] (pthread_barrierattr_t): Likewise.
27796 [UNIX98] (pthread_spinlock_t): Likewise.
27797 [UNIX98] (pthread_barrier_destroy): Likewise.
27798 [UNIX98] (pthread_barrier_init): Likewise.
27799 [UNIX98] (pthread_barrier_wait): Likewise.
27800 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27801 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27802 [UNIX98] (pthread_barrierattr_init): Likewise.
27803 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27804 [UNIX98] (pthread_getcpuclockid): Likewise.
27805 [UNIX98] (pthread_mutex_timedlock): Likewise.
27806 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27807 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27808 [UNIX98] (pthread_sigmask): Likewise.
27809 [UNIX98] (pthread_spin_destroy): Likewise.
27810 [UNIX98] (pthread_spin_init): Likewise.
27811 [UNIX98] (pthread_spin_lock): Likewise.
27812 [UNIX98] (pthread_spin_trylock): Likewise.
27813 [UNIX98] (pthread_spin_unlock): Likewise.
27814 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27816 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27817 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27818 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27819 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27820 [XPG3 || XPG4] (pthread_key_t): Likewise.
27821 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27822 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27823 [XPG3 || XPG4] (pthread_once_t): Likewise.
27824 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27825 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27826 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27827 [XPG3 || XPG4] (pthread_t): Likewise.
27829 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27831 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27833 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27834 Change function return type to int.
27836 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27837 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27838 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27839 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27840 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27841 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27842 [!POSIX] (posix_madvise): Likewise.
27843 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27845 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27846 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27847 (mode_t): Likewise.
27848 (posix_mem_offset): Likewise.
27849 (posix_typed_mem_get_info): Likewise.
27850 (posix_typed_mem_open): Likewise.
27852 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27853 Change condition to [XOPEN2K8].
27855 * conform/conformtest.pl: Preprocess allow-header data with -x c
27856 instead of from stdin.
27857 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27858 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27859 [C99-based standards] (cerfc): Likewise.
27860 [C99-based standards] (cexp2): Likewise.
27861 [C99-based standards] (cexpm1): Likewise.
27862 [C99-based standards] (clog10): Likewise.
27863 [C99-based standards] (clog1p): Likewise.
27864 [C99-based standards] (clog2): Likewise.
27865 [C99-based standards] (clgamma): Likewise.
27866 [C99-based standards] (ctgamma): Likewise.
27867 [C99-based standards] (cerff): Likewise.
27868 [C99-based standards] (cerfcf): Likewise.
27869 [C99-based standards] (cexp2f): Likewise.
27870 [C99-based standards] (cexpm1f): Likewise.
27871 [C99-based standards] (clog10f): Likewise.
27872 [C99-based standards] (clog1pf): Likewise.
27873 [C99-based standards] (clog2f): Likewise.
27874 [C99-based standards] (clgammaf): Likewise.
27875 [C99-based standards] (ctgammaf): Likewise.
27876 [C99-based standards] (cerfl): Likewise.
27877 [C99-based standards] (cerfcl): Likewise.
27878 [C99-based standards] (cexp2l): Likewise.
27879 [C99-based standards] (cexpm1l): Likewise.
27880 [C99-based standards] (clog10l): Likewise.
27881 [C99-based standards] (clog1pl): Likewise.
27882 [C99-based standards] (clog2l): Likewise.
27883 [C99-based standards] (clgammal): Likewise.
27884 [C99-based standards] (ctgammal): Likewise.
27885 * conform/data/inttypes.h-data [C99-based standards]: Include
27886 stdint.h-data. Remove all expectations for stdint.h contents.
27887 [C99-based standards] (PRI*): Do not allow.
27888 [C99-based standards] (SCN*): Likewise.
27889 [C99-based standards] (*_t): Likewise.
27890 [C99-based-standards] (PRId8): Expect macro.
27891 [C99-based-standards] (PRIi8): Likewise.
27892 [C99-based-standards] (PRIo8): Likewise.
27893 [C99-based-standards] (PRIu8): Likewise.
27894 [C99-based-standards] (PRIx8): Likewise.
27895 [C99-based-standards] (PRIX8): Likewise.
27896 [C99-based-standards] (SCNd8): Likewise.
27897 [C99-based-standards] (SCNi8): Likewise.
27898 [C99-based-standards] (SCNo8): Likewise.
27899 [C99-based-standards] (SCNu8): Likewise.
27900 [C99-based-standards] (SCNx8): Likewise.
27901 [C99-based-standards] (PRIdLEAST8): Likewise.
27902 [C99-based-standards] (PRIiLEAST8): Likewise.
27903 [C99-based-standards] (PRIoLEAST8): Likewise.
27904 [C99-based-standards] (PRIuLEAST8): Likewise.
27905 [C99-based-standards] (PRIxLEAST8): Likewise.
27906 [C99-based-standards] (PRIXLEAST8): Likewise.
27907 [C99-based-standards] (SCNdLEAST8): Likewise.
27908 [C99-based-standards] (SCNiLEAST8): Likewise.
27909 [C99-based-standards] (SCNoLEAST8): Likewise.
27910 [C99-based-standards] (SCNuLEAST8): Likewise.
27911 [C99-based-standards] (SCNxLEAST8): Likewise.
27912 [C99-based-standards] (PRIdFAST8): Likewise.
27913 [C99-based-standards] (PRIiFAST8): Likewise.
27914 [C99-based-standards] (PRIoFAST8): Likewise.
27915 [C99-based-standards] (PRIuFAST8): Likewise.
27916 [C99-based-standards] (PRIxFAST8): Likewise.
27917 [C99-based-standards] (PRIXFAST8): Likewise.
27918 [C99-based-standards] (SCNdFAST8): Likewise.
27919 [C99-based-standards] (SCNiFAST8): Likewise.
27920 [C99-based-standards] (SCNoFAST8): Likewise.
27921 [C99-based-standards] (SCNuFAST8): Likewise.
27922 [C99-based-standards] (SCNxFAST8): Likewise.
27923 [C99-based-standards] (PRId16): Likewise.
27924 [C99-based-standards] (PRIi16): Likewise.
27925 [C99-based-standards] (PRIo16): Likewise.
27926 [C99-based-standards] (PRIu16): Likewise.
27927 [C99-based-standards] (PRIx16): Likewise.
27928 [C99-based-standards] (PRIX16): Likewise.
27929 [C99-based-standards] (SCNd16): Likewise.
27930 [C99-based-standards] (SCNi16): Likewise.
27931 [C99-based-standards] (SCNo16): Likewise.
27932 [C99-based-standards] (SCNu16): Likewise.
27933 [C99-based-standards] (SCNx16): Likewise.
27934 [C99-based-standards] (PRIdLEAST16): Likewise.
27935 [C99-based-standards] (PRIiLEAST16): Likewise.
27936 [C99-based-standards] (PRIoLEAST16): Likewise.
27937 [C99-based-standards] (PRIuLEAST16): Likewise.
27938 [C99-based-standards] (PRIxLEAST16): Likewise.
27939 [C99-based-standards] (PRIXLEAST16): Likewise.
27940 [C99-based-standards] (SCNdLEAST16): Likewise.
27941 [C99-based-standards] (SCNiLEAST16): Likewise.
27942 [C99-based-standards] (SCNoLEAST16): Likewise.
27943 [C99-based-standards] (SCNuLEAST16): Likewise.
27944 [C99-based-standards] (SCNxLEAST16): Likewise.
27945 [C99-based-standards] (PRIdFAST16): Likewise.
27946 [C99-based-standards] (PRIiFAST16): Likewise.
27947 [C99-based-standards] (PRIoFAST16): Likewise.
27948 [C99-based-standards] (PRIuFAST16): Likewise.
27949 [C99-based-standards] (PRIxFAST16): Likewise.
27950 [C99-based-standards] (PRIXFAST16): Likewise.
27951 [C99-based-standards] (SCNdFAST16): Likewise.
27952 [C99-based-standards] (SCNiFAST16): Likewise.
27953 [C99-based-standards] (SCNoFAST16): Likewise.
27954 [C99-based-standards] (SCNuFAST16): Likewise.
27955 [C99-based-standards] (SCNxFAST16): Likewise.
27956 [C99-based-standards] (PRId32): Likewise.
27957 [C99-based-standards] (PRIi32): Likewise.
27958 [C99-based-standards] (PRIo32): Likewise.
27959 [C99-based-standards] (PRIu32): Likewise.
27960 [C99-based-standards] (PRIx32): Likewise.
27961 [C99-based-standards] (PRIX32): Likewise.
27962 [C99-based-standards] (SCNd32): Likewise.
27963 [C99-based-standards] (SCNi32): Likewise.
27964 [C99-based-standards] (SCNo32): Likewise.
27965 [C99-based-standards] (SCNu32): Likewise.
27966 [C99-based-standards] (SCNx32): Likewise.
27967 [C99-based-standards] (PRIdLEAST32): Likewise.
27968 [C99-based-standards] (PRIiLEAST32): Likewise.
27969 [C99-based-standards] (PRIoLEAST32): Likewise.
27970 [C99-based-standards] (PRIuLEAST32): Likewise.
27971 [C99-based-standards] (PRIxLEAST32): Likewise.
27972 [C99-based-standards] (PRIXLEAST32): Likewise.
27973 [C99-based-standards] (SCNdLEAST32): Likewise.
27974 [C99-based-standards] (SCNiLEAST32): Likewise.
27975 [C99-based-standards] (SCNoLEAST32): Likewise.
27976 [C99-based-standards] (SCNuLEAST32): Likewise.
27977 [C99-based-standards] (SCNxLEAST32): Likewise.
27978 [C99-based-standards] (PRIdFAST32): Likewise.
27979 [C99-based-standards] (PRIiFAST32): Likewise.
27980 [C99-based-standards] (PRIoFAST32): Likewise.
27981 [C99-based-standards] (PRIuFAST32): Likewise.
27982 [C99-based-standards] (PRIxFAST32): Likewise.
27983 [C99-based-standards] (PRIXFAST32): Likewise.
27984 [C99-based-standards] (SCNdFAST32): Likewise.
27985 [C99-based-standards] (SCNiFAST32): Likewise.
27986 [C99-based-standards] (SCNoFAST32): Likewise.
27987 [C99-based-standards] (SCNuFAST32): Likewise.
27988 [C99-based-standards] (SCNxFAST32): Likewise.
27989 [C99-based-standards] (PRId64): Likewise.
27990 [C99-based-standards] (PRIi64): Likewise.
27991 [C99-based-standards] (PRIo64): Likewise.
27992 [C99-based-standards] (PRIu64): Likewise.
27993 [C99-based-standards] (PRIx64): Likewise.
27994 [C99-based-standards] (PRIX64): Likewise.
27995 [C99-based-standards] (SCNd64): Likewise.
27996 [C99-based-standards] (SCNi64): Likewise.
27997 [C99-based-standards] (SCNo64): Likewise.
27998 [C99-based-standards] (SCNu64): Likewise.
27999 [C99-based-standards] (SCNx64): Likewise.
28000 [C99-based-standards] (PRIdLEAST64): Likewise.
28001 [C99-based-standards] (PRIiLEAST64): Likewise.
28002 [C99-based-standards] (PRIoLEAST64): Likewise.
28003 [C99-based-standards] (PRIuLEAST64): Likewise.
28004 [C99-based-standards] (PRIxLEAST64): Likewise.
28005 [C99-based-standards] (PRIXLEAST64): Likewise.
28006 [C99-based-standards] (SCNdLEAST64): Likewise.
28007 [C99-based-standards] (SCNiLEAST64): Likewise.
28008 [C99-based-standards] (SCNoLEAST64): Likewise.
28009 [C99-based-standards] (SCNuLEAST64): Likewise.
28010 [C99-based-standards] (SCNxLEAST64): Likewise.
28011 [C99-based-standards] (PRIdFAST64): Likewise.
28012 [C99-based-standards] (PRIiFAST64): Likewise.
28013 [C99-based-standards] (PRIoFAST64): Likewise.
28014 [C99-based-standards] (PRIuFAST64): Likewise.
28015 [C99-based-standards] (PRIxFAST64): Likewise.
28016 [C99-based-standards] (PRIXFAST64): Likewise.
28017 [C99-based-standards] (SCNdFAST64): Likewise.
28018 [C99-based-standards] (SCNiFAST64): Likewise.
28019 [C99-based-standards] (SCNoFAST64): Likewise.
28020 [C99-based-standards] (SCNuFAST64): Likewise.
28021 [C99-based-standards] (SCNxFAST64): Likewise.
28022 [C99-based-standards] (PRIdMAX): Likewise.
28023 [C99-based-standards] (PRIiMAX): Likewise.
28024 [C99-based-standards] (PRIoMAX): Likewise.
28025 [C99-based-standards] (PRIuMAX): Likewise.
28026 [C99-based-standards] (PRIxMAX): Likewise.
28027 [C99-based-standards] (PRIXMAX): Likewise.
28028 [C99-based-standards] (SCNdMAX): Likewise.
28029 [C99-based-standards] (SCNiMAX): Likewise.
28030 [C99-based-standards] (SCNoMAX): Likewise.
28031 [C99-based-standards] (SCNuMAX): Likewise.
28032 [C99-based-standards] (SCNxMAX): Likewise.
28033 [C99-based-standards] (PRIdPTR): Likewise.
28034 [C99-based-standards] (PRIiPTR): Likewise.
28035 [C99-based-standards] (PRIoPTR): Likewise.
28036 [C99-based-standards] (PRIuPTR): Likewise.
28037 [C99-based-standards] (PRIxPTR): Likewise.
28038 [C99-based-standards] (PRIXPTR): Likewise.
28039 [C99-based-standards] (SCNdPTR): Likewise.
28040 [C99-based-standards] (SCNiPTR): Likewise.
28041 [C99-based-standards] (SCNoPTR): Likewise.
28042 [C99-based-standards] (SCNuPTR): Likewise.
28043 [C99-based-standards] (SCNxPTR): Likewise.
28044 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28046 * conform/data/stdint.h-data: Update comments to clarify
28048 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28050 [C99-based standards] (INT8_MAX): Likewise.
28051 [C99-based standards] (INT16_MIN): Likewise.
28052 [C99-based standards] (INT16_MAX): Likewise.
28053 [C99-based standards] (INT32_MIN): Likewise.
28054 [C99-based standards] (INT32_MAX): Likewise.
28055 [C99-based standards] (INT64_MIN): Likewise.
28056 [C99-based standards] (INT64_MAX): Likewise.
28057 [C99-based standards] (UINT8_MAX): Likewise.
28058 [C99-based standards] (UINT16_MAX): Likewise.
28059 [C99-based standards] (UINT32_MAX): Likewise.
28060 [C99-based standards] (UINT64_MAX): Likewise.
28061 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28062 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28063 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28064 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28065 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28066 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28067 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28068 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28069 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28070 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28071 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28072 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28073 [C99-based standards] (INT_FAST8_MIN): Likewise.
28074 [C99-based standards] (INT_FAST8_MAX): Likewise.
28075 [C99-based standards] (INT_FAST16_MIN): Likewise.
28076 [C99-based standards] (INT_FAST16_MAX): Likewise.
28077 [C99-based standards] (INT_FAST32_MIN): Likewise.
28078 [C99-based standards] (INT_FAST32_MAX): Likewise.
28079 [C99-based standards] (INT_FAST64_MIN): Likewise.
28080 [C99-based standards] (INT_FAST64_MAX): Likewise.
28081 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28082 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28083 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28084 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28085 [C99-based standards] (INTPTR_MIN): Likewise.
28086 [C99-based standards] (INTPTR_MAX): Likewise.
28087 [C99-based standards] (UINTPTR_MAX): Likewise.
28088 [C99-based standards] (INTMAX_MIN): Likewise.
28089 [C99-based standards] (INTMAX_MAX): Likewise.
28090 [C99-based standards] (UINTMAX_MAX): Likewise.
28091 [C99-based standards] (PTRDIFF_MIN): Likewise.
28092 [C99-based standards] (PTRDIFF_MAX): Likewise.
28093 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28094 [C99-based standards] (SIZE_MAX): Likewise.
28095 [C99-based standards] (WCHAR_MAX): Likewise.
28096 [C99-based standards] (WINT_MAX): Likewise.
28097 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28098 constraint on value.
28099 [C99-based standards] (WCHAR_MIN): Likewise.
28100 [C99-based standards] (WINT_MIN): Likewise.
28101 [C99-based standards] (*_t): Allow.
28102 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28103 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28104 Include math.h-data and complex.h-data. Remove all expectations
28105 of math.h and complex.h contents.
28106 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28108 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28109 (struct tm): Expect tag.
28110 [C99-based-standards] (wcstof): Expect function.
28111 [C99-based-standards] (wcstold): Likewise.
28112 [C99-based-standards] (wcstoll): Likewise.
28113 [C99-based-standards] (wcstoull): Likewise.
28114 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28115 macro-int-constant. Specify type.
28116 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28117 constraint on value.
28118 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28120 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28122 [ISO C standards]: Do not allow headers.
28123 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28124 wcs[abcdefghijklmnopqrstuvwxyz]*.
28125 [ISO C standards] (*_t): Do not allow.
28126 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28128 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28129 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28131 [ISO C standards]: Do not allow headers.
28132 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28133 is[abcdefghijklmnopqrstuvwxyz]*.
28134 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28135 to[abcdefghijklmnopqrstuvwxyz]*.
28136 [ISO C standards] (*_t): Do not allow.
28137 * conform/data/stdalign.h-data: New file.
28138 * conform/data/stdbool.h-data: Likewise.
28139 * conform/data/stdnoreturn.h-data: Likewise.
28141 2012-11-07 Roland McGrath <roland@hack.frob.com>
28144 * manual/filesys.texi (Directory Entries): Typo fix.
28145 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28147 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28149 * elf/elf.h (EM_AARCH64): New macro.
28150 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28151 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28152 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28153 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28154 (R_AARCH64_TLSDESC): Likewise.
28155 (NT_ARM_TLS): Likewise.
28156 (NT_ARM_HW_BREAK): Likewise.
28157 (NT_ARM_HW_WATCH): Likewise.
28159 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28162 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28163 (__ieee754_powl): Saturate nonzero exponents with absolute value
28164 below 0x1p-79 to +/- 0x1p-79.
28165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28166 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28167 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28168 nonzero exponents with absolute value below 0x1p-32 to +/-
28170 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28171 (__ieee754_powl): Saturate nonzero exponents with absolute value
28172 below 0x1p-79 to +/- 0x1p-79.
28173 * math/libm-test.inc (pow_test): Add more tests.
28175 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28177 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28178 _dl_s390_cap_flags with kernel. Increase string length.
28179 (_dl_s390_platforms): Add z196 and zEC12.
28181 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28183 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28184 Change XOPEN21K to XOPEN2K.
28186 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28188 * string/memmove.c: Use memcpy when possible.
28190 2012-11-06 Andreas Jaeger <aj@suse.de>
28192 * po/eo.po: Update from translation team.
28194 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28198 exponent and small x and y exponents, scale x or y up. Increase
28199 by 2 the exponent used in scaling up.
28200 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28202 * math/libm-test.inc (fma_test): Add more tests.
28203 (fma_test_towardzero): Likewise.
28204 (fma_test_downward): Likewise.
28205 (fma_test_upward): Likewise.
28207 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28210 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28214 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28215 namespace for names of struct fields.
28216 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28218 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28219 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28221 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28224 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28226 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28228 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28232 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28235 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28239 definitely overflow as x * y not x * y + z.
28240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28242 * math/libm-test.inc (fma_test): Add more tests.
28243 (fma_test_towardzero): Likewise.
28244 (fma_test_downward): Likewise.
28245 (fma_test_upward): Likewise.
28247 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28251 * include/stub-tag.h: Remove file.
28252 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28254 * manual/maint.texi (Porting): Don't reference it.
28255 * Makerules ($(objpfx)stubs): Likewise.
28256 * dirent/closedir.c: Don't include <stub-tag.h>.
28257 * dirent/dirfd.c: Likewise.
28258 * dirent/fdopendir.c: Likewise.
28259 * dirent/getdents.c: Likewise.
28260 * dirent/getdents64.c: Likewise.
28261 * dirent/opendir.c: Likewise.
28262 * dirent/readdir.c: Likewise.
28263 * dirent/readdir64.c: Likewise.
28264 * dirent/readdir64_r.c: Likewise.
28265 * dirent/readdir_r.c: Likewise.
28266 * dirent/rewinddir.c: Likewise.
28267 * dirent/seekdir.c: Likewise.
28268 * dirent/telldir.c: Likewise.
28269 * gmon/profil.c: Likewise.
28270 * grp/setgroups.c: Likewise.
28271 * inet/if_index.c: Likewise.
28272 * io/access.c: Likewise.
28273 * io/chdir.c: Likewise.
28274 * io/chmod.c: Likewise.
28275 * io/chown.c: Likewise.
28276 * io/close.c: Likewise.
28277 * io/dup.c: Likewise.
28278 * io/dup2.c: Likewise.
28279 * io/dup3.c: Likewise.
28280 * io/euidaccess.c: Likewise.
28281 * io/faccessat.c: Likewise.
28282 * io/fchdir.c: Likewise.
28283 * io/fchmod.c: Likewise.
28284 * io/fchmodat.c: Likewise.
28285 * io/fchown.c: Likewise.
28286 * io/fchownat.c: Likewise.
28287 * io/fcntl.c: Likewise.
28288 * io/flock.c: Likewise.
28289 * io/fstatfs.c: Likewise.
28290 * io/fstatfs64.c: Likewise.
28291 * io/fstatvfs.c: Likewise.
28292 * io/fstatvfs64.c: Likewise.
28293 * io/futimens.c: Likewise.
28294 * io/fxstat.c: Likewise.
28295 * io/fxstat64.c: Likewise.
28296 * io/fxstatat.c: Likewise.
28297 * io/fxstatat64.c: Likewise.
28298 * io/getcwd.c: Likewise.
28299 * io/isatty.c: Likewise.
28300 * io/lchmod.c: Likewise.
28301 * io/lchown.c: Likewise.
28302 * io/link.c: Likewise.
28303 * io/linkat.c: Likewise.
28304 * io/lseek.c: Likewise.
28305 * io/lseek64.c: Likewise.
28306 * io/lxstat64.c: Likewise.
28307 * io/mkdir.c: Likewise.
28308 * io/mkdirat.c: Likewise.
28309 * io/mkfifo.c: Likewise.
28310 * io/mkfifoat.c: Likewise.
28311 * io/open.c: Likewise.
28312 * io/open64.c: Likewise.
28313 * io/openat.c: Likewise.
28314 * io/openat64.c: Likewise.
28315 * io/pipe.c: Likewise.
28316 * io/pipe2.c: Likewise.
28317 * io/poll.c: Likewise.
28318 * io/posix_fadvise.c: Likewise.
28319 * io/posix_fadvise64.c: Likewise.
28320 * io/posix_fallocate.c: Likewise.
28321 * io/posix_fallocate64.c: Likewise.
28322 * io/read.c: Likewise.
28323 * io/readlink.c: Likewise.
28324 * io/readlinkat.c: Likewise.
28325 * io/rmdir.c: Likewise.
28326 * io/sendfile.c: Likewise.
28327 * io/sendfile64.c: Likewise.
28328 * io/statfs.c: Likewise.
28329 * io/statfs64.c: Likewise.
28330 * io/statvfs.c: Likewise.
28331 * io/statvfs64.c: Likewise.
28332 * io/symlink.c: Likewise.
28333 * io/symlinkat.c: Likewise.
28334 * io/ttyname.c: Likewise.
28335 * io/ttyname_r.c: Likewise.
28336 * io/umask.c: Likewise.
28337 * io/unlink.c: Likewise.
28338 * io/unlinkat.c: Likewise.
28339 * io/utime.c: Likewise.
28340 * io/utimensat.c: Likewise.
28341 * io/write.c: Likewise.
28342 * io/xmknod.c: Likewise.
28343 * io/xmknodat.c: Likewise.
28344 * io/xstat.c: Likewise.
28345 * io/xstat64.c: Likewise.
28346 * login/getpt.c: Likewise.
28347 * login/grantpt.c: Likewise.
28348 * login/unlockpt.c: Likewise.
28349 * math/e_acoshl.c: Likewise.
28350 * math/e_acosl.c: Likewise.
28351 * math/e_asinl.c: Likewise.
28352 * math/e_atan2l.c: Likewise.
28353 * math/e_atanhl.c: Likewise.
28354 * math/e_coshl.c: Likewise.
28355 * math/e_expl.c: Likewise.
28356 * math/e_fmodl.c: Likewise.
28357 * math/e_gammal_r.c: Likewise.
28358 * math/e_hypotl.c: Likewise.
28359 * math/e_j0l.c: Likewise.
28360 * math/e_j1l.c: Likewise.
28361 * math/e_jnl.c: Likewise.
28362 * math/e_lgammal_r.c: Likewise.
28363 * math/e_log10l.c: Likewise.
28364 * math/e_log2l.c: Likewise.
28365 * math/e_logl.c: Likewise.
28366 * math/e_powl.c: Likewise.
28367 * math/e_rem_pio2l.c: Likewise.
28368 * math/e_sinhl.c: Likewise.
28369 * math/e_sqrtl.c: Likewise.
28370 * math/fclrexcpt.c: Likewise.
28371 * math/fedisblxcpt.c: Likewise.
28372 * math/feenablxcpt.c: Likewise.
28373 * math/fegetenv.c: Likewise.
28374 * math/fegetexcept.c: Likewise.
28375 * math/fegetround.c: Likewise.
28376 * math/feholdexcpt.c: Likewise.
28377 * math/fesetenv.c: Likewise.
28378 * math/fesetround.c: Likewise.
28379 * math/feupdateenv.c: Likewise.
28380 * math/fgetexcptflg.c: Likewise.
28381 * math/fraiseexcpt.c: Likewise.
28382 * math/fsetexcptflg.c: Likewise.
28383 * math/ftestexcept.c: Likewise.
28384 * math/k_cosl.c: Likewise.
28385 * math/k_rem_pio2l.c: Likewise.
28386 * math/k_sinl.c: Likewise.
28387 * math/k_tanl.c: Likewise.
28388 * math/s_asinhl.c: Likewise.
28389 * math/s_atanl.c: Likewise.
28390 * math/s_cbrtl.c: Likewise.
28391 * math/s_erfl.c: Likewise.
28392 * math/s_expm1l.c: Likewise.
28393 * math/s_log1pl.c: Likewise.
28394 * math/s_tanhl.c: Likewise.
28395 * misc/acct.c: Likewise.
28396 * misc/brk.c: Likewise.
28397 * misc/chflags.c: Likewise.
28398 * misc/chroot.c: Likewise.
28399 * misc/fchflags.c: Likewise.
28400 * misc/fgetxattr.c: Likewise.
28401 * misc/flistxattr.c: Likewise.
28402 * misc/fremovexattr.c: Likewise.
28403 * misc/fsetxattr.c: Likewise.
28404 * misc/fsync.c: Likewise.
28405 * misc/ftruncate.c: Likewise.
28406 * misc/futimes.c: Likewise.
28407 * misc/futimesat.c: Likewise.
28408 * misc/getdomain.c: Likewise.
28409 * misc/getdtsz.c: Likewise.
28410 * misc/gethostid.c: Likewise.
28411 * misc/gethostname.c: Likewise.
28412 * misc/getloadavg.c: Likewise.
28413 * misc/getpagesize.c: Likewise.
28414 * misc/getsysstats.c: Likewise.
28415 * misc/getxattr.c: Likewise.
28416 * misc/gtty.c: Likewise.
28417 * misc/ioctl.c: Likewise.
28418 * misc/lgetxattr.c: Likewise.
28419 * misc/listxattr.c: Likewise.
28420 * misc/llistxattr.c: Likewise.
28421 * misc/lremovexattr.c: Likewise.
28422 * misc/lsetxattr.c: Likewise.
28423 * misc/lutimes.c: Likewise.
28424 * misc/madvise.c: Likewise.
28425 * misc/mincore.c: Likewise.
28426 * misc/mlock.c: Likewise.
28427 * misc/mlockall.c: Likewise.
28428 * misc/mmap.c: Likewise.
28429 * misc/mprotect.c: Likewise.
28430 * misc/msync.c: Likewise.
28431 * misc/munlock.c: Likewise.
28432 * misc/munlockall.c: Likewise.
28433 * misc/munmap.c: Likewise.
28434 * misc/preadv.c: Likewise.
28435 * misc/preadv64.c: Likewise.
28436 * misc/ptrace.c: Likewise.
28437 * misc/pwritev.c: Likewise.
28438 * misc/pwritev64.c: Likewise.
28439 * misc/readv.c: Likewise.
28440 * misc/reboot.c: Likewise.
28441 * misc/remap_file_pages.c: Likewise.
28442 * misc/removexattr.c: Likewise.
28443 * misc/revoke.c: Likewise.
28444 * misc/select.c: Likewise.
28445 * misc/setdomain.c: Likewise.
28446 * misc/setegid.c: Likewise.
28447 * misc/seteuid.c: Likewise.
28448 * misc/sethostid.c: Likewise.
28449 * misc/sethostname.c: Likewise.
28450 * misc/setregid.c: Likewise.
28451 * misc/setreuid.c: Likewise.
28452 * misc/setxattr.c: Likewise.
28453 * misc/sstk.c: Likewise.
28454 * misc/stty.c: Likewise.
28455 * misc/swapoff.c: Likewise.
28456 * misc/swapon.c: Likewise.
28457 * misc/sync.c: Likewise.
28458 * misc/syncfs.c: Likewise.
28459 * misc/syscall.c: Likewise.
28460 * misc/truncate.c: Likewise.
28461 * misc/ualarm.c: Likewise.
28462 * misc/usleep.c: Likewise.
28463 * misc/ustat.c: Likewise.
28464 * misc/utimes.c: Likewise.
28465 * misc/vhangup.c: Likewise.
28466 * misc/writev.c: Likewise.
28467 * posix/_exit.c: Likewise.
28468 * posix/alarm.c: Likewise.
28469 * posix/execve.c: Likewise.
28470 * posix/fexecve.c: Likewise.
28471 * posix/fork.c: Likewise.
28472 * posix/fpathconf.c: Likewise.
28473 * posix/getaddrinfo.c: Likewise.
28474 * posix/getegid.c: Likewise.
28475 * posix/geteuid.c: Likewise.
28476 * posix/getgid.c: Likewise.
28477 * posix/getgroups.c: Likewise.
28478 * posix/getlogin.c: Likewise.
28479 * posix/getlogin_r.c: Likewise.
28480 * posix/getpgid.c: Likewise.
28481 * posix/getpid.c: Likewise.
28482 * posix/getppid.c: Likewise.
28483 * posix/getresgid.c: Likewise.
28484 * posix/getresuid.c: Likewise.
28485 * posix/getsid.c: Likewise.
28486 * posix/getuid.c: Likewise.
28487 * posix/glob64.c: Likewise.
28488 * posix/nanosleep.c: Likewise.
28489 * posix/pathconf.c: Likewise.
28490 * posix/pause.c: Likewise.
28491 * posix/posix_madvise.c: Likewise.
28492 * posix/pread.c: Likewise.
28493 * posix/pread64.c: Likewise.
28494 * posix/pwrite.c: Likewise.
28495 * posix/pwrite64.c: Likewise.
28496 * posix/sched_getaffinity.c: Likewise.
28497 * posix/sched_getp.c: Likewise.
28498 * posix/sched_gets.c: Likewise.
28499 * posix/sched_primax.c: Likewise.
28500 * posix/sched_primin.c: Likewise.
28501 * posix/sched_rr_gi.c: Likewise.
28502 * posix/sched_setaffinity.c: Likewise.
28503 * posix/sched_setp.c: Likewise.
28504 * posix/sched_sets.c: Likewise.
28505 * posix/sched_yield.c: Likewise.
28506 * posix/setgid.c: Likewise.
28507 * posix/setlogin.c: Likewise.
28508 * posix/setpgid.c: Likewise.
28509 * posix/setresgid.c: Likewise.
28510 * posix/setresuid.c: Likewise.
28511 * posix/setsid.c: Likewise.
28512 * posix/setuid.c: Likewise.
28513 * posix/sleep.c: Likewise.
28514 * posix/spawni.c: Likewise.
28515 * posix/sysconf.c: Likewise.
28516 * posix/times.c: Likewise.
28517 * posix/wait.c: Likewise.
28518 * posix/wait3.c: Likewise.
28519 * posix/wait4.c: Likewise.
28520 * posix/waitpid.c: Likewise.
28521 * resolv/gai_sigqueue.c: Likewise.
28522 * resource/getpriority.c: Likewise.
28523 * resource/getrlimit.c: Likewise.
28524 * resource/getrusage.c: Likewise.
28525 * resource/nice.c: Likewise.
28526 * resource/setpriority.c: Likewise.
28527 * resource/setrlimit.c: Likewise.
28528 * resource/ulimit.c: Likewise.
28529 * rt/aio_cancel.c: Likewise.
28530 * rt/aio_fsync.c: Likewise.
28531 * rt/aio_read.c: Likewise.
28532 * rt/aio_sigqueue.c: Likewise.
28533 * rt/aio_suspend.c: Likewise.
28534 * rt/aio_write.c: Likewise.
28535 * rt/clock_getres.c: Likewise.
28536 * rt/clock_gettime.c: Likewise.
28537 * rt/clock_nanosleep.c: Likewise.
28538 * rt/clock_settime.c: Likewise.
28539 * rt/lio_listio.c: Likewise.
28540 * rt/mq_close.c: Likewise.
28541 * rt/mq_getattr.c: Likewise.
28542 * rt/mq_notify.c: Likewise.
28543 * rt/mq_open.c: Likewise.
28544 * rt/mq_receive.c: Likewise.
28545 * rt/mq_send.c: Likewise.
28546 * rt/mq_setattr.c: Likewise.
28547 * rt/mq_timedreceive.c: Likewise.
28548 * rt/mq_timedsend.c: Likewise.
28549 * rt/mq_unlink.c: Likewise.
28550 * rt/shm_open.c: Likewise.
28551 * rt/shm_unlink.c: Likewise.
28552 * rt/timer_create.c: Likewise.
28553 * rt/timer_delete.c: Likewise.
28554 * rt/timer_getoverr.c: Likewise.
28555 * rt/timer_gettime.c: Likewise.
28556 * rt/timer_settime.c: Likewise.
28557 * setjmp/__longjmp.c: Likewise.
28558 * setjmp/setjmp.c: Likewise.
28559 * signal/kill.c: Likewise.
28560 * signal/killpg.c: Likewise.
28561 * signal/raise.c: Likewise.
28562 * signal/sigaction.c: Likewise.
28563 * signal/sigaltstack.c: Likewise.
28564 * signal/sigblock.c: Likewise.
28565 * signal/sigignore.c: Likewise.
28566 * signal/sigintr.c: Likewise.
28567 * signal/signal.c: Likewise.
28568 * signal/sigpause.c: Likewise.
28569 * signal/sigpending.c: Likewise.
28570 * signal/sigqueue.c: Likewise.
28571 * signal/sigreturn.c: Likewise.
28572 * signal/sigset.c: Likewise.
28573 * signal/sigsetmask.c: Likewise.
28574 * signal/sigstack.c: Likewise.
28575 * signal/sigsuspend.c: Likewise.
28576 * signal/sigtimedwait.c: Likewise.
28577 * signal/sigvec.c: Likewise.
28578 * signal/sigwait.c: Likewise.
28579 * signal/sigwaitinfo.c: Likewise.
28580 * signal/sysv_signal.c: Likewise.
28581 * socket/accept.c: Likewise.
28582 * socket/accept4.c: Likewise.
28583 * socket/bind.c: Likewise.
28584 * socket/connect.c: Likewise.
28585 * socket/getpeername.c: Likewise.
28586 * socket/getsockname.c: Likewise.
28587 * socket/getsockopt.c: Likewise.
28588 * socket/isfdtype.c: Likewise.
28589 * socket/listen.c: Likewise.
28590 * socket/recv.c: Likewise.
28591 * socket/recvfrom.c: Likewise.
28592 * socket/recvmsg.c: Likewise.
28593 * socket/send.c: Likewise.
28594 * socket/sendmsg.c: Likewise.
28595 * socket/sendto.c: Likewise.
28596 * socket/setsockopt.c: Likewise.
28597 * socket/shutdown.c: Likewise.
28598 * socket/sockatmark.c: Likewise.
28599 * socket/socket.c: Likewise.
28600 * socket/socketpair.c: Likewise.
28601 * stdio-common/ctermid.c: Likewise.
28602 * stdio-common/cuserid.c: Likewise.
28603 * stdio-common/remove.c: Likewise.
28604 * stdio-common/rename.c: Likewise.
28605 * stdio-common/renameat.c: Likewise.
28606 * stdio-common/tempname.c: Likewise.
28607 * stdlib/getcontext.c: Likewise.
28608 * stdlib/makecontext.c: Likewise.
28609 * stdlib/setcontext.c: Likewise.
28610 * stdlib/swapcontext.c: Likewise.
28611 * stdlib/system.c: Likewise.
28612 * streams/fattach.c: Likewise.
28613 * streams/fdetach.c: Likewise.
28614 * streams/getmsg.c: Likewise.
28615 * streams/getpmsg.c: Likewise.
28616 * streams/putmsg.c: Likewise.
28617 * streams/putpmsg.c: Likewise.
28618 * sysdeps/unix/bsd/getpt.c: Likewise.
28619 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28620 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28621 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28624 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28625 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28626 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28627 * sysvipc/msgctl.c: Likewise.
28628 * sysvipc/msgget.c: Likewise.
28629 * sysvipc/msgrcv.c: Likewise.
28630 * sysvipc/msgsnd.c: Likewise.
28631 * sysvipc/semctl.c: Likewise.
28632 * sysvipc/semget.c: Likewise.
28633 * sysvipc/semop.c: Likewise.
28634 * sysvipc/semtimedop.c: Likewise.
28635 * sysvipc/shmat.c: Likewise.
28636 * sysvipc/shmctl.c: Likewise.
28637 * sysvipc/shmdt.c: Likewise.
28638 * sysvipc/shmget.c: Likewise.
28639 * termios/tcdrain.c: Likewise.
28640 * termios/tcflow.c: Likewise.
28641 * termios/tcflush.c: Likewise.
28642 * termios/tcgetattr.c: Likewise.
28643 * termios/tcgetpgrp.c: Likewise.
28644 * termios/tcsendbrk.c: Likewise.
28645 * termios/tcsetattr.c: Likewise.
28646 * termios/tcsetpgrp.c: Likewise.
28647 * time/adjtime.c: Likewise.
28648 * time/clock.c: Likewise.
28649 * time/getitimer.c: Likewise.
28650 * time/gettimeofday.c: Likewise.
28651 * time/setitimer.c: Likewise.
28652 * time/settimeofday.c: Likewise.
28653 * time/stime.c: Likewise.
28654 * time/time.c: Likewise.
28656 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28658 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28661 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28663 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28665 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28669 FE_TONEAREST before applying Dekker multiplication and Knuth
28670 addition. Clear inexact exceptions and check for exact zero
28671 results afterwards.
28672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28675 * math/libm-test.inc (fma_test): Add more tests.
28676 (fma_test_towardzero): Likewise.
28677 (fma_test_downward): Likewise.
28678 (fma_test_upward): Likewise.
28679 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28681 (libc_fesetround): New macro.
28682 (libc_fesetroundf): Likewise.
28683 (libc_fesetroundl): Likewise.
28684 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28686 (libc_fesetround_387): Likewise.
28687 (libc_fesetroundf): New macro.
28688 (libc_fesetround): Likewise.
28689 (libc_fesetroundl): Likewise.
28690 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28692 (libc_fesetroundf): New macro.
28693 (libc_fesetround): Likewise.
28694 (libc_fesetroundl): Likewise.
28695 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28696 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28697 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28699 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28700 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28702 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28703 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28705 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28709 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28710 integer constant usable in #if and use that to give value to enum
28712 (FE_DIVBYZERO): Likewise.
28713 (FE_UNDERFLOW): Likewise.
28714 (FE_OVERFLOW): Likewise.
28715 (FE_INVALID): Likewise.
28716 (FE_INVALID_SNAN): Likewise.
28717 (FE_INVALID_ISI): Likewise.
28718 (FE_INVALID_IDI): Likewise.
28719 (FE_INVALID_ZDZ): Likewise.
28720 (FE_INVALID_IMZ): Likewise.
28721 (FE_INVALID_COMPARE): Likewise.
28722 (FE_INVALID_SOFTWARE): Likewise.
28723 (FE_INVALID_SQRT): Likewise.
28724 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28725 (FE_TONEAREST): Likewise.
28726 (FE_TOWARDZERO): Likewise.
28727 (FE_UPWARD): Likewise.
28728 (FE_DOWNWARD): Likewise.
28729 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28730 (FE_DIVBYZERO): Likewise.
28731 (FE_OVERFLOW): Likewise.
28732 (FE_UNDERFLOW): Likewise.
28733 (FE_INEXACT): Likewise.
28734 (FE_TONEAREST): Likewise.
28735 (FE_DOWNWARD): Likewise.
28736 (FE_UPWARD): Likewise.
28737 (FE_TOWARDZERO): Likewise.
28738 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28739 (FE_UNDERFLOW): Likewise.
28740 (FE_OVERFLOW): Likewise.
28741 (FE_DIVBYZERO): Likewise.
28742 (FE_INVALID): Likewise.
28743 (FE_TONEAREST): Likewise.
28744 (FE_TOWARDZERO): Likewise.
28745 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28746 (FE_OVERFLOW): Likewise.
28747 (FE_UNDERFLOW): Likewise.
28748 (FE_DIVBYZERO): Likewise.
28749 (FE_INEXACT): Likewise.
28750 (FE_TONEAREST): Likewise.
28751 (FE_TOWARDZERO): Likewise.
28752 (FE_UPWARD): Likewise.
28753 (FE_DOWNWARD): Likewise.
28754 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28755 (FE_DIVBYZERO): Likewise.
28756 (FE_OVERFLOW): Likewise.
28757 (FE_UNDERFLOW): Likewise.
28758 (FE_INEXACT): Likewise.
28759 (FE_TONEAREST): Likewise.
28760 (FE_DOWNWARD): Likewise.
28761 (FE_UPWARD): Likewise.
28762 (FE_TOWARDZERO): Likewise.
28764 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28766 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28768 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28770 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28771 commands. Quote $PWD.
28772 (blacklist_exports): Don't use remove_newlines. Replace "declare
28774 (remove_newlines): Remove.
28776 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28778 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28779 * stdlib/stdlib.h (atof): Moved to ...
28780 * include/bits/stdlib-float.h: Here. New file.
28781 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28782 * stdlib/bits/stdlib-float.h: New file.
28783 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28785 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28788 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28790 * conform/conformtest.pl (@headers): Add fenv.h.
28791 * conform/data/fenv.h-data: New file.
28792 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28793 include of <math/fenv.h>.
28795 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28796 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28797 && !UNIX98]. Enables tests for XOPEN2K8.
28798 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28799 POSIX2008]: Likewise.
28801 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28802 (struct rusage): Do not expect type or its members.
28805 * math/math.h (FP_NAN): Define macro to integer constant usable in
28806 #if and use that to give value to enum constant.
28807 (FP_INFINITE): Likewise.
28808 (FP_ZERO): Likewise.
28809 (FP_SUBNORMAL): Likewise.
28810 (FP_NORMAL): Likewise.
28812 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28814 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28815 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28818 2012-11-02 Roland McGrath <roland@hack.frob.com>
28820 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28821 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28822 autoconf-time if not.
28823 * configure.in: Remove AC_PREREQ.
28825 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28827 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28828 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28829 of the internal implementation.
28831 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28833 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28834 except include of <misc/sys/syslog.h>.
28836 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28839 function returns with a NULL context exit with zero.
28841 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28843 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28845 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28847 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28848 (run_program_cmd): This.
28849 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28850 (tst_langinfo): New variable. Use it.
28852 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28854 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28855 floating point opcodes.
28857 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28859 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28862 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28864 * sysdeps/mach/hurd/powerpc: Remove directory.
28865 * sysdeps/mach/powerpc: Likewise.
28867 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28869 * scripts/check-local-headers.sh: Ignore c++ headers.
28871 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28873 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28874 __libc_cleanup_region_start argument.
28876 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28881 x * y using scaling, not as x * y + z.
28882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28884 * math/libm-test.inc (fma_test): Add more tests.
28885 (fma_test_towardzero): Likewise.
28886 (fma_test_downward): Likewise.
28887 (fma_test_upward): Likewise.
28889 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28891 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28893 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28895 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28898 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28900 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28902 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28909 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28912 Fix the order of the list for glibc 2.17.
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28916 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28920 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28923 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28924 for low part of x being zero before using __atanl (y).
28925 * math/libm-test.inc (atan2_test): Add another test.
28927 * manual/install.texi (Configuring and compiling): Document
28928 general use of test-wrapper and test-wrapper-env.
28929 * INSTALL: Regenerated.
28931 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28932 (__fma): Do not extract and scale down low bits on after-rounding
28933 systems when result rounded to normal precision would have normal
28935 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28936 (__fmal): Do not extract and scale down low bits on after-rounding
28937 systems when result rounded to normal precision would have normal
28939 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28940 (__fmal): Do not extract and scale down low bits on after-rounding
28941 systems when result rounded to normal precision would have normal
28943 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28945 (fma_test): Add more tests.
28946 (fma_test_towardzero): Likewise.
28947 (fma_test_downward): Likewise.
28948 (fma_test_upward): Likewise.
28950 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28952 * sysdeps/i386/tininess.h: Renamed to ...
28953 * sysdeps/x86/tininess.h: This.
28954 * sysdeps/x86_64/tininess.h: Removed.
28956 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28958 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28959 input. Use $(build-program-cmd).
28960 ($(objpfx)tst-array1-static.out): Likewise.
28961 ($(objpfx)tst-array2.out): Likewise.
28962 ($(objpfx)tst-array3.out): Likewise.
28963 ($(objpfx)tst-array4.out): Likewise.
28964 ($(objpfx)tst-array5.out): Likewise.
28965 ($(objpfx)tst-array5-static.out): Likewise.
28967 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28969 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28972 * nss/nsswitch.h (nss_interface_function): Provide new
28973 macro for use with NSS functions.
28974 * grp/initgroups.c: Use new macro.
28975 * nss/getXXbyYY.c: Likewise.
28976 * nss/getXXbyYY_r.c: Likewise.
28977 * nss/getXXent.c: Likewise.
28978 * nss/getXXent_r.c: Likewise.
28979 * sysdeps/posix/getaddrinfo.c: Likewise.
28981 2012-10-30 Andreas Jaeger <aj@suse.de>
28983 * po/ru.po: Update Russion translation from translation project.
28985 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28990 result and shift together with sticky bit instead of replicating
28991 round-to-nearest rounding.
28992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28994 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28995 missing underflow exceptions.
28996 (fma_test_towardzero): Add more tests.
28997 (fma_test_downward): Likewise.
28998 (fma_test_upward): Likewise.
29001 * sysdeps/generic/tininess.h: New file.
29002 * sysdeps/i386/tininess.h: Likewise.
29003 * sysdeps/sh/tininess.h: Likewise.
29004 * sysdeps/x86_64/tininess.h: Likewise.
29005 * stdlib/tst-strtod-underflow.c: Likewise.
29006 * stdlib/tst-tininess.c: Likewise.
29007 * stdlib/strtod_l.c: Include <tininess.h>.
29008 (round_and_return): Do not set errno for exact underflow cases.
29009 Force an underflow exception when setting errno for underflow.
29010 Determine underflow based on rounding to normal precision if
29011 TININESS_AFTER_ROUNDING.
29012 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29013 ERANGE for exact underflow cases.
29014 * stdlib/Makefile (tests): Add tst-tininess and
29015 tst-strtod-underflow.
29016 ($(objpfx)tst-tininess): Use $(link-libm).
29017 ($(objpfx)tst-strtod-underflow): Likewise.
29019 2012-10-30 Andreas Jaeger <aj@suse.de>
29022 * elf/Makefile (tests): Remove conditional for have-initfini-array
29023 since this is now always required and the variable does not exist
29025 (tests-static): Likewise.
29026 (modules-names): Likewise.
29028 * po/eo.po: Add Esperanto translation from translation project.
29030 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29031 merged with constructor/destructor.
29032 (init_array): Likewise.
29033 * elf/tst-array2dep.c (fini_array): Likewise.
29034 (init_array): Likewise.
29036 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29038 * manual/message.texi: Delete @cartouche tags.
29040 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29042 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29044 * sysdeps/mach/hurd/fsync.c: Likewise.
29046 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29047 [_POSIX_REALTIME_SIGNALS]: Change condition to
29048 [_POSIX_REALTIME_SIGNALS > 0].
29050 2012-10-27 Andreas Jaeger <aj@suse.de>
29052 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29053 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29055 [__WORDSIZE != 64]: Likewise.
29057 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29059 * iconvdata/tst-table.sh: Remove ${SHELL}.
29060 * iconvdata/tst-tables.sh: Likewise.
29062 2012-10-25 David S. Miller <davem@davemloft.net>
29064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29065 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29070 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29071 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29072 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29075 2012-10-25 Roland McGrath <roland@hack.frob.com>
29077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29078 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29081 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29082 Jim Blandy <jimb@codesourcery.com>
29084 * scripts/cross-test-ssh.sh: New file.
29085 * manual/install.texi (Configuring and compiling): Document use of
29087 * INSTALL: Regenerated.
29089 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29091 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29094 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29096 * Makeconfig (run-program-prefix): Fix comment.
29098 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29099 Jim Blandy <jimb@codesourcery.com>
29101 * Makeconfig (test-wrapper): New variable,
29102 (test-wrapper-env): Likewise.
29103 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29104 (run-built-tests): Define to yes.
29105 (run-program-prefix): Use $(test-wrapper).
29106 (built-program-cmd): Likewise.
29107 * Rules (make-test-out): Use $(test-wrapper-env) and
29108 $(host-built-program-cmd).
29109 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29110 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29112 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29113 $(test-wrapper-env) to tst-rtld-load-self.sh.
29114 ($(objpfx)order2.out): Use $(test-wrapper).
29115 ($(objpfx)tst-initorder.out): Likewise.
29116 ($(objpfx)tst-initorder2.out): Likewise.
29117 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29118 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29119 (test_wrapper_env): New variable. Use it to run ld.so.
29120 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29121 Use it to run ld.so.
29122 (test_wrapper_env): Likewise.
29123 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29124 $(test-wrapper) to run-iconv-test.sh.
29125 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29126 (ICONV): Use $test_wrapper.
29127 * posix/Makefile ($(objpfx)globtest.out): Pass
29128 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29129 globtest.sh, not $(run-program-prefix).
29130 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29131 (test_wrapper): Likewise.
29132 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29133 set together with run_via_rtld_prefix.
29134 (run_program_prefix): Define in terms of test_wrapper and
29135 run_via_rtld_prefix.
29137 2012-10-24 Roland McGrath <roland@hack.frob.com>
29139 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29140 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29144 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29145 Declare __clock_getres, __clock_gettime, __clock_settime,
29146 __clock_nanosleep, and __clock_getcpuclockid.
29147 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29148 Remove librt_hidden_def (clock_gettime).
29149 * sysdeps/unix/clock_gettime.c: Likewise.
29150 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29151 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29152 * rt/clock_getres.c: Define __clock_getres as an alias.
29153 * sysdeps/posix/clock_getres.c: Likewise.
29154 * rt/clock_settime.c: Define __clock_settime as an alias.
29155 * sysdeps/unix/clock_settime.c: Likewise.
29156 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29157 * sysdeps/unix/clock_nanosleep.c: Likewise.
29158 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29159 * rt/clock-compat.c: New file.
29160 * rt/Makefile (librt-routines): Add clock-compat and move
29161 $(clock-routines) to ...
29162 (routines): ... here, new variable.
29163 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29164 Don't add get_clockfreq here.
29165 * rt/Versions (libc: GLIBC_2.17): New version set.
29166 Add clock_* symbols here.
29167 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29169 (GLIBC_2.17): Add clock_* symbols.
29170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29181 * NEWS: Mention the move.
29183 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29184 Use __open, __read, __close rather than their public counterparts.
29185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29186 (__get_clockfreq_via_cpuinfo): Likewise.
29187 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29188 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29190 * config.h.in (HAVE_IFUNC): New #undef.
29191 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29193 * configure: Regenerated.
29195 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29197 * configure.in: Move READELF check to start of file.
29198 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29199 libc_cv_asm_gnu_indirect_function in the process.
29200 * configure: Regenerated.
29202 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29204 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29205 send the output to /dev/null.
29206 (libc_cv_cc_with_libunwind): Likewise.
29207 (libc_cv_as_noexecstack): Likewise.
29208 * configure: Regenerate.
29210 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29212 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29214 * posix/globtest.sh (TMPDIR): Do not set.
29215 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29216 (testout): Likewise.
29218 2012-10-24 Andreas Jaeger <aj@suse.de>
29220 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29221 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29222 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29223 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29224 posix_fadvise64, posix_fallocate64.
29226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29227 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29228 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29230 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29232 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29235 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29236 <bits/fcntl-linux.h>.
29237 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29240 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29241 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29242 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29243 [__WORDSIZE != 64]: Likewise.
29245 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29247 * Makeconfig (run-built-tests): New variable.
29248 * Rules [$(cross-compiling) = yes]: Change condition to
29249 [$(run-built-tests) = no].
29250 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29251 to [$(run-built-tests) = yes].
29252 * elf/Makefile [$(cross-compiling) = no]: Likewise
29253 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29254 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29255 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29256 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29257 * io/Makefile [$(cross-compiling) = no]: Likewise.
29258 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29259 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29260 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29261 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29262 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29263 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29264 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29265 * string/Makefile [$(cross-compiling) = no]: Likewise.
29267 * posix/Makefile ($(objpfx)globtest.out): Pass
29268 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29269 $(rtld-installed-name).
29270 * posix/globtest.sh (elf_objpfx): Remove variable.
29271 (rtld_installed_name): Likewise.
29272 (library_path): Likewise.
29273 (run_program_prefix): New variable. Use for running globtest
29276 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29277 Joseph Myers <joseph@codesourcery.com>
29279 * Makeconfig (host-built-program-cmd): New variable.
29280 * elf/Makefile (tst-stackguard1-ARGS): Use
29281 $(host-built-program-cmd).
29282 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29283 (tst-spawn-ARGS): Likewise.
29284 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29286 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29287 Jim Blandy <jimb@codesourcery.com>
29289 * Makeconfig (run-via-rtld-prefix): New variable.
29290 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29291 (built-program-cmd): Likewise.
29293 2012-10-22 Andreas Jaeger <aj@suse.de>
29295 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29296 __O_RSYNC if it exists, otherwise to O_SYNC.
29298 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29299 Joseph Myers <joseph@codesourcery.com>
29301 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29303 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29305 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29308 2012-10-22 Andreas Jaeger <aj@suse.de>
29310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29315 bits/fcntl-linux.h.
29317 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29318 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29325 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29326 Joseph Myers <joseph@codesourcery.com>
29328 * config.make.in (NM): New variable.
29330 2012-10-21 Andreas Jaeger <aj@suse.de>
29332 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29333 definitions and declarations that are provided by
29334 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29336 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29339 * elf/Makefile (tests-static): Add tst-leaks1-static.
29340 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29341 ($(objpfx)tst-leaks1-static): New rule.
29342 ($(objpfx)tst-leaks1-static-mem): Likewise.
29343 (tst-leaks1-static-ENV): New macro.
29344 * elf/dl-open.c (dl_open_worker): Check the main application
29345 only if SHARED is defined.
29346 * elf/tst-leaks1-static.c: New file.
29348 2012-10-20 Andreas Jaeger <aj@suse.de>
29350 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29351 generic values for Linux.
29352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29353 and declarations that are provided by <bits/fcntl-linux.h> and
29354 include <bits/fcntl-linux.h>.
29355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29358 2012-10-20 Roland McGrath <roland@hack.frob.com>
29360 * io/fcntl.h: Move include of <bits/types.h> to the top and
29361 include it unconditionally.
29363 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29365 * wcsmbs/Makefile (tests-ifunc): New variable.
29366 (tests): Add $(tests-ifunc).
29367 * wcsmbs/test-wcschr-ifunc.c: New file.
29368 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29369 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29370 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29371 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29372 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29374 * string/Makefile (tests-ifunc): New variable.
29375 (tests): Add $(tests-ifunc).
29376 * string/test-memccpy.c (TEST_NAME): New macro.
29377 * string/test-memchr.c (TEST_NAME): Likewise.
29378 * string/test-memcmp.c (TEST_NAME): Likewise.
29379 * string/test-memcpy.c (TEST_NAME): Likewise.
29380 * string/test-memmem.c (TEST_NAME): Likewise.
29381 * string/test-memmove.c (TEST_NAME): Likewise.
29382 * string/test-memset.c (TEST_NAME): Likewise.
29383 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29384 * string/test-stpcpy.c (TEST_NAME): Likewise.
29385 * string/test-stpncpy.c (TEST_NAME): Likewise.
29386 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29387 * string/test-strcasestr.c (TEST_NAME): Likewise.
29388 * string/test-strcat.c (TEST_NAME): Likewise.
29389 * string/test-strchr.c (TEST_NAME): Likewise.
29390 * string/test-strcmp.c(TEST_NAME): Likewise.
29391 * string/test-strcpy.c (TEST_NAME): Likewise.
29392 * string/test-strcspn.c (TEST_NAME): Likewise.
29393 * string/test-strlen.c (TEST_NAME): Likewise.
29394 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29395 * string/test-strncmp.c (TEST_NAME): Likewise.
29396 * string/test-strncpy.c (TEST_NAME): Likewise.
29397 * string/test-strnlen.c (TEST_NAME): Likewise.
29398 * string/test-strpbrk.c (TEST_NAME): Likewise.
29399 * string/test-strrchr.c (TEST_NAME): Likewise.
29400 * string/test-strspn.c (TEST_NAME): Likewise.
29401 * string/test-strstr.c (TEST_NAME): Likewise.
29402 * string/test-bcopy-ifunc.c: New file.
29403 * string/test-bzero-ifunc.c: Likewise.
29404 * string/test-memccpy-ifunc.c: Likewise.
29405 * string/test-memchr-ifunc.c: Likewise.
29406 * string/test-memcmp-ifunc.c: Likewise.
29407 * string/test-memcpy-ifunc.c: Likewise.
29408 * string/test-memmem-ifunc.c: Likewise.
29409 * string/test-memmove-ifunc.c: Likewise.
29410 * string/test-mempcpy-ifunc.c: Likewise.
29411 * string/test-memset-ifunc.c: Likewise.
29412 * string/test-rawmemchr-ifunc.c: Likewise.
29413 * string/test-stpcpy-ifunc.c: Likewise.
29414 * string/test-stpncpy-ifunc.c: Likewise.
29415 * string/test-strcasecmp-ifunc.c: Likewise.
29416 * string/test-strcasestr-ifunc.c: Likewise.
29417 * string/test-strcat-ifunc.c: Likewise.
29418 * string/test-strchr-ifunc.c: Likewise.
29419 * string/test-strchrnul-ifunc.c: Likewise.
29420 * string/test-strcmp-ifunc.c: Likewise.
29421 * string/test-strcpy-ifunc.c: Likewise.
29422 * string/test-strcspn-ifunc.c: Likewise.
29423 * string/test-strlen-ifunc.c: Likewise.
29424 * string/test-strncasecmp-ifunc.c: Likewise.
29425 * string/test-strncat-ifunc.c: Likewise.
29426 * string/test-strncmp-ifunc.c: Likewise.
29427 * string/test-strncpy-ifunc.c: Likewise.
29428 * string/test-strnlen-ifunc.c: Likewise.
29429 * string/test-strpbrk-ifunc.c: Likewise.
29430 * string/test-strrchr-ifunc.c: Likewise.
29431 * string/test-strspn-ifunc.c: Likewise.
29432 * string/test-strstr-ifunc.c: Likewise.
29434 * debug/Makefile (tests-ifunc): New variable.
29435 (tests): Add $(tests-ifunc).
29436 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29437 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29438 * debug/test-stpcpy_chk-ifunc.c: New file.
29439 * debug/test-strcpy_chk-ifunc.c: Likewise.
29441 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29444 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29445 header is not read in.
29447 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29449 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29450 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29451 directly. Pass built executable to script as
29452 $(built-program-cmd).
29453 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29454 $testprogram without using LD_LIBRARY_PATH and $ldso.
29456 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29457 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29458 $(rtld-installed-name).
29459 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29460 (rtld_installed_name): Likewise.
29461 (library_path): Likewise.
29462 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29463 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29464 $(run-program-prefix) to tst-tables.sh.
29465 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29466 it to run tst-table-from and tst-table-to.
29467 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29468 Pass it to tst-table.sh.
29469 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29470 $(run-program-prefix) to tst-gettext.sh.
29471 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29473 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29475 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29476 to run tst-gettext.
29477 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29478 to run tst-gettext2.
29479 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29480 to run tst-translit.
29481 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29482 $(run-program-prefix) to tst-mtrace.sh.
29483 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29485 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29486 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29487 $(rtld-installed-name).
29488 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29489 (rtld_installed_name): Likewise.
29490 (run_program_prefix): New variable. Use it to run wordexp-test.
29492 * Makeconfig (ARCH): Remove all definitions.
29493 (machine): Likewise.
29494 [ARCH]: Remove conditional code.
29495 [!objdir]: Give error.
29496 [!objdir] (objpfx): Remove.
29497 [!objdir] (common-objpfx): Likewise.
29498 [!objdir] (common-objdir): Likewise.
29499 * configure.in (config_makefile): Remove. Hardcode Makefile in
29500 AC_CONFIG_FILES call.
29501 * configure: Regenerated.
29504 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29506 (testout): Likewise.
29508 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29509 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29510 $(rtld-installed-name).
29511 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29512 (rtld_installed_name): Likwise.
29513 (runit): Remove function.
29514 (run_getconf): New variable, Use it for running getconf binary.
29516 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29519 * string/test-memmem.c (check_result): New function.
29520 (do_one_test): Use it.
29521 (check1): New function.
29522 (test_main): Use it.
29524 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29526 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29528 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29530 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29531 (_G_LSEEK64): Likewise.
29532 (_G_MMAP64): Likewise.
29533 (_G_FSTAT64): Likewise.
29534 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29535 (_G_LSEEK64): Likewise.
29536 (_G_MMAP64): Likewise.
29537 (_G_FSTAT64): Likewise.
29538 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29539 unconditional. Call __mmap64 directly.
29540 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29541 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29542 __lseek64 directly.
29543 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29544 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29546 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29547 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29548 __lseek64 directly.
29549 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29550 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29551 __lseek64 directly.
29552 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29553 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29554 __lseek64 directly.
29555 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29556 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29557 __fxstat64 directly.
29558 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29559 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29561 (freopen64) [!_G_OPEN64]: Remove conditional code.
29562 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29564 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29565 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29567 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29568 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29570 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29571 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29573 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29574 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29576 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29577 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29579 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29580 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29582 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29584 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29587 * manual/memory.texi (Malloc Tunable Parameters): Add note
29588 about free list pointers overwriting some perturb bytes.
29589 Wording suggested by Roland McGrath.
29591 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29593 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29594 (lgamma_test): Likewise.
29595 (tgamma_test): Likewise.
29597 2012-10-16 Florian Weimer <fweimer@redhat.com>
29600 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29601 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29603 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29605 * NEWS: Mention BZ #14716.
29606 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29607 when removing AVAILABLE1_USES_J macro.
29609 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29611 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29612 (__bswap_64): __uint64_t for unsigned 64-bit int.
29614 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29616 * include/string.h (memmem): Declare libc hidden alias.
29617 * string/memmem.c (memmem): Define libc hidden alias.
29618 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29619 __read, __close instead of open, read, close.
29621 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29623 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29624 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29626 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29627 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29628 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29630 (__rawmemchr_sse2): Likewise.
29631 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29632 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29633 (__strchr_sse2): Likewise.
29634 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29635 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29636 (__strcasecmp_sse2): Likewise.
29637 (__strncasecmp_sse2): Likewise.
29638 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29639 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29640 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29641 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29642 (__strrchr_sse2): Likewise.
29643 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29645 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29646 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29647 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29648 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29649 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29650 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29651 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29652 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29653 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29654 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29655 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29656 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29657 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29658 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29659 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29660 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29661 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29662 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29663 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29664 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29665 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29666 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29667 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29668 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29669 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29670 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29671 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29672 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29673 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29674 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29676 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29678 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29679 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29680 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29681 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29683 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29685 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29686 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29687 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29688 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29690 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29691 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29692 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29693 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29694 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29695 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29696 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29697 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29698 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29699 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29700 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29701 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29702 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29703 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29704 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29705 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29706 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29707 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29708 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29709 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29710 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29711 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29712 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29713 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29714 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29715 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29716 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29717 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29718 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29719 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29720 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29721 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29722 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29723 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29724 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29725 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29726 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29727 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29728 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29729 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29730 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29732 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29733 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29734 * include/ifunc-impl-list.h: New file.
29735 * misc/ifunc-impl-list.c: Likewise.
29736 * misc/Makefile (routines): Add ifunc-impl-list.
29737 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29738 * string/test-string.h: Include <ifunc-impl-list.h>.
29739 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29740 TEST_NAME]: New variables.
29741 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29743 (test_init): Call __libc_ifunc_impl_list to initialize
29744 func_list if TEST_IFUNC and TEST_NAME are defined.
29746 * string/Makefile (strop-tests): Add bcopy and bzero.
29747 * string/test-bcopy.c: New file.
29748 * string/test-bzero.c: Likewise.
29749 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29751 * string/test-memset.c: Support bzero test if TEST_BZERO is
29753 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29755 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29757 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29760 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29762 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29763 * configure: Regenerated.
29765 * Makeconfig (+link-static-before-libc): Don't include
29766 $(link-static-libc).
29768 * libio/libio.h (_IO_pos_t): Remove.
29770 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29772 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29775 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29777 * crypt/crypt-entry.c: Include fips-private.h.
29778 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29779 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29780 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29781 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29783 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29785 * crypt/crypt-private.h: Include stdbool.h.
29786 (_ufc_setup_salt_r): Return bool.
29787 * crypt/crypt-entry.c: Include errno.h.
29788 (__crypt_r): Return NULL with EINVAL for bad salt.
29789 * crypt/crypt_util.c (bad_for_salt): New.
29790 (_ufc_setup_salt_r): Check that salt is long enough and within
29791 the specified alphabet.
29792 * crypt/badsalttest.c: New file.
29793 * crypt/Makefile (tests): Add it.
29794 ($(objpfx)badsalttest): New.
29796 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29798 * NEWS: Add entry for BZ #14602.
29800 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29802 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29804 * math/libm-test.inc: Update comment listing what functions and
29806 (isgreater_test): New function.
29807 (isgreaterequal_test): Likewise.
29808 (isless_test): Likewise.
29809 (islessequal_test): Likewise.
29810 (islessgreater_test): Likewise.
29811 (isunordered_test): Likewise.
29812 (main): Call the new functions.
29814 2012-10-09 Roland McGrath <roland@hack.frob.com>
29816 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29817 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29818 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29819 * sysdeps/i386/configure: Regenerated.
29820 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29821 * sysdeps/mach/configure: Regenerated.
29822 * sysdeps/mach/hurd/configure: Regenerated.
29823 * sysdeps/powerpc/configure: Regenerated.
29824 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29825 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29826 * sysdeps/s390/s390-32/configure: Regenerated.
29827 * sysdeps/s390/s390-64/configure: Regenerated.
29828 * sysdeps/sh/configure: Regenerated.
29829 * sysdeps/sparc/configure: Regenerated.
29830 * sysdeps/unix/sysv/linux/configure: Regenerated.
29831 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29832 * sysdeps/x86_64/configure: Regenerated.
29834 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29835 defined. Don't check if MAP is NULL.
29837 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29839 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29840 (_G_stat64): Likewise.
29841 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29842 (_G_stat64): Likewise.
29843 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29844 instead of struct _G_stat64.
29845 * libio/fileops.c (mmap_remap_check): Likewise.
29846 (decide_maybe_mmap): Likewise.
29847 (_IO_new_file_seekoff): Likewise.
29848 (_IO_file_stat): Likewise.
29849 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29851 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29852 instead of struct _G_stat64.
29853 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29855 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29858 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29860 (CHECK_EOL): New macro.
29861 (two_way_short_needle): Check beginning of haystack for EOL. Use
29863 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29864 Replace with CHECK_EOL.
29865 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29866 Replace with CHECK_EOL.
29868 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29870 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29872 * math/libm-test.inc: Update comment listing what functions and
29874 (finite_test): New function.
29875 (isinf_test): Likewise.
29876 (isnan_test): Likewise.
29877 (fpclassify_test): Test subnormal input.
29878 (isfinite_test): Likewise.
29879 (isnormal_test): Likewise.
29880 (main): Call the new functions.
29882 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29885 * Makerules (%.dynsym): Force C locale when running
29886 $(OBJDUMP) --dynamic-syms.
29888 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29890 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29893 2012-10-06 David S. Miller <davem@davemloft.net>
29895 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29896 upper 32-bits of the length value in %o2 since we use branch-on-register
29897 tests which consider the entire 64-bit register.
29899 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29901 * string/test-strstr.c (check2): Add a test for page boundary.
29903 2012-10-05 David S. Miller <davem@davemloft.net>
29905 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29906 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29908 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29910 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29911 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29912 and bzero when HWCAP_SPARC_CRYPTO is present.
29914 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29917 * string/test-strstr.c (check2): New function.
29918 (test_main): Call check2.
29920 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29922 * string/bug-strcasestr1.c (do_test): Moved to ...
29923 * string/test-strcasestr.c (check1): Here. New function.
29924 (do_one_test): Break out result checking code into ...
29925 (check_result): This. New function.
29926 (do_one_test): Call check_result.
29927 (test_main): Call check1.
29928 * string/bug-strchr1.c (do_test): Moved to ...
29929 * string/test-strchr.c (check1): Here. New function.
29930 (do_one_test): Break out result checking code into ...
29931 (check_result): This. New function.
29932 (do_one_test): Call check_result.
29933 (test_main): Call check1.
29934 * string/bug-strstr1.c (main): Moved to ...
29935 * string/test-strstr.c (check1): Here. New function.
29936 (do_one_test): Break out result checking code into ...
29937 (check_result): This. New function.
29938 (do_one_test): Call check_result.
29939 (test_main): Call check1.
29940 * string/bug-strcasestr1.c: Removed.
29941 * string/bug-strchr1.c: Likewise.
29942 * string/bug-strstr1.c: Likewise.
29944 * elf/Makefile (dl-routines): Add hwcaps.
29945 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29946 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29947 (_dl_important_hwcaps): Moved to ...
29948 * elf/dl-hwcaps.c: Here. New file.
29949 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29952 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29953 if IS_IN_rtld isn't defined.
29955 * elf/dl-support.c (_dl_sysinfo_map): New.
29956 Include "get-dynamic-info.h" and "setup-vdso.h".
29957 (_dl_non_dynamic_init): Call setup_vdso.
29958 * elf/dynamic-link.h: Don't include <assert.h>.
29959 (elf_get_dynamic_info): Moved to ...
29960 * elf/get-dynamic-info.h: Here. New file.
29961 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29962 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29963 * elf/setup-vdso.h: Here. New file.
29964 * elf/rtld.c: Include "setup-vdso.h".
29965 (dl_main): Call setup_vdso.
29967 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29969 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29970 creal in comment listing functions tested. List finite, isinf,
29971 isnan, isless, islessequal, isgreater, isgreaterequal,
29972 islessgreater, isunordered, lgamma_r and pow10 as functions and
29973 macros not tested. Mention which functions not tested are aliases
29974 for other functions. Fix typo. Note that signs of NaNs are not
29977 * scripts/config.guess: Update from config.git.
29978 * scripts/config.sub: Likewise.
29980 2012-10-04 Roland McGrath <roland@hack.frob.com>
29982 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29983 * misc/madvise.c (madvise): Renamed to __madvise.
29984 Make madvise a weak alias.
29985 * include/sys/mman.h: Declare __madvise.
29986 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29987 * sysdeps/unix/syscalls.list
29988 (madvise): Make __madvise the strong name, and madvise a weak alias.
29989 * sysdeps/unix/sysv/linux/syscalls.list
29990 (madvise, mmap): Remove redundant entries.
29991 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29992 * malloc/malloc.c (mtrim): Likewise.
29993 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29995 2012-10-03 Roland McGrath <roland@hack.frob.com>
29997 * sysdeps/mach/hurd/dl-cache.c: File removed.
29998 * config.h.in (USE_LDCONFIG): New #undef.
29999 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30000 * configure: Regenerated.
30001 * elf/Makefile (dl-routines): Add dl-cache only under
30002 [$(use-ldconfig) = yes].
30003 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30004 cache on [USE_LDCONFIG].
30005 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30007 * elf/rtld.c (dl_main): Likewise.
30009 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30011 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30012 _SC_LEVEL4_CACHE_LINESIZE.
30014 2012-10-03 Roland McGrath <roland@hack.frob.com>
30016 * sysdeps/unix/bsd/confstr.h: File removed.
30018 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30020 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30023 2012-10-02 Roland McGrath <roland@hack.frob.com>
30025 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30026 Make 'mapoff' field ElfW(Off) rather than off_t.
30028 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30030 * nscd/Makefile: Remove nscd-cflags and all its users.
30031 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30032 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30035 * malloc.c (malloc_printerr): Clarify error message.
30037 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30041 Set bit_FMA_Usable if FMA is supported.
30042 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30044 (bit_FMA4_Usable): Updated.
30045 (index_FMA_Usable): New macro.
30046 (CPUID_FMA): Likewise
30047 (HAS_FMA): Defined with bit_FMA_Usable.
30049 2012-10-01 Roland McGrath <roland@hack.frob.com>
30051 * bits/types.h (__swblk_t): Type removed.
30052 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30053 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30055 (__SWBLK_T_TYPE): Likewise.
30056 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30057 (__SWBLK_T_TYPE): Likewise.
30058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30059 (__SWBLK_T_TYPE): Likewise.
30060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30061 (__SWBLK_T_TYPE): Likewise.
30063 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30064 Honza Horak <hhorak@redhat.com>
30066 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30067 (xdr_mapname): Use YPMAXMAP as maxsize.
30068 (xdr_peername): Use YPMAXPEER as maxsize.
30069 (xdr_keydat): Use YPAXRECORD as maxsize.
30070 (xdr_valdat): Use YPMAXRECORD as maxsize.
30072 2012-10-01 Roland McGrath <roland@hack.frob.com>
30074 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30076 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30077 * csu/init-first.c: ... here.
30078 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30079 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30080 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30081 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30082 * sysdeps/i386/init-first.c: File removed.
30083 * sysdeps/sh/init-first.c: File removed.
30085 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30089 if x * y might underflow to zero and z is zero.
30090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30091 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30092 * math/libm-test.inc (min_subnorm_value): New variable.
30093 (fma_test): Add more tests.
30094 (fma_test_towardzero): Likewise.
30095 (fma_test_downward): Likewise
30096 (fma_test_upward): Likewise.
30097 (initialize): Set min_subnorm_value.
30099 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30104 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30105 mode for addition resulting in exact zero.
30106 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30109 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30111 * math/libm-test.inc (fma_test): Add more tests.
30112 (fma_test_towardzero): New function.
30113 (fma_test_downward): Likewise.
30114 (fma_test_upward): Likewise.
30115 (main): Call the new functions.
30117 2012-09-28 David S. Miller <davem@davemloft.net>
30119 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30121 2012-09-28 Roland McGrath <roland@hack.frob.com>
30123 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30124 instead of SIGALRM.
30126 * sysdeps/gnu/_G_config.h: Moved to ...
30127 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30128 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30129 * sysdeps/generic/_G_config.h: ... here.
30131 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30133 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30135 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30136 Conditionalize target on [libnss_test1.so-version].
30138 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30140 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30141 (elfobjdir): Move out of conditionals.
30143 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30144 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30145 (__nss_lookup_function): Conditionalize label remove_from_tree on
30146 [!DO_STATIC_NSS || SHARED], matching its only use.
30148 2012-09-28 David S. Miller <davem@davemloft.net>
30150 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30151 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30153 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30155 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30157 when HWCAP_SPARC_CRYPTO is present.
30159 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30161 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30163 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30166 * stdio-common/vfprintf.c (process_string_arg): Revert
30169 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30171 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30173 * stdio-common/tst-sprintf.c: Include <locale.h>
30174 (main): Test sprintf's handling of incomplete multibyte
30177 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30179 * elf/dl-runtime.c (VERSYMIDX): Removed.
30180 * elf/dl-version.c (VERSYMIDX): Likewise.
30181 * elf/do-rel.h (VERSYMIDX): Likewise.
30182 (VALIDX): Likewise.
30183 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30184 * elf/rtld.c (VALIDX): Likewise.
30185 (ADDRIDX): Likewise.
30186 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30187 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30188 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30189 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30190 (VALIDX): Likewise.
30191 (ADDRIDX): Likewise.
30193 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30195 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30197 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30200 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30202 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30203 addresses are in the same scope as 192.0.2/24.
30204 * posix/gai.conf: Document new scope table defaults.
30206 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30209 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30210 for ftell. Compute offsets from write pointers instead.
30211 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30213 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30216 * libio/Makefile (tests): New test case tst-fseek.
30217 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30218 combination works in wide mode.
30219 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30220 state when the external buffer state changes.
30222 2012-09-27 David S. Miller <davem@davemloft.net>
30225 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30226 pass reloc->r_addend in as the 'high' argument to
30227 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30231 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30233 * rt/tst-aio2.c: Include <pthread.h>.
30234 * rt/tst-aio3.c: Likewise.
30236 2012-09-27 Steve Ellcey <sellcey@mips.com>
30238 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30240 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30242 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30243 contents on [SHARED].
30245 2012-09-26 Marek Polacek <polacek@redhat.com>
30249 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30250 for C++ and GCC <4.3 as well as for non GCC compilers.
30252 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30256 2012-09-25 Roland McGrath <roland@hack.frob.com>
30258 * Makefile.in (all, install): Declare with .PHONY.
30259 Reported by Michael Hope <michael.hope@linaro.org>.
30261 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30263 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30264 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30266 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30268 (sydep_routines): Add the new and the internal functions.
30269 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30270 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30272 (GLIBC_2.17): Add the new function.
30273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30274 (GLIBC_2.17): Likewise.
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30276 (GLIBC_2.17): Likewise.
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30278 (GLIBC_2.17): Likewise.
30279 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30281 2012-09-25 Alan Modra <amodra@gmail.com>
30283 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30284 Add release barrier before setting once_control to say
30285 initialisation is done. Add hints on lwarx. Use macro in
30287 (clear_once_control): Add release barrier.
30289 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30292 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30294 * math/s_clog10.c (__clog10): Likewise.
30295 * math/s_clog10f.c (__clog10f): Likewise.
30296 * math/s_clog10l.c (__clog10l): Likewise.
30297 * math/s_clogf.c (__clogf): Likewise.
30298 * math/s_clogl.c (__clogl): Likewise.
30299 * math/Makefile (libm-calls): Add x2y2m1.
30300 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30301 (__x2y2m1): Likewise.
30302 (__x2y2m1l): Likewise.
30303 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30304 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30305 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30306 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30307 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30308 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30309 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30310 * sysdeps/i386/fpu/libm-test-ulps: Update.
30311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30314 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30315 int as type of variable DEPTH.
30316 (glob): Use size_t instead of int as type of variables NEWCOUNT
30319 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30321 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30322 Add s_sincosf-sse2.
30323 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30324 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30325 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30326 macros for using routine as __sincosf_ia32.
30327 Use macro for function declaration and weak_alias.
30328 * sysdeps/i386/fpu/libm-test-ulps: Update.
30330 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30333 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30334 subnormal argument.
30335 * math/s_cexpf.c (__cexpf): Likewise.
30336 * math/s_csinf.c (__csinf): Likewise.
30337 * math/s_csinhf.c (__csinhf): Likewise.
30338 * math/s_ctanf.c (__ctanf): Likewise.
30339 * math/s_ctanhf.c (__ctanhf): Likewise.
30340 * math/s_ccosh.c (__ccoshf): Likewise.
30341 * math/s_cexp.c (__cexpl): Likewise.
30342 * math/s_csin.c (__csin): Likewise.
30343 * math/s_csinh.c (__csinh): Likewise.
30344 * math/s_ctan.c (__ctan): Likewise.
30345 * math/s_ctanh.c (ctanh): Likewise.
30346 * math/s_ccoshl.c (__ccoshl): Likewise.
30347 * math/s_cexpl.c (__cexpl): Likewise.
30348 * math/s_csinl.c (__csinl): Likewise.
30349 * math/s_csinhl.c (__csinhl): Likewise.
30350 * math/s_ctanl.c (__ctanl): Likewise.
30351 * math/s_ctanhl.c (__ctanhl): Likewise.
30353 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30355 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30356 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30357 (_IO_off_t): Define to __off_t, not _G_off_t.
30358 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30359 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30360 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30361 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30362 type of __dummy and __dummy2 fields.
30363 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30364 (_G_ssize_t): Likewise.
30365 (_G_off_t): Likewise.
30366 (_G_pid_t): Likewise.
30367 (_G_uid_t): Likewise.
30368 (_G_wchar_t): Likewise.
30369 (_G_wint_t): Likewise.
30370 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30371 (_G_ssize_t): Likewise.
30372 (_G_off_t): Likewise.
30373 (_G_pid_t): Likewise.
30374 (_G_uid_t): Likewise.
30375 (_G_wchar_t): Likewise.
30376 (_G_wint_t): Likewise.
30377 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30378 (_G_ssize_t): Likewise.
30379 (_G_off_t): Likewise.
30380 (_G_pid_t): Likewise.
30381 (_G_uid_t): Likewise.
30382 (_G_wchar_t): Likewise.
30383 (_G_wint_t): Likewise.
30385 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30387 * malloc/arena.c: Include malloc-sysdep.h.
30388 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30389 is sufficient to shrink the heap or an unmap is needed.
30390 * sysdeps/generic/malloc-sysdep.h: New file. Define
30391 new function check_may_shrink_heap.
30392 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30393 new function check_may_shrink_heap.
30395 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30397 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30400 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30402 * catgets/test-gencat.sh: Add "set -e".
30403 * elf/tst-pathopt.sh: Likewise.
30404 * grp/tst_fgetgrent.sh: Likewise.
30405 * iconvdata/run-iconv-test.sh: Likewise.
30406 * intl/tst-gettext.sh: Likewise.
30407 * intl/tst-gettext2.sh: Likewise.
30408 * intl/tst-gettext4.sh: Likewise.
30409 * intl/tst-gettext6.sh: Likewise.
30410 * intl/tst-translit.sh: Likewise.
30411 * io/ftwtest-sh: Likewise.
30412 * libio/test-freopen.sh: Likewise.
30413 * malloc/tst-mtrace.sh: Likewise.
30414 * posix/globtest.sh: Likewise.
30415 * posix/tst-getconf.sh: Likewise.
30416 * posix/wordexp-tst.sh: Likewise.
30417 * stdio-common/tst-printf.sh: Likewise.
30418 * stdio-common/tst-unbputc.sh: Likewise.
30419 * stdlib/tst-fmtmsg.sh: Likewise.
30420 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30421 * catgets/Makefile: Do not specify -e option when running
30422 testsuite shell scripts.
30423 * elf/Makefile: Likewise.
30424 * grp/Makefile: Likewise.
30425 * iconvdata/Makefile: Likewise.
30426 * intl/Makefile: Likewise.
30427 * io/Makefile: Likewise.
30428 * libio/Makefile: Likewise.
30429 * malloc/Makefile: Likewise.
30430 * posix/Makefile: Likewise.
30431 * stdio-common/Makefile: Likewise.
30432 * stdlib/Makefile: Likewise.
30433 * sysdeps/x86_64/Makefile: Likewise.
30435 * io/ftwtest-sh: Add copyright header.
30436 * posix/globtest.sh: Likewise.
30437 * posix/tst-getconf.sh: Likewise.
30438 * posix/wordexp-tst.sh: Likewise.
30439 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30441 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30444 * Makeconfig (+link): Defined as $(+link-static) if
30445 $(build-shared) isn't yes.
30446 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30448 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30450 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30453 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30454 new chunk size with MALLOC_ALIGN_MASK.
30456 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30459 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30461 (__printf_fphex): Determine rounding using get_rounding_mode and
30463 * stdio-common/tst-printf-round.c (struct hex_test): New
30465 (hex_tests): New variable.
30466 (test_hex_in_one_mode): New function.
30467 (do_test): Also run tests for hex float output.
30469 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30471 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30472 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30473 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30474 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30475 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30476 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30477 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30478 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30480 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30482 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30483 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30484 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30485 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30487 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30490 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30492 * elf/tst-rtld-load-self.sh: New test.
30493 * elf/Makefile: Run it.
30495 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30497 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30498 (tst-writev-ENV): Remove.
30499 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30501 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30503 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30505 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30507 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30509 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30511 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30512 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30513 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30516 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30519 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30520 * config.make.in (have-cpp-asm-debuginfo): Removed.
30521 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30522 * configure: Regenerated.
30524 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30527 * stdio-common/printf_fp.c: Include <stdbool.h> and
30529 (___printf_fp): Determine rounding using get_rounding_mode and
30531 * stdio-common/tst-printf-round.c: New file.
30532 * stdio-common/Makefile (tests): Add tst-printf-round.
30533 (link-libm): New variable.
30534 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30536 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30539 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30540 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30542 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30545 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30547 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30548 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30549 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30550 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30552 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30555 * include/rounding-mode.h: New file.
30556 * sysdeps/generic/get-rounding-mode.h: Likewise.
30557 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30558 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30559 (MAX_VALUE): New macro.
30560 (MIN_VALUE): Likewise.
30561 (overflow_value): New function.
30562 (underflow_value): Likewise.
30563 (round_and_return): Use overflow_value and underflow_value to
30564 determine return values in overflow and underflow cases. Use
30565 round_away to determine rounding depending on rounding mode.
30566 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30567 determine return values in overflow and underflow cases.
30568 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30569 (struct test_results): New structure.
30570 (struct test): Use struct test_results to store expected results
30571 for all rounding modes.
30572 (TEST): Include expected results for all rounding modes.
30573 (test_in_one_mode): New function.
30574 (do_test): Use test_in_one_mode to compute and check results.
30575 Check results for all rounding modes.
30576 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30579 2012-12-09 Allan McRae <allan@archlinux.org>
30581 * sysdeps/i386/fpu/libm-test-ulps: Update
30583 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30585 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30586 (_G_int32_t): Likewise.
30587 (_G_uint16_t): Likewise.
30588 (_G_uint32_t): Likewise.
30589 (_G_HAVE_BOOL): Likewise.
30590 (_G_HAVE_ATEXIT): Likewise.
30591 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30592 (_G_HAVE_IO_FILE_OPEN): Likewise.
30593 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30594 (_G_int32_t): Likewise.
30595 (_G_uint16_t): Likewise.
30596 (_G_uint32_t): Likewise.
30597 (_G_HAVE_BOOL): Likewise.
30598 (_G_HAVE_ATEXIT): Likewise.
30599 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30600 (_G_HAVE_IO_FILE_OPEN): Likewise.
30601 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30602 (_G_int32_t): Likewise.
30603 (_G_uint16_t): Likewise.
30604 (_G_uint32_t): Likewise.
30605 (_G_HAVE_BOOL): Likewise.
30606 (_G_HAVE_ATEXIT): Likewise.
30607 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30608 (_G_HAVE_IO_FILE_OPEN): Likewise.
30610 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30612 * csu/libc-tls.c: Update copyright years.
30614 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30616 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30617 [!_G_USING_THUNKS]: Remove conditional code.
30618 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30619 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30621 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30622 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30623 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30624 (_G_VTABLE_LABEL_PREFIX): Likewise.
30625 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30626 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30627 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30628 (_G_VTABLE_LABEL_PREFIX): Likewise.
30629 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30630 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30631 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30632 (_G_VTABLE_LABEL_PREFIX): Likewise.
30633 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30635 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30637 * libio/Makefile: Include ../Makeconfig before tests.
30638 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30639 only if $(build-shared) is yes.
30641 * iconv/gconv_db.c: Update copyright years.
30643 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30645 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30646 unwind info if defined PIC. Fix special cases description.
30647 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30649 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30651 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30653 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30655 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30657 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30660 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30661 (LDLIBS-tst-chk4): This.
30662 (LDFLAGS-tst-chk5): Renamed to ...
30663 (LDLIBS-tst-chk5): This.
30664 (LDFLAGS-tst-chk6): Renamed to ...
30665 (LDLIBS-tst-chk6): This.
30666 (LDFLAGS-tst-lfschk4): Renamed to ...
30667 (LDLIBS-tst-lfschk4): This.
30668 (LDFLAGS-tst-lfschk5): Renamed to ...
30669 (LDLIBS-tst-lfschk5): This.
30670 (LDFLAGS-tst-lfschk6): Renamed to ...
30671 (LDLIBS-tst-lfschk6): This.
30673 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30674 on $(common-objpfx)soversions.mk.
30676 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30679 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30682 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30684 * malloc/arena.c (arena_get_retry): New function that gets
30685 another arena for the caller to try its request on.
30686 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30687 current arena cannot fulfill the request.
30688 (__libc_memalign): Likewise.
30689 (__libc_memalign): Likewise.
30690 (__libc_pvalloc): Likewise.
30691 (__libc_calloc): Likewise.
30693 2012-09-05 John Tobey <john.tobey@gmail.com>
30696 * manual/arith.texi (Operations on Complex): Fix description
30697 of carg branch cut.
30699 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30702 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30706 * manual/memory.texi (Memory): Make order of menu items match
30709 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30711 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30712 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30713 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30715 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30717 * csu/libc-tls.c (static_dtv): Renamed to ...
30718 (_dl_static_dtv): This. Make it global.
30719 (_dl_initial_dtv): Removed.
30720 (__libc_setup_tls): Updated.
30721 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30722 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30725 2012-09-06 Petr Machata <pmachata@redhat.com>
30727 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30728 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30729 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30730 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30732 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30735 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30736 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30739 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30742 * Makeconfig (link-static-before-libc): Replace $(+prector)
30744 (link-static-after-libc): Replace $(+postctor) with
30746 (link-bounded): Replace $(+prector)/$(+postctor) with
30747 $(+prectorT)/$(+postctorT).
30748 (+prectorT): New macro.
30749 (+postctorT): Likewise.
30751 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30753 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30754 (round_str): Handle values above the maximum for IBM long double
30756 * stdlib/tst-strtod-round.c (tests): Regenerated.
30758 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30760 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30762 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30763 zarch_nohighgprs around the zarch optimized routines.
30764 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30765 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30766 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30769 2012-09-05 David S. Miller <davem@davemloft.net>
30771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30773 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30774 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30775 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30776 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30779 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30781 * malloc/arena.c: Fold copyright years.
30782 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30784 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30786 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30788 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30790 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30792 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30794 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30795 change internal state upon failure.
30797 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30799 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30800 * malloc/memusage.c (mmap): Likewise.
30801 (mmap64, mremap): Likewise. Adjust name in comment.
30803 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30805 * libio/fileops.c: Fix typos in comments.
30806 * libio/oldfileops.c: Likewise.
30807 * libio/wfileops.c: Likewise.
30809 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30812 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30813 (tst-malloc-usable-ENV): Set environment for test case.
30814 * malloc/hooks.c (malloc_check_get_size): New function to get
30816 * malloc/malloc.c (musable): Use malloc_check_get_size.
30817 * malloc/tst-malloc-usable.c: New test case.
30819 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30821 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30823 2012-09-05 Allan McRae <allan@archlinux.org>
30826 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30827 determine header location.
30828 * configure: Regenerated.
30830 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30832 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30834 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30835 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30837 (test): Regenerate.
30839 2012-09-04 David S. Miller <davem@davemloft.net>
30841 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30842 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30843 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30845 2012-09-04 Florian Weimer <fweimer@redhat.com>
30847 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30850 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30852 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30855 * libio/iogetdelim.c: Include <limits.h>.
30856 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30857 + len + 1 would overflow.
30859 2012-09-03 Andreas Jaeger <aj@suse.de>
30861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30862 * sysdeps/i386/fpu/libm-test-ulps: Update.
30864 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30866 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30867 Add s_sinf-sse2, s_conf-sse2.
30869 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30870 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30871 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30872 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30874 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30875 for using routine as __sinf_ia32.
30876 Use macro for function declaration and weak_alias.
30877 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30878 for using routine as __cosf_ia32.
30879 Use macro for function declaration and weak_alias.
30881 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30882 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30884 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30885 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30888 * math/libm-test.inc (cos_test): Add more test cases.
30889 (sin_test): Likewise.
30890 (sincos_test): Likewise.
30892 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30894 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30895 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30897 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30899 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30902 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30903 first element of the GOT.
30904 (elf_machine_load_address): Return the difference between
30905 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30907 2012-09-01 Allan McRae <allan@archlinux.org>
30910 * configure.in (AWK): Require gawk version 3.0 or later.
30911 * configure: Regenerated.
30913 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30915 * sysdeps/unix/sysv/linux/kernel-features.h
30916 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30917 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30918 [__NR_clock_getres]: Make code unconditional.
30919 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30920 (clock_getcpuclockid): Remove code left unreachable by removal of
30922 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30923 code unconditional.
30924 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30925 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30926 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30927 Make code unconditional.
30928 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30929 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30930 * sysdeps/unix/sysv/linux/clock_settime.c
30931 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30933 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30934 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30936 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30939 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30940 scripts/test-installation.pl.
30942 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30943 and $ld_so_version if it is set.
30945 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30948 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30949 failure if reading from procfs failed.
30950 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30952 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30954 * sysdeps/unix/sysv/linux/kernel-features.h
30955 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30956 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30957 Remove conditional code.
30958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30959 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30960 Remove conditional code.
30961 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30962 * sysdeps/unix/sysv/linux/i386/fxstat.c
30963 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30965 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30966 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30967 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30968 * sysdeps/unix/sysv/linux/i386/lxstat.c
30969 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30970 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30971 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30972 Remove conditional code.
30973 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30974 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30975 Remove conditional code.
30976 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30977 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30978 <kernel-features.h>.
30979 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30981 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30982 Remove conditional code.
30983 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30984 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30985 Remove conditional.
30987 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30990 * NEWS: Add fixed bug number.
30992 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30995 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30996 underflowing exponent in case of negative sign.
30997 * stdlib/tst-strtod-round-data: Add more tests.
30998 * stdlib/tst-strtod-round.c (tests): Regenerated.
31001 * stdlib/strtod_l.c (NDIG): Remove.
31002 (HEXNDIG): Likewise.
31003 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31004 smallest representable value.
31005 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31006 lie within an exact representation of 1/2 ulp of the result.
31007 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31009 (TENS_P9_IDX): Define unconditionally.
31010 (TENS_P9_SIZE): Likewise.
31011 (TENS_P10_IDX): Likewise.
31012 (TENS_P10_SIZE): Likewise.
31013 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31014 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31015 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31016 entries for 10^2^13 and 10^2^14.
31017 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31018 (TENS_P13_IDX): Define.
31019 (TENS_P13_SIZE): Likewise.
31020 (TENS_P14_IDX): Likewise.
31021 (TENS_P14_SIZE): Likewise.
31022 (_fpioconst_pow10): Change array size to
31023 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31025 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31026 1024]: Add entries for 10^2^13 and 10^2^14.
31027 [LAST_POW10 > _LAST_POW10]: Remove #error.
31028 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31029 (_fpioconst_pow10): Change array size to
31030 FPIOCONST_POW10_ARRAY_SIZE.
31031 * stdlib/gen-fpioconst.c: New file.
31032 * stdlib/gen-tst-strtod-round.c: Likewise.
31033 * stdlib/tst-strtod-round-data: Likewise.
31034 * stdlib/tst-strtod-round.c: Likewise.
31035 * stdlib/Makefile (tests): Add tst-strtod-round.
31038 * stdlib/strtod_l.c: Include <stdint.h>.
31039 (NDEBUG): Do not define.
31040 (round_and_return): Change EXPONENT parameter to type intmax_t.
31041 Rearrange calculations to avoid internal overflow possibilities.
31042 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31043 Rearrange calculations to avoid internal overflow possibilities.
31044 Assert that number fits inside MPNSIZE limbs.
31045 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31046 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31047 calculations and add assertions to avoid internal overflow
31048 possibilities. Add casts to avoid signed/unsigned operations.
31049 * stdlib/tst-strtod-overflow.c: New file.
31050 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31052 2012-08-25 Marek Polacek <polacek@redhat.com>
31054 * time/time.h: Fix some typos in comments.
31056 2012-08-23 Roland McGrath <roland@hack.frob.com>
31058 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31059 * posix/tst-rfc3484-2.c: Likewise.
31060 * posix/tst-rfc3484-3.c: Likewise.
31062 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31064 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31065 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31067 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31069 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31070 #include of fxstatat64.c.
31072 2012-08-22 Roland McGrath <roland@hack.frob.com>
31074 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31075 * shadow/getspent_r.c: Likewise.
31076 * shadow/getspnam.c: Likewise.
31077 * shadow/getspnam_r.c: Likewise.
31078 * gshadow/getsgent.c: Likewise.
31079 * gshadow/getsgent_r.c: Likewise.
31080 * gshadow/getsgnam.c: Likewise.
31081 * gshadow/getsgnam_r.c: Likewise.
31082 * inet/getnetbyad.c: Likewise.
31083 * inet/getnetbyad_r.c: Likewise.
31084 * inet/getnetbynm.c: Likewise.
31085 * inet/getnetbynm_r.c: Likewise.
31086 * inet/getnetent.c: Likewise.
31087 * inet/getnetent_r.c: Likewise.
31088 * inet/getproto.c: Likewise.
31089 * inet/getproto_r.c: Likewise.
31090 * inet/getprtent.c: Likewise.
31091 * inet/getprtent_r.c: Likewise.
31092 * inet/getprtname.c: Likewise.
31093 * inet/getprtname_r.c: Likewise.
31094 * inet/getrpcbyname.c: Likewise.
31095 * inet/getrpcbyname_r.c: Likewise.
31096 * inet/getrpcbynumber.c: Likewise.
31097 * inet/getrpcbynumber_r.c: Likewise.
31098 * inet/getrpcent.c: Likewise.
31099 * inet/getrpcent_r.c: Likewise.
31100 * inet/getaliasent.c: Likewise.
31101 * inet/getaliasent_r.c: Likewise.
31102 * inet/getaliasname.c: Likewise.
31103 * inet/getaliasname_r.c: Likewise.
31104 * nscd/getgrgid_r.c: Likewise.
31105 * nscd/getgrnam_r.c: Likewise.
31106 * nscd/gethstbyad_r.c: Likewise.
31107 * nscd/gethstbynm3_r.c: Likewise.
31108 * nscd/getpwnam_r.c: Likewise.
31109 * nscd/getpwuid_r.c: Likewise.
31110 * nscd/getsrvbynm_r.c: Likewise.
31111 * nscd/getsrvbypt_r.c: Likewise.
31112 * nscd/gai.c: Likewise.
31114 * configure.in (build_nscd): New substituted variable, set
31115 by --disable-build-nscd and defaults to $use_nscd.
31116 * configure: Regenerated.
31117 * config.make.in (build-nscd): New substituted variable.
31118 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31119 Change conditional to require [$(build-nscd) = yes] as well.
31120 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31123 * configure.in (use_nscd): New substituted variable, set by
31124 --disable-nscd. If enabled, define USE_NSCD.
31125 * configure: Regenerated.
31126 * config.h.in: Add USE_NSCD.
31127 * config.make.in (use-nscd): New substituted variable.
31128 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31129 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31130 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31131 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31132 (CFLAGS-getgrnam_r.c): Likewise.
31133 (CFLAGS-initgroups.c): Likewise.
31134 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31135 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31137 * inet/getnetgrent_r.c
31138 (nscd_setnetgrent): New function, broken out of ...
31139 (setnetgrent): ... here. Call it.
31140 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31141 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31142 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31143 * nscd/Makefile (routines, aux): Move definitions after include of
31144 Makeconfig. Conditionalize on [$(use-nscd) != no].
31145 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31146 Conditionalize on [USE_NSCD].
31147 (is_nscd, nscd_init_cb): Likewise.
31148 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31149 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31150 * nss/nss_db/db-init.c: Likewise.
31151 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31153 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31154 (make_request): Use it.
31155 (cache_valid_p): New function.
31156 (__check_pf): Use it.
31157 * NEWS: Add item for --disable-nscd.
31159 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31161 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31162 to support sed >= 4.2.1-20-ga9bf076.
31163 * configure: Regenerated.
31165 2012-08-22 Roland McGrath <roland@hack.frob.com>
31167 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31168 Conditionalize whole body on [IREL].
31170 2012-08-22 Jeff Law <law@redhat.com>
31173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31174 if the family is PF_UNSPEC.
31176 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31178 * Makerules (lib-version): Rename from V.
31179 (install-lib-nosubdir): Change V to lib-version.
31181 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31184 * powerpc32/power6/wcschr.c: New file.
31185 * powerpc32/power6/wcscpy.c: New file.
31186 * powerpc32/power6/wcsrchr.c: New file.
31187 * powerpc64/power6/wcschr.c: New file.
31188 * powerpc64/power6/wcscpy.c: New file.
31189 * powerpc64/power6/wcsrchr.c: New file.
31191 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31193 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31194 (two_way_short_needle): Use it.
31195 * string/strstr.c (AVAILABLE1_USES_J): Define.
31196 * string/strcasestr.c: Likewise.
31198 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31200 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31203 * NEWS: Add an entry.
31204 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31205 define their defaults.
31206 (two_way_short_needle): Detect end-of-string on-the-fly.
31207 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31208 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31209 * string/bug-strcasestr1.c: New test.
31210 * string/Makefile: Run it.
31212 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31215 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31216 the first character.
31218 2012-08-21 Roland McGrath <roland@hack.frob.com>
31220 * csu/elf-init.c (__libc_csu_irel): Function removed.
31221 * csu/libc-start.c (apply_irel): New function.
31222 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31224 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31226 * sysdeps/unix/sysv/linux/kernel-features.h
31227 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31228 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31229 <kernel-features.h>.
31230 [__NR_fadvise64_64]: Make code unconditional.
31231 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31232 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31233 !__NR_fadvise64_64)]: Likewise.
31234 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31235 !__NR_fadvise64_64))]: Likewise.
31236 [__NR_fadvise64]: Make code unconditional.
31237 [!__NR_fadvise64]: Remove conditional code.
31238 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31239 <kernel-features.h>.
31240 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31242 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31245 not include <kernel-features.h>.
31246 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31248 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31250 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31251 include <kernel-features.h>.
31252 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31254 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31257 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31259 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31260 slight instruction rearrangements per scrollpipe analysis.
31261 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31263 2012-08-20 Roland McGrath <roland@hack.frob.com>
31265 * manual/syslog.texi (syslog; vsyslog, closelog):
31266 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31267 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31269 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31270 DSOCAPS to match condition on defining it.
31272 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31274 * sysdeps/unix/sysv/linux/kernel-features.h
31275 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31277 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31278 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31280 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31281 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31283 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31284 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31286 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31287 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31289 * sysdeps/unix/sysv/linux/kernel-features.h
31290 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31291 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31293 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31294 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31295 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31296 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31297 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31298 Make code unconditional.
31299 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31300 (__mmap64) [!__NR_mmap2]: Likewise.
31301 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31302 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31303 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31304 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31305 [__NR_mmap2]: Make code unconditional.
31306 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31307 (__mmap64) [!__NR_mmap2]: Likewise.
31309 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31311 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31313 2012-08-18 Andreas Jaeger <aj@suse.de>
31315 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31317 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31319 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31320 * include/unistd.h (__have_sock_cloexec): Likewise.
31321 (__have_pipe2): Likewise.
31322 (__have_dup3): Likewise.
31324 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31327 * include/unistd.h (__have_pipe2): Change define into an extern int.
31328 (__have_dup3): Likewise.
31329 * socket/have_sock_cloexec.c: Include fcntl.h.
31330 (__have_pipe2): New variable.
31331 (__have_dup3): Likewise.
31333 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31335 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31337 2012-08-17 Marek Polacek <polacek@redhat.com>
31339 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31340 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31342 2012-08-17 Roland McGrath <roland@hack.frob.com>
31344 * configure.in: Add AC_SUBST for sysheaders.
31345 * configure: Regenerated.
31346 * config.make.in (sysheaders): New substituted variable.
31348 * sysdeps/unix/mkfifo.c: Moved ...
31349 * sysdeps/posix/mkfifo.c: ... here.
31350 * sysdeps/unix/mkfifoat.c: Moved ...
31351 * sysdeps/posix/mkfifoat.c: ... here.
31353 * sysdeps/unix/utime.c: Moved ...
31354 * sysdeps/posix/utime.c: ... here.
31356 * sysdeps/unix/time.c: Moved ...
31357 * sysdeps/posix/time.c: ... here.
31358 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31359 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31361 * sysdeps/unix/nice.c: Moved ...
31362 * sysdeps/posix/nice.c: ... here.
31364 * sysdeps/unix/alarm.c: Moved ...
31365 * sysdeps/posix/alarm.c: ... here.
31367 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31369 2012-08-17 Jeff Law <law@redhat.com>
31371 * intl/Makefile (codeset_mo): New variable.
31372 ($(codeset_mo)): New target.
31373 (tst-codeset.out): Depend on that. Remove explicit rule.
31374 (tst-gettext3.out, tst-gettext5.out): Likewise.
31375 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31376 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31377 * intl/tst-codeset.sh: Remove.
31378 * intl/tst-gettext3.sh: Likewise.
31379 * intl/tst-gettext5.sh: Likewise.
31381 2012-08-17 Roland McGrath <roland@hack.frob.com>
31383 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31384 * sysdeps/unix/syscalls.list: ... here.
31386 * sysdeps/posix/getaddrinfo.c
31387 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31388 (gaiconf_init, gaiconf_reload): Use them.
31389 [!_STATBUF_ST_NSEC]
31390 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31391 Define using time_t rather than struct timespec.
31393 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31394 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31396 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31398 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31399 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31402 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31403 __libc_cleanup_push argument.
31405 * bits/param.h: New file.
31406 * misc/sys/param.h: New file.
31407 * include/sys/param.h: New file.
31408 * misc/Makefile (headers): Add bits/param.h.
31409 * sysdeps/generic/sys/param.h: File removed.
31410 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31411 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31412 * sysdeps/mach/hurd/bits/param.h: New file.
31413 * sysdeps/mach/hurd/sys/param.h: File removed.
31415 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31418 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31420 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31421 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31424 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31425 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31426 rather than -D_IO_MTSAFE_IO conditionally.
31427 * stdio-common/Makefile (CPPFLAGS): Likewise.
31428 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31429 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31430 Use $(libio-mtsafe).
31431 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31432 of -D_IO_MTSAFE_IO.
31433 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31434 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31435 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31436 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31437 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31438 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31439 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31440 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31441 (CFLAGS-fread_u_chk.c): Likewise.
31442 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31443 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31444 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31445 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31446 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31447 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31448 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31449 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31450 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31452 * libio/Makefile: Test [$(libc-reentrant) = yes]
31453 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31456 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31457 * sysdeps/pthread/configure: File removed.
31458 * sysdeps/pthread/Makeconfig: New file.
31459 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31460 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31462 2012-08-16 Gary Benson <gbenson@redhat.com>
31464 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31465 unmapping the first object in a namespace.
31467 2012-08-16 Roland McGrath <roland@hack.frob.com>
31469 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31470 (__internal_setnetgrent): ... this. Add internal_function to
31471 definition. Add libc_hidden_def.
31472 (setnetgrent): Update caller.
31473 (internal_endnetgrent): Renamed to ...
31474 (__internal_endnetgrent): ... this. Add internal_function to
31475 definition. Add libc_hidden_def.
31476 (endnetgrent): Update caller.
31477 (internal_getnetgrent_r): Renamed to ...
31478 (__internal_getnetgrent_r): ... this. Add internal_function to
31479 definition. Add libc_hidden_def.
31480 (__getnetgrent_r): Update caller.
31481 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31483 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31485 * stdlib/longlong.h: Update from GCC.
31487 2012-08-16 Roland McGrath <roland@hack.frob.com>
31489 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31490 on _QL, which is set by umul_ppmm but never used.
31491 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31492 variables, which are set by GMP macros but never used.
31493 * stdio-common/_itowa.c (_itowa): Likewise.
31494 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31495 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31497 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31499 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31500 struct La_sh_regs is not constant.
31501 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31502 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31503 and struct La_sparc64_regs are not constant.
31505 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31507 * sysdeps/unix/sysv/linux/kernel-features.h
31508 (__ASSUME_POSIX_TIMERS): Remove.
31509 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31510 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31511 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31512 Make code unconditional.
31513 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31514 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31515 Make code unconditional.
31516 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31517 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31518 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31519 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31520 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31521 Make code unconditional.
31522 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31523 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31524 (__libc_missing_posix_timers): Remove.
31526 2012-08-15 Roland McGrath <roland@hack.frob.com>
31528 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31529 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31531 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31533 * elf/dl-sym.c: Include <stdlib.h>.
31535 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31536 constants, which avoids warnings in 32-bit builds.
31538 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31539 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31541 * misc/lseek.c: File moved to ...
31542 * io/lseek.c: ... here.
31544 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31546 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31547 shifting LEN more than 31 bits at once.
31549 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31552 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31553 segmentation fault for a case of two empty input strings.
31554 * string/test-strncasecmp.c (check1): Renamed to...
31555 (bz12205): ...this.
31556 (bz14195): Add new testcase for two empty input strings and N > 0.
31557 (test_main): Call new testcase, adapt for renamed function.
31559 2012-08-15 Andreas Jaeger <aj@suse.de>
31562 * crypt/md5test2.c: New test, based on test supplied by Serge
31563 Belyshev <belyshev@depni.sinp.msu.ru>.
31564 * crypt/Makefile (xtests): Add md5test-giant..
31565 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31567 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31570 * crypt/md5.c (md5_process_block): Don't assume the buffer
31571 length is less than 2**32.
31572 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31573 length is less than 2**64.
31575 2012-08-15 Roland McGrath <roland@hack.frob.com>
31577 * string/str-two-way.h: Include <sys/param.h>.
31578 (MAX): Macro removed.
31580 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31581 Move #define and #undef of memmove to just before and after
31582 including <string.h>.
31584 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31585 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31586 and after including <string.h>. Move declarations of
31587 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31588 to before #include "string/memmove.c".
31590 * include/dirent.h: Declare __getdirentries.
31592 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31593 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31595 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31597 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31598 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31599 * sysdeps/i386/configure: Regenerated.
31600 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31601 STABS_CURRENT_FILE, and STABS_FUN.
31602 (END): Remove call to STABS_FUN_END.
31603 (STABS_CURRENT_FILE1): Delete.
31604 (STABS_CURRENT_FILE): Likewise.
31605 (STABS_FUN): Likewise.
31606 (STABS_FUN_END): Likewise.
31607 (STABS_FUN2): Likewise.
31608 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31609 * sysdeps/x86_64/configure: Regenerated.
31611 2012-08-14 Roland McGrath <roland@hack.frob.com>
31613 * elf/dl-open.c: Include <atomic.h>.
31614 * elf/dl-lookup.c: Likewise.
31616 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31618 * sysdeps/unix/sysv/linux/kernel-features.h
31619 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31620 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31622 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31624 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31625 condition on __ASSUME_CLONE_THREAD_FLAGS.
31627 2012-08-14 Andreas Jaeger <aj@suse.de>
31629 * sysdeps/i386/fpu/libm-test-ulps: Update.
31631 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31633 * include/atomic.h (atomic_exchange_and_add): Split into ...
31634 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31637 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31641 2012-08-13 Jeff Law <law@redhat.com>
31643 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31644 null byte in the output string.
31646 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31648 * sysdeps/unix/sysv/linux/kernel-features.h
31649 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31650 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31651 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31652 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31653 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31654 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31655 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31657 2012-08-09 Jeff Law <law@redhat.com>
31660 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31661 When avoid_arena is set, don't retry in the that arena. Pick the
31662 next one, whatever it might be.
31663 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31664 (arena_lock): Pass in new parameter to arena_get2.
31665 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31667 (__libc_malloc): Unify retrying after main arena failure with
31668 __libc_memalign version.
31669 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31671 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31674 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31675 to __redirect_strstr.
31676 (__strstr_sse42): Use typeof __redirect_strstr.
31677 (__strstr_ia32): Likewise.
31678 (__libc_strstr): New prototype.
31679 (strstr): Renamed to ...
31680 (__libc_strstr): This.
31681 (strstr): New strong alias of __libc_strstr.
31682 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31683 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31686 (__libc_time): New prototype.
31687 (time_ifunc): Replace time with __libc_time.
31688 (time): New strong alias and hidden definition of __libc_time.
31689 (__GI_time): Remove strong alias.
31690 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31691 Include <stddef.h>.
31692 (memmove): Redefined to __redirect_memmove.
31693 (__memmove_sse2): Use typeof __redirect_memmove.
31694 (__memmove_ssse3): Likewise.
31695 (__memmove_ssse3_back): Likewise.
31696 (__libc_memmove): New prototype.
31697 (memmove): Renamed to ...
31698 (__libc_memmove): This.
31699 (memmove): New strong alias of __libc_memmove.
31701 2012-08-08 Mark Salter <msalter@redhat.com>
31704 (R_MN10300_TLS_GD): Define.
31705 (R_MN10300_TLS_LD): Likewise.
31706 (R_MN10300_TLS_LDO): Likewise.
31707 (R_MN10300_TLS_GOTIE): Likewise.
31708 (R_MN10300_TLS_IE): Likewise.
31709 (R_MN10300_TLS_LE): Likewise.
31710 (R_MN10300_TLS_DTPMOD): Likewise.
31711 (R_MN10300_TLS_DTPOFF): Likewise.
31712 (R_MN10300_TLS_TPOFF): Likewise.
31713 (R_MN10300_SYM_DIFF): Likewise.
31714 (R_MN10300_ALIGN): Likewise.
31715 (R_MN10300_NUM): Update.
31717 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31722 2012-08-08 Roland McGrath <roland@hack.frob.com>
31724 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31726 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31727 sysdeps/unix -> sysdeps/posix move.
31728 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31730 2012-08-07 Allan McRae <allan@archlinux.org>
31733 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31734 (SUNOS_CPP): Likewise.
31735 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31737 (open_input): Call CPP using execvp.
31739 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31741 * sysdeps/unix/sysv/linux/kernel-features.h
31742 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31743 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31744 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31745 (__ASSUME_WAITID_SYSCALL): Likewise.
31746 * sysdeps/unix/sysv/linux/dl-execstack.c
31747 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31748 code unconditional.
31749 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31751 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31752 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31753 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31755 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31757 [__ASSUME_WAITID_SYSCALL]: Likewise.
31758 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31760 2012-08-07 Roland McGrath <roland@hack.frob.com>
31762 * sysdeps/unix/closedir.c: Renamed to ...
31763 * sysdeps/posix/closedir.c: ... here.
31764 * sysdeps/unix/dirfd.c: Renamed to ...
31765 * sysdeps/posix/dirfd.c: ... here.
31766 * sysdeps/unix/dirstream.h: Renamed to ...
31767 * sysdeps/posix/dirstream.h: ... here.
31768 * sysdeps/unix/fdopendir.c: Renamed to ...
31769 * sysdeps/posix/fdopendir.c: ... here.
31770 * sysdeps/unix/opendir.c: Renamed to ...
31771 * sysdeps/posix/opendir.c: ... here.
31772 * sysdeps/unix/readdir.c: Renamed to ...
31773 * sysdeps/posix/readdir.c: ... here.
31774 * sysdeps/unix/readdir_r.c: Renamed to ...
31775 * sysdeps/posix/readdir_r.c: ... here.
31776 * sysdeps/unix/rewinddir.c: Renamed to ...
31777 * sysdeps/posix/rewinddir.c: ... here.
31778 * sysdeps/unix/seekdir.c: Renamed to ...
31779 * sysdeps/posix/seekdir.c: ... here.
31780 * sysdeps/unix/telldir.c: Renamed to ...
31781 * sysdeps/posix/telldir.c: ... here.
31782 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31783 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31784 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31785 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31787 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31788 * bits/fcntl.h: ... here.
31790 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31792 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31793 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31794 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31795 (struct flock): Move l_start, l_len to the beginning.
31796 Use __pid_t for l_pid.
31797 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31798 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31799 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31800 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31801 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31802 [__USE_LARGEFILE64] (struct flock64): New type.
31803 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31805 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31806 * bits/dirent.h: ... here.
31808 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31809 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31811 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31813 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31814 Change from 2.6.0 to 2.6.16.
31815 * sysdeps/unix/sysv/linux/configure: Regenerated.
31816 * sysdeps/unix/sysv/linux/kernel-features.h
31817 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31818 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31820 (__ASSUME_UTIMES): Likewise.
31821 (__ASSUME_CLONE_STOPPED): Remove.
31822 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31823 architectures, not kernel version.
31824 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31825 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31826 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31827 (__ASSUME_WAITID_SYSCALL): Likewise.
31828 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31829 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31830 * README: State 2.6.16 as minimum Linux kernel version. Do not
31831 refer to older versions.
31833 2012-08-06 Roland McGrath <roland@hack.frob.com>
31835 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31836 Define alphasort64 as an alias.
31837 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31838 Define versionsort64 as an alias.
31839 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31840 Define scandir64 as an alias.
31841 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31842 Define scandirat64 as an alias.
31843 * dirent/alphasort64.c (alphasort64):
31844 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31845 * dirent/versionsort64.c: Likewise.
31846 * dirent/scandir64.c: Likewise.
31847 * dirent/scandirat64.c: Likewise.
31848 * sysdeps/wordsize-64/alphasort.c: File removed.
31849 * sysdeps/wordsize-64/alphasort64.c: File removed.
31850 * sysdeps/wordsize-64/scandir.c: File removed.
31851 * sysdeps/wordsize-64/scandir64.c: File removed.
31852 * sysdeps/wordsize-64/scandirat.c: File removed.
31853 * sysdeps/wordsize-64/scandirat64.c: File removed.
31854 * sysdeps/wordsize-64/versionsort.c: File removed.
31855 * sysdeps/wordsize-64/versionsort64.c: File removed.
31856 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31857 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31858 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31859 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31860 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31861 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31862 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31863 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31865 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31867 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31869 [defined __arch64__ || defined __sparcv9]
31870 (__INO_T_MATCHES_INO64_T): New macro.
31871 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31872 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31873 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31874 * sysdeps/unix/sysv/linux/bits/dirent.h
31875 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31876 (_DIRENT_MATCHES_DIRENT64): New macro.
31878 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31879 Define lockf64 as an alias.
31880 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31881 Define fseeko64 as an alias.
31882 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31883 Define ftello64 as an alias.
31884 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31885 Define _IO_fgetpos64 and fgetpos64 as aliases.
31886 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31887 Define _IO_fsetpos64 and fsetpos64 as aliases.
31888 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31889 Conditionalize body on this.
31890 * libio/fseeko64.c: Likewise.
31891 * libio/ftello64.c: Likewise.
31892 * libio/iofgetpos64.c: Likewise.
31893 * libio/iofsetpos64.c: Likewise.
31894 * sysdeps/wordsize-64/lockf.c: File removed.
31895 * sysdeps/wordsize-64/lockf64.c: File removed.
31896 * sysdeps/wordsize-64/fseeko.c: File removed.
31897 * sysdeps/wordsize-64/fseeko64.c: File removed.
31898 * sysdeps/wordsize-64/ftello.c: File removed.
31899 * sysdeps/wordsize-64/ftello64.c: File removed.
31900 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31901 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31902 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31903 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31904 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31905 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31906 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31908 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31910 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31911 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31912 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31913 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31915 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31917 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31919 [defined __arch64__ || defined __sparcv9]
31920 (__OFF_T_MATCHES_OFF64_T): New macro.
31921 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31922 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31924 (__OFF_T_MATCHES_OFF64_T): New macro.
31926 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31928 * stdlib/secure-getenv.c (__secure_getenv): Replace
31929 GLIBC_2_16 with GLIBC_2_17.
31931 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31933 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31934 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31936 2012-08-03 David S. Miller <davem@davemloft.net>
31938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31940 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31942 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31944 (__ASSUME_CORRECT_SI_PID): Likewise.
31945 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31946 (__ASSUME_TMPFS_NAME): Likewise.
31947 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31948 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31949 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31950 (HAVE_AUX_SECURE): Make definition unconditional.
31951 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31952 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31954 2012-08-03 Roland McGrath <roland@hack.frob.com>
31956 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31957 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31958 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31959 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31960 __eloop_threshold instead of SYMLOOP_MAX.
31962 * sysdeps/generic/eloop-threshold.h: New file.
31963 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31965 * elf/chroot_canon.c (chroot_canon): Likewise.
31967 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31970 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31971 Change to 2.6.0 everywhere.
31972 * sysdeps/unix/sysv/linux/configure: Regenerated.
31973 * sysdeps/unix/sysv/linux/kernel-features.h
31974 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31975 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31977 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31978 (__ASSUME_FUTEX_REQUEUE): Remove.
31979 (__ASSUME_STATFS64): Define unconditionally.
31980 (__ASSUME_AT_SECURE): Likewise.
31981 (__ASSUME_CORRECT_SI_PID): Likewise.
31982 (__ASSUME_TGKILL): Define without depending on kernel version for
31984 (__ASSUME_UTIMES): Likewise.
31985 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31987 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31988 (__ASSUME_TMPFS_NAME): Likewise.
31989 * README: Update reference to Linux kernel versions.
31991 2012-08-02 Marek Polacek <polacek@redhat.com>
31994 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31995 libc_cv_asm_type_prefix with %.
31996 * configure: Regenerated.
31997 * include/libc-symbols.h: Remove comment about
31998 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31999 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32000 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32001 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32002 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32003 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32004 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32005 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32006 * elf/tst-unique2mod1.c: Likewise.
32007 * elf/tst-unique1mod2.c: Likewise.
32008 * elf/tst-unique1mod1.c: Likewise.
32009 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32010 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32011 Replace ASM_TYPE_DIRECTIVE with .type.
32012 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32013 * sysdeps/i386/sysdep.h: Likewise.
32014 * sysdeps/x86_64/sysdep.h: Likewise.
32015 * sysdeps/sh/sysdep.h: Likewise.
32016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32017 Do not define ASM_TYPE_DIRECTIVE.
32018 * sysdeps/powerpc/sysdep.h: Likewise.
32019 * sysdeps/powerpc/powerpc32/sysdep.h:
32020 Replace ASM_TYPE_DIRECTIVE with .type.
32021 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32022 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32023 * sysdeps/i386/fpu/e_powf.S: Likewise.
32024 * sysdeps/i386/fpu/e_expl.S: Likewise.
32025 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32026 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32027 * sysdeps/i386/fpu/e_pow.S: Likewise.
32028 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32029 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32030 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32031 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32032 * sysdeps/i386/fpu/e_log2.S: Likewise.
32033 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32034 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32035 * sysdeps/i386/fpu/e_powl.S: Likewise.
32036 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32037 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32038 * sysdeps/i386/fpu/e_logl.S: Likewise.
32039 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32040 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32041 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32042 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32043 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32044 * sysdeps/i386/fpu/e_log.S: Likewise.
32045 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32046 * sysdeps/i386/fpu/e_logf.S: Likewise.
32047 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32048 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32049 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32050 * sysdeps/i386/fpu/e_log10.S: Likewise.
32051 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32052 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32053 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32054 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32055 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32056 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32057 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32058 * sysdeps/i386/i686/strtok.S: Likewise.
32059 * sysdeps/i386/i386-mcount.S: Likewise.
32060 * sysdeps/i386/strtok.S: Likewise.
32061 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32062 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32063 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32064 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32065 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32066 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32067 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32068 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32069 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32070 * sysdeps/x86_64/_mcount.S: Likewise.
32071 * sysdeps/x86_64/strtok.S: Likewise.
32072 * sysdeps/sh/_mcount.S: Likewise.
32074 2012-08-01 Roland McGrath <roland@hack.frob.com>
32076 * libio/iofopen.c: Include <fcntl.h>.
32077 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32078 (_IO_fopen64, fopen64): Define as aliases.
32079 * libio/iofopen64.c: Include <fcntl.h>.
32080 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32081 Conditionalize body on this.
32082 * sysdeps/wordsize-64/iofopen.c: File removed.
32083 * sysdeps/wordsize-64/iofopen64.c: File removed.
32085 2012-08-01 Marek Polacek <polacek@redhat.com>
32087 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32088 Use dlfcn directly instead of a variable.
32089 (binfmt-subdir): Do not define.
32092 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32094 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32095 Remove all definitions.
32096 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32097 <kernel-features.h>.
32098 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32099 (miss_F_GETOWN_EX): Remove all definitions.
32100 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32102 [!__ASSUME_FCNTL64]: Remove conditional code.
32103 [__ASSUME_FCNTL64]: Make code unconditional.
32104 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32105 <kernel-features.h>.
32106 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32107 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32108 (lockf64) [__NR_fcntl64]: Make code unconditional.
32109 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32111 * sysdeps/unix/sysv/linux/kernel-features.h
32112 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32113 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32114 Make code unconditional.
32115 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32116 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32118 [__NR_vfork]: Make code unconditional.
32119 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32120 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32122 [__NR_vfork]: Make code unconditional.
32123 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32124 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32126 2012-08-01 Roland McGrath <roland@hack.frob.com>
32128 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32129 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32131 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32132 Define mkstemp64 as an alias.
32133 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32134 Define mkstemps64 as an alias.
32135 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32136 Define mkostemp64 as an alias.
32137 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32138 Define mkostemps64 as an alias.
32139 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32140 Conditionalize body on this.
32141 * misc/mkostemp64.c: Likewise.
32142 * misc/mkostemps64.c: Likewise.
32143 * misc/mkstemps64.c: Likewise.
32144 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32145 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32146 * sysdeps/wordsize-64/mkostemp.c: File removed.
32147 * sysdeps/wordsize-64/mkstemp.c: File removed.
32148 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32149 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32150 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32151 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32154 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32155 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32156 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32157 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32159 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32160 compat_symbol macros from <shlib-compat.h> rather than the underlying
32161 default_symbol_version and symbol_version macros, so that DEFAULT
32162 lines in shlib-versions are respected.
32163 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32165 2012-08-01 Florian Weimer <fweimer@redhat.com>
32167 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32168 Declare with warn_unused_result.
32169 (setgid, setregid, setegid, setresgid): Likewise.
32170 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32172 * WUR-REPORT: Remove set*id functions.
32174 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32176 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32178 2012-07-31 Roland McGrath <roland@hack.frob.com>
32181 * include/sys/socket.h (__libc_accept, __libc_accept4):
32182 Add attribute_hidden.
32183 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32185 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32187 * inet/getnetgrent_r.c (setup): Likewise.
32189 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32191 2012-07-31 David S. Miller <davem@davemloft.net>
32193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32195 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32198 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32199 value between 1.0 and 2.0 and smaller part has absolute value less
32201 * math/s_clog10.c (__clog10): Likewise.
32202 * math/s_clog10f.c (__clog10f): Likewise.
32203 * math/s_clog10l.c (__clog10l): Likewise.
32204 * math/s_clogf.c (__clogf): Likewise.
32205 * math/s_clogl.c (__clogl): Likewise.
32206 * math/libm-test.inc (clog_test): Add more tests.
32207 (clog10_test): Likewise.
32208 * sysdeps/i386/fpu/libm-test-ulps: Update.
32209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32211 2012-07-31 Florian Weimer <fweimer@redhat.com>
32213 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32214 Exit with zero in case no suitable GID is found, and write a
32215 message to standard error.
32217 2012-07-30 Roland McGrath <roland@hack.frob.com>
32219 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32221 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32222 (MAXPATHLEN): Removed.
32223 (NOGROUP, NODEV): New macros.
32224 (setbit, clrbit, isset, isclr): New macros.
32225 (howmany, roundup, powerof2): New macros.
32226 (DEV_BSIZE): New macro.
32228 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32229 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32231 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32232 definition on [!__NO_LONG_DOUBLE_MATH].
32234 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32235 PTR_MANGLE and PTR_DEMANGLE.
32237 * socket/accept4.c (accept4): Rename to __libc_accept4.
32238 Define accept4 as a weak alias.
32240 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32241 on [_DIRENT_HAVE_D_TYPE].
32242 * io/ftw.c (ftw_dir): Likewise.
32244 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32246 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32248 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32249 Use the BSD numbers rather than the arbitrary ones we had.
32250 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32251 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32252 (SIGXCPU, SIGXFSZ): New macros.
32255 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32256 initializer on [_LIBC_REENTRANT].
32258 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32259 definitions inside [_POSIX_MAPPED_FILES].
32261 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32263 * dirent/opendir.c: Include <fcntl.h>.
32265 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32266 (__libc_getspecific): Likewise.
32267 (__libc_key_create): Likewise.
32269 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32270 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32271 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32272 (tmpfile64): Define as alias.
32273 * sysdeps/wordsize-64/tmpfile.c: File removed.
32274 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32275 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32276 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32278 * stdio-common/vfscanf.c: Include <stdbool.h>.
32279 * nss/makedb.c: Likewise.
32280 * stdio-common/_i18n_number.h: Likewise.
32281 * argp/argp-help.c: Likewise.
32282 * posix/wordexp.c: Likewise.
32283 * sysdeps/posix/spawni.c: Likewise.
32284 * nss/nss_files/files-initgroups.c: Likewise.
32285 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32286 * nss/nss_files/files-initgroups.c: Likewise.
32287 * nss/nss_db/db-netgrp.c: Likewise.
32288 * nss/nss_db/db-initgroups.c: Likewise.
32289 * io/fchmodat.c: Include <sys/stat.h>.
32291 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32292 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32294 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32297 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32298 Add multiple inclusion protection.
32300 2012-07-27 David S. Miller <davem@davemloft.net>
32302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32304 2012-07-27 Gary Benson <gbenson@redhat.com>
32307 * elf/rtld.c: Include <stap-probe.h>.
32308 (dl_main): Added static probes "init_start" and "init_complete".
32309 * elf/dl-load.c: Include <stap-probe.h>.
32310 (lose): Take new parameter "nsid".
32311 Added static probe "map_failed".
32312 (_dl_map_object_from_fd): Pass namespace id to lose.
32313 Added static probe "map_start".
32314 (open_verify): Pass namespace id to lose.
32315 * elf/dl-open.c: Include <stap-probe.h>.
32316 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32317 and "reloc_complete".
32318 * elf/dl-close.c: Include <stap-probe.h>.
32319 (_dl_close_worker): Added static probes "unmap_start" and
32321 * elf/rtld-debugger-interface.txt: New file documenting the above.
32323 2012-07-26 Roland McGrath <roland@hack.frob.com>
32325 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32326 rather than a string variable.
32327 * sunrpc/rpc_main.c (h_output): Likewise.
32328 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32330 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32332 * inet/check_native.c: New file.
32334 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32337 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32338 if larger part has absolute value 1.0.
32339 * math/s_clog10.c (__clog10): Likewise.
32340 * math/s_clog10f.c (__clog10f): Likewise.
32341 * math/s_clog10l.c (__clog10l): Likewise.
32342 * math/s_clogf.c (__clogf): Likewise.
32343 * math/s_clogl.c (__clogl): Likewise.
32344 * math/libm-test.inc (clog_test): Add more tests.
32345 (clog10_test): Likewise.
32346 * sysdeps/i386/fpu/libm-test-ulps: Update.
32347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32349 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32350 (pltexit): Likewise.
32351 (La_regs): Likewise.
32352 (La_retval): Likewise.
32353 (int_retval): Likewise.
32354 Update #error for removed macros to refer only to definitions in
32356 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32358 (pltexit): Likewise.
32359 (La_regs): Likewise.
32360 (La_retval): Likewise.
32361 (int_retval): Likewise.
32362 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32364 (pltexit): Likewise.
32365 (La_regs): Likewise.
32366 (La_retval): Likewise.
32367 (int_retval): Likewise.
32368 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32370 (pltexit): Likewise.
32371 (La_regs): Likewise.
32372 (La_retval): Likewise.
32373 (int_retval): Likewise.
32374 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32376 (pltexit): Likewise.
32377 (La_regs): Likewise.
32378 (La_retval): Likewise.
32379 (int_retval): Likewise.
32380 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32382 (pltexit): Likewise.
32383 (La_regs): Likewise.
32384 (La_retval): Likewise.
32385 (int_retval): Likewise.
32386 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32388 (pltexit): Likewise.
32389 (La_regs): Likewise.
32390 (La_retval): Likewise.
32391 (int_retval): Likewise.
32392 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32393 macro definitions in tst-audit.h.
32394 * sysdeps/i386/tst-audit.h: New file.
32395 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32396 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32397 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32398 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32399 * sysdeps/sh/tst-audit.h: Likewise.
32400 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32401 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32402 * sysdeps/x86_64/tst-audit.h: Likewise.
32404 2012-07-26 Andreas Jaeger <aj@suse.de>
32406 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32409 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32410 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32411 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32413 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32414 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32415 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32417 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32420 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32422 (si_call_addr, si_syscall, si_arch): Define new macro.
32423 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32425 (si_call_addr, si_syscall, si_arch): Define new marcro.
32426 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32428 (si_call_addr, si_syscall, si_arch): Define new macro.
32429 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32431 (si_call_addr, si_syscall, si_arch): Define new macro.
32433 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32436 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32437 Change to 2.4.21 where previously 2.4.1.
32438 * sysdeps/unix/sysv/linux/configure: Regenerated.
32439 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32440 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32441 Linux kernel version.
32442 (__ASSUME_STD_AUXV): Remove.
32443 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32445 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32446 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32447 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32448 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32449 (__ASSUME_NETLINK_SUPPORT): Likewise.
32450 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32451 (__no_netlink_support): Remove conditional definition.
32452 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32454 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32455 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32456 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32457 (if_nameindex_ioctl): Remove.
32458 (if_nameindex_netlink): Do not handle __no_netlink_support.
32459 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32461 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32462 Remove conditional code.
32463 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32465 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32467 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32468 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32469 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32471 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32472 [!__ASSUME_STD_AUXV]: Remove conditional code.
32473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32474 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32475 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32477 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32478 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32480 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32482 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32483 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32485 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32487 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32490 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32493 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32494 code unconditional.
32495 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32497 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32499 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32502 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32504 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32507 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32508 code unconditional.
32509 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32511 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32513 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32516 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32517 code unconditional.
32518 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32520 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32522 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32525 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32527 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32528 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32529 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32530 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32531 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32532 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32533 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32534 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32535 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32536 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32537 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32538 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32539 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32540 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32541 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32542 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32543 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32544 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32545 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32547 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32548 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32551 2012-07-25 Florian Weimer <fweimer@redhat.com>
32553 * Versions.def: Add GLIBC_2.17.
32554 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32555 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32556 Introduce __libc_secure_getenv.
32557 * stdlib/Versions (2.17): Add secure_getenv
32558 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32559 * stdlib/secure-getenv.c: Rename __secure_getenv to
32560 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32561 symbol __secure_getenv for GLIBC_2.0.
32562 * stdlib/tst-secure-getenv.c: New.
32563 * stdlib/Makefile (tests): Add testcase.
32564 * manual/startup.texi (Environment Access): Document
32566 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32567 __libc_secure_getenv.
32568 * inet/ruserpass.c (ruserpass): Likewise.
32569 * malloc/mtrace.c (mtrace): Likewise.
32570 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32571 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32572 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32573 * sysdeps/posix/tempname.c: Likewise. Evaluate
32574 HAVE_SECURE_GETENV.
32575 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32576 __secure_getenv to __libc_secure_getenv.
32577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32590 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32592 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32593 (struct La_i86_retval): Likewise.
32594 (struct La_x86_64_regs): Likewise.
32595 (struct La_x86_64_retval): Likewise.
32596 (struct La_x32_regs): Likewise.
32597 (struct La_x32_retval): Likewise.
32598 (struct La_ppc32_regs): Likewise.
32599 (struct La_ppc32_retval): Likewise.
32600 (struct La_ppc64_regs): Likewise.
32601 (struct La_ppc64_retval): Likewise.
32602 (struct La_sh_regs): Likewise.
32603 (struct La_sh_retval): Likewise.
32604 (struct La_s390_32_regs): Likewise.
32605 (struct La_s390_32_retval): Likewise.
32606 (struct La_s390_64_regs): Likewise.
32607 (struct La_s390_64_retval): Likewise.
32608 (struct La_sparc32_regs): Likewise.
32609 (struct La_sparc32_retval): Likewise.
32610 (struct La_sparc64_regs): Likewise.
32611 (struct La_sparc64_retval): Likewise.
32612 (struct audit_ifaces): Remove architecture-specific pltenter and
32614 * sysdeps/i386/ldsodefs.h: New file.
32615 * sysdeps/powerpc/ldsodefs.h: Likewise.
32616 * sysdeps/s390/ldsodefs.h: Likewise.
32617 * sysdeps/sh/ldsodefs.h: Likewise.
32618 * sysdeps/sparc/ldsodefs.h: Likewise.
32619 * sysdeps/x86_64/ldsodefs.h: Likewise.
32621 2012-07-25 Marek Polacek <polacek@redhat.com>
32624 * math/libm-test.inc (yn_test): Add another test.
32625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32626 to ERANGE when the result is +-Inf.
32627 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32628 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32629 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32630 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32632 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32634 * conform/data/time.h-data (NULL): Use macro-constant. Require
32636 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32638 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32640 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32642 * configure.in <sysdeps resolving>: Correct printing
32644 * configure: Regenerate.
32646 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32648 * math/w_ilogb.c: Include <limits.h>.
32649 * math/w_ilogbl.c: Likewise.
32651 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32653 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32654 va_copy. Document allowing for unavailable va_copy only as
32655 pre-C99 compatibility.
32656 * manual/string.texi (Copying and Concatenation): Use va_copy
32657 instead of __va_copy in concat example.
32659 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32661 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32662 (__sendto): Use create_address_port. Initialize APORT and deallocate
32665 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32666 with O_NOLINK passed to __file_name_lookup.
32668 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32669 with O_NOLINK passed to __file_name_lookup.
32671 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32672 negative N or less than NGIDS.
32674 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32675 type to string_t. Set ERANGE as errno and return it if NAME is not big
32676 enough. Use memcpy instead of strncpy.
32678 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32680 * elf/Makefile (check-data): Remove.
32681 (localplt.data): New vpath directive.
32682 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32683 instead of $(check-data).
32684 * scripts/data/localplt-generic.data: Move to ...
32685 * sysdeps/generic/localplt.data: ... here.
32686 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32687 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32688 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32691 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32694 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32697 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32700 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32703 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32707 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32709 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32710 PPC32 and PPC64 files.
32711 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32712 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32714 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32716 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32717 __makecontext_ret to ...
32718 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32719 ... here and call exit if uc_link is NULL. New file.
32720 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32721 __makecontext_ret.S.
32722 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32723 __makecontext_ret to ...
32724 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32725 ... here and call exit if uc_link is NULL. New file.
32726 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32727 __makecontext_ret.S.
32729 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32731 * elf/elf.h (R_390_IRELATIVE): New definition.
32732 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32733 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32734 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32735 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32736 (elf_machine_lazy_rel): Likewise.
32737 * sysdeps/s390/dl-irel.h: New file.
32738 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32739 * sysdeps/s390/s390-64/memset.S: New asm code.
32740 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32741 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32742 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32743 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32744 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32745 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32746 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32747 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32748 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32749 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32750 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32751 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32752 * sysdeps/s390/s390-32/memset.S: New asm code.
32753 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32755 2012-07-17 Marek Polacek <polacek@redhat.com>
32758 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32759 * sysdeps/s390/s390-64/configure.in: Likewise.
32760 * sysdeps/sparc/configure.in: Likewise.
32761 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32762 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32763 * sysdeps/i386/configure.in: Likewise.
32764 * sysdeps/x86_64/configure.in: Likewise.
32765 * sysdeps/sh/configure.in: Likewise.
32766 * sysdeps/s390/s390-32/configure: Regenerated.
32767 * sysdeps/s390/s390-64/configure: Likewise.
32768 * sysdeps/x86_64/configure: Likewise.
32769 * sysdeps/sh/configure: Likewise.
32770 * sysdeps/powerpc/powerpc64/configure: Likewise.
32771 * sysdeps/powerpc/powerpc32/configure: Likewise.
32772 * sysdeps/sparc/configure: Likwise.
32773 * sysdeps/i386/configure: Likewise.
32775 * elf/dl-open.c: Comment fixes.
32777 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32779 * Makefile [CXX] (check-data): Remove.
32780 [CXX] (c++-types.data): New vpath directive.
32781 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32782 vpath. Do not allow for C++ type data being missing.
32783 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32784 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32785 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32786 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32787 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32788 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32789 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32792 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32795 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32798 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32801 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32804 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32807 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32810 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32813 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32814 definitions to architecture-specific files.
32815 (TLS_IE): Likewise.
32816 (TLS_LD): Likewise.
32817 (TLS_GD): Likewise.
32818 * sysdeps/i386/tls-macros.h: New file.
32819 * sysdeps/powerpc/tls-macros.h: Likewise.
32820 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32821 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32822 * sysdeps/sh/tls-macros.h: Likewise.
32823 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32824 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32825 * sysdeps/x86_64/tls-macros.h: Likewise.
32827 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32829 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32830 zero value for regular exit case.
32832 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32833 (__start_context): Preserve zero value for regular exit case.
32835 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32836 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32838 * manual/setjmp.texi (setcontext): Clarify normal process
32839 termination when uc_link is the null pointer.
32840 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32843 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32845 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32846 preprocessor. Test for each exception mask separately.
32848 2012-07-16 Andreas Jaeger <aj@suse.de>
32850 * po/ru.po: Update from translation team.
32852 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32854 * conform/data/string.h-data (NULL): Use macro-constant. Require
32856 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32857 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32858 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32859 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32862 2012-07-13 Andreas Jaeger <aj@suse.de>
32864 * po/fr.po: Update from translation team.
32866 2012-07-12 Marek Polacek <polacek@redhat.com>
32869 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32870 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32873 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32876 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32877 Change to 2.4.1 where previously 2.4.0.
32878 * sysdeps/unix/sysv/linux/configure: Regenerated.
32879 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32880 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32882 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32883 (__ASSUME_AT_CLKTCK): Remove.
32884 (__ASSUME_AT_PAGESIZE): Likewise.
32885 (__ASSUME_AT_XID): Likewise.
32886 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32887 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32888 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32890 (HAVE_AUX_PAGESIZE): Likewise.
32891 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32892 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32893 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32895 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32899 the temporary buffer used to invoke __gethostbyname2_r,
32900 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32901 host_data / struct gaih_addrtuple.
32902 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32903 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32904 header file nss/nsswitch.h.
32905 * nss/nsswitch.h (global scope): Add definition of implementation
32906 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32907 resolv/nss_dns/dns-host.c).
32909 2012-07-11 Andreas Jaeger <aj@suse.de>
32911 * po/fr.po: Update from translation team.
32913 * po/sv.po: Update from translation team
32914 * po/fr.po: Another update from translation team.
32916 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32918 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32919 for subnormals or multiply small sinh result by itself.
32920 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32923 2012-07-11 David S. Miller <davem@davemloft.net>
32925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32927 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32930 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32931 (INTERNAL_MARK): Shift it here.
32933 2012-07-10 Marek Polacek <polacek@redhat.com>
32936 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32937 libc_cv_asm_global_directive with .globl.
32938 * configure: Regenerated.
32939 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32941 * sysdeps/i386/configure: Regenerated.
32942 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32944 * sysdeps/x86_64/configure: Regenerated.
32945 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32946 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32947 * elf/tst-unique2mod2.c: Likewise.
32948 * elf/tst-unique2mod1.c: Likewise.
32949 * elf/tst-unique1mod2.c: Likewise.
32950 * elf/tst-unique1mod1.c: Likewise.
32951 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32952 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32953 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32954 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32955 * sysdeps/mach/sysdep.h: Likewise.
32956 * sysdeps/i386/sysdep.h: Likewise.
32957 * sysdeps/i386/i386-mcount.S: Likewise.
32958 * sysdeps/x86_64/_mcount.S: Likewise.
32959 * sysdeps/x86_64/sysdep.h: Likewise.
32960 * sysdeps/sh/_mcount.S: Likewise.
32961 * sysdeps/sh/sysdep.h: Likewise.
32962 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32963 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32964 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32965 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32966 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32967 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32968 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32969 * locale/localeinfo.h: Likewise.
32970 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32971 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32973 2012-07-09 Roland McGrath <roland@hack.frob.com>
32976 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32978 * manual/message.texi (The Uniforum approach): Likewise.
32979 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32980 (glibc iconv Implementation): Likewise.
32982 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32985 * math/s_clog.c (__clog): Avoid scaling a value down where that
32986 could result in underflow.
32987 * math/s_clog10.c (__clog10): Likewise.
32988 * math/s_clog10f.c (__clog10f): Likewise.
32989 * math/s_clog10l.c (__clog10l): Likewise.
32990 * math/s_clogf.c (__clogf): Likewise.
32991 * math/s_clogl.c (__clogl): Likewise.
32992 * math/libm-test.inc (clog_test): Add more tests.
32993 (clog10_test): Likewise.
32994 * sysdeps/i386/fpu/libm-test-ulps: Update.
32995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33000 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33001 by 7 not 8 to examine high bit of fractional part.
33004 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33005 for call to __mcount_internal.
33006 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33007 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33008 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33010 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33013 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33014 approximation for values within 0x1p-13f of an odd multiple of
33016 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33017 exception. Add more tests.
33018 * sysdeps/i386/fpu/libm-test-ulps: Update.
33021 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33022 inputs and return -1 for them. Do not check for +Inf in case not
33023 reachable for +Inf.
33024 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33025 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33027 and return -1 for them. Do not check for +Inf in case not
33028 reachable for +Inf.
33029 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33031 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33032 and return -1 for them. Do not check for +Inf in case not
33033 reachable for +Inf.
33034 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33035 spurious underflow.
33036 * sysdeps/i386/fpu/libm-test-ulps: Update.
33037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33039 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33041 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33043 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33047 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33048 could result in spurious underflow. Scale down values above
33049 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33050 * math/s_csqrtf.c (__csqrtf): Likewise.
33051 * math/s_csqrtl.c (__csqrtl): Likewise.
33052 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33053 spurious underflow.
33054 * sysdeps/i386/fpu/libm-test-ulps: Update.
33055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33057 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33059 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33061 * catgets/xopen-msg.awk: New file.
33062 * catgets/xopen-msg.sed: Removed.
33064 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33066 * intl/po2test.awk: New file.
33067 * intl/po2test.sed: Removed.
33069 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33072 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33073 or multiply small sinh result by itself.
33074 * math/s_ctanf.c (__ctanf): Likewise.
33075 * math/s_ctanh.c (__ctanh): Likewise.
33076 * math/s_ctanhf.c (__ctanhf): Likewise.
33077 * math/s_ctanhl.c (__ctanhl): Likewise.
33078 * math/s_ctanl.c (__ctanl): Likewise.
33079 * math/libm-test.inc (ctan_test_tonearest): New function.
33080 (ctan_test_towardzero): Likewise.
33081 (ctan_test_downward): Likewise.
33082 (ctan_test_upward): Likewise.
33083 (ctanh_test_tonearest): Likewise.
33084 (ctanh_test_towardzero): Likewise.
33085 (ctanh_test_downward): Likewise.
33086 (ctanh_test_upward): Likewise.
33087 (main): Call these new functions.
33088 * sysdeps/i386/fpu/libm-test-ulps: Update.
33089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33091 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33093 * .gitignore: Delete /ports entry.
33095 2012-07-03 Andreas Jaeger <aj@suse.de>
33097 * po/bg.po: Update from translation team.
33098 * po/cs.po: Likewise.
33099 * po/de.po: Likewise.
33100 * po/hr.po: Likewise.
33101 * po/nl.pl: Likewise.
33102 * po/pl.po: Likewise.
33103 * po/vi.po: Likewise.
33105 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33107 * Makeconfig [!+link] (+link-before-libc): New variable.
33108 [!+link] (+link-after-libc): Likewise.
33109 [!+link] (+link-tests): Likewise.
33110 [!+link] (+link): Define in terms of $(+link-before-libc) and
33111 $(+link-after-libc).
33112 [!+link-static] (+link-static-before-libc): New variable.
33113 [!+link-static] (+link-static-after-libc): Likewise.
33114 [!+link-static] (+link-static-tests): Likewise.
33115 [!+link-static] (+link-static): Define in terms of
33116 $(+link-static-before-libc) and $(+link-static-after-libc).
33117 [build-shared] (link-libc-before-gnulib): New variable.
33118 [build-shared] (link-libc-tests): Likewise.
33119 [build-shared] (link-libc): Define in terms of
33120 $(link-libc-before-gnulib).
33121 [!build-shared] (link-libc-tests): New variable.
33122 (link-libc-static-tests): New variable.
33123 [!gnulib] (gnulib-arch): New variable.
33124 [!gnulib] (gnulib-tests): Likewise.
33125 [!gnulib] (static-gnulib-arch): Likewise.
33126 [!gnulib] (static-gnulib-tests): Likewise.
33127 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33128 Define with "=" instead of ":=".
33129 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33130 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33131 * Rules (binaries-all-notests): New variable.
33132 (binaries-all-tests): Likewise.
33133 (binaries-static-notests): Likewise.
33134 (binaries-static-tests): Likewise.
33135 (binaries-all): Define using $(binaries-all-notests) and
33136 $(binaries-all-tests).
33137 (binaries-static): Define using $(binaries-static-notests) and
33138 $(binaries-static-tests).
33139 (binaries-shared-tests): New variable.
33140 (binaries-shared-notests): Likewise.
33141 (binaries-shared): Remove variable.
33142 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33143 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33144 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33145 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33146 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33147 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33148 * elf/Makefile (sln-modules): New variable.
33149 (extra-objs): Add $(sln-modules:=.o).
33150 (ldconfig-modules): Add static-stubs.
33151 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33152 * elf/static-stubs.c: New file.
33155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33156 by 7 not 8 to examine high bit of fractional part. Use volatile
33157 variables when splitting into final array of floats if
33158 __FLT_EVAL_METHOD__ != 0.
33159 * math/libm-test.inc (cos_test): Add another test.
33160 (sin_test): Likewise.
33161 * sysdeps/i386/fpu/libm-test-ulps: Update.
33164 * math/libm-test.inc (cosh_test): Add more tests.
33166 * version.h (RELEASE): Set to "development".
33167 (VERSION): Set to "2.16.90".
33169 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33171 * NEWS: Update copyright. Remove last-updated date.
33172 Mention math library bug fixes and timezone data changes.
33173 * README: Mention GNU/Hurd, x32, and HPPA support status.
33175 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33177 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33179 2012-06-27 Andreas Jaeger <aj@suse.de>
33181 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33183 2012-06-25 Andreas Jaeger <aj@suse.de>
33185 * sysdeps/s390/fpu/libm-test-ulps: Update.
33187 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33188 Thomas Schwinge <thomas@codesourcery.com>
33190 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33191 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33195 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33197 * sysdeps/mach/start.c: Remove file.
33198 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33199 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33200 * sysdeps/sh/init-first.c: Likewise.
33202 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33203 registers for frame unwinding purposes, add CFI directives.
33204 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33205 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33206 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33209 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33210 __fortify_fail returning.
33211 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33213 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33214 sysdeps/sh/____longjmp_chk.S.
33215 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33216 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33217 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33218 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33220 * sysdeps/sh/abort-instr.h: New file.
33221 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33222 process in case exit returns.
33224 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33225 initialize the GOT register before use.
33227 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33228 calculation of ARGC > 4.
33230 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33231 meaningful names to some local labels.
33233 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33234 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33236 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33237 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33238 (__arch_compare_and_exchange_val_16_acq): Likewise.
33239 (__arch_compare_and_exchange_val_32_acq): Likewise.
33240 (atomic_exchange_and_add): Fix gUSA sequence.
33241 (atomic_add): Likewise.
33242 (atomic_add_negative): Likewise.
33243 (atomic_add_zero): Likewise.
33244 (atomic_bit_test_set): Likewise.
33246 2012-06-22 Andreas Schwab <schwab@redhat.com>
33249 * include/link.h (struct link_map): Add l_free_initfini.
33250 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33252 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33253 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33254 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33257 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33259 * configure.in: Use AC_LANG_SOURCE.
33260 * configure: Regenerate.
33262 2012-06-22 Roland McGrath <roland@hack.frob.com>
33264 * configure.in (libc_cv_localstatedir): New substituted variable.
33265 * configure: Regenerated.
33266 * config.make.in (localstatedir): New variable, substituted from
33267 libc_cv_localstatedir.
33268 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33269 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33270 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33271 * sysdeps/gnu/configure: Regenerated.
33273 2012-06-21 Jeff Law <law@redhat.com>
33276 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33277 free. Simplify list management for _LIBC case.
33279 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33282 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33283 Clear sign bit of 64-bit integer value before comparing against
33286 * sysdeps/mach/configure: Regenerated.
33288 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33291 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33293 2012-06-21 Jeff Law <law@redhat.com>
33296 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33297 uint16_t for elements in the "seen" array to avoid char overflows.
33298 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33299 * elf/dl-open.c (dl_open_worker): Likewise.
33301 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33303 * scripts/list-sources.sh: Scan PORTS for translations.
33304 * po/libc.pot: Regenerated.
33306 2012-06-21 Andreas Jaeger <aj@suse.de>
33309 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33311 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33312 * bits/byteswap-16.h (__bswap_16): Likewise.
33313 * bits/byteswap.h (__bswap_constant_16): Likewise.
33315 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33318 * sysdeps/i386/fpu_control.h: Removed.
33319 * sysdeps/x86_64/fpu_control.h: Moved to ...
33320 * sysdeps/x86/fpu_control.h: Here.
33322 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33323 (_FPU_SETCW): Likewise.
33325 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33328 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33329 * sysdeps/x86/fpu/bits/mathinline.h: This.
33330 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33334 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33335 functions if __x86_64__ is defined.
33337 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33339 * string/endian.h: Add !__ASSEMBLER__ condition for including
33340 conversion interfaces.
33342 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33346 of ABS(x) in calculating zero to negative powers other than odd
33348 * math/libm-test.inc (pow_test): Add more tests.
33350 2012-06-15 Andreas Jaeger <aj@suse.de>
33352 * manual/contrib.texi (Contributors): Update entry of Liubov
33353 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33356 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33358 * string/string.h: Add __wur to GNU version of strerror_r.
33360 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33363 * string/Makefile (tests): Add tst-strtok_r.
33364 * string/tst-strtok_r.c: New file.
33365 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33366 RAX_LP/RDX_LP on SAVE_PTR.
33368 2012-06-14 Roland McGrath <roland@hack.frob.com>
33370 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33372 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33374 * libm_test.inc (csqrt_test): Allow more spurious underflow
33376 (j0_test): Likewise.
33377 (j1_test): Likewise.
33378 (y0_test): Likewise.
33379 (y1_test): Likewise.
33381 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33383 * po/Makefile (libc.pot): Use UTF-8 charset.
33385 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33388 Suppress sign-conversion warning from FD_SET.
33389 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33390 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33391 not unsigned long int.
33392 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33394 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33398 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33399 __extern_always_inline instead of __extern_inline.
33400 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33401 (__signbit): Likewise.
33402 (__signbitl): Support C++ namespace.
33403 (lrintf): New inline function.
33405 (llrintf): Likewise.
33406 (llrint): Likewise.
33416 (floorf): Likewise.
33417 (nearbyint): Likewise.
33418 (nearbyintf): Likewise.
33420 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33422 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33423 non-default versions.
33425 2012-06-11 Roland McGrath <roland@hack.frob.com>
33428 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33430 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33432 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33433 (FE_UPWARD, FE_DOWNWARD): Don't define.
33434 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33435 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33437 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33439 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33440 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33442 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33444 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33445 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33446 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33447 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33449 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33452 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33453 * sysdeps/i386/fpu/Implies: New file.
33454 * sysdeps/x86_64/fpu/Implies: Likewise.
33455 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33456 * sysdeps/x86/fpu/bits/fenv.h: This.
33458 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33461 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33464 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33465 character 0xffff that matches the last element of the
33468 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33470 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33473 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33475 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33476 values higher than 25.6283.
33478 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33480 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33481 subnormal exponent extraction and add some __builtin_expect.
33482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33483 Fix for subnormal mantissa calculation.
33485 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33487 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33488 cpu2 is -1 and errno is not ENOSYS.
33490 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33493 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33494 * sysdeps/x86/bits/string.h: This.
33495 * sysdeps/x86_64/bits/string.h: Removed.
33497 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33498 if not compiling for x86-64, but compiling for >= i486.
33500 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33501 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33503 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33504 New macro from Linux kernel 3.4.0.
33505 (FP_XSTATE_MAGIC2): Likewise.
33506 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33507 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33508 (struct _fpx_sw_bytes): New struct.
33509 (struct _xsave_hdr): Likewise.
33510 (struct _ymmh_state): Likewise.
33511 (struct _xstate): Likewise.
33513 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33514 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33515 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33516 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33517 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33518 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33520 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33521 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33522 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33523 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33524 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33525 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33527 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33530 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33531 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33532 (sysdep_headers): Include sys/platform/ppc.h.
33533 * sysdeps/powerpc/test-gettimebase.c: Test for
33534 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33535 * manual/Makefile (appendices): Include platform.texi.
33536 * manual/contrib.texi (Contributors): Update @node pointers.
33537 * manual/maint.texi (Maintenance): Likewise.
33538 (Platform): New node.
33539 * manual/platform.texi: New file. Document the new features.
33541 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33542 Jakub Jelinek <jakub@redhat.com>
33545 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33546 where __builtin_expect is unavailable.
33548 2012-06-03 David S. Miller <davem@davemloft.net>
33550 * stdlib/longlong.h: Updated from GCC.
33552 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33555 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33556 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33559 (GLIBC_2.16): Likewise.
33561 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33563 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33565 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33568 (default-abi): New variable.
33569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33570 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33572 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33574 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33576 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33579 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33580 definition. Document in comment.
33582 2012-06-01 David S. Miller <davem@davemloft.net>
33584 * stdlib/longlong.h: Updated from GCC.
33586 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33589 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33590 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33591 sys/debugreg.h sys/io.h here.
33592 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33593 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33595 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33596 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33597 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33598 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33599 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33600 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33602 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33603 Define only if __x86_64__ is defined.
33605 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33608 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33609 Use int64_t for variable i.
33610 * math/libm-test.inc (fmod_test): Add more tests.
33612 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33613 z computation is not scheduled after fetestexcept.
33614 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33615 Use math_force_eval instead of asm to ensure calculation scheduled
33616 before exception test.
33617 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33618 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33620 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33623 computation is not scheduled after fetestexcept.
33625 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33628 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33629 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33631 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33633 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33634 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33636 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33639 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33641 (__WCHAR_MIN): Support __WORDSIZE == 64.
33642 (__WCHAR_MAX): Likewise.
33644 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33645 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33648 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33649 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33652 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33655 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33656 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33658 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33659 Defined to 1 if __x86_64__ isn't defined.
33660 (_STAT_VER_LINUX_OLD): New.
33661 (st_atime): Remove duplicate.
33662 (st_mtime): Likewise.
33663 (st_ctime): Likewise.
33665 2012-05-31 David S. Miller <davem@davemloft.net>
33667 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33670 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33672 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33676 * elf/dl-reloc.c: Include <_itoa.h>.
33677 (_dl_reloc_bad_type): Remove use of INTUSE.
33678 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33679 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33680 * stdio-common/psiginfo.c (psiginfo): Likewise.
33681 * stdio-common/psignal.c (psignal): Likewise.
33682 * string/strsignal.c (strsignal): Likewise.
33683 * include/signal.h (_sys_siglist): Declare hidden proto.
33684 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33685 INTVARDEF with libc_hidden_data_def.
33686 * stdio-common/itoa-udigits.c: Likewise.
33687 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33688 (_itoa_lower_digits_internal): Remove declaration.
33689 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33690 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33691 (_sys_sigabbrev_internal): Remove aliases.
33692 (_sys_siglist): Define hidden alias.
33694 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33699 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33702 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33703 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33705 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33706 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33707 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33708 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33710 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33712 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33713 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33714 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33716 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33724 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33725 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33726 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33728 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33729 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33730 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33731 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33732 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33733 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33735 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33736 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33738 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33739 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33741 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33742 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33743 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33745 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33746 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33748 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33750 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33751 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33752 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33754 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33756 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33758 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33760 * math/math.h (M_El): Use two more decimal places.
33761 (M_LOG2El): Likewise.
33762 (M_LOG10El): Likewise.
33763 (M_LN2l): Likewise.
33764 (M_LN10l): Likewise.
33766 (M_PI_2l): Likewise.
33767 (M_PI_4l): Likewise.
33768 (M_1_PIl): Likewise.
33769 (M_2_PIl): Likewise.
33770 (M_2_SQRTPIl): Likewise.
33771 (M_SQRT2l): Likewise.
33772 (M_SQRT1_2l): Likewise.
33774 2012-05-31 David S. Miller <davem@davemloft.net>
33776 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33777 values between float registers.
33778 * sysdeps/sparc/sparc64/memset.S: Likewise.
33779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33781 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33783 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33784 -D_FORTIFY_SOURCE=1.
33785 (CPPFLAGS-tst-longjmp_chk.c): Define.
33786 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33787 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33788 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33789 CFLAGS-tst-wchar-h.c.
33791 2012-05-31 Marek Polacek <polacek@redhat.com>
33794 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33795 __endmntent_internal): Remove declaration.
33796 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33797 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33798 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33800 2012-05-30 David S. Miller <davem@davemloft.net>
33802 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33803 (___Q_simulate_exceptions): Use real FP ops rather than writing
33805 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33808 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33811 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33812 * sysdeps/x86/bits/xtitypes.h: This.
33814 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33815 * sysdeps/x86/bits/wordsize.h: This.
33817 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33818 * sysdeps/x86/bits/huge_vall.h: This.
33820 * sysdeps/i386/bits/select.h: Removed.
33821 * sysdeps/x86_64/bits/select.h: Renamed to ...
33822 * sysdeps/x86/bits/select.h: This.
33824 * sysdeps/i386/bits/setjmp.h: Removed.
33825 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33826 * sysdeps/x86/bits/setjmp.h: This.
33828 * sysdeps/i386/bits/mathdef.h: Removed.
33829 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33830 * sysdeps/x86/bits/mathdef.h: This.
33832 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33835 * include/sys/socket.h (__connect_internal)
33836 (__libc_sa_len_internal): Remove declaration.
33837 (__connect, __libc_sa_len): Declare hidden_proto.
33838 (SA_LEN): Remove use of INTUSE.
33839 * socket/connect.c: Add libc_hidden_def.
33840 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33841 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33842 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33844 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33845 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33846 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33847 of adding _internal alias.
33849 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33852 * sysdeps/i386/bits/link.h: Removed.
33853 * sysdeps/i386/bits/linkmap.h: Likewise.
33854 * sysdeps/x86_64/bits/link.h: Renamed to ...
33855 * sysdeps/x86/bits/link.h: This.
33856 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33857 * sysdeps/x86/bits/linkmap.h: This.
33859 * sysdeps/i386/bits/endian.h: Removed.
33860 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33861 * sysdeps/x86/bits/endian.h: This.
33863 * sysdeps/i386/bits/byteswap.h: Removed.
33864 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33865 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33866 * sysdeps/x86/bits/byteswap.h: This.
33867 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33868 * sysdeps/x86/bits/byteswap-16.h: This.
33869 * sysdeps/i386/Implies: Add x86.
33870 * sysdeps/x86_64/Implies: Likewise.
33872 2012-05-30 David S. Miller <davem@davemloft.net>
33874 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33875 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33876 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33877 (FP_TRAPPING_EXCEPTIONS): Define.
33878 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33879 (FP_TRAPPING_EXCEPTIONS): Define.
33880 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33881 subnormals only when inexact has been signalled or underflow
33882 exceptions are enabled.
33883 (_FP_PACK_CANONICAL): Likewise.
33885 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33888 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33889 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33891 2012-05-30 Richard Henderson <rth@twiddle.net>
33893 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33894 with #ifndef NOT_IN_libc.
33896 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33897 marked to avoid plt entry.
33899 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33902 * Makeconfig (default-abi): New macro.
33903 (abi-includes): Likewise.
33904 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33905 $(abi-$(default-abi)-lib-soname) for soname if defined.
33906 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33908 * Makefile (installed-stubs): Likewise.
33909 * include/stubs-biarch.h: Removed.
33910 * scripts/lib-names.awk: Only handle one library at a time.
33911 * scripts/soversions.awk: Remove WORDSIZE support.
33912 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33914 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33916 (syscall-list-default-condition): Likewise.
33917 (syscall-list-default-condition): Likewise.
33918 (syscall-list-includes): Likewise.
33919 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33920 syscall-list-* with abi-*. Handle undefined abi-variants.
33921 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33922 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33923 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33924 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33925 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33926 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33928 (syscall-list-32-options): Likewise.
33929 (syscall-list-32-condition): Likewise.
33930 (syscall-list-64-options): Likewise.
33931 (syscall-list-64-condition): Likewise.
33932 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33934 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33937 (abi-64-ld-soname): New macro.
33938 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33939 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33942 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33943 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33945 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33947 * sysdeps/unix/sysv/linux/kernel-features.h
33948 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33949 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33950 include <kernel-features.h>.
33951 [!__NR_ftruncate64]: Remove conditional code.
33952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33953 [__NR_ftruncate64]: Make code unconditional.
33954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33955 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33956 include <kernel-features.h>.
33957 [!__NR_ftruncate64]: Remove conditional code.
33958 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33959 [__NR_ftruncate64]: Make code unconditional.
33960 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33962 include <kernel-features.h>.
33963 [!__NR_ftruncate64]: Remove conditional code.
33964 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33965 [__NR_ftruncate64]: Make code unconditional.
33966 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33968 include <kernel-features.h>.
33969 [!__NR_ftruncate64]: Remove conditional code.
33970 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33971 [__NR_ftruncate64]: Make code unconditional.
33972 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33974 * configure.in (libc_cv_fpie): Weaken to a compile test using
33975 LIBC_TRY_CC_OPTION.
33976 * configure: Regenerated.
33978 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33993 2012-05-27 David S. Miller <davem@davemloft.net>
33995 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33997 (__Q_simulate_exceptions): Return void. Change to simulate
33998 exceptions by writing into the %fsr.
33999 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34000 (__Qp_handle_exceptions): Likewise.
34002 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34003 __Qp_handle_exceptions.
34004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34005 __Qp_handle_exceptions.
34006 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34007 as unused and give dummy FP_RND_NEAREST initializer.
34008 (FP_INHIBIT_RESULTS): Define.
34009 (___Q_simulate_exceptions): Update declaration.
34010 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34012 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34013 as unused and give dummy FP_RND_NEAREST initializer.
34014 (__Qp_handle_exceptions): Update declaration.
34015 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34018 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34020 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34021 the temporary FPU control word.
34022 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34023 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34024 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34025 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34026 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34027 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34028 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34029 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34030 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34031 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34032 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34034 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34036 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34039 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34041 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34042 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34043 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34044 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34046 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34047 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34050 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34052 * po/h.po: Update from translation team.
34054 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34056 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34058 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34059 handling of denormals.
34060 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34061 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34062 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34063 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34069 2012-05-26 Marek Polacek <polacek@redhat.com>
34072 * math/libm-test.inc (fma_test): Don't always expect underflow
34075 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34078 * elf/tst-execstack.c: Include stackinfo.h.
34079 (do_test): Adjust test case to ensure that pthread_getattr_np
34080 behaviour remains the same after marking stack executable.
34082 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34084 * sysdeps/unix/sysv/linux/kernel-features.h
34085 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34086 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34088 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34089 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34090 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34092 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34093 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34095 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34097 * configure.in: Define the default includes to being none.
34098 * configure: Regenerated.
34100 2012-05-25 Roland McGrath <roland@hack.frob.com>
34102 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34103 * sysdeps/x86_64/setjmp.S: Likewise.
34104 * sysdeps/i386/bsd-setjmp.S: Likewise.
34105 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34106 * sysdeps/i386/setjmp.S: Likewise.
34107 * sysdeps/i386/__longjmp.S: Likewise.
34108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34109 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34111 * include/stap-probe.h: New file.
34112 * configure.in: Handle --enable-systemtap.
34113 * configure: Regenerated.
34114 * config.h.in (USE_STAP_PROBE): New #undef.
34115 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34116 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34117 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34119 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34122 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34123 to 2.4.0 where earlier.
34124 * sysdeps/unix/sysv/linux/configure: Regenerated.
34125 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34126 <kernel-features.h>.
34127 [__ASSUME_32BITUIDS]: Make code unconditional.
34128 [!__ASSUME_32BITUIDS]: Remove conditional code.
34129 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34130 <kernel-features.h>.
34131 [__ASSUME_32BITUIDS]: Make code unconditional.
34132 [!__ASSUME_32BITUIDS]: Remove conditional code.
34133 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34134 [__ASSUME_32BITUIDS]: Make code unconditional.
34135 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34136 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34137 <kernel-features.h>.
34138 [__ASSUME_32BITUIDS]: Make code unconditional.
34139 [!__ASSUME_32BITUIDS]: Remove conditional code.
34140 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34141 <kernel-features.h>.
34142 [__ASSUME_32BITUIDS]: Make code unconditional.
34143 [!__ASSUME_32BITUIDS]: Remove conditional code.
34144 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34145 <kernel-features.h>.
34146 [__ASSUME_32BITUIDS]: Make code unconditional.
34147 [!__ASSUME_32BITUIDS]: Remove conditional code.
34148 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34149 <kernel-features.h>.
34150 [__ASSUME_32BITUIDS]: Make code unconditional.
34151 [!__ASSUME_32BITUIDS]: Remove conditional code.
34152 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34153 <kernel-features.h>.
34154 [__ASSUME_32BITUIDS]: Make code unconditional.
34155 [!__ASSUME_32BITUIDS]: Remove conditional code.
34156 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34157 <kernel-features.h>.
34158 [__ASSUME_32BITUIDS]: Make code unconditional.
34159 [!__ASSUME_32BITUIDS]: Remove conditional code.
34160 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34161 <kernel-features.h>.
34162 [__ASSUME_32BITUIDS]: Make code unconditional.
34163 [!__ASSUME_32BITUIDS]: Remove conditional code.
34164 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34165 <kernel-features.h>.
34166 [__ASSUME_32BITUIDS]: Make code unconditional.
34167 [!__ASSUME_32BITUIDS]: Remove conditional code.
34168 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34169 <kernel-features.h>.
34170 [__ASSUME_32BITUIDS]: Make code unconditional.
34171 [!__ASSUME_32BITUIDS]: Remove conditional code.
34172 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34173 <kernel-features.h>.
34174 [__ASSUME_32BITUIDS]: Make code unconditional.
34175 [!__ASSUME_32BITUIDS]: Remove conditional code.
34176 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34177 <kernel-features.h>.
34178 [__NR_setresgid] (__setresgid): Do not declare.
34179 [__ASSUME_32BITUIDS]: Make code unconditional.
34180 [!__ASSUME_32BITUIDS]: Remove conditional code.
34181 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34182 <kernel-features.h>.
34183 [__NR_setresuid] (__setresuid): Do not declare.
34184 [__ASSUME_32BITUIDS]: Make code unconditional.
34185 [!__ASSUME_32BITUIDS]: Remove conditional code.
34186 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
34211 <kernel-features.h>.
34212 [__ASSUME_32BITUIDS]: Make code unconditional.
34213 [!__ASSUME_32BITUIDS]: Remove conditional code.
34214 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34215 <kernel-features.h>.
34216 [__ASSUME_32BITUIDS]: Make code unconditional.
34217 [!__ASSUME_32BITUIDS]: Remove conditional code.
34218 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34219 <kernel-features.h>.
34220 [__ASSUME_32BITUIDS]: Make code unconditional.
34221 [!__ASSUME_32BITUIDS]: Remove conditional code.
34222 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34223 <kernel-features.h>.
34224 [__ASSUME_32BITUIDS]: Make code unconditional.
34225 [!__ASSUME_32BITUIDS]: Remove conditional code.
34226 * sysdeps/unix/sysv/linux/kernel-features.h
34227 (__ASSUME_SETRESUID_SYSCALL): Remove.
34228 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34229 (__ASSUME_32BITUIDS): Likewise.
34230 (__ASSUME_LDT_WORKS): Likewise.
34231 (__ASSUME_O_DIRECTORY): Likewise.
34232 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34233 architecture but not kernel version.
34234 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34235 (__ASSUME_MMAP2_SYSCALL): Likewise.
34236 (__ASSUME_STAT64_SYSCALL): Likewise.
34237 (__ASSUME_IPC64): Likewise.
34238 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34239 <kernel-features.h>.
34240 [__ASSUME_32BITUIDS]: Make code unconditional.
34241 [!__ASSUME_32BITUIDS]: Remove conditional code.
34242 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34243 <kernel-features.h>.
34244 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34245 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34246 132096]: Remove conditional code.
34247 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34248 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
34257 <kernel-features.h>.
34258 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34260 (__setresgid): Do not declare.
34261 [__ASSUME_32BITUIDS]: Make code unconditional.
34262 [!__ASSUME_32BITUIDS]: Remove conditional code.
34263 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34264 <kernel-features.h>.
34265 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34267 (__setresuid): Do not declare.
34268 [__ASSUME_32BITUIDS]: Make code unconditional.
34269 [!__ASSUME_32BITUIDS]: Remove conditional code.
34270 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34271 <kernel-features.h>.
34272 [__ASSUME_32BITUIDS]: Make code unconditional.
34273 [!__ASSUME_32BITUIDS]: Remove conditional code.
34274 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34275 <kernel-features.h>.
34276 [__ASSUME_32BITUIDS]: Make code unconditional.
34277 [!__ASSUME_32BITUIDS]: Remove conditional code.
34279 2012-05-25 Richard Henderson <rth@twiddle.net>
34281 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34282 dl_hwcap to ifunc resolver.
34283 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34285 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34286 dl_hwcap to ifunc resolver.
34287 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34289 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34292 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34293 for |x| <= 2**-26, not 2**-57.
34294 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34297 2012-05-24 Jeff Law <law@redhat.com>
34299 * stdio-common/Makefile (tests): Add bug25.
34300 * stdio-common/bug25.c: New test.
34302 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34305 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34306 multiple of MALLOC_ALIGNMENT in size.
34307 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34309 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34311 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34313 (FILENAME_MAX): Use macro-int-constant.
34314 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34315 (_IOFBF): Use macro-int-constant.
34316 (_IOLBF): Likewise.
34317 (_IONBF): Likewise.
34318 (SEEK_CUR): Likewise.
34319 (SEEK_END): Likewise.
34320 (SEEK_SET): Likewise.
34321 (TMP_MAX): Likewise.
34322 (EOF): Use macro-int-constant. Require < 0.
34323 (NULL): Use macro-constant. Require == 0.
34324 (stdin): Require type to be FILE *.
34325 (stdout): Likewise.
34326 (stderr): Likewise.
34327 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34328 macro-int-constant.
34329 (EXIT_SUCCESS): Likewise.
34330 (NULL): Use macro-constant. Require == 0.
34331 (RAND_MAX): Use macro-int-constant.
34332 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34333 [C99-based standards] (strtof): Require function.
34334 [C99-based standards] (strtold): Likewise.
34335 [C99-based standards] (strtoll): Likewise.
34336 [C99-based standards] (strtoull): Likewise.
34337 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34338 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34339 [ISO || ISO99 || ISO11] (math.h): Likewise.
34340 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34341 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34344 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34347 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34348 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34349 * intl/dgettext.c (DCGETTEXT): Likewise.
34350 * intl/gettext.c (DCGETTEXT): Likewise.
34351 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34352 * posix/regex_internal.h (gettext): Likewise.
34353 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34354 Remove declaration.
34355 * include/argz.h (__argz_count_internal)
34356 (__argz_stringify_internal): Remove declaration.
34357 (__argz_count, __argz_stringify): Declare hidden proto.
34358 * intl/dcgettext.c: Remove use of INTDEF.
34359 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34360 * string/argz-stringify.c: Likewise.
34361 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34362 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34363 Declare hidden proto.
34364 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34365 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34366 Declare hidden proto.
34367 * include/stdio.h (__asprintf_internal): Don't declare.
34368 (__asprintf): Don't define as macro. Declare hidden proto.
34369 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34370 (__fsetlocking): Declare hidden proto.
34371 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34372 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34374 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34375 (_IO_setlinebuf): Remove use of INTUSE.
34376 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34377 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34378 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34379 Remove declaration.
34380 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34381 (_IO_do_flush): Remove use of INTUSE.
34382 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34383 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34384 (_IO_adjust_column, _IO_least_wmarker)
34385 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34386 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34387 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34388 (_IO_default_doallocate, _IO_wdefault_doallocate)
34389 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34390 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34391 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34392 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34393 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34394 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34395 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34396 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34397 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34398 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34399 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34400 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34401 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34403 (_IO_flush_all_internal, _IO_adjust_column_internal)
34404 (_IO_default_uflow_internal, _IO_default_finish_internal)
34405 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34406 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34407 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34408 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34409 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34410 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34411 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34412 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34413 (_IO_file_close_internal, _IO_file_close_it_internal)
34414 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34415 (_IO_file_init_internal, _IO_file_attach_internal)
34416 (_IO_file_fopen_internal, _IO_file_read_internal)
34417 (_IO_file_sync_internal, _IO_file_seek_internal)
34418 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34419 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34420 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34421 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34422 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34423 (_IO_list_all_internal, _IO_link_in_internal)
34424 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34425 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34426 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34427 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34428 (_IO_do_write_internal, _IO_padn_internal)
34429 (_IO_getline_info_internal, _IO_getline_internal)
34430 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34431 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34432 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34433 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34434 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34435 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34436 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34437 with libc_hidden_ver, remove use of INTUSE.
34438 * libio/genops.c: Likewise.
34439 * libio/freopen.c: Likewise.
34440 * libio/freopen64.c: Likewise.
34441 * libio/iofclose.c: Likewise.
34442 * libio/iofdopen.c: Likewise.
34443 * libio/iofflush.c: Likewise.
34444 * libio/iofflush_u.c: Likewise.
34445 * libio/iofgets.c: Likewise.
34446 * libio/iofgets_u.c: Likewise.
34447 * libio/iofopen.c: Likewise.
34448 * libio/iofopncook.c: Likewise.
34449 * libio/iofread.c: Likewise.
34450 * libio/iofread_u.c: Likewise.
34451 * libio/ioftell.c: Likewise.
34452 * libio/iofwrite.c: Likewise.
34453 * libio/iogetline.c: Likewise.
34454 * libio/iogets.c: Likewise.
34455 * libio/iogetwline.c: Likewise.
34456 * libio/iopadn.c: Likewise.
34457 * libio/iopopen.c: Likewise.
34458 * libio/ioseekoff.c: Likewise.
34459 * libio/ioseekpos.c: Likewise.
34460 * libio/iosetbuffer.c: Likewise.
34461 * libio/iosetvbuf.c: Likewise.
34462 * libio/ioungetc.c: Likewise.
34463 * libio/ioungetwc.c: Likewise.
34464 * libio/iovdprintf.c: Likewise.
34465 * libio/iovsprintf.c: Likewise.
34466 * libio/iovsscanf.c: Likewise.
34467 * libio/memstream.c: Likewise.
34468 * libio/obprintf.c: Likewise.
34469 * libio/oldfileops.c: Likewise.
34470 * libio/oldiofclose.c: Likewise.
34471 * libio/oldiofdopen.c: Likewise.
34472 * libio/oldiofopen.c: Likewise.
34473 * libio/oldiopopen.c: Likewise.
34474 * libio/oldstdfiles.c: Likewise.
34475 * libio/putc.c: Likewise.
34476 * libio/setbuf.c: Likewise.
34477 * libio/setlinebuf.c: Likewise.
34478 * libio/stdfiles.c: Likewise.
34479 * libio/strops.c: Likewise.
34480 * libio/vasprintf.c: Likewise.
34481 * libio/vscanf.c: Likewise.
34482 * libio/vsnprintf.c: Likewise.
34483 * libio/vswprintf.c: Likewise.
34484 * libio/wfiledoalloc.c: Likewise.
34485 * libio/wfileops.c: Likewise.
34486 * libio/wgenops.c: Likewise.
34487 * libio/wmemstream.c: Likewise.
34488 * libio/wstrops.c: Likewise.
34489 * libio/__fpurge.c: Likewise.
34490 * libio/__fsetlocking.c: Likewise.
34491 * assert/assert.c: Likewise.
34492 * debug/fgets_chk.c: Likewise.
34493 * debug/fgets_u_chk.c: Likewise.
34494 * debug/fread_chk.c: Likewise.
34495 * debug/fread_u_chk.c: Likewise.
34496 * debug/gets_chk.c: Likewise.
34497 * debug/obprintf_chk.c: Likewise.
34498 * debug/vasprintf_chk.c: Likewise.
34499 * debug/vdprintf_chk.c: Likewise.
34500 * debug/vsnprintf_chk.c: Likewise.
34501 * debug/vsprintf_chk.c: Likewise.
34502 * malloc/mtrace.c: Likewise.
34503 * misc/error.c: Likewise.
34504 * misc/syslog.c: Likewise.
34505 * stdio-common/asprintf.c: Likewise.
34506 * stdio-common/fxprintf.c: Likewise.
34507 * stdio-common/getw.c: Likewise.
34508 * stdio-common/isoc99_fscanf.c: Likewise.
34509 * stdio-common/isoc99_scanf.c: Likewise.
34510 * stdio-common/isoc99_vfscanf.c: Likewise.
34511 * stdio-common/isoc99_vscanf.c: Likewise.
34512 * stdio-common/isoc99_vsscanf.c: Likewise.
34513 * stdio-common/printf-prs.c: Likewise.
34514 * stdio-common/printf_fp.c: Likewise.
34515 * stdio-common/printf_fphex.c: Likewise.
34516 * stdio-common/printf_size.c: Likewise.
34517 * stdio-common/putw.c: Likewise.
34518 * stdio-common/scanf.c: Likewise.
34519 * stdio-common/sprintf.c: Likewise.
34520 * stdio-common/tmpfile.c: Likewise.
34521 * stdio-common/vfprintf.c: Likewise.
34522 * stdio-common/vfscanf.c: Likewise.
34523 * stdlib/strfmon_l.c: Likewise.
34524 * sunrpc/openchild.c: Likewise.
34525 * sunrpc/xdr_stdio.c: Likewise.
34526 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34527 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34529 2012-05-24 Roland McGrath <roland@hack.frob.com>
34531 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34533 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34534 in the third column, to generate for the shared library an IFUNC
34535 that uses _dl_vdso_vsym.
34536 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34537 * Makeconfig (object-suffixes-noshared): New variable.
34539 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34540 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34541 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34542 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34545 * include/sys/time.h (__gettimeofday): Remove macro.
34546 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34547 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34549 (__gettimeofday): Add libc_hidden_def.
34550 (gettimeofday): Add libc_hidden_weak.
34551 * sysdeps/mach/gettimeofday.c: Likewise.
34552 * sysdeps/posix/gettimeofday.c: Likewise.
34553 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34554 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34556 (__gettimeofday_internal): Remove strong_alias.
34557 (__gettimeofday): Add libc_hidden_def.
34558 (gettimeofday): Add libc_hidden_weak.
34559 * sysdeps/unix/syscalls.list (gettimeofday):
34560 Remove __gettimeofday_internal alias.
34562 2012-05-24 Daniel Jacobowitz <drow@false.org>
34563 H.J. Lu <hongjiu.lu@intel.com>
34566 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34567 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34568 (largebin_index_32_big): New.
34569 (largebin_index): Use it for 16-byte alignment.
34570 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34571 correction with front_misalign.
34573 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34601 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34602 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34604 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34608 * math/libm-test.inc (exp_test): Add test from bug 14036.
34609 (pow_test): Add test from bug 10846.
34611 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34613 (special_function): Do not include flags in test name.
34614 (parse_args): Likewise.
34615 * sysdeps/i386/fpu/libm-test-ulps: Update.
34616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34617 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34618 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34621 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34623 * math/libm-test.inc ("Philosophy"): Update comment about
34625 (UNDERFLOW_EXCEPTION): New macro.
34626 (UNDERFLOW_EXCEPTION_OK): Likewise.
34627 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34628 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34629 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34630 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34631 (INVALID_EXCEPTION_OK): Update value.
34632 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34633 (OVERFLOW_EXCEPTION_OK): Likewise.
34634 (IGNORE_ZERO_INF_SIGN): Likewise.
34635 (test_exceptions): Handle underflow exceptions.
34636 (acos_test): Update for underflow exception expectations.
34637 (cexp_test): Likewise.
34638 (clog_test): Likewise.
34639 (clog10_test): Likewise.
34640 (csqrt_test): Likewise.
34641 (ctan_test): Likewise.
34642 (ctanh_test): Likewise.
34643 (exp_test): Likewise.
34644 (exp10_test): Likewise.
34645 (exp2_test): Likewise.
34646 (expm1_test): Likewise.
34647 (fma_test): Likewise.
34648 (j0_test): Likewise.
34649 (jn_test): Likewise.
34650 (nexttoward_test): Likewise.
34651 (pow_test): Likewise.
34652 (scalbn_test): Likewise.
34653 (scalbln_test): Likewise.
34654 (tan_test): Likewise.
34655 (y1_test): Likewise.
34656 * sysdeps/i386/fpu/libm-test-ulps: Update.
34657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34659 2012-05-23 David S. Miller <davem@davemloft.net>
34661 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34662 (__libc_sigaction): Remove unused local variables.
34664 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34666 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34668 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34670 mktime: avoid signed integer overflow
34671 * time/mktime.c (__mktime_internal): Do not mishandle the case
34672 where diff == INT_MIN.
34674 mktime: simplify computation of average
34675 * time/mktime.c (ranged_convert): Use new time_t_avg function
34676 instead of rolling our own (probably-slower) code.
34678 mktime: do not assume signed right shift propagates sign bit
34679 * time/mktime.c (isdst_differ): New static function.
34680 (__mktime_internal): No need to normalize tm_isdst now.
34681 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34684 mktime: merge another wrapv change from gnulib
34685 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34686 from some compilers.
34688 mktime: remove incorrect attempt at unusual arithmetics
34689 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34690 The code didn't really work on such machines anyway.
34691 (TYPE_MINIMUM): Assume two's complement.
34692 (twos_complement_arithmetic): Verify that long_int and time_t
34693 are two's complement (or unsigned, in the latter case).
34695 mktime: check signed shifts on long_int and time_t, too
34696 * time/mktime.c (SHR): Check that shifts work as desired
34697 on the types long_int and time_t too, as SHR is used on
34700 mktime: do not assume 'long' is wide enough
34701 * time/mktime.c (verify): Move decl up.
34702 (long_int): New type.
34703 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34704 to remove assumption in the code that 'long' is wide enough to
34705 store year values. This assumption is not true on x32 and on
34706 some non-glibc platforms.
34708 mktime: merge wrapv change from gnulib
34709 * time/mktime.c (WRAPV): New macro.
34710 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34711 (guess_time_tm, __mktime_internal): Do not assume that signed
34712 integer overflow wraps around; modern compilers generate code
34713 where this assumption is no longer valid.
34715 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34717 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34718 Replace "jmp L(pseudo_end)" with "ret".
34719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34722 2012-05-23 Andreas Jaeger <aj@suse.de>
34724 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34725 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34727 2012-05-23 Andreas Jaeger <aj@suse.de>
34728 Maximilian Attems <max@stro.at>
34730 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34733 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34735 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34736 code so that pseudo_end is just ret and the stack pointer is
34737 correct also for static library in error case.
34739 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34741 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34742 move to syscalls.list.
34743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34748 * manual/install.texi (Running make install): Do not mention Linux
34749 kernel version for which pt_chown is not needed.
34750 (Linux): Do not mention problems with nscd with 2.0 kernels.
34751 * INSTALL: Regenerated.
34753 2012-05-23 Andreas Jaeger <aj@suse.de>
34755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34756 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34758 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34760 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34761 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34762 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34763 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34764 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34765 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34766 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34767 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34768 * sysdeps/unix/sysv/linux/bits/in.h
34769 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34771 2012-05-22 Roland McGrath <roland@hack.frob.com>
34773 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34774 (PREPARE_VERSION): Just use assert instead, it will be elided
34775 under [NDEBUG] anyway.
34777 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34779 * sysdeps/unix/sysv/linux/Makefile: Include
34780 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34781 (sysdep_routines): Remove sysctl.
34782 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34783 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34784 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34785 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34786 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34788 2012-05-22 Andreas Jaeger <aj@suse.de>
34790 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34791 that pseudo_end is just ret and the stack pointer is correct also
34792 for static library in error case.
34794 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34797 * nss/nsswitch.c (defconfig_entries): New variable.
34798 (__nss_database_lookup): Don't leak defconfig entries.
34799 (nss_parse_service_list): Don't leak on error paths.
34800 (free_database_entries): New function.
34801 (free_defconfig): New function.
34802 (free_mem): Move common code to free_database_entries.
34804 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34806 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34808 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34810 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34811 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34814 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34815 (INTERNAL_SYSCALL_TYPES): Likewise.
34816 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34817 (LOAD_REGS_TYPES_[1-6]): Likewise.
34818 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34819 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34821 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34823 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34824 copysignl for GLIBC_2_0.
34825 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34826 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34828 logbl for GLIBC_2_0.
34829 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34830 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34832 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34835 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34837 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34840 * time/mktime.c: Update copyright years.
34842 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34844 mktime: merge comment-quoting-style change from gnulib
34845 * time/mktime.c: Quote 'like this' in comments.
34846 The GNU coding standards suggest that we no longer quote `like this',
34847 as "`" and "'" are typically rendered asymmetrically nowadays.
34848 The typical gnulib style is to quote 'like this' when quoting
34849 code, and "like this" when quoting English.
34851 * time/mktime.c (compile-command): Add "-I.".
34853 mktime: merge mktime-internal.h change from gnulib
34854 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34856 mktime: merge time_r change from gnulib
34857 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34859 mktime: merge DEBUG change from gnulib
34860 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34861 case system <time.h> has a #define.
34863 mktime: merge <sys/types.h> change from gnulib
34864 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34865 since <time.t> is now guaranteed to define time_t.
34867 mktime: merge HAVE_CONFIG_H change from gnulib
34868 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34870 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34875 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34877 (struct rusage): Use anonymous union to pad each field to
34880 2012-05-21 David S. Miller <davem@davemloft.net>
34882 * Makefules (o-iterator): Remove .s cases.
34883 (compile-command.s): Delete.
34884 (COMPILE.s): Delete.
34885 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34887 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34889 * configure.in (libc_cv_predef_stack_protector): Only consider
34890 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34891 * configure: Regenerated.
34893 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34896 New macro. Use R*LP on int and pointer.
34897 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34898 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34899 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34900 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34902 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34903 [__WORDSIZE_TIME64_COMPAT32] instead of
34904 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34905 (struct utmp): Likewise.
34906 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34907 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34909 (__WORDSIZE_TIME64_COMPAT32): This.
34910 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34911 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34912 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34913 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34914 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34915 (__WORDSIZE_TIME64_COMPAT32): New macro.
34917 2012-05-21 Andreas Jaeger <aj@suse.de>
34919 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34920 only if [SHARED]. Add prototype for __wcschr_ia32.
34922 2012-05-21 Roland McGrath <roland@hack.frob.com>
34924 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34925 of %rbp unmolested in the jmp_buf while mangling the low bits.
34926 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34927 unmolested high bits of %rbp while demangling the low bits.
34928 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34930 2012-05-21 Andreas Jaeger <aj@suse.de>
34932 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34933 * sunrpc/svc_simple.c: Use it for registerrpc.
34934 * sunrpc/xcrypt.c: Use it for passwd2des.
34936 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34938 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34940 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34941 Don't define if [__SYSCALL_WORDSIZE != 32].
34942 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34945 2012-05-21 Bruno Haible <bruno@clisp.org>
34946 Andreas Jaeger <aj@suse.de>
34948 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34949 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34950 inptr and inend for must_buffer_ch.
34951 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34952 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34953 * stdio-common/Makefile (tests): Remove bug15.
34954 (bug15-ENV): Remove macro.
34955 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34958 2012-05-19 Andreas Jaeger <aj@suse.de>
34959 Roland McGrath <roland@hack.frob.com>
34961 * manual/contrib.texi: Completely rewritten. It contains now an
34962 alphabetical list of contributors and their contributions.
34964 2012-05-21 Richard Henderson <rth@twiddle.net>
34966 * misc/getauxval.c (__getauxval): Use unsigned long int.
34967 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34968 (getauxval): Use unsigned long int.
34970 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34972 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34974 2012-05-21 Roland McGrath <roland@hack.frob.com>
34976 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34977 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34978 __alignof__ (long double).
34980 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34984 2012-05-20 Richard Henderson <rth@twiddle.net>
34986 * misc/getauxval.c: New file.
34987 * misc/sys/auxv.h: New file.
34988 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34989 (routines): Add getauxval.
34990 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34992 * elf/dl-sysdep.c (_dl_auxv): Remove.
34993 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34994 * elf/dl-support.c (_dl_auxv): New variable.
34995 (_dl_aux_init): Initialize it.
34996 * manual/startup.texi (Auxiliary Vector): New node.
34997 * sysdeps/generic/bits/hwcap.h: New file.
34998 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34999 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35000 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35001 * sysdeps/sparc/sysdep.h: ... here. Include it.
35002 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35015 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35019 2012-05-19 David S. Miller <davem@davemloft.net>
35021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35023 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35026 * math/s_ccosh.c: Include <float.h>
35027 (__ccosh): Avoid internal overflow calculating sinh and cosh
35028 values before multiplying by sin and cos values.
35029 * math/s_ccoshf.c: Likewise.
35030 * math/s_ccoshl.c: Likewise.
35031 * math/s_csin.c: Likewise.
35032 * math/s_csinf.c: Likewise.
35033 * math/s_csinl.c: Likewise.
35034 * math/s_csinh.c: Likewise.
35035 * math/s_csinhf.c: Likewise.
35036 * math/s_csinhl.c: Likewise.
35037 * math/libm-test.inc (ccos_test): Add more tests.
35038 (ccosh_test): Likewise.
35039 (csin_test): Likewise.
35040 (csinh_test): Likewise.
35041 * sysdeps/i386/fpu/libm-test-ulps: Update.
35042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35044 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35046 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35047 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35049 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35051 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35053 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35054 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35055 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35056 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35057 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35058 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35059 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35060 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35061 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35062 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35063 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35064 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35065 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35066 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35067 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35068 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35069 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35070 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35071 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35072 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35073 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35074 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35075 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35076 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35077 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35078 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35079 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35080 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35081 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35082 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35083 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35085 2012-05-18 Andreas Jaeger <aj@suse.de>
35087 * csu/.gitignore: Delete.
35089 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35091 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35092 (timex): Use __syscall_slong_t.
35094 2012-05-18 Andreas Jaeger <aj@suse.de>
35095 Carlos O'Donell <carlos_odonell@mentor.com>
35097 * manual/install.texi (Configuring and compiling): Update
35098 description about files modified in the source directory.
35099 * INSTALL: Regenerated.
35101 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35104 value. Use "or" to set return value to -1.
35105 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35106 negate return value.
35108 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35110 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35111 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35112 failure if the compiler has Graphite support disabled.
35113 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35115 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35116 (CFLAGS-memmove.c): Likewise.
35117 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35120 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35122 * sysdeps/x86_64/x32/_itoa.h: New file.
35124 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35125 getdents system call only if kernel and user dirents have the
35126 same d_ino and d_off.
35128 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35129 LLONG_MAX != LONG_MAX.
35130 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35131 (_fitoa_word): Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35136 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35139 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35140 include <bits/wordsize.h>. Check __x86_64__ instead of
35142 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35143 if __x86_64__ is defined. Use anonymous union on fpstate.
35145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35148 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35150 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35151 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35152 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35153 Refer to _rtld_local_ro instead of _rtld_global_ro.
35154 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35156 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35158 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35160 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35161 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35162 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35164 * sysdeps/powerpc/powerpc32/dl-machine.c
35165 (__elf_machine_runtime_setup) [PROF]: Don't reference
35168 2012-05-18 Andreas Jaeger <aj@suse.de>
35170 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35171 function only available for GCCs before 3.4 since GCC 3.4
35172 introduced a builtin.
35174 (llrintf): Likewise.
35175 (llrint): Likewise.
35182 (nearbyint): Likewise.
35183 (nearbyintf): Likewise.
35187 (floorf): Likewise.
35189 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35191 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35192 on both fields and cast pointer to __syscall_ulong_t.
35194 * bits/types.h (__fsword_t): New type.
35195 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35196 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35198 (__FSWORD_T_TYPE): Likewise.
35199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35200 (__FSWORD_T_TYPE): Likewise.
35201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35202 (__FSWORD_T_TYPE): Likewise.
35203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35204 (__FSWORD_T_TYPE): Likewise.
35205 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35206 __SWORD_TYPE with __fsword_t.
35207 (statfs64): Likewise.
35209 2012-05-17 David S. Miller <davem@davemloft.net>
35211 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35213 2012-05-17 Andreas Jaeger <aj@suse.de>
35215 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35218 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35220 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35222 2012-05-17 Andreas Jaeger <aj@suse.de>
35224 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35227 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35229 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35231 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35233 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35234 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35236 2012-05-17 Andreas Jaeger <aj@suse.de>
35237 Carlos O'Donell <carlos_odonell@mentor.com>
35240 * sysdeps/x86_64/multiarch/init-arch.h
35241 (bit_YMM_Usable): Rename to...
35242 (bit_AVX_Usable): ... this.
35243 (bit_FMA4_Usable): New macro.
35244 (bit_XMM_state): New macro.
35245 (bit_YMM_state): New macro.
35246 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35247 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35248 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35249 (CPUID_OSXSAVE): New macro.
35250 (CPUID_AVX): New macro.
35251 (CPUID_FMA4): New macro.
35252 (index_YMM_Usable): Rename to...
35253 (index_AVX_Usable): ... this.
35254 (HAS_AVX): Use HAS_ARCH_FEATURE.
35255 (HAS_FMA4): Likewise.
35256 (HAS_YMM_USABLE): Remove.
35257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35258 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35260 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35261 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35262 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35263 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35264 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35266 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35268 * math/libm-test.c: Support platforms without multiple rounding modes.
35269 * math/bug-nextafter.c: Support platforms without FP exceptions.
35270 * math/bug-nexttoward.c: Likewise.
35271 * math/test-fenv.c: Likewise.
35272 * math/test-misc.c: Likewise.
35273 * stdlib/bug-getcontext.c: Likewise.
35275 2012-05-17 Andreas Jaeger <aj@suse.de>
35277 * manual/examples/search.c (critter_cmp): Change signature to
35279 * manual/string.texi (Collation Functions): Likewise.
35281 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35283 * bits/types.h: Fold copyright years.
35284 * bits/typesizes.h: Likewise.
35285 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35289 * time/time.h: Likewise.
35291 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35294 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35295 in instead of returning them. Return void.
35296 (__libc_mallinfo): Accumulate over all arenas.
35297 (__malloc_stats): Adjust for change in int_mallinfo interface.
35299 2012-05-16 Roland McGrath <roland@hack.frob.com>
35302 * configure.in (NM): Add AC_CHECK_TOOL for it.
35303 (libc_extra_cflags): New substituted variable.
35304 Check for -fstack-protector being used implicitly.
35305 * configure: Regenerated.
35306 * config.make.in (config-extra-cflags): New variable,
35307 gets @libc_extra_cflags@.
35308 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35311 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35312 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35313 * configure: Regenerated.
35314 * config.make.in (CPPUNDEFS): New substituted variable.
35315 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35316 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35317 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35319 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35321 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35322 (mq_attr): Use __syscall_slong_t.
35324 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35326 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35327 Check __x86_64__ instead of __WORDSIZE.
35328 (_STAT_VER_LINUX): Likewise.
35329 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35330 __syscall_ulong_t and __syscall_slong_t.
35331 (stat64): Likewise.
35333 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35337 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35339 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35341 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35343 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35346 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35347 include <bits/wordsize.h>. Check __x86_64__ instead of
35349 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35351 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35353 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35354 include <bits/wordsize.h>. Check __x86_64__ instead of
35356 (user_regs_struct): Use "__extension__ unsigned long long"
35357 instead of "unsigned long" if __x86_64__ is defined.
35358 (user): Likewise. Pad after pointer field if __ILP32__ is
35361 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35363 * configure.in (makeinfo): Require version 4.5 or later. Allow
35365 * configure: Regenerated.
35366 * manual/install.texi (texinfo): Increase version requirement to
35368 * INSTALL: Regenerated.
35370 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35372 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35374 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35376 * sysdeps/x86_64/x32/ffs.c: New file.
35378 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35380 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35381 defined. Use __syscall_ulong_t.
35382 (shminfo): Use __syscall_ulong_t.
35383 (shm_info): Likewise.
35385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35388 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35390 (msgqnum_t): Use __syscall_ulong_t.
35391 (msglen_t): Likewise.
35392 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35395 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35396 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35398 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35400 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35401 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35403 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35406 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35407 include <bits/wordsize.h>. Check __x86_64__ instead of
35410 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35411 "unsigned long long int" if __x86_64__ is defined.
35412 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35414 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35415 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35416 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35418 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35420 (GET_PC): Cast to uintptr_t first.
35421 (GET_FRAME): Likewise.
35422 (GET_STACK): Likewise.
35424 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35425 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35426 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35427 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35428 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35429 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35430 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35431 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35432 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35433 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35434 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35435 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35436 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35437 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35438 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35439 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35440 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35441 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35442 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35443 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35444 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35445 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35446 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35447 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35448 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35449 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35450 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35451 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35452 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35454 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35456 * Makerules (+depfiles): Also collect depfiles from .oS in
35458 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35459 .oS, $(libnldbl-routines)).
35461 * Makerules (native-compile-mkdep-flags): Define.
35462 * sunrpc/Makefile (extra-objs): Add $(addprefix
35463 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35464 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35465 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35466 calling $(make-target-directory).
35468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35470 * bits/types.h (__snseconds_t): Removed.
35471 * time/time.h (struct timespec): Replace __snseconds_t with
35473 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35474 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35476 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35477 (__SNSECONDS_T_TYPE): Likewise.
35478 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35479 (__SNSECONDS_T_TYPE): Likewise.
35480 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35481 (__SNSECONDS_T_TYPE): Likewise.
35483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35485 * sysdeps/mach/hurd/bits/typesizes.h
35486 (__SYSCALL_SLONG_TYPE): New macro.
35487 (__SYSCALL_ULONG_TYPE): Likewise.
35489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35491 * bits/types.h (__syscall_slong_t): New type.
35492 (__syscall_ulong_t): Likewise.
35494 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35495 (__SYSCALL_ULONG_TYPE): Likewise.
35496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35497 (__SYSCALL_SLONG_TYPE): Likewise.
35498 (__SYSCALL_ULONG_TYPE): Likewise.
35499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35500 (__SYSCALL_SLONG_TYPE): Likewise.
35501 (__SYSCALL_ULONG_TYPE): Likewise.
35502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35503 (__SYSCALL_SLONG_TYPE): Likewise.
35504 (__SYSCALL_ULONG_TYPE): Likewise.
35506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35508 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35509 Add sigaltstack-offsets.sym.
35510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35511 <sigaltstack-offsets.h>.
35512 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35513 longjmp_msg pointer.
35514 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35515 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35517 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35519 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35521 * elf/stackguard-macros.h: Remove file.
35522 * sysdeps/generic/stackguard-macros.h: New file.
35523 * sysdeps/i386/stackguard-macros.h: Likewise.
35524 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35525 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35526 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35527 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35528 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35529 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35530 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35531 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35532 <elf/stackguard-macros.h>.
35535 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35536 __aligned__ in attribute.
35537 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35538 (gregset_t): Likewise.
35540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35542 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35543 * sysdeps/x86_64/64/Implies-after: Here. New file.
35544 * sysdeps/x86_64/x32/Implies-after: New file.
35546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35548 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35549 and access return value for _dl_profile_fixup. Use R10_LP to
35552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35554 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35558 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35559 * sysdeps/x86_64/x32/sysdep.h: New file.
35561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35563 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35564 * sysdeps/x86_64/setjmp.S: Likewise.
35566 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35568 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35569 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35570 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35572 remove unused global constant.
35574 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35576 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35577 include of <not-cancel.h>.
35579 2012-05-15 Roland McGrath <roland@hack.frob.com>
35581 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35583 2012-05-15 Jeff Law <law@redhat.com>
35584 Andreas Jaeger <aj@suse.de>
35587 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35589 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35590 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35591 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35592 code changing __hst_map_handle.map.
35594 2012-05-15 Roland McGrath <roland@hack.frob.com>
35596 * configure.in (sysnames): Look for Implies-before and Implies-after
35598 * configure: Regenerated.
35600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35602 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35603 8-byte data alignment with LP_SIZE alignment.
35605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35607 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35612 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35616 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35617 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35620 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35622 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35624 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35625 (stackinfo_sub_sp): Likewise.
35627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35634 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35639 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35644 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35648 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35649 into R11_LP and load __x86_64_shared_cache_size_half into
35652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35654 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35657 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35659 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35665 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35666 powerpc32/power7/fpu/s_logb.c via #include.
35667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35668 powerpc32/power7/fpu/s_logbf.c via #include.
35669 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35670 powerpc32/power7/fpu/s_logbl.c via #include.
35672 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35674 * README.libm: Remove file.
35676 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35678 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35679 count for x32. Use R*_LP and omit operand-size suffix.
35681 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35683 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35684 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35685 * sysdeps/x86_64/x32/shlib-versions: New file.
35687 2012-05-14 Roland McGrath <roland@hack.frob.com>
35689 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35690 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35691 Use _dl_fatal_printf instead.
35693 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35695 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35696 set if not set by the user. Do not allow for being unset.
35697 * sysdeps/unix/sysv/linux/configure: Regenerated.
35699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35701 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35702 the `q' suffix from lea and replace .quad with ASM_ADDR.
35704 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35707 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35709 (PTR_DEMANGLE): Likewise.
35711 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35713 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35715 (ASM_ADDR): Likewise.
35716 (RAX_LP): Likewise.
35717 (RBP_LP): Likewise.
35718 (RBX_LP): Likewise.
35719 (RCX_LP): Likewise.
35720 (RDI_LP): Likewise.
35721 (RSI_LP): Likewise.
35722 (RSP_LP): Likewise.
35725 (R10_LP): Likewise.
35726 (R10_LP): Likewise.
35727 (R11_LP): Likewise.
35728 (R12_LP): Likewise.
35729 (R13_LP): Likewise.
35730 (R14_LP): Likewise.
35731 (R15_LP): Likewise.
35733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35735 * sysdeps/x86_64/x32/dl-machine.h: New file.
35737 2012-05-14 Andreas Jaeger <aj@suse.de>
35739 * manual/Makefile (subdir): Remove export of subdir.
35740 (all): Remove target.
35741 (.PHONY): Remove all from list.
35742 (mkinstalldirs): Remove.
35743 (.PHONY): Remove installdirs from list.
35744 ($(inst_infodir)/libc.info): Use make-target-directory.
35745 (installdirs): Remove.
35746 (subdir_%): Remove.
35747 (glibc-targets): Remove.
35750 ($(objpfx)stubs ../po/manual.pot): Remove.
35751 ($(objpfx)stamp%): Remove.
35752 (make-target-directory): Remove.
35753 (subdir_install): Remove.
35754 (routines): Remove.
35761 * manual/.gitignore: Remove, it's not needed anymore.
35762 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35764 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35766 (texis): Renamed to $(objpfx)texis.
35767 (texis-path): New, contains path to generated files.
35768 (chapters.%): Use texis-path for complete path, add extra argument
35770 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35771 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35772 (summary,texi, stamp-summary): Use complete path of
35773 files. Generate files in build dir.
35774 (dir-add.texi): Build in build dir.
35775 (libm-err.texi,stamp-libm-err): Likewise.
35776 (version.texi, stamp-version): Likewise.
35777 (.%c.texi): Likewise.
35778 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35779 (mostlyclean): Remove target.
35780 (realclean): Remove target.
35781 (generated): Add new variable with contents from mostlyclean and
35782 realclean, remove entries duplicated in common-mostlyclean, add
35783 stamp-libm-err and stamp-version.
35784 (generated-dirs): Add libc directory.
35785 ($(inst_infodir)/libc.info): Install files from build dir.
35787 * manual/install.texi (Configuring and compiling): Adjust since
35788 the info files are not part of the tar ball anymore.
35790 2012-05-14 Andreas Jaeger <aj@suse.de>
35792 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35795 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35798 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35799 to 2.2.0 where earlier.
35800 * sysdeps/unix/sysv/linux/configure: Regenerated.
35801 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35802 Remove conditional code.
35803 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35804 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35805 Remove conditional code.
35806 [!__NR_lchown]: Likewise.
35807 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35808 [__NR_lchown]: Likewise.
35809 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35810 comment referencing __ASSUME_LCHOWN_SYSCALL.
35811 * sysdeps/unix/sysv/linux/i386/sigaction.c
35812 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35813 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35814 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35815 Remove conditional code.
35816 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35817 (__protocol_available): Remove #if 0 code.
35818 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35820 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35821 * sysdeps/unix/sysv/linux/kernel-features.h
35822 (__ASSUME_GETCWD_SYSCALL): Don't define.
35823 (__ASSUME_REALTIME_SIGNALS): Likewise.
35824 (__ASSUME_PREAD_SYSCALL): Likewise.
35825 (__ASSUME_PWRITE_SYSCALL): Likewise.
35826 (__ASSUME_POLL_SYSCALL): Likewise.
35827 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35828 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35830 (__ASSUME_SIOCGIFNAME): Don't define.
35831 (__ASSUME_MSG_NOSIGNAL): Likewise.
35832 (__ASSUME_SENDFILE): Define unconditionally.
35833 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35834 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35836 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35837 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35838 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35839 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35840 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35841 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35842 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35844 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35847 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35850 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35853 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35856 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35859 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35862 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35865 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35867 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35868 Remove conditional code.
35869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35870 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35871 Remove conditional code.
35872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35873 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35874 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35875 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35876 Remove conditional code.
35877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35878 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35879 Remove conditional code.
35880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35881 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35882 Remove conditional code.
35883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35884 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35885 Remove conditional code.
35886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35887 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35888 Remove conditional code.
35889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35890 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35891 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35892 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35893 * sysdeps/unix/sysv/linux/sigaction.c
35894 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35895 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35896 * sysdeps/unix/sysv/linux/sigpending.c
35897 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35898 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35899 * sysdeps/unix/sysv/linux/sigprocmask.c
35900 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35901 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35902 * sysdeps/unix/sysv/linux/sigsuspend.c
35903 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35904 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35905 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35906 (__libc_missing_rt_sigs): Remove.
35907 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35908 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35909 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35910 Remove conditional code.
35911 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35912 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35914 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35915 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35916 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35917 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35919 2012-05-14 Andreas Jaeger <aj@suse.de>
35921 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35922 it's not used in glibc.
35923 (__coshm1): Likewise.
35924 (__acosh1p): Likewise.
35927 * manual/string.texi (Copying and Concatenation): Add missing
35928 variable in concat example.
35929 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35931 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35934 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35935 __builtin_clzl with __builtin_clzll.
35937 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35940 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35943 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35945 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35946 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35947 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35948 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35950 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35952 * NEWS: Update ia64 info.
35954 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35956 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35959 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35961 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35962 * sysdeps/unix/syscalls.list (dup3): Likewise.
35963 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35964 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35966 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35968 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35969 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35971 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35973 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35975 (TLS_IE): Use mov/add instead of movq/addq to load thread
35977 (TLS_GD_PREFIX): New.
35980 2012-05-11 David S. Miller <davem@davemloft.net>
35982 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35983 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35984 (_FPU_SETCW): Likewise.
35986 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35988 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35989 is 32-byte aligned.
35991 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35994 * iconvdata/gb18030.c: Update tables.
35995 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35996 characters specially.
35997 (BODY for TO_LOOP): Add encoding of missing ranges.
35999 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36002 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36003 * sysdeps/mach/hurd/dup3.c: Likewise.
36004 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36005 * sysdeps/powerpc/memmove.c:: Likewise.
36007 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36010 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36012 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36014 * elf/elf.h (R_X86_64_RELATIVE64): New.
36015 (R_X86_64_NUM): Updated.
36016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36017 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36018 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36019 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36020 tst-quad1pie tst-quad2pie
36021 (modules-names): Add tst-quadmod1 tst-quadmod2.
36022 ($(objpfx)tst-quad1): New dependency.
36023 ($(objpfx)tst-quad2): Likewise.
36024 ($(objpfx)tst-quad1pie): Likewise.
36025 ($(objpfx)tst-quad2pie): Likewise.
36026 * sysdeps/x86_64/tst-quad1.c: New file.
36027 * sysdeps/x86_64/tst-quad1pie.c: New file.
36028 * sysdeps/x86_64/tst-quad2.c: Likewise.
36029 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36030 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36031 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36032 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36033 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36037 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36038 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36039 * streams/stropts.h (t_scalar_t): Define type.
36041 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36042 (_PATH_PRESERVE): Set to "/var/lib".
36043 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36045 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36048 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36049 if __dir_mkfile succeeded.
36051 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36052 checking for _hurd_dtablesize. Unlock it right after having
36053 finished _hurd_dtable allocation.
36055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36057 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36058 * sysdeps/mach/hurd/configure: Regenerated.
36059 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36060 special-casing to...
36061 * sysdeps/gnu/configure.in: ... this new file.
36062 * sysdeps/unix/sysv/linux/configure: Regenerated.
36063 * sysdeps/gnu/configure: New generated file.
36065 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36066 for Linux: use nsec instead of usec, as well as:
36067 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36068 members of type struct timespec.
36069 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36071 (struct stat64): Likewise.
36072 (_STATBUF_ST_NSEC): New macro.
36073 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36075 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36076 __strtoul_internal rather than strtoul.
36078 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36080 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36085 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36086 which preserves existing values.
36087 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36089 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36091 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36092 TIMEOUT values. Return EINVAL for NFDS values either negative or
36093 greater than FD_SETSIZE.
36095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36097 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36098 allocated, call __vm_protect to finish enabling the existing space, and
36099 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36100 allocate the remainder.
36102 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36104 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36105 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36107 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36109 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36110 sysdeps/mach/hurd/readlink.c.
36112 * posix/tst-sysconf.c (posix_options): Only use
36113 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36114 _POSIX_SYNCHRONIZED_IO when they are defined
36115 * sysdeps/mach/hurd/bits/posix_opt.h:
36116 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36117 (_XOPEN_REALTIME): Undefine macro.
36118 (_XOPEN_REALTIME_THREADS): Undefine macro.
36119 (_XOPEN_SHM): Undefine macro.
36120 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36122 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36124 (_POSIX_ASYNC_IO): Undefine macro.
36125 (_POSIX_PRIORITIZED_IO): Undefine macro.
36126 (_POSIX_SPIN_LOCKS): Define macro to -1.
36128 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36129 SA_NODEFER, SA_RESETHAND.
36130 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36131 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36136 * elf/Makefile (pldd-modules): Define unconditionally.
36138 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36140 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36142 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36144 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36145 Return ENOENT when name is empty.
36146 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36148 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36150 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36152 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36154 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36156 Fix mlock in all cases except non-readable pages.
36157 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36158 instead of VM_PROT_ALL as parameter to __vm_wire function.
36160 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36161 (__mkdir): When path is `/', just fail with EEXIST.
36162 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36164 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36166 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36167 <sys/uio.h> (for writev).
36168 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36169 and <sys/param.h> (for MIN).
36171 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36173 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36174 REQUESTED_TIME. Properly set the remaining time and return EINTR
36177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36179 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36180 Depend on against $(link-rpcuserlibs).
36182 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36184 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36185 (__libc_stack_end): Do not use attribute_relro.
36186 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36187 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36188 to libthread-provided value.
36189 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36192 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36195 * bits/libc-lock.h (__libc_once_get): New macro.
36196 * sysdeps/mach/bits/libc-lock.h: Likewise.
36197 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36198 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36199 instead of using implementation details.
36201 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36202 * libio/freopen.c: Likewise.
36203 * libio/freopen64.c: Likewise.
36204 * misc/syslog.c: Likewise.
36205 * nscd/connections.c: Likewise.
36206 * nscd/netgroupcache.c: Likewise.
36207 * sysdeps/posix/getcwd.c: Likewise.
36209 2012-05-10 Roland McGrath <roland@hack.frob.com>
36211 * math/w_ilogbf.c: Add #include <limits.h>.
36213 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36215 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36216 path instead of returning without unlocking.
36218 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36219 immediate-write ioctls.
36220 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36222 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36224 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36225 __builtin_frame_address instead of making assumptions about the
36226 location of the return address relative to DATA. Force early load of
36227 the return address.
36228 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36229 __builtin_frame_address.
36232 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36233 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36234 implement dup3 and do some further code clean-ups.
36235 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36236 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36238 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36240 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36242 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36243 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36244 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36245 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36246 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36249 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36250 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36251 when handler == SIG_ERR, not when handler != SIG_ERR.
36253 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36255 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36256 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36259 accept4 for GNU Hurd.
36260 * include/sys/socket.h (__libc_accept4): New prototype.
36261 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36262 to implement __libc_accept4.
36263 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36265 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36267 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36268 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36269 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36270 signal-defines.sym.
36272 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36274 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36276 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36278 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36279 assertion on O_CLOEXEC flag.
36280 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36281 * hurd/intern-fd.c: Likewise.
36282 * hurd/port2fd.c: Likewise.
36284 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36287 * bits/in.h (IPV6_PKTINFO): Define new macro.
36288 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36290 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36295 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36296 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36297 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36298 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36300 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36301 * math/libm-test.inc (logb_test) : Additional logb tests.
36303 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36304 Andreas Jaeger <aj@suse.de>
36306 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36307 * configure: Regenerated.
36308 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36309 * config.make.in (link-obsolete-rpc): New substituted variable.
36310 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36311 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36312 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36313 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36314 so that libc.a contains the symbols.
36315 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36316 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36317 * sunrpc/auth_none.c: Likewise.
36318 * sunrpc/auth_unix.c: Likewise.
36319 * sunrpc/authdes_prot.c: Likewise.
36320 * sunrpc/authuxprot.c: Likewise.
36321 * sunrpc/clnt_gen.c: Likewise.
36322 * sunrpc/clnt_perr.c: Likewise.
36323 * sunrpc/clnt_raw.c: Likewise.
36324 * sunrpc/clnt_simp.c: Likewise.
36325 * sunrpc/clnt_tcp.c: Likewise.
36326 * sunrpc/clnt_udp.c: Likewise.
36327 * sunrpc/clnt_unix.c: Likewise.
36328 * sunrpc/des_crypt.c: Likewise.
36329 * sunrpc/des_soft.c: Likewise.
36330 * sunrpc/get_myaddr.c: Likewise.
36331 * sunrpc/key_call.c: Likewise.
36332 * sunrpc/key_prot.c: Likewise.
36333 * sunrpc/netname.c: Likewise.
36334 * sunrpc/pm_getmaps.c: Likewise.
36335 * sunrpc/pm_getport.c: Likewise.
36336 * sunrpc/pmap_clnt.c: Likewise.
36337 * sunrpc/pmap_prot.c: Likewise.
36338 * sunrpc/pmap_prot2.c: Likewise.
36339 * sunrpc/pmap_rmt.c: Likewise.
36340 * sunrpc/publickey.c: Likewise.
36341 * sunrpc/rpc_cmsg.c: Likewise.
36342 * sunrpc/rpc_common.c: Likewise.
36343 * sunrpc/rpc_dtable.c: Likewise.
36344 * sunrpc/rpc_prot.c: Likewise.
36345 * sunrpc/rpc_thread.c: Likewise.
36346 * sunrpc/rtime.c: Likewise.
36347 * sunrpc/svc.c: Likewise.
36348 * sunrpc/svc_auth.c: Likewise.
36349 * sunrpc/svc_raw.c: Likewise.
36350 * sunrpc/svc_run.c: Likewise.
36351 * sunrpc/svc_tcp.c: Likewise.
36352 * sunrpc/svc_udp.c: Likewise.
36353 * sunrpc/svc_unix.c: Likewise.
36354 * sunrpc/svcauth_des.c: Likewise.
36355 * sunrpc/xcrypt.c: Likewise.
36356 * sunrpc/xdr.c: Likewise.
36357 * sunrpc/xdr_array.c: Likewise.
36358 * sunrpc/xdr_float.c: Likewise.
36359 * sunrpc/xdr_intXX_t.c: Likewise.
36360 * sunrpc/xdr_mem.c: Likewise.
36361 * sunrpc/xdr_rec.c: Likewise.
36362 * sunrpc/xdr_ref.c: Likewise.
36363 * sunrpc/xdr_sizeof.c: Likewise.
36364 * sunrpc/xdr_stdio.c: Likewise.
36366 2012-05-10 Roland McGrath <roland@hack.frob.com>
36368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36369 change. Update copyright years.
36371 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36373 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36375 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36376 Joseph Myers <joseph@codesourcery.com>
36377 Paul Pluzhnikov <ppluzhnikov@google.com>
36380 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36382 [cross-compiling] (extra-libs): Likewise.
36383 [cross-compiling] (extra-libs-others): Likewise.
36384 [cross-compiling] (librpcsvc-routines): Likewise.
36385 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36386 [cross-compiling] (omit-deps): Likewise.
36387 (sunrpc-CPPFLAGS): New variable.
36388 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36389 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36390 (cross-rpcgen-objs): New variable.
36391 (extra-objs): Append $(cross-rpcgen-objs).
36392 ($(cross-rpcgen-objs)): New rule.
36393 ($(objpfx)cross-rpcgen): Likewise.
36394 (rpcgen-cmd): Define to use $(built-program-file). Expand
36396 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36397 ($(objpfx)x%.stmp): Likewise.
36398 * sunrpc/proto.h [IS_IN_build] (_): Define.
36399 [IS_IN_build] (_libc_intl_domainname): Likewise.
36401 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36404 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36405 and R_X86_64_TPOFF64.
36407 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36409 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36410 sysdeps/unix/sysv/syscalls.list.
36413 * sysdeps/unix/sysv/syscalls.list: Remove file.
36415 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36418 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36419 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36420 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36421 (__LC_IDENTIFICATION): Make these macros useful in #if
36422 expressions, as required by C99.
36424 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36426 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36427 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36430 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36432 * stdlib/longlong.h: Updated from GCC.
36434 2012-05-09 Andreas Jaeger <aj@suse.de>
36436 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36437 default is first entry.
36438 (run_mode): Set type.
36439 (main): Remove informal message about syslog.
36440 (options): Fix typo.
36443 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36446 (llrintf): Likewise.
36447 (llrint): Likewise.
36450 (nearbyint): Likewise.
36451 (nearbyintf): Likewise.
36453 2012-05-09 Andreas Jaeger <aj@suse.de>
36454 Pedro Alves <palves@redhat.com>
36456 * nscd/nscd.c (run_mode): Use enum.
36457 (main): Cleanup coding style issue.
36459 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36460 Andreas Jaeger <aj@suse.de>
36462 * nscd/nscd.c (go_background): Replaced with...
36463 (run_mode): ... this.
36464 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36465 (options): Add -F --foreground.
36466 (main): Implement it.
36467 (parse_opt): Parse it.
36469 2012-05-09 Andreas Jaeger <aj@suse.de>
36472 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36473 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36474 -Wconversion warning.
36475 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36478 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36480 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36482 (LC_ALL): Use macro-int-constant.
36483 (LC_COLLATE): Likewise.
36484 (LC_CTYPE): Likewise.
36485 (LC_MESSAGES): Likewise.
36486 (LC_MONETARY): Likewise.
36487 (LC_NUMERIC): Likewise.
36488 (LC_TIME): Likewise.
36489 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36490 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36492 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36494 [C99-based standards] (float_t): Expect type.
36495 [C99-based standards] (double_t): Expect type.
36496 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36498 [C99-based standards] (HUGE_VALL): Likewise.
36499 [C99-based standards] (INFINITY): Likewise.
36500 [C99-based standards] (NAN): Likewise.
36501 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36502 [C99-based standards] (FP_NAN): Likewise.
36503 [C99-based standards] (FP_NORMAL): Likewise.
36504 [C99-based standards] (FP_SUBNORMAL): Likewise.
36505 [C99-based standards] (FP_ZERO): Likewise.
36506 [C99-based standards] (FP_FAST_FMA): Use
36507 optional-macro-int-constant. Specify type. Require == 1.
36508 [C99-based standards] (FP_FAST_FMAF): Likewise.
36509 [C99-based standards] (FP_FAST_FMAL): Likewise.
36510 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36511 [C99-based standards] (FP_ILOGBNAN): Likewise.
36512 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36514 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36515 [C99-based standards] (math_errhandling): Specify type.
36516 [ISO99 || ISO11] (signgam): Do not allow.
36517 [non-C99-based standards] (copysignf): Do not allow.
36518 [non-C99-based standards] (exp2f): Likewise.
36519 [non-C99-based standards] (log2f): Likewise.
36520 [non-C99-based standards] (modff): Allow.
36521 [non-C99-based standards] (erff): Do not allow.
36522 [non-C99-based standards] (erfcf): Likewise.
36523 [non-C99-based standards] (gammaf): Likewise.
36524 [non-C99-based standards] (hypotf): Likewise.
36525 [non-C99-based standards] (j0f): Likewise.
36526 [non-C99-based standards] (j1f): Likewise.
36527 [non-C99-based standards] (jnf): Likewise.
36528 [non-C99-based standards] (lgammaf): Likewise.
36529 [non-C99-based standards] (tgammaf): Likewise.
36530 [non-C99-based standards] (y0f): Likewise.
36531 [non-C99-based standards] (y1f): Likewise.
36532 [non-C99-based standards] (ynf): Likewise.
36533 [non-C99-based standards] (isnanf): Likewise.
36534 [non-C99-based standards] (acoshf): Likewise.
36535 [non-C99-based standards] (asinhf): Likewise.
36536 [non-C99-based standards] (atanhf): Likewise.
36537 [non-C99-based standards] (cbrtf): Likewise.
36538 [non-C99-based standards] (expm1f): Likewise.
36539 [non-C99-based standards] (ilogbf): Likewise.
36540 [non-C99-based standards] (log1pf): Likewise.
36541 [non-C99-based standards] (logbf): Likewise.
36542 [non-C99-based standards] (nextafterf): Likewise.
36543 [non-C99-based standards] (remainderf): Likewise.
36544 [non-C99-based standards] (rintf): Likewise.
36545 [non-C99-based standards] (scalbf): Likewise.
36546 [non-C99-based standards] (copysignl): Likewise.
36547 [non-C99-based standards] (exp2l): Likewise.
36548 [non-C99-based standards] (log2l): Likewise.
36549 [non-C99-based standards] (modfl): Allow.
36550 [non-C99-based standards] (erfl): Do not allow.
36551 [non-C99-based standards] (erfcl): Likewise.
36552 [non-C99-based standards] (gammal): Likewise.
36553 [non-C99-based standards] (hypotl): Likewise.
36554 [non-C99-based standards] (j0l): Likewise.
36555 [non-C99-based standards] (j1l): Likewise.
36556 [non-C99-based standards] (jnl): Likewise.
36557 [non-C99-based standards] (lgammal): Likewise.
36558 [non-C99-based standards] (tgammal): Likewise.
36559 [non-C99-based standards] (y0l): Likewise.
36560 [non-C99-based standards] (y1l): Likewise.
36561 [non-C99-based standards] (ynl): Likewise.
36562 [non-C99-based standards] (isnanl): Likewise.
36563 [non-C99-based standards] (acoshl): Likewise.
36564 [non-C99-based standards] (asinhl): Likewise.
36565 [non-C99-based standards] (atanhl): Likewise.
36566 [non-C99-based standards] (cbrtl): Likewise.
36567 [non-C99-based standards] (expm1l): Likewise.
36568 [non-C99-based standards] (ilogbl): Likewise.
36569 [non-C99-based standards] (log1pl): Likewise.
36570 [non-C99-based standards] (logbl): Likewise.
36571 [non-C99-based standards] (nextafterl): Likewise.
36572 [non-C99-based standards] (remainderl): Likewise.
36573 [non-C99-based standards] (rintl): Likewise.
36574 [non-C99-based standards] (scalbl): Likewise.
36575 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36576 [non-C99-based standards] (FP_*): Do not allow.
36577 [C99-based standards] (FP_*): Change to
36578 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36579 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36581 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36582 (SIG_ERR): Likewise.
36583 [X/Open-based standards] (SIG_HOLD): Likewise.
36584 (SIG_IGN): Likewise.
36585 (SIGABRT): Use macro-int-constant. Specify type. Require
36587 (SIGFPE): Likewise.
36588 (SIGILL): Likewise.
36589 (SIGINT): Likewise.
36590 (SIGSEGV): Likewise.
36591 (SIGTER): Likewise.
36592 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36593 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36594 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36595 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36596 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36597 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36598 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36599 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36600 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36601 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36602 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36603 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36604 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36605 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36606 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36607 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36608 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36609 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36610 [X/Open-based standards] (SIGTRAP): Likewise.
36611 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36612 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36613 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36614 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36615 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36618 2012-05-08 Ian Wienand <ianw@vmware.com>
36621 * time/tzset.c (__tzset_parse_tz): Update default rules for
36622 daylight time changes in the Energy Policy Act of 2005.
36624 2012-05-09 Andreas Jaeger <aj@suse.de>
36627 * elf/ldconfig.c (parse_conf): Change string to make clear that
36628 ldconfig only issued a warning if ld.so.conf does not exist.
36630 2012-05-08 David S. Miller <davem@davemloft.net>
36632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36633 movxtod instead of popping the value on the stack.
36635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36637 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36639 * config.h.in: Add HAVE_ARM_PCS_VFP.
36641 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36644 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36645 checking but the checks are disabled for any reason.
36647 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36649 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36650 and ELF64_R_TYPE with ELFW(R_TYPE).
36652 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36654 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36655 (ulimit): Likewise.
36657 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36658 (settimeofday): Likewise.
36660 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36662 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36663 a struct th_u2 inside the union, and move tu_block/tu_code into
36664 a new th_u3 union of tu_block/tu_code inside of that. Move
36665 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36666 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36667 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36668 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36669 (th_stuff): Change to th_u1.tu_stuff.
36671 (th_msg): Change to th_u1.th_u2.tu_data.
36673 2012-05-07 David S. Miller <davem@davemloft.net>
36675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36678 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36679 (SETUP_PIC_REG): Use it.
36680 (SETUP_PIC_REG_LEAF): Use it.
36682 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36686 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36688 (EXPL_FINITE): Likewise.
36689 (FLDLOG): Likewise.
36690 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36691 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36693 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36695 (EXPL_FINITE): Likewise.
36696 (FLDLOG): Likewise.
36697 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36698 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36700 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36701 test of -max_value argument for long double.
36702 * sysdeps/i386/fpu/libm-test-ulps: Update.
36703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36705 2012-05-06 David S. Miller <davem@davemloft.net>
36707 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36708 quad soft-float symbols whose references which are compiler
36710 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36712 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36716 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36718 (EXPL_FINITE): Likewise.
36719 (FLDLOG): Likewise.
36722 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36723 Adjust comments for base varying.
36724 (__expl_finite): Change alias to EXPL_FINITE.
36725 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36727 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36728 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36730 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36733 (EXPL_FINITE): Likewise.
36734 (FLDLOG): Likewise.
36737 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36738 Adjust comments for base varying.
36739 (__expl_finite): Change alias to EXPL_FINITE.
36740 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36745 * math/libm-test.inc (check_float_internal): Correct ulp
36746 calculation for subnormal expected results.
36748 2012-05-06 Andreas Jaeger <aj@suse.de>
36750 * Makeconfig (+math-flags): New, set to -frounding-math.
36751 (+cflags): Add +math-flags so that all of glibc gets compiled with
36754 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36756 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36758 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36764 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36765 (__ieee754_expl): Allow for and saturate large arguments.
36766 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36767 (u_threshold): Likewise.
36768 (__exp): Call __ieee754_exp before checking for overflow and
36770 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36771 (u_threshold): Likewise.
36772 (__expf): Call __ieee754_expf before checking for overflow and
36774 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36775 (u_threshold): Likewise.
36776 (__expl): Call __ieee754_expl before checking for overflow and
36778 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36779 (__ieee754_expl): Allow for and saturate large arguments.
36780 * math/libm-test.inc (exp_test): Add another test. Do not allow
36781 missing overflow exception on overflow.
36782 (expm1_test): Do not allow missing overflow exception on overflow.
36784 * sysdeps/i386/fpu/e_expl.c: Move to ...
36785 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36786 rather than using inline asm.
36787 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36788 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36789 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36791 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36794 (signal): Likewise.
36798 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36800 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36801 sysdeps/unix/common/syscalls.list.
36802 (fchmod): Likewise.
36803 (fchown): Likewise.
36804 (ftruncate): Likewise.
36805 (getrusage): Likewise.
36806 (gettimeofday): Likewise.
36807 (setpgid): Likewise.
36808 (setregid): Likewise.
36809 (setreuid): Likewise.
36810 (sigaction): Likewise.
36811 (truncate): Likewise.
36812 (vhangup): Likewise.
36813 * sysdeps/unix/common/syscalls.list: Remove file.
36814 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36815 * sysdeps/unix/sysv/linux/Implies: Likewise.
36817 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36819 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36821 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36825 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36828 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36831 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36834 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36837 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36840 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36843 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36847 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36851 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36854 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36858 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36862 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36864 * sysdeps/unix/common/bits/dirent.h: Remove file.
36865 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36867 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36868 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36869 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36870 * sysdeps/unix/bsd/isatty.c: Likewise.
36871 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36872 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36873 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36875 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36878 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36879 long double comparison inaccuracies.
36880 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36883 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36885 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36888 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36891 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36892 nonzero digits before rounding a hex value.
36893 * stdlib/tst-strtod.c (tests): Add another test.
36895 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36897 * sysdeps/s390/fpu/libm-test-ulps: Update.
36899 2012-05-03 Andreas Jaeger <aj@suse.de>
36901 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36902 does not get optimized out.
36903 (malloc_opt_barrier): New.
36905 2012-05-03 Andreas Jaeger <aj@suse.de>
36906 Roland McGrath <roland@hack.frob.com>
36908 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36909 intermediate file deletion.
36910 (generated): Add .symlist files.
36912 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36915 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36916 Redirect under this condition.
36917 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36918 [__USE_GNU] (__dprintf_chk): Not under this condition.
36919 [__USE_GNU] (__vdprintf_chk): Likewise.
36920 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36921 under this condition.
36922 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36923 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36924 [__USE_XOPEN2K8] (vdprintf): Likewise.
36925 [__USE_GNU] (__dprintf_chk): Not under this condition.
36926 [__USE_GNU] (__vdprintf_chk): Likewise.
36927 [__USE_GNU] (dprintf): Likewise.
36928 [__USE_GNU] (vdprintf): Likewise.
36930 2012-05-03 Roland McGrath <roland@hack.frob.com>
36932 * elf/Makefile (common-generated): Set this instead of generated for
36933 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36934 $(all-built-dso)-derived lists.
36936 2012-05-03 Andreas Jaeger <aj@suse.de>
36938 * sysdeps/i386/fpu/libm-test-ulps: Update.
36941 * FAQ.in: Likewise.
36942 * scripts/gen-FAQ.pl: Likewise.
36943 * manual/install.texi (Installation): Point to online location of
36945 * Makefile (files-for-dist): Remove FAQ.
36948 2012-05-02 Allan McRae <allan@archlinux.org>
36950 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36951 (LDFLAGS-reldepmod5.so): Likewise.
36952 (LDFLAGS-reldep6mod1.so): Likewise.
36953 (LDFLAGS-reldep6mod4.so): Likewise.
36954 (LDFLAGS-reldep8mod3.so): Likewise.
36955 (LDFLAGS-unload4mod1.so): Likewise.
36956 (LDFLAGS-unload4mod2.so): Likewise.
36957 (LDFLAGS-tst-initorder): Likewise.
36958 (LDFLAGS-tst-initordera2.so): Likewise.
36959 (LDFLAGS-tst-initordera3.so): Likewise.
36960 (LDFLAGS-tst-initordera4.so): Likewise.
36961 (LDFLAGS-tst-initorderb2.so): Likewise.
36962 (LDFLAGS-noload): Likewise.
36963 (LDFLAGS-next): Likewise.
36964 (LDFLAGS-order2mod1.so): Likewise.
36965 (LDFLAGS-order2mod2.so): Likewise.
36966 (LDFLAGS-tst-initorder2): Likewise.
36967 (LDFLAGS-tst-initorder2a.so): Likewise.
36968 (LDFLAGS-tst-initorder2b.so): Likewise.
36969 (LDFLAGS-tst-initorder2c.so): Likewise.
36970 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36972 2012-05-02 David S. Miller <davem@davemloft.net>
36974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36976 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36979 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36981 2012-05-02 Andreas Jaeger <aj@suse.de>
36983 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36984 since we manipulate rounding mode.
36985 (CPPFLAGS-test-idouble.c): Likewise.
36986 (CPPFLAGS-test-ifloat.c): Likewise.
36987 (CFLAGS-test-ldouble.c): Likewise.
36988 (CFLAGS-test-double.c): Likewise.
36989 (CFLAGS-test-float.c): Likewise.
36990 (CFLAGS-test-misc.c): Likewise.
36991 (CFLAGS-test-test-fenv.c): Likewise.
36993 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36997 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36998 comparisons to determine direction to adjust input.
37000 2012-05-01 Roland McGrath <roland@hack.frob.com>
37002 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37003 output to the target.
37005 * scripts/localplt.awk: New file.
37006 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37007 (check-localplt-CFLAGS): Variable removed.
37008 ($(all-built-dso:=.jmprel)): New static pattern rule.
37009 (generated): Add those targets.
37010 (localplt-built-dso): New variable.
37011 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37013 * elf/check-localplt.c: File removed.
37015 * scripts/check-execstack.awk: New file.
37016 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37017 (check-execstack-CFLAGS): Variable removed.
37018 ($(objpfx)check-execstack.h): Target removed.
37019 ($(objpfx)execstack-default): New target.
37020 (generated): Add that instead of check-execstack.h.
37021 ($(all-built-dso:=.phdr)): New static pattern rule.
37022 (generated): Add those targets.
37023 * elf/check-execstack.c: File removed.
37025 * scripts/check-textrel.awk: New file.
37026 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37027 (check-textrel-CFLAGS): Variable removed.
37028 (all-built-dso): Use := to define.o
37029 ($(all-built-dso:=.dyn)): New static pattern rule.
37030 (generated): Add those targets.
37031 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37032 * config.make.in (READELF): New substituted variable.
37033 * elf/check-textrel.c: File removed.
37035 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37037 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37039 * conform/data/ctype.h-data [C99-based standards] (isblank):
37041 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37042 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37044 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37045 Specify type. Require positive value.
37046 (EILSEQ): Likewise.
37047 (ERANGE): Likewise.
37048 [ISO || POSIX] (EILSEQ): Do not expect.
37049 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37050 Specify type. Require positive value.
37051 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37052 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37053 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37054 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37055 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37056 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37057 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37058 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37059 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37060 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37061 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37062 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37063 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37064 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37065 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37066 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37067 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37068 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37069 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37070 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37071 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37072 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37073 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37074 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37075 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37076 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37077 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37078 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37079 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37080 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37081 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37082 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37083 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37084 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37085 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37086 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37087 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37088 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37089 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37090 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37091 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37092 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37093 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37094 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37095 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37096 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37097 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37098 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37099 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37100 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37101 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37102 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37103 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37104 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37105 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37106 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37107 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37108 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37109 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37110 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37111 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37112 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37113 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37114 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37115 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37116 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37117 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37118 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37119 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37120 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37121 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37122 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37123 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37124 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37125 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37126 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37127 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37129 (FLT_ROUNDS): Expect as macro, not constant.
37130 (FLT_MANT_DIG): Use macro-int-constant.
37131 (DBL_MANT_DIG): Likewise.
37132 (LDBL_MANT_DIG): Likewise.
37133 (FLT_DIG): Likewise.
37134 (DBL_DIG): Likewise.
37135 (LDBL_DIG): Likewise.
37136 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37137 (DBL_MIN_EXP): Likewise.
37138 (LDBL_MIN_EXP): Likewise.
37139 (FLT_MAX_EXP): Use macro-int-constant.
37140 (DBL_MAX_EXP): Likewise.
37141 (LDBL_MAX_EXP): Likewise.
37142 (FLT_MAX_10_EXP): Likewise.
37143 (DBL_MAX_10_EXP): Likewise.
37144 (LDBL_MAX_10_EXP): Likewise.
37145 (FLT_MAX): Use macro-constant.
37146 (DBL_MAX): Likewise.
37147 (LDBL_MAX): Likewise.
37148 (FLT_EPSILON): Use macro-constant. Give upper bound.
37149 (DBL_EPSILON): Likewise.
37150 (LDBL_EPSILON): Likewise.
37151 (FLT_MIN): Likewise.
37152 (DBL_MIN): Likewise.
37153 (LDBL_MIN): Likewise.
37154 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37155 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37156 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37157 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37158 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37159 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37160 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37161 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37162 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37163 [ISO11] (FLT_TRUE_MIN): Likewise.
37164 [ISO11] (LDBL_TRUE_MIN): Likewise.
37165 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37166 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37167 (SCHAR_MIN): Use macro-int-constant. Specify type.
37168 (SCHAR_MAX): Likewise.
37169 (UCHAR_MAX): Likewise.
37170 (CHAR_MIN): Likewise.
37171 (CHAR_MAX): Likewise.
37172 (MB_LEN_MAX): Use macro-int-constant.
37173 (SHRT_MIN): Use macro-int-constant. Specify type.
37174 (SHRT_MAX): Likewise.
37175 (USHRT_MAX): Likewise.
37176 (INT_MAX): Likewise.
37177 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37179 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37181 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37183 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37184 bound negative. Suffix upper bound with "L".
37185 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37187 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37189 [C99-based standards] (LLONG_MAX): Likewise.
37190 [C99-based standards] (ULLONG_MAX): Likewise.
37191 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37193 [ISO11] (max_align_t): Require type.
37194 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37196 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37197 from $CFLAGS, without defining away __attribute__ calls.
37198 (checknamespace): Use $CFLAGS_namespace.
37200 * conform/conformtest.pl (@keywords): Only include C99 keywords
37201 for standards based on C99 or C11.
37203 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37205 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37208 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37209 usability of symbols in #if.
37211 * conform/conformtest.pl: If macro or constant types start
37212 "promoted:", expect the symbol to be of the following type
37213 promoted by the integer promotions.
37215 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37216 in one place. Also handle "macro-constant".
37218 * conform/conformtest.pl: Only accept expected macro values with
37219 "==". Parse all "macro" lines in one place.
37220 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37222 * conform/conformtest.pl: Handle braced types on "constant" lines
37223 instead of handling "typed-constant".
37224 * conform/data/signal.h-data: Use "constant" instead of
37227 * conform/conformtest.pl: Handle "optional-" at start of lines in
37228 one place rather than duplicating several cases. Handle each
37229 format of "macro" line with initial "optional-".
37231 * conform/conformtest.pl: Only accept expected constant or
37232 optional-constant values with "==". Parse all "constant" lines in
37233 one place. Parse all "optional-constant" lines in one place.
37234 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37235 * conform/data/fmtmsg.h-data: Likewise.
37236 * conform/data/netinet/in.h-data: Likewise.
37237 * conform/data/tar.h-data: Likewise.
37238 * conform/data/limits.h-data: Use "==" form on "constant" and
37239 "optional-constant" lines.
37241 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37242 Use -std=c99 for XOPEN2K.
37243 (@knownproblems): Remove.
37244 (newtoken): Don't check %isknown.
37246 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37247 Do not expect macro.
37248 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37260 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37261 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37278 [XPG3] (acosh): Likewise.
37279 [XPG3] (asinh): Likewise.
37280 [XPG3] (atanh): Likewise.
37281 [XPG3] (cbrt): Likewise.
37282 [XPG3] (expm1): Likewise.
37283 [XPG3] (ilogb): Likewise.
37284 [XPG3] (log1p): Likewise.
37285 [XPG3] (logb): Likewise.
37286 [XPG3] (nextafter): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37289 [XPG3] (remainder): Likewise.
37290 [XPG3] (rint): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37298 [UNIX98 || XOPEN2K] (scalb): Expect.
37299 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37300 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37323 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37324 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37334 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37378 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37379 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37380 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37381 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37382 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37383 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37384 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37385 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37386 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37387 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37388 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37389 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37390 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37391 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37392 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37393 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37394 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37395 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37396 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37397 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37398 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37399 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37400 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37401 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37402 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37403 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37404 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37405 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37406 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37407 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37408 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37409 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37410 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37411 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37412 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37413 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37414 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37415 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37416 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37417 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37418 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37419 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37420 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37421 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37422 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37423 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37424 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37425 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37426 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37427 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37428 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37429 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37430 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37431 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37432 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37433 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37434 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37435 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37437 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37438 _XOPEN_SOURCE_EXTENDED for XPG4.
37440 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37442 * Makeconfig (localtime): Remove variable.
37443 (inst_localtime-file): Likewise.
37445 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37466 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37470 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37471 comparisons to determine direction to adjust input.
37472 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37473 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37474 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37476 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37478 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37480 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37481 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37483 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37485 * math/libm-test.inc (nexttoward_test): Add more tests.
37487 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37490 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37491 in version GLIBC_2.1, not GLIBC_2.0.
37492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37495 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37498 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37500 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37501 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37502 * math/libm-test.inc (acos_test): Add more tests.
37503 (asin_test): Likewise.
37504 * sysdeps/i386/fpu/libm-test-ulps: Update.
37505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37508 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37510 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37511 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37512 * math/libm-test.inc (acos_test_tonearest): New function.
37513 (acos_test_towardzero): Likewise.
37514 (acos_test_downward): Likewise.
37515 (acos_test_upward): Likewise.
37516 (asin_test_tonearest): Likewise.
37517 (asin_test_towardzero): Likewise.
37518 (asin_test_downward): Likewise.
37519 (asin_test_upward): Likewise.
37520 (main): Call the new functions.
37521 * sysdeps/i386/fpu/libm-test-ulps: Update.
37522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37526 * math/e_exp10.c: Include <float.h>.
37527 (__ieee754_exp10): Handle underflow here rather than multiplying
37528 large negative argument by M_LN10.
37529 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37531 * math/e_exp10l.c: Include <float.h>.
37532 (__ieee754_exp10l): Handle underflow here rather than multiplying
37533 large negative argument by M_LN10l.
37534 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37535 spurious overflow exception on underflow.
37537 2012-04-29 Marek Polacek <polacek@redhat.com>
37539 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37540 (__fortify_function): New macro.
37541 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37542 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37543 __extern_always_inline.
37544 * libio/bits/stdio2.h: Likewise.
37545 * libio/bits/stdio.h: Likewise.
37546 * string/string.h: Likewise.
37547 * string/bits/string3.h: Likewise.
37548 * include/stdio.h: Likewise.
37549 * stdlib/bits/stdlib.h: Likewise.
37550 * stdlib/stdlib.h: Likewise.
37551 * rt/bits/mqueue2.h: Likewise.
37552 * rt/mqueue.h: Likewise.
37553 * posix/bits/unistd.h: Likewise.
37554 * posix/unistd.h: Likewise.
37555 * io/bits/poll2.h: Likewise.
37556 * io/bits/fcntl2.h: Likewise.
37557 * io/fcntl.h: Likewise.
37558 * io/sys/poll.h: Likewise.
37559 * misc/bits/syslog.h: Likewise.
37560 * misc/bits/syslog-ldbl.h: Likewise.
37561 * misc/sys/syslog.h: Likewise.
37562 * socket/bits/socket2.h: Likewise.
37563 * socket/sys/socket.h: Likewise.
37564 * debug/tst-chk1.c: Likewise.
37565 * wcsmbs/bits/wchar2.h: Likewise.
37566 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37567 * wcsmbs/wchar.h: Likewise.
37569 2012-04-29 Andreas Jaeger <aj@suse.de>
37571 * Makerules (tests): Remove enable-check-abi protection.
37572 (check-abi-warn): Remove.
37573 (check-abi-%): Remove check-abi-warn usage.
37575 * configure.in: Remove check-abi configure option.
37576 * configure: Regenerated.
37577 * config.make.in (enable-check-abi): Remove.
37579 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37582 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37583 double functions to double *_finite functions.
37586 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37587 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37589 * stdio-common/Makefile (tests): Add tst-sprintf3.
37590 * stdio-common/tst-sprintf3.c: New file.
37592 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37593 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37595 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37597 * conform/conformtest.pl: Remove duplicate typed-constant
37600 2012-04-28 David S. Miller <davem@davemloft.net>
37602 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37603 (check-abi-%): Remove AWK script prerequisite and explicit
37605 (check-abi): Rewrite to just diff the symlist with the abilist.
37606 (config-tls, config-abi-config): Delete, no longer used.
37607 (update-abi-%): Remove AWK script and explicit abilist directory.
37608 (update-abi): Rewrite to simply compare and conditionally copy the
37609 symlist and the sysdep abilist file. Remove update-abi-config
37611 * abilist/ld.abilist: Remove.
37612 * abilist/libBrokenLocale.abilist: Remove.
37613 * abilist/libanl.abilist: Remove.
37614 * abilist/libcrypt.abilist: Remove.
37615 * abilist/libdl.abilist: Remove.
37616 * abilist/librt.abilist: Remove.
37617 * abilist/libthread_db.abilist: Remove.
37618 * abilist/libutil.abilist: Remove.
37619 * scripts/extract-abilist.awk: Remove.
37620 * scripts/merge-abilist.awk: Remove.
37621 * sysdeps/generic/libcidn.abilist: New file.
37622 * sysdeps/generic/libnss_compat.abilist: New file.
37623 * sysdeps/generic/libnss_db.abilist: New file.
37624 * sysdeps/generic/libnss_dns.abilist: New file.
37625 * sysdeps/generic/libnss_files.abilist: New file.
37626 * sysdeps/generic/libnss_hesiod.abilist: New file.
37627 * sysdeps/generic/libnss_nis.abilist: New file.
37628 * sysdeps/generic/libnss_nisplus.abilist: New file.
37629 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37630 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37631 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37633 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37634 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37635 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37636 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37637 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37638 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37639 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37640 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37641 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37643 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37644 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37645 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37646 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37648 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37649 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37650 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37651 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37652 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37653 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37655 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37656 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37657 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37659 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37762 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37763 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37764 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37767 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37768 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37769 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37770 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37771 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37772 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37773 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37774 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37775 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37827 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37829 * conform/conformtest.pl: Fix typo in handling typed-constant from
37832 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37834 * README: Cut down references to pre-2.6 Linux kernels and
37835 Linuxthreads. Update lists of configurations in libc and ports
37836 and sort alphabetically. Say "or newer" with Linux kernel version
37839 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37841 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37844 * math/libm-test.inc (logb_test_downward): New test to expose
37845 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37848 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37851 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37853 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37854 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37856 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37858 * sysdeps/unix/i386/brk.S: Remove file.
37859 * sysdeps/unix/i386/dl-brk.S: Likewise.
37860 * sysdeps/unix/i386/pipe.S: Likewise.
37861 * sysdeps/unix/i386/sigreturn.S: Likewise.
37862 * sysdeps/unix/i386/syscall.S: Likewise.
37863 * sysdeps/unix/i386/vfork.S: Likewise.
37864 * sysdeps/unix/i386/wait.S: Likewise.
37866 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37867 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37869 * configure.in (arm*-none*): Do not allow without
37870 --enable-hacker-mode.
37871 (netbsd*): Remove case setting base_os.
37872 (386bsd*): Likewise.
37873 (freebsd*): Likewise.
37876 (sunos*): Likewise.
37877 (ultrix*): Likewise.
37878 (newsos*): Likewise.
37879 (dynix*): Likewise.
37885 (minix*): Likewise.
37886 (irix4*): Likewise.
37887 (irix6*): Likewise.
37888 (solaris[2-9]*): Likewise.
37890 * configure: Regenerated.
37892 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37895 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37896 overflow or cancellation in calculating denominator.
37897 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37899 down expression to avoid unexpected rounding in newer GCCs.
37900 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37902 2012-04-26 David S. Miller <davem@davemloft.net>
37904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37905 long-double compat symbols.
37906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37920 2012-04-25 David S. Miller <davem@davemloft.net>
37922 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37923 HWCAP_* values only after the memory barriers have been defined.
37924 (atomic_full_barrier): Define.
37925 (atomic_read_barrier): Define.
37926 (atomic_write_barrier): Define.
37928 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37930 * shlib-versions: Add libgcc_s version information.
37931 * sysdeps/generic/libgcc_s.h: Remove.
37932 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37934 * sysdeps/gnu/unwind-resume.c: Likewise.
37935 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37937 2012-04-25 David S. Miller <davem@davemloft.net>
37939 * sysdeps/unix/sparc/brk.S: Delete.
37940 * sysdeps/unix/sparc/dl-brk.S: Delete.
37941 * sysdeps/unix/sparc/pipe.S: Delete.
37942 * sysdeps/unix/sparc/sysdep.S: Delete.
37943 * sysdeps/unix/sparc/sysdep.h: Delete.
37944 * sysdeps/unix/sparc/vfork.S: Delete.
37945 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37946 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37947 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37948 (ret_ERRVAL, r0, r1, MOVE): Define.
37949 (JUMPTARGET): Remove.
37950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37951 sysdeps/unix/sparc/sysdep.h
37952 (ENTRY, END): Remove.
37953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37955 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37957 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37958 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37961 * timezone/README: Update upstream location and email address for
37963 * timezone/zdump.c: Update from tzcode 2012b.
37964 * timezone/zic.c: Likewise.
37966 * configure.in (libc_cv_as_needed): Remove test.
37967 * configure: Regenerated.
37968 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37969 conditional definition.
37970 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37971 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37972 * config.make.in (have-as-needed): Remove variable.
37974 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37975 Paul Pluzhnikov <ppluzhnikov@google.com>
37977 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37980 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37982 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37983 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37984 * sysdeps/sh/strlen.S: Likewise.
37986 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37988 * sysdeps/unix/fork.S: Remove file.
37989 * sysdeps/unix/i386/fork.S: Likewise.
37990 * sysdeps/unix/sparc/fork.S: Likewise.
37992 * sysdeps/unix/system.c: Remove file.
37993 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37995 * sysdeps/unix/getegid.S: Remove file.
37996 * sysdeps/unix/geteuid.S: Likewise.
37998 2012-04-24 Roland McGrath <roland@hack.frob.com>
38000 * scripts/check-localplt.awk: New file.
38001 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38003 * scripts/data/localplt-generic.data: Add a comment.
38005 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38006 NODE when __dir_mkfile failed.
38007 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38008 Reported by Ludovic Courtès <ludo@gnu.org>.
38010 2012-04-24 Andreas Jaeger <aj@suse.de>
38012 * Makerules (common-clean): Also remove gen-as-const-headers
38015 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38017 * Makerules (native-compile): Do not change working directory for
38018 build. Use $(OUTPUT_OPTION) in command.
38019 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38021 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38024 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38025 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38026 * math/libm-test.inc (floor_test): Add more tests.
38027 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38029 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38031 * sysdeps/unix/getdents.c: Remove file.
38032 * sysdeps/unix/sysv/getdents.c: Likewise.
38033 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38035 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38036 sysdeps/unix/mman/syscalls.list.
38038 (mprotect): Likewise.
38040 (munmap): Likewise.
38041 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38042 * sysdeps/unix/mman/syscalls.list: Remove.
38043 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38045 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38046 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38047 * configure: Regenerated.
38048 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38049 $(libgcc_s_suffix).
38050 * config.make.in (libgcc_s_suffix): Remove variable.
38052 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38054 * sysdeps/unix/sysv/gethostname.c: Move to ...
38055 * sysdeps/posix/gethostname.c: ... here.
38057 * sysdeps/unix/execve.S: Remove file.
38059 * sysdeps/unix/_exit.S: Remove file.
38061 2012-04-23 Andreas Jaeger <aj@suse.de>
38064 * manual/Makefile: Remove make dist support, there's no
38065 need for a stand-alone documentation tar ball.
38066 (TEXI2DVI): Define always, it's not in Makeconfig.
38069 (edition): Removed.
38070 (glibc-doc-$(edition).tar): Removed
38074 (ETAGS): Remove, it's in Makeconfig.
38075 (move-if-change): Remove, it's in Makeconfig.
38077 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38080 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38081 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38082 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38083 (strtod_l, strtof_l, strtold_l): Remove __wur.
38084 It is not necessarily an error to ignore strtol's return value.
38085 One can reliably look at the stored endptr to decide whether
38086 the number had valid syntax.
38088 2012-04-21 Andreas Jaeger <aj@suse.de>
38091 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38093 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38095 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38096 * sysdeps/unix/sysv/Versions: Remove file.
38098 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38103 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38107 version from __vm86.
38109 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38111 * sysdeps/unix/common/lxstat.c: Remove file.
38112 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38114 * sysdeps/unix/sysv/Makefile: Remove file.
38116 * sysdeps/unix/sysv/direct.h: Remove file.
38118 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38119 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38120 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38121 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38122 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38123 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38124 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38126 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38128 * sysdeps/unix/xmknod.c: Remove file.
38129 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38131 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38133 * sysdeps/unix/sysv/i386/time.S: Remove file.
38135 * sysdeps/unix/fxstat.c: Remove file.
38136 * sysdeps/unix/xstat.c: Likewise.
38137 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38139 * sysdeps/unix/sysv/sigaction.c: Remove file.
38141 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38142 (sysdep_headers): Remove variable.
38143 [termio.h not in sysdep_headers] (generated): Likewise.
38144 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38145 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38146 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38147 * sysdeps/unix/sysv/tcflow.c: Likewise.
38148 * sysdeps/unix/sysv/tcflush.c: Likewise.
38149 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38150 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38151 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38152 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38153 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38155 * sysdeps/unix/siglist.c: Remove file.
38157 * sysdeps/unix/getppid.S: Remove file.
38159 * sysdeps/unix/mkdir.c: Remove file.
38160 * sysdeps/unix/rmdir.c: Likewise.
38162 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38164 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38166 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38167 errlist-compat value.
38169 2012-04-18 David S. Miller <davem@davemloft.net>
38171 * sysdeps/generic/memcopy.h (reg_char): Delete.
38172 * debug/strcat_chk.c: Use char, not reg_char.
38173 * debug/strcpy_chk.c: Likewise.
38174 * debug/strncat_chk.c: Likewise.
38175 * debug/strncpy_chk.c: Likewise.
38176 * string/memchr.c: Likewise.
38177 * string/memrchr.c: Likewise.
38178 * string/rawmemchr.c: Likewise.
38179 * string/strcat.c: Likewise.
38180 * string/strchr.c: Likewise.
38181 * string/strchrnul.c: Likewise.
38182 * string/strcmp.c: Likewise.
38183 * string/strcpy.c: Likewise.
38184 * string/strncat.c: Likewise.
38185 * string/strncmp.c: Likewise.
38186 * string/strncpy.c: Likewise.
38188 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38190 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38191 __builtin_memcopy is called when src and dest ranges are known to not
38194 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38196 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38197 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38198 fwd_align_merge macro call.
38199 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38200 bwd_align_merge macro call.
38201 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38203 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38205 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38206 bwd_align_merge macros.
38207 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38208 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38209 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38211 2012-04-18 David S. Miller <davem@davemloft.net>
38213 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38215 2012-04-18 Andreas Jaeger <aj@suse.de>
38218 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38219 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38220 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38222 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38223 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38224 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38226 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38227 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38228 Adjust for changed ldbl-128 files.
38230 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38231 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38232 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38234 2012-04-17 David S. Miller <davem@davemloft.net>
38236 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38238 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38240 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38241 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38242 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38243 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38244 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38245 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38247 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38250 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38251 * math/libm-test.inc: Add ilogb errno and exception tests.
38252 * math/w_ilogb.c: New file: ilogb wrapper.
38253 * math/w_ilogbf.c: New file: ilogbf wrapper.
38254 * math/w_ilogbl.c: New file: ilogbl wrapper.
38255 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38256 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38257 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38258 exception being thrown with 0.0 as argument.
38259 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38260 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38261 exception being thrown with 0.0 as argument.
38262 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38263 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38264 exception being thrown with 0.0 as argument.
38265 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38266 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38267 exception being thrown with 0.0 as argument.
38268 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38269 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38270 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38271 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38272 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38273 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38274 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38275 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38276 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38278 2012-04-17 Petr Baudis <pasky@ucw.cz>
38280 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38283 2012-04-16 Marek Polacek <polacek@redhat.com>
38285 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38287 2012-04-16 Marek Polacek <polacek@redhat.com>
38289 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38290 operands of fdivp instruction.
38292 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38294 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38295 * elf/tst-auditmod3b.c: Likewise.
38296 * elf/tst-auditmod4b.c: Likewise.
38297 * elf/tst-auditmod5b.c: Likewise.
38298 * elf/tst-auditmod6b.c: Likewise.
38299 * elf/tst-auditmod6c.c: Likewise.
38300 * elf/tst-auditmod7b.c: Likewise.
38301 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38302 * sysdeps/x86_64/preconfigure.in: Likewise.
38303 * sysdeps/x86_64/preconfigure: Regenerated.
38305 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38307 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38310 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38313 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38315 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38318 * locale/iso-639.def: Fix gl language name. Spotted by
38321 2012-04-12 Roland McGrath <roland@hack.frob.com>
38324 * libio/libio.h (__io_write_fn): Update comment.
38326 2012-04-12 Petr Baudis <pasky@ucw.cz>
38329 * stdio.texi (Hook Functions): The user provided writer function
38330 is not allowed to return -1.
38332 2012-04-11 David S. Miller <davem@davemloft.net>
38334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38336 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38338 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38339 Add a leading slash to rtkaio.
38341 2012-04-11 Jim Meyering <meyering@redhat.com>
38344 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38345 It is not necessarily an error to ignore fwrite's return
38346 value. One can reliably use ferror to test for errors after
38349 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38351 * bits/types.h (__snseconds_t): New type.
38352 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38354 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38356 (__SNSECONDS_T_TYPE): Likewise.
38357 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38358 (__SNSECONDS_T_TYPE): Likewise.
38359 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38360 (__SNSECONDS_T_TYPE): Likewise.
38362 2012-04-10 Andreas Jaeger <aj@suse.de>
38365 * manual/time.texi (Processor Time): Return type of times is
38366 elapsed real time since an arbitrary point in the past.
38367 (CPU Time): Move CLK_TCK from here...
38368 (Processor Time): ...to here. Correct description.
38369 * manual/conf.texi (Constants for Sysconf): Correct description of
38372 2012-04-10 David S. Miller <davem@davemloft.net>
38375 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38376 where the is a gap between DT_REL(A) and DT_JMPREL.
38378 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38380 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38381 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38382 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38384 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38386 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38387 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38388 (dl_main): Handle --inhibit-cache.
38389 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38391 * elf/dl-load.c (_dl_map_object): Use it.
38392 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38394 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38397 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38398 (__ieee754_powl): Saturate large exponents rather than testing for
38399 overflow of y*log2(x).
38400 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38401 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38405 * math/s_ctan.c: Include <float.h>.
38406 (__ctan): Avoid internal overflow or cancellation in calculating
38408 * math/s_ctanf.c: Likewise.
38409 * math/s_ctanl.c: Likewise.
38410 * math/s_ctanh.c: Likewise.
38411 * math/s_ctanhf.c: Likewise.
38412 * math/s_ctanhl.c: Likewise.
38413 * math/libm-test.inc (ctan_test): Add more tests.
38414 (ctanh_test): Likewise.
38415 * sysdeps/i386/fpu/libm-test-ulps: Update.
38416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38418 2012-04-09 Andreas Jaeger <aj@suse.de>
38421 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38422 is an optional BSD extension.
38425 * manual/stdio.texi (Opening Streams): Document additional fopen
38428 2012-04-09 Roland McGrath <roland@hack.frob.com>
38430 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38431 %eax without telling the compiler.
38433 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38436 * manual/install.texi: Use sourceware.org.
38438 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38441 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38442 (__ieee754_pow): Generate overflow and underflow using huge*huge
38443 and tiny*tiny rather than just returning constant infinity or zero
38444 for large exponents.
38445 * math/libm-test.inc (pow_test): Require overflow exceptions for
38446 applicable cases of large exponents.
38449 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38450 (__ieee754_pow): Use iterative multiplication algorithm only for
38451 integer exponents with absolute value below 1024. Check for odd
38452 integer exponents when using algorithm for real exponents.
38453 * math/libm-test.inc (pow_test): Add more tests.
38454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38456 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38459 * math/libm-test.inc (exp_test): Do not allow overflow exception
38462 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38465 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38466 instead of __kernel_standard_f.
38468 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38470 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38471 * sysdeps/x86_64/memset_chk.S: Likewise.
38473 2012-04-08 Andreas Jaeger <aj@suse.de>
38476 * manual/startup.texi (Environment Access): Describe return value
38477 for putenv and setenv.
38480 * manual/filesys.texi (Directory Entries): Add description for
38484 * manual/filesys.texi (Directory Entries): Clarify that it's file
38485 system not operating system in the description of DT_UNKNOWN.
38488 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38490 2012-04-08 Stephen Compall <s11@member.fsf.org>
38493 * manual/llio.texi (Opening and Closing Files): Add cross
38494 reference to explain mode argument.
38496 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38498 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38499 * sysdeps/x86_64/memset_chk.S: Likewise.
38501 2012-04-07 David S. Miller <davem@davemloft.net>
38503 * elf/elf.h (R_SPARC_WDISP10): Define.
38504 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38506 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38507 R_SPARC_SIZE64 and R_SPARC_H34.
38509 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38511 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38512 conditions and remove no longer applicable assertion.
38514 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38516 * bits/byteswap.h: Include <features.h>.
38517 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38518 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38520 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38522 * bits/byteswap.h (__bswap_16): Removed.
38523 Include <bits/byteswap-16.h> to get __bswap_16.
38524 * sysdeps/i386/bits/byteswap.h: Likewise.
38525 * sysdeps/s390/bits/byteswap.h: Likewise.
38526 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38527 * bits/byteswap-16.h: New file.
38528 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38529 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38530 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38531 * string/Makefile (headers): Add bits/byteswap-16.h.
38533 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38536 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38538 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38539 * nss/tst-nss-static.c: New.
38541 2012-04-06 Robert Millan <rmh@gnu.org>
38544 * manual/llio.texi (File Position Primitive): lseek
38545 refers to WHENCE when it really means OFFSET.
38547 2012-04-06 Andreas Jaeger <aj@suse.de>
38549 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38550 strncmp declarations.
38552 * abilist/libc.abilist: Add __poll and __ppoll.
38554 2012-04-05 David S. Miller <davem@davemloft.net>
38556 * scripts/check-local-headers.sh: Accept a host triplet in the
38557 path matched by the exclude regexp.
38559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38561 * sysdeps/powerpc/powerpc32/dl-machine.h
38562 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38563 * sysdeps/s390/s390-32/dl-machine.h
38564 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38565 * sysdeps/sparc/sparc32/dl-machine.h
38566 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38567 * sysdeps/sparc/sparc64/dl-machine.h
38568 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38570 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38572 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38573 undefined symbol errors.
38575 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38578 2012-04-05 Michael Matz <matz@suse.de>
38581 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38583 2012-04-05 Andreas Jaeger <aj@suse.de>
38586 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38589 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38591 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38592 which ROUND is no valid rounding mode.
38594 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38596 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38598 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38600 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38602 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38603 an exception using FPU order intentionally.
38605 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38607 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38608 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38609 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38610 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38612 2012-04-05 Simon Josefsson <simon@josefsson.org>
38615 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38616 EINVAL when BUFLEN is too smal.
38618 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38621 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38622 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38624 2012-04-03 Andreas Jaeger <aj@suse.de>
38627 * manual/setjmp.texi (System V contexts): Fix sentence.
38630 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38631 New macro for this case.
38632 [!__GNUC__] (__bswap_64): New inline function for this case.
38633 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38634 * bits/byteswap.h: Likewise.
38635 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38636 ull, guard with __GLIBC_HAVE_LONG_LONG.
38638 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38639 __GLIBC_HAVE_LONG_LONG.
38641 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38642 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38644 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38647 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38648 inptr and inend, rather than using last_ch.
38650 2012-04-02 David S. Miller <davem@davemloft.net>
38652 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38653 * stdio-common/printf-parse.h (read_int): Change return type to
38654 'int', return -1 on INT_MAX overflow.
38655 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38656 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38657 overflows INT_MAX. Check for overflow of in-format-string precision
38658 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38659 SIZE_MAX not INT_MAX for integer overflow test.
38660 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38661 skip the construct in the format string but do not record anything.
38662 * stdio-common/bug22.c: Adjust to test both width/prevision
38663 INT_MAX overflow as well as total length INT_MAX overflow. Check
38664 explicitly for proper errno values.
38666 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38668 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38670 * string/test-strcmp.c [! WIDE]: Likewise.
38671 * time/tst-mktime2.c: Likewise for INT_MAX.
38672 * string/test-string.h: #include <sys/param.h> for MIN.
38674 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38675 * sysdeps/i386/init-first.c (init): Likewise.
38676 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38677 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38678 * sysdeps/sh/init-first.c (init): Likewise.
38680 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38682 * po/ru.po: Update from translation team.
38683 * po/vi.po: Likewise.
38685 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38687 * resolv/nss_dns/dns-host.c: Merge copyright years.
38689 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38691 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38692 Optimize memcpy with prefetch if
38693 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38694 src, dst pointers have unequal 16 byte alignments.
38696 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38699 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38700 from a CNAME entry and return the minimum ttl for the query.
38701 (gaih_getanswer_slice): Likewise.
38703 2012-03-30 Jeff Law <law@redhat.com>
38705 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38707 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38708 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38710 * resolv/nss_dns/dns-host.c: Update copyright year.
38712 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38714 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38715 requests to save a system call. Fix check that all bytes are sent.
38717 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38718 comments for sendmmsg.
38720 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38723 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38724 with only 1 character between 0x0041 and 0x01b0.
38725 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38726 * wcsmbs/tst-mbsnrtowcs.c: New file.
38728 2012-03-29 David S. Miller <davem@davemloft.net>
38730 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38731 small copies by hand.
38733 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38736 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38737 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38740 2012-03-28 David S. Miller <davem@davemloft.net>
38742 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38743 that branches into memcpy.
38744 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38745 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38747 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38750 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38751 implementation too.
38752 * sysdeps/sparc/mempcpy.S: New file.
38754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38755 the IFUNC routine in the libc case.
38756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38758 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38759 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38760 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38761 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38762 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38763 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38764 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38765 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38767 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38768 loop to 256 bytes instead of 64 bytes and fix test signedness.
38770 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38771 * sysdeps/sparc/sparc32/Makefile: rather than here...
38772 * sysdeps/sparc/sparc64/Makefile: and here.
38774 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38776 * malloc/mallocbug.c: Avoid warnings about unused variables.
38778 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38781 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38782 in the right place. Discard and retry query if response is
38783 larger than input buffer size.
38785 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38790 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38791 x for large integer exponent.
38792 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38793 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38794 sign of result as needed afterwards.
38795 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38796 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38797 result for underflowing pow the same as for overflow.
38798 (__kernel_standard_l): Handle powl overflow and underflow here
38799 rather than calling __kernel_standard.
38800 * math/libm-test.inc (pow_test): Add more tests.
38815 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38816 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38817 (__kernel_standard_l): New function.
38818 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38820 * math/w_acosl.c (__acosl): Likewise.
38821 * math/w_asinl.c (__asinl): Likewise.
38822 * math/w_atan2l.c (__atan2l): Likewise.
38823 * math/w_atanhl.c (__atanhl): Likewise.
38824 * math/w_coshl.c (__coshl): Likewise.
38825 * math/w_exp10l.c (__exp10l): Likewise.
38826 * math/w_exp2l.c (__exp2l): Likewise.
38827 * math/w_fmodl.c (__fmodl): Likewise.
38828 * math/w_hypotl.c (__hypotl): Likewise.
38829 * math/w_j0l.c (__j0l, __y0l): Likewise.
38830 * math/w_j1l.c (__j1l, __y1l): Likewise.
38831 * math/w_jnl.c (__jnl, __ynl): Likewise.
38832 * math/w_lgammal.c (__lgammal): Likewise.
38833 * math/w_log10l.c (__log10l): Likewise.
38834 * math/w_log2l.c (__log2l): Likewise.
38835 * math/w_logl.c (__logl): Likewise.
38836 * math/w_powl.c (__powl): Likewise.
38837 * math/w_remainderl.c (__remainderl): Likewise.
38838 * math/w_scalbl.c (sysv_scalbl): Likewise.
38839 * math/w_sinhl.c (__sinhl): Likewise.
38840 * math/w_sqrtl.c (__sqrtl): Likewise.
38841 * math/w_tgammal.c (__tgammal): Likewise.
38842 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38843 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38844 * math/libm-test.inc (acos_test): Add more tests.
38845 (acosh_test): Likewise.
38846 (asin_test): Likewise.
38847 (atanh_test): Likewise.
38848 (exp_test): Likewise.
38849 (exp10_test): Likewise.
38850 (exp2_test): Likewise.
38851 (expm1_test): Likewise.
38852 (lgamma_test): Likewise.
38853 (log_test): Likewise.
38854 (log10_test): Likewise.
38855 (log1p_test): Likewise.
38856 (log2_test): Likewise.
38857 (pow_test): Do not allow some spurious overflow exceptions.
38858 (sqrt_test): Add more tests.
38859 (tgamma_test): Likewise.
38860 (y0_test): Likewise.
38861 (y1_test): Likewise.
38862 (yn_test): Likewise.
38864 2012-03-27 Anton Blanchard <anton@samba.org>
38866 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38868 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38869 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38872 2012-03-27 David S. Miller <davem@davemloft.net>
38874 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38876 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38877 have-as-vis3 check.
38879 2012-03-27 Andreas Jaeger <aj@suse.de>
38881 * sysdeps/x86_64/elf/configure.in: Moved to ...
38882 * sysdeps/x86_64/configure.in: ... here.
38883 * sysdeps/x86_64/elf/start.S: Moved to ...
38884 * sysdeps/x86_64/start.S: ... here.
38885 * sysdeps/x86_64/elf/configure: Delete.
38887 * sysdeps/x86_64/configure.in: Merge contents from
38888 sysdeps/i386/configure.in (without i686 check).
38890 * sysdeps/i386/elf/Versions: Merge into ...
38891 * sysdeps/i386/Versions: ... this.
38892 * sysdeps/i386/elf/Versions: Delete file.
38893 * sysdeps/i386/elf/start.S: Moved to ...
38894 * sysdeps/i386/start.S: ...here.
38895 * sysdeps/i386/elf/configure.in: Merge into...
38896 * sysdeps/i386/configure.in: ...here.
38897 * sysdeps/i386/elf/configure.in: Delete file.
38898 * sysdeps/i386/elf/configure: Delete file.
38900 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38901 * debug/backtracesyms.c: ... here.
38902 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38903 * debug/backtracesymsfd.c: ... here.
38904 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38905 * sysdeps/generic/ifunc-sel.h: ... here.
38907 * sysdeps/unix/i386/start.c: Delete file.
38908 * sysdeps/unix/sparc/start.c: Delete file.
38909 * sysdeps/unix/start.c: Delete file.
38911 * sysdeps/sh/elf/configure.in: Moved to ...
38912 * sysdeps/sh/configure.in: ... here.
38913 * sysdeps/sh/elf/start.S: Moved to ...
38914 * sysdeps/sh/start.S: ... here.
38915 * sysdeps/sh/elf/configure: Delete file.
38917 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38918 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38919 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38920 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38921 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38922 * sysdeps/powerpc/powerpc64/start.S: here.
38923 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38924 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38925 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38926 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38927 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38929 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38930 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38931 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38932 * sysdeps/powerpc/powerpc32/start.S: ... here.
38933 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38934 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38935 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38937 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38938 * sysdeps/powerpc/ifunc-sel.h: ... here.
38939 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38940 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38942 * sysdeps/sparc/elf/configure.in: Moved to ...
38943 * sysdeps/sparc/configure.in: ... here.
38944 * sysdeps/sparc/elf/configure: Delete file.
38945 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38946 * sysdeps/sparc/sparc32/start.S: ... here.
38947 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38948 * sysdeps/sparc/sparc64/start.S: ... here.
38949 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38950 * sysdeps/sparc/sparc32/Makefile: ... this.
38951 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38952 * sysdeps/sparc/sparc64/Makefile: ... this.
38954 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38955 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38956 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38957 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38958 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38959 * sysdeps/s390/s390-32/setjmp.S: ... here.
38960 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38961 * sysdeps/s390/s390-32/configure.in: ... here.
38962 * sysdeps/s390/s390-32/elf/configure: Delete file.
38963 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38964 * sysdeps/s390/s390-32/start.S: ... here.
38966 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38967 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38968 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38969 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38970 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38971 * sysdeps/s390/s390-64/setjmp.S: ... here.
38972 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38973 * sysdeps/s390/s390-64/configure.in: ... here
38974 * sysdeps/s390/s390-64/elf/configure: Delete file.
38975 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38976 * sysdeps/s390/s390-64/start.S: ... here.
38977 * sysdeps/s390/s390-64/elf/configure: Delete.
38979 * configure.in: Remove support for elf directories in sysdeps.
38981 * configure: Regenerated.
38982 * sysdeps/i386/configure: Regenerated.
38983 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38984 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38985 * sysdeps/s390/s390-32/configure: Regenerated.
38986 * sysdeps/s390/s390-64/configure: Regenerated.
38987 * sysdeps/sh/configure: Regenerated.
38988 * sysdeps/sparc/configure: Regenerated.
38989 * sysdeps/x86_64/configure: Regenerated.
38991 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38995 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38996 denormal result into account.
38998 2012-03-25 Roland McGrath <roland@hack.frob.com>
39000 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39001 Reported by Allan McRae <allan@archlinux.org>.
39003 2012-03-23 Jeff Law <law@redhat.com>
39005 * nss/getnssent.c (__nss_getent): Fix typo.
39007 2012-03-23 David S. Miller <davem@davemloft.net>
39009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39011 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39013 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39014 to pad to uint64_t for each field.
39015 (dl_tls_index): Replace unsigned long with uint64_t.
39017 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39018 Paul Pluzhnikov <ppluzhnikov@google.com>
39021 * grp/Makefile (otherlibs): Don't set it.
39022 * inet/Makefile (otherlibs): Likewise.
39023 * login/Makefile (otherlibs): Likewise.
39024 * nscd/Makefile (otherlibs): Likewise.
39025 * posix/Makefile (otherlibs): Likewise.
39026 * pwd/Makefile (otherlibs): Likewise.
39027 * rt/Makefile (otherlibs): Likewise.
39028 * sunrpc/Makefile (otherlibs): Likewise.
39029 * nss/Makefile (otherlibs): Likewise.
39030 Add libnss_files to routines and static-only-routines.
39031 ($(objpfx)getent): Remove rule.
39032 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39033 static-only-routines.
39035 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39038 * math/s_cexp.c: Include <float.h>.
39039 (__cexp): Handle exp result overflowing not necessarily
39040 overflowing both real and imaginary parts of result.
39041 * math/s_cexpf.c: Likewise.
39042 * math/s_cexpl.c: Likewise.
39043 * math/libm-test.inc (cexp_test): Add more tests.
39044 * sysdeps/i386/fpu/libm-test-ulps: Update.
39045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39047 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39049 * include/link.h (ELFW): New macro.
39050 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39051 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39053 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39055 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39058 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39060 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39062 (struct La_x32_retval): Likewise.
39064 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39066 * sysdeps/x86_64/preconfigure.in: New file.
39067 * sysdeps/x86_64/preconfigure: New generated file.
39069 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39072 * math/e_exp2l.c: Include <float.h>.
39073 (__ieee754_exp2l): Handle overflow and underflow cases
39074 separately. Only pass fractional part of argument to
39076 * math/libm-test.inc (exp2_test): Add more tests.
39078 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39079 negating x to take absolute value.
39080 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39082 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39083 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39085 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39086 computing low part if x was negated.
39087 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39089 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39091 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39092 la_x32_gnu_pltexit.
39093 (pltexit): Cast int_retval to ptrdiff_t.
39094 * elf/tst-auditmod3b.c: Likewise.
39095 * elf/tst-auditmod4b.c: Likewise.
39096 * elf/tst-auditmod5b.c: Likewise.
39097 * elf/tst-auditmod6b.c: Likewise.
39098 * elf/tst-auditmod6c.c: Likewise.
39099 * elf/tst-auditmod7b.c: Likewise.
39101 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39102 and x32_gnu_pltexit.
39104 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39105 __ELF_NATIVE_CLASS.
39106 (La_x32_regs): New macro.
39107 (La_x32_retval): Likewise.
39108 (la_x32_gnu_pltenter): New function prototype.
39109 (la_x32_gnu_pltexit): Likewise.
39111 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39118 * configure.in (libc_cv_cc_nofma): Check for option to disable
39119 generation of FMA instructions.
39120 * configure: Regenerate.
39121 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39122 * sysdeps/ieee754/dbl-64/Makefile: New file.
39123 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39124 Remove brandred-fma4.
39125 (CFLAGS-brandred-fma4.c): Remove.
39126 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39127 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39129 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39132 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39134 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39135 LLONG_MAX != LONG_MAX.
39136 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39137 (_fitoa_word): Likewise.
39138 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39139 LLONG_MAX != LONG_MAX.
39140 * stdio-common/_itowa.h: Include <_itoa.h>.
39141 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39142 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39143 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39144 only if not defined.
39145 (_ITOA_WORD_TYPE): Likewise.
39146 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39147 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39149 2012-03-21 David S. Miller <davem@davemloft.net>
39151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39153 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39155 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39156 of x86_64 when setting libc_cv_slibdir, libdir and
39158 * sysdeps/unix/sysv/linux/configure: Regenerated.
39160 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39162 * manual/lang.texi (Old Varargs): Remove section.
39163 (How Variadic): Update menu.
39164 (va_start): Do not mention varargs.h.
39166 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39167 Joseph Myers <joseph@codesourcery.com>
39169 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39171 * configure: Regenerated.
39173 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39175 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39176 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39179 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39182 * Makefile (files-for-dist): Remove NOTES.
39183 (NOTES): Remove rule.
39184 * README: Don't refer to NOTES.
39185 * manual/creature.texi: Don't include macros.texi.
39186 * manual/intro.texi (creature.texi): Remove comment referring to
39189 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39190 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39191 * configure: Regenerated.
39192 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39193 LIBC_TRY_CC_OPTION.
39194 (libc_cv_as_i686): Likewise.
39195 (libc_cv_cc_avx): Likewise.
39196 (libc_cv_cc_sse2avx): Likewise.
39197 (libc_cv_cc_fma4): Likewise.
39198 (libc_cv_cc_novzeroupper): Likewise.
39199 * sysdeps/i386/configure: Regenerated.
39202 * sysdeps/i386/fpu/s_cexp.S: Remove.
39203 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39204 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39205 * math/libm-test.inc (cexp_test): Add more tests.
39206 * sysdeps/i386/fpu/libm-test-ulps: Update.
39207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39209 2012-03-21 Allan McRae <allan@archlinux.org>
39211 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39213 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39216 * math/w_exp2.c: Do not include <float.h>.
39217 (o_threshold, u_threshold): Remove.
39218 (__exp2): Calculate result before checking finiteness and calling
39220 * math/w_exp2f.c: Likewise.
39221 * math/w_exp2l.c: Likewise.
39222 * math/libm-test.inc (exp2_test): Require overflow exception for
39226 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39227 range of signed 64-bit integers before using fistpll. Remove
39228 checks for whether integers fit in mantissa bits.
39229 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39230 the range of signed 32-bit integers before using fistpl. Remove
39231 checks for whether integers fit in mantissa bits.
39232 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39233 (__ieee754_powl): Test for y outside the range of signed 64-bit
39234 integers before using fistpll. Reduce 64-bit values to 63-bit
39236 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39237 divide-by-zero is raised for zero to large negative powers.
39238 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39239 (__ieee754_powl): Test for y outside the range of signed 64-bit
39240 integers before using fistpll. Reduce 64-bit values to 63-bit
39242 * math/libm-test.inc (pow_test): Add more tests.
39244 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39246 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39247 <stdio-common/_itoa.h>.
39248 * debug/segfault.c: Likewise.
39249 * elf/dl-cache.c: Likewise.
39250 * elf/dl-minimal.c: Likewise.
39251 * elf/dl-misc.c: Likewise.
39252 * elf/dl-sysdep.c: Likewise.
39253 * elf/dl-version.c: Likewise.
39254 * elf/rtld.c: Likewise.
39255 * hurd/hurdsock.c: Likewise.
39256 * hurd/lookup-retry.c: Likewise.
39257 * malloc/malloc.c: Likewise.
39258 * malloc/mtrace.c: Likewise.
39259 * nscd/nscd_getgr_r.c: Likewise.
39260 * nscd/nscd_getpw_r.c: Likewise.
39261 * nscd/nscd_getserv_r.c: Likewise.
39262 * posix/getopt_init.c: Likewise.
39263 * posix/wordexp.c: Likewise.
39264 * stdio-common/_itoa.c: Likewise.
39265 * stdio-common/printf_fphex.c: Likewise.
39266 * stdio-common/vfprintf.c: Likewise.
39267 * string/_strerror.c: Likewise.
39268 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39269 * sysdeps/i386/i686/hp-timing.h: Likewise.
39270 * sysdeps/mach/_strerror.c: Likewise.
39271 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39272 * sysdeps/mach/hurd/sethostid.c: Likewise.
39273 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39274 * sysdeps/mach/xpg-strerror.c: Likewise.
39275 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39276 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39277 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39278 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39279 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39280 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39281 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39282 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39283 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39284 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39285 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39286 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39287 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39288 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39289 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39290 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39291 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39292 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39293 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39294 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39295 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39297 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39299 * stdio-common/_itoa.h: Moved to ...
39300 * sysdeps/generic/_itoa.h: Here.
39302 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39304 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39305 instead of "_itoa.h" and "_itowa.h".
39306 * stdio-common/vfprintf.: Likewise.
39308 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39310 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39312 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39313 (__signbit): Likwise.
39314 (llrintf): Likwise.
39317 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39319 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39322 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39324 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39325 OVERFLOW_EXCEPTION_OK.
39326 * math/libm-test.inc ("Philosophy"): Update comment about
39328 (OVERFLOW_EXCEPTION): Define.
39329 (OVERFLOW_EXCEPTION_OK): Likewise.
39330 (INVALID_EXCEPTION_OK): Renumber.
39331 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39332 (IGNORE_ZERO_INF_SIGN): Likewise.
39333 (test_exceptions): Handle FE_OVERFLOW.
39334 (exp10_test): Expect overflow exceptions.
39335 (exp2_test): Likewise.
39336 (expm1_test): Likewise.
39337 (nextafter_test): Likewise.
39338 (pow_test): Likewise.
39339 (scalbn_test): Likewise.
39340 (scalbln_test): Likewise.
39342 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39344 * sysdeps/x86_64/bits/atomic.h
39345 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39347 (atomic_exchange_acq): Likewise.
39348 (__arch_exchange_and_add_body): Likewise.
39349 (__arch_add_body): Likewise.
39350 (atomic_add_negative): Likewise.
39351 (atomic_add_zero): Likewise.
39353 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39355 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39356 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39358 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39360 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39361 Check __x86_64__ instead of __WORDSIZE.
39363 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39365 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39367 2012-03-19 David S. Miller <davem@davemloft.net>
39369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39371 * sysdeps/sparc/fpu/fenv_private.h: New file.
39372 * sysdeps/sparc/fpu/math_private.h: Use it.
39373 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39375 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39376 (libc_feholdexcept_setroundl): Remove.
39377 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39379 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39380 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39382 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39384 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39385 int64_t instead of long int.
39386 (INSERT_WORDS64): Likwise.
39388 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39390 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39391 _Unwind_GetCFA return to _Unwind_Ptr first.
39393 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39396 * math/s_clog.c: Include <float.h>.
39397 (__clog): Scale large or subnormal inputs.
39398 * math/s_clogf.c: Likewise.
39399 * math/s_clogl.c: Likewise.
39400 * math/s_clog10.c: Include <float.h>.
39401 (M_LOG10_2): Define.
39402 (__clog10): Scale large or subnormal inputs.
39403 * math/s_clog10f.c: Likewise.
39404 * math/s_clog10l.c: Likewise.
39405 * math/libm-test.inc (clog_test): Add more tests.
39406 (clog10_test): Likewise.
39407 * sysdeps/i386/fpu/libm-test-ulps: Update.
39408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39411 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39413 * math/libm-test.inc (atan2_test): Add another test.
39415 * Makerules (common-objdir-compile): Remove.
39416 * sysdeps/unix/Makefile (config-generated): Do not add
39417 $(unix-generated) to variable.
39418 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39419 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39421 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39423 [generic bits/local_lim.h] (before-compile): Do not append to
39425 [generic bits/local_lim.h] (common-generated): Likewise.
39426 [generic sys/param.h] (before-compile): Do not append to variable.
39427 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39428 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39429 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39430 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39432 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39433 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39434 [generic sys/param.h] ($(addprefix
39435 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39436 [generic sys/param.h] (common-generated): Do not append to
39438 [generic sys/param.h] (sysdep_headers): Likewise.
39439 [generic bits/errno.h] (before-compile): Do not append to
39441 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39443 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39444 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39445 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39446 [generic bits/errno.h] (common-generated): Do not append to
39448 [generic bits/ioctls.h] (before-compile): Do not append to
39450 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39452 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39453 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39454 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39456 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39457 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39458 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39459 [generic bits/ioctls.h] (common-generated): Do not append to
39461 [generic sys/syscall.h] (syscall.h): Remove variable.
39462 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39464 [generic sys/syscall.h] (before-compile): Do not append to
39466 [generic sys/syscall.h] (common-generated): Likewise.
39467 * sysdeps/unix/errnos-tmpl.c: Remove file.
39468 * sysdeps/unix/errnos.awk: Likewise.
39469 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39470 * sysdeps/unix/ioctls.awk: Likewise.
39471 * sysdeps/unix/mk-local_lim.c: Likewise.
39472 * sysdeps/unix/snarf-ioctls: Likewise.
39474 2012-03-19 Richard Henderson <rth@twiddle.net>
39476 * sysdeps/i386/fpu/fenv_private.h: New file.
39477 * sysdeps/i386/fpu/math_private.h: Use it.
39478 (math_opt_barrier, math_force_eval): Remove.
39479 (libc_feholdexcept_setround_53bit): Remove.
39480 (libc_feupdateenv_53bit): Remove.
39481 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39482 (math_opt_barrier, math_force_eval): Remove.
39483 (libc_feholdexcept): Remove.
39484 (libc_feholdexcept_setround): Remove.
39485 (libc_fetestexcept, libc_fesetenv): Remove.
39486 (libc_feupdateenv_test): Remove.
39487 (libc_feupdateenv, libc_feholdsetround): Remove.
39488 (libc_feresetround): Remove.
39490 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39491 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39493 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39494 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39495 (libc_feupdateenv_testl): New.
39496 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39497 (libc_feupdateenv_testf): New.
39498 (libc_feupdateenv): Use libc_feupdateenv_test.
39499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39500 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39502 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39503 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39504 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39505 (libc_feresetround_noex): New.
39506 (libc_feresetround_noexf): New.
39507 (libc_feresetround_noexl): New.
39508 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39509 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39510 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39511 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39516 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39517 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39518 SET_RESTORE_ROUND_NOEX.
39519 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39520 SET_RESTORE_ROUND_NOEXF.
39521 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39522 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39523 (libc_feholdsetroundf): New.
39524 (libc_feresetround, libc_feresetroundf): New.
39526 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39527 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39528 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39530 * sysdeps/generic/math_private.h: Include <fenv.h>.
39531 (default_libc_feholdexcept): New.
39532 (default_libc_feholdexcept_setround): New.
39533 (default_libc_fesetenv, default_libc_feupdateenv): New.
39534 (libc_feholdexcept): Only define if undefined.
39535 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39536 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39537 (libc_feholdexcept_setroundl): Likewise.
39538 (libc_feholdexcept_setround_53bit): Likewise.
39539 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39540 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39541 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39542 (libc_feupdateenv_53bit): Likewise.
39543 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39544 (libc_feholdexcept): Convert from macro to inline function.
39545 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39546 (libc_fesetenv, libc_feupdateenv): Likewise.
39548 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39549 not previously defined.
39550 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39551 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39552 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39553 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39554 * sysdeps/ieee754/flt-32/math_private.h: New file.
39555 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39556 math_private.h below SET_FLOAT_WORD.
39557 (__isnan, __isinf_ns, __finite): Remove.
39558 (__isnanf, __isinf_nsf, __finitef): Remove.
39560 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39564 2012-03-17 David S. Miller <davem@davemloft.net>
39567 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39570 2012-03-16 David S. Miller <davem@davemloft.net>
39572 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39576 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39578 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39579 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39580 sysdep_routines when subdir is sysvipc.
39581 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39582 __getshmlba helper.
39584 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39586 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39588 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39591 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39593 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39594 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39595 (__lround): Renamed to ...
39596 (__llround): This. Replace long int with long long int.
39597 Define lround functions as aliases of llround functions.
39598 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39600 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39602 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39603 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39604 adresses to uintptr_t. Replace "long int" and "unsigned long
39605 int" with "greg_t" on va_arg.
39607 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39609 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39610 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39612 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39613 Move e_machine check before EI_CLASS check. Handle x32
39614 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39615 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39616 SKIP_EM_IA_64 and include
39617 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39619 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39620 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39621 (add_system_dir): New macro.
39623 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39624 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39626 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39637 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39639 * math/w_j0f.c (j0f): Likewise.
39641 * math/w_j0l.c (__j0l): Likewise.
39643 * math/w_j1.c (j1): Likewise.
39645 * math/w_j1f.c (j1f): Likewise.
39647 * math/w_j1l.c (__j1l): Likewise.
39649 * math/w_jn.c (jn): Likewise.
39651 * math/w_jnf.c (jnf): Likewise.
39653 * math/w_jnl.c (__jnl): Likewise.
39655 * math/libm-test.inc (j0_test): Add more tests.
39656 (j1_test): Likewise.
39657 (jn_test): Likewise. Add trailing semicolon to existing test.
39658 (y0_test): Likewise.
39659 (y1_test): Likewise.
39660 * sysdeps/i386/fpu/libm-test-ulps: Update.
39661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39665 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39666 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39667 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39668 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39669 (__tanl): Set errno for infinite argument.
39670 * sysdeps/i386/fpu/mptan.c: Remove.
39671 * sysdeps/i386/fpu/s_tan.S: Likewise.
39672 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39673 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39674 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39675 * math/libm-test.inc (tan_test): Add more tests and enable more
39676 tests for double and long double.
39677 * sysdeps/i386/fpu/libm-test-ulps: Update.
39678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39680 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39682 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39683 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39685 2012-03-16 Roland McGrath <roland@hack.frob.com>
39687 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39688 * configure.in: Use it for both main tree and add-ons.
39689 * configure: Regenerated.
39691 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39693 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39695 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39697 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39701 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39702 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39703 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39704 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39705 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39707 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39709 != 0 for prec == 2.
39710 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39711 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39712 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39713 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39714 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39715 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39716 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39717 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39718 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39719 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39720 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39721 * math/libm-test.inc (cos_test): Add more tests and enable more
39722 tests for long double.
39723 (sin_test): Likewise.
39724 (sincos_test): Likewise.
39725 * sysdeps/i386/fpu/libm-test-ulps: Update.
39726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39728 2012-03-16 David S. Miller <davem@davemloft.net>
39730 * sysdeps/sparc/fpu/math_private.h: New file.
39732 2012-03-15 David S. Miller <davem@davemloft.net>
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39748 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39749 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39751 * sysdeps/sparc/sparc-ifunc.h: New file.
39752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39790 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39792 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39793 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39797 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39799 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39803 2012-03-15 Andreas Jaeger <aj@suse.de>
39806 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39807 ieee754/flt-32 implementation for sin, cos and sincos.
39808 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39809 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39810 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39811 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39812 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39813 ieee754/flt-32 implementation for tan.
39815 * math/libm-test.inc (cos_test): Enable some large input tests for
39817 (sin_test): Likewise.
39818 (sincos_test): Likewise.
39819 (tan_test): Add tests for large input.
39821 * sysdeps/i386/fpu/libm-test-ulps: Update.
39823 2012-03-15 Andreas Jaeger <aj@suse.de>
39826 * math/libm-test.inc (cos_test): Add more test cases.
39827 (sin_test): Likewise.
39828 (sincos_test): Likewise.
39830 2012-03-15 Andreas Jaeger <aj@suse.de>
39833 * math/libm-test.inc (cos_test): Add a test case for large input
39835 (sin_test): Likewise.
39836 (sincos_test): Likewise.
39838 2012-03-15 Andreas Jaeger <aj@suse.de>
39839 Joseph Myers <joseph@codesourcery.com>
39842 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39843 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39844 * sysdeps/i386/fpu/branred.c: Likewise.
39845 * sysdeps/i386/fpu/dosincos.c: Likewise.
39846 * sysdeps/i386/fpu/mpa.c: Likewise.
39847 * sysdeps/i386/fpu/s_cos.S: Likewise.
39848 * sysdeps/i386/fpu/s_sin.S: Likewise.
39849 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39850 * sysdeps/i386/fpu/sincos32.c: Likewise.
39852 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39854 (libc_feupdateenv_53bit): Define.
39855 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39857 (libc_feupdateenv_53bit): Define.
39859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39860 53 bit (without extend i386 double precision).
39862 * math/libm-test.inc (sincos_test): Add tests for large input.
39866 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39868 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39872 2012-03-15 David S. Miller <davem@davemloft.net>
39874 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39875 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39876 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39877 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39902 fmin/fmax sysdep routines.
39903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39905 2012-03-14 David S. Miller <davem@davemloft.net>
39907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39911 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39914 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39979 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39984 * sysdeps/sparc/configure.in: New file.
39985 * sysdeps/sparc/configure: Generate.
39986 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39987 * configure: Regenerate.
39988 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39989 * config.make.in (have-as-vis3): New.
39990 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39991 available use -Av9d instead of -Av9a.
39992 * sysdeps/sparc/sparc64/Makefile: Likewise.
39993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40008 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40009 fzeros/fnegs to load 0x80000000 into a float register instead of
40011 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40013 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40017 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40018 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40019 ($(inst_includedir)/bits/syscall.h): Remove rule.
40020 ($(objpfx)bits/syscall.d): Include instead of
40021 $(objpfx)syscall-list.d.
40022 (generated): Change syscall-list.h and syscall-list.d to
40023 bits/syscall.h and bits/syscall.d.
40025 2012-03-14 Roland McGrath <roland@hack.frob.com>
40028 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40030 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40033 * math/s_csqrt.c: Include <float.h>.
40034 (__csqrt): Scale large or subnormal inputs.
40035 * math/s_csqrtf.c: Likewise.
40036 * math/s_csqrtl.c: Likewise.
40037 * math/libm-test.inc (csqrt_test): Add more tests.
40038 * sysdeps/i386/fpu/libm-test-ulps: Update.
40039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40042 * math/libm-test.inc (hypot_test): Add more tests.
40044 2012-03-13 David S. Miller <davem@davemloft.net>
40047 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40048 double-precision for the calculation instead of scaling.
40050 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40052 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40053 manipulate bits before adding and subtracting TWO52[sx].
40054 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40055 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40057 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40059 2012-03-13 David S. Miller <davem@davemloft.net>
40061 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40062 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40064 rtld-global-offsets.h
40065 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40067 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40070 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40072 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40073 'err' in the ifdef scope in which it is actually used.
40075 * nss/nss_db/db-init.c: Include string.h
40077 2012-03-12 David S. Miller <davem@davemloft.net>
40079 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40080 masking out of the most significant byte of random value used.
40081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40082 Fix coding style in previous change.
40084 * sysdeps/unix/sysv/linux/kernel-features.h
40085 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40086 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40088 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40091 2012-03-11 David S. Miller <davem@davemloft.net>
40093 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40094 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40095 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40096 for 'resultvar' otherwise things get truncated on 64-bit.
40098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40099 Fix masking out of the most significant byte of random value used.
40101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40103 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40107 2012-03-09 David S. Miller <davem@davemloft.net>
40109 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40110 variables with appropriate CPP guards.
40111 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40112 from the frame pointer, not the stack pointer. Correct layout
40113 comments. Fix test on resulting framesize and the management of
40114 the outregs buffer for pltexit. Preserve floating point return
40115 values across _dl_call_pltexit call.
40116 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40117 framesize and the management of the outregs buffer for pltexit.
40118 Preserve floating point return values across _dl_call_pltexit
40120 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40121 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40122 (la_sparc64_gnu_pltexit): New functions.
40123 (print_exit): Fix format string for return register value.
40125 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40127 * sunrpc/Makefile (others): Add rpcgen.
40128 ($(objpfx)rpcgen): Remove special build rule and dependency on
40130 * sunrpc/rpcgen.c: New file.
40132 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40135 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40136 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40137 * sysdeps/i386/crti.S: Likewise.
40138 * sysdeps/i386/crtn.S: Likewise.
40139 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40140 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40141 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40142 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40143 * sysdeps/sh/crti.S: Likewise.
40144 * sysdeps/sh/crtn.S: Likewise.
40145 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40148 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40150 * locale/programs/locfile-kw.gperf: Likewise.
40151 * locale/programs/charmap-kw.h: Regenerated.
40152 * locale/programs/locfile-kw.h: Likewise.
40155 * intl/plural.y: Replace FSF snail mail address with URL.
40156 * intl/plural.c: Regenerated.
40158 2012-03-09 Richard Henderson <rth@twiddle.net>
40160 * include/math_private.h: Remove file.
40161 * math/math_private.h: Move file ...
40162 * sysdeps/generic/math_private.h: ... here.
40164 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40165 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40166 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40168 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40169 and <math_private.h>.
40170 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40171 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40172 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40173 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40174 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40203 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40205 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40206 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40207 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40208 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40209 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40211 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40212 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40213 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40214 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40215 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40216 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40217 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40218 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40219 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40220 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40221 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40222 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40223 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40224 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40225 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40226 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40227 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40228 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40229 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40230 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40231 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40233 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40234 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40235 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40236 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40237 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40238 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40239 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40240 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40241 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40244 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40249 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40250 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40251 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40253 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40254 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40257 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40258 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40259 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40260 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40261 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40263 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40264 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40265 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40267 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40269 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40270 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40271 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40272 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40273 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40274 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40275 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40276 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40277 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40278 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40279 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40280 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40281 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40282 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40283 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40284 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40285 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40286 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40287 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40288 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40290 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40291 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40292 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40293 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40296 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40297 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40298 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40299 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40300 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40301 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40302 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40303 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40304 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40305 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40306 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40307 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40308 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40309 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40311 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40312 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40313 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40314 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40315 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40316 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40317 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40318 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40319 * sysdeps/ieee754/k_standard.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40377 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40382 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40387 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40392 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40393 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40394 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40397 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40404 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40405 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40406 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40411 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40413 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40416 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40417 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40418 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40419 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40424 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40425 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40427 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40430 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40431 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40432 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40433 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40434 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40436 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40437 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40439 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40440 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40442 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40443 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40444 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40445 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40446 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40447 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40448 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40450 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40451 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40452 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40453 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40454 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40455 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40456 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40457 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40458 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40459 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40460 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40461 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40462 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40463 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40464 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40465 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40466 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40467 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40468 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40469 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40470 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40471 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40472 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40473 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40474 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40475 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40476 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40477 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40478 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40479 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40480 * sysdeps/ieee754/s_lib_version.c: Likewise.
40481 * sysdeps/ieee754/s_matherr.c: Likewise.
40482 * sysdeps/ieee754/s_signgam.c: Likewise.
40483 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40484 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40485 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40486 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40487 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40488 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40489 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40490 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40491 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40492 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40493 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40494 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40495 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40496 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40497 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40498 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40499 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40500 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40501 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40503 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40505 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40507 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40508 * sunrpc/rpc_main.c: Likewise.
40509 * sunrpc/rpc_svcout.c: Likewise.
40511 2012-03-09 David S. Miller <davem@davemloft.net>
40513 * include/math_private.h: New file.
40515 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40517 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40518 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40519 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40520 from <bits/socket_type.h>.
40521 (enum __socket_type): Don't define here.
40522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40524 bits/socket_type.h.
40527 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40528 checking __USE_GNU.
40530 * Makerules ($(inst_includedir)/%.h): New rule.
40531 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40532 (install-others): Remove variable setting.
40533 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40535 2012-03-08 Richard Henderson <rth@twiddle.net>
40537 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40538 from macro to inline function; merge with the
40539 !__LIBC_INTERNAL_MATH_INLINES version.
40540 (__ieee754_sqrtf): Likewise.
40542 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40543 to inline function.
40544 (__rintf, __floor, __floorf): Likewise.
40546 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40547 macro to inline function.
40548 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40551 not <math/math_private.h>.
40553 2012-03-08 David S. Miller <davem@davemloft.net>
40555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40557 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40559 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40561 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40563 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40564 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40566 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40568 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40569 be defined individually, they must be defined as a block. Define
40570 S for printing a string instead of hidint the different by using a
40571 macro for adding the 'l'.
40572 * stdio-common/tst-fphex-wide.c: Adjust.
40574 2012-03-07 Marek Polacek <polacek@redhat.com>
40576 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40578 2012-03-08 Marek Polacek <polacek@redhat.com>
40581 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40582 * stdio-common/tst-fphex.c: Define a few macros to make the
40583 test reusable. Use them.
40584 * stdio-common/tst-fphex-wide.c: New file.
40586 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40589 * manual/macros.texi (gnusystems): New macro.
40590 (nongnusystems): Likewise.
40591 (gnulinuxhurdsystems): Likewise.
40592 (gnuhurdsystems): Likewise..
40593 (gnulinuxsystems): Likewise.
40594 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40595 variants of the GNU system, not "GNU system".
40596 * manual/conf.texi: Likewise.
40597 * manual/errno.texi: Likewise. Update example of errno macro
40599 * manual/filesys.texi: Likewise.
40600 (getumask): Document as specific to GNU/Hurd.
40601 * manual/install.texi: Likewise. Reword some references to
40603 * manual/intro.texi: Likewise.
40604 * manual/io.texi: Likewise.
40605 (File Name Portability): Detail which constraints are inapplicable
40606 to all GNU systems and which are only inapplicable to GNU/Hurd.
40607 * manual/job.texi: Likewise.
40608 * manual/llio.texi: Likewise.
40609 (O_NOCTTY): Document as present on GNU/Linux.
40610 * manual/maint.texi: Likewise.
40611 * manual/memory.texi: Likewise.
40612 * manual/pattern.texi: Likewise.
40613 * manual/pipe.texi: Likewise.
40614 * manual/process.texi: Likewise.
40615 * manual/resource.texi: Likewise.
40616 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40618 * manual/setjmp.texi: Likewise.
40619 * manual/signal.texi: Likewise.
40620 * manual/startup.texi: Likewise.
40621 * manual/stdio.texi: Likewise.
40622 * manual/terminal.texi: Likewise.
40623 (ONLCR): Document as POSIX.
40624 (OXTABS): Document availability on GNU/Linux as XTABS.
40625 (ONOEOT): Document availability separately from other bits.
40626 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40627 * manual/time.texi: Likewise.
40628 * manual/users.texi: Likewise.
40629 * INSTALL: Regenerated.
40630 * sysdeps/gnu/errlist.c: Regenerated.
40632 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40633 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40634 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40636 * configure: Regenerated.
40638 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40640 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40641 default includes instead of AC_HEADER_CHECK.
40642 * sysdeps/i386/configure: Regenerated.
40645 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40646 * math/s_cacoshf.c (__cacoshf): Likewise.
40647 * math/s_cacoshl.c (__cacoshl): Likewise.
40648 * math/s_casinh.c (__casinh): Set signs of result from argument.
40649 * math/s_casinhf.c (__casinhf): Likewise.
40650 * math/s_casinhl.c (__casinhl): Likewise.
40651 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40652 (casinh_test): Add more tests.
40653 * sysdeps/i386/fpu/libm-test-ulps: Update.
40654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40656 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40658 * po/zh_TW.po: Update from translation team.
40660 * login/Makefile (distribute): Remove variable.
40661 * catgets/Makefile: Likewise.
40662 * mach/Makefile: Likewise.
40663 * malloc/Makefile: Likewise.
40664 * misc/Makefile: Likewise.
40665 * iconv/Makefile: Likewise.
40666 * nscd/Makefile: Likewise.
40667 * hurd/Makefile: Likewise.
40668 * manual/Makefile: Likewise.
40669 * locale/Makefile: Likewise.
40670 * intl/Makefile: Likewise.
40671 * conform/Makefile: Likewise.
40672 * nss/Makefile: Likewise.
40673 * time/Makefile: Likewise.
40674 * soft-fp/Makefile: Likewise.
40675 * dirent/Makefile: Likewise.
40676 * gmon/Makefile: Likewise.
40677 * po/Makefile: Likewise.
40678 * rt/Makefile: Likewise.
40679 * socket/Makefile: Likewise.
40680 * math/Makefile: Likewise.
40681 * signal/Makefile: Likewise.
40682 * debug/Makefile: Likewise.
40683 * elf/Makefile: Likewise.
40684 * timezone/Makefile: Likewise.
40685 * stdlib/Makefile: Likewise.
40686 * iconvdata/Makefile: Likewise.
40687 * sunrpc/Makefile: Likewise.
40688 * io/Makefile: Likewise.
40689 * argp/Makefile: Likewise.
40690 * inet/Makefile: Likewise.
40691 * hesiod/Makefile: Likewise.
40692 * grp/Makefile: Likewise.
40693 * csu/Makefile: Likewise.
40694 * wctype/Makefile: Likewise.
40695 * crypt/Makefile: Likewise.
40696 * libio/Makefile: Likewise.
40697 * string/Makefile: Likewise.
40698 * nis/Makefile: Likewise.
40699 * resolv/Makefile: Likewise.
40700 * stdio-common/Makefile: Likewise.
40701 * wcsmbs/Makefile: Likewise.
40702 * dlfcn/Makefile: Likewise.
40703 * posix/Makefile: Likewise.
40706 * timezone/Makefile: Don't install timezone files, just the programs
40709 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40711 * nss/databases.def: Add missing gshadow entry.
40713 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40715 2012-03-06 Marek Polacek <polacek@redhat.com>
40718 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40719 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40720 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40721 * stdio-common/tst-long-dbl-fphex.c: New file.
40723 2012-03-06 David S. Miller <davem@davemloft.net>
40725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40726 (set_obp_int): New function.
40727 (get_obp_int): New function.
40728 (__get_clockfreq_via_dev_openprom): Likewise.
40729 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40730 Avoid unused variable warnings on 'val' and use builtin_expect.
40731 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40733 (INLINE_CLONE_SYSCALL): Likewise.
40735 2012-03-05 David S. Miller <davem@davemloft.net>
40737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40739 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40743 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40744 only for |x| >= 40.
40745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40747 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40749 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40750 Replace gettimeofday with __vdso_gettimeofday.
40752 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40753 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40754 __vdso_clock_gettime and __vdso_getcpu.
40756 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40757 time with __vdso_time.
40759 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40761 * manual/lang.texi (size_t): Note types to which size_t may be
40762 equivalent with the GNU C Library, but do not describe when
40763 differences between them are significant.
40765 2012-03-05 Andreas Jaeger <aj@suse.de>
40767 * sysdeps/i386/fpu/libm-test-ulps: Update.
40769 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40772 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40773 (__ieee754_pow): Save and restore rounding mode and use
40774 round-to-nearest for main computations.
40775 * math/libm-test.inc (pow_test_tonearest): New function.
40776 (pow_test_towardzero): Likewise.
40777 (pow_test_downward): Likewise.
40778 (pow_test_upward): Likewise.
40779 (main): Call the new functions.
40780 * sysdeps/i386/fpu/libm-test-ulps: Update.
40781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40784 * math/libm-test.inc (cosh_test_tonearest): New function.
40785 (cosh_test_towardzero): Likewise.
40786 (cosh_test_downward): Likewise.
40787 (cosh_test_upward): Likewise.
40788 (sinh_test_tonearest): Likewise.
40789 (sinh_test_towardzero): Likewise.
40790 (sinh_test_downward): Likewise.
40791 (sinh_test_upward): Likewise.
40792 (main): Call the new functions.
40793 * sysdeps/i386/fpu/libm-test-ulps: Update.
40794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40796 2012-03-05 Tom de Vries <tom@codesourcery.com>
40798 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40799 default stack guard is set in last bytes.
40800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40802 2012-03-05 Kees Cook <keescook@chromium.org>
40804 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40807 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40808 possibly allocate from heap instead of stack.
40809 * stdio-common/bug-vfprintf-nargs.c: New file.
40810 * stdio-common/Makefile (tests): Add nargs overflow test.
40812 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40816 2012-03-03 Marek Polacek <polacek@redhat.com>
40818 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40819 * math/math_private.h: Likewise.
40820 * stdlib/tst-strtod.c: Likewise.
40821 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40822 * sysdeps/x86_64/bits/atomic.h: Likewise.
40824 2012-03-02 David S. Miller <davem@davemloft.net>
40826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40830 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40831 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40832 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40833 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40835 2012-03-02 Roland McGrath <roland@hack.frob.com>
40838 * manual/examples/README: New file, says the example source files
40839 can be used under GPL>=2.
40840 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40841 line containing just "*/".
40842 * manual/examples/add.c: Add copyright header (GPL>=2).
40843 * manual/examples/argp-ex1.c: Likewise.
40844 * manual/examples/argp-ex2.c: Likewise.
40845 * manual/examples/argp-ex3.c: Likewise.
40846 * manual/examples/argp-ex4.c: Likewise.
40847 * manual/examples/atexit.c: Likewise.
40848 * manual/examples/db.c: Likewise.
40849 * manual/examples/dir.c: Likewise.
40850 * manual/examples/dir2.c: Likewise.
40851 * manual/examples/execinfo.c: Likewise.
40852 * manual/examples/filecli.c: Likewise.
40853 * manual/examples/filesrv.c: Likewise.
40854 * manual/examples/fmtmsgexpl.c: Likewise.
40855 * manual/examples/genpass.c: Likewise.
40856 * manual/examples/inetcli.c: Likewise.
40857 * manual/examples/inetsrv.c: Likewise.
40858 * manual/examples/isockad.c: Likewise.
40859 * manual/examples/longopt.c: Likewise.
40860 * manual/examples/memopen.c: Likewise.
40861 * manual/examples/memstrm.c: Likewise.
40862 * manual/examples/mkfsock.c: Likewise.
40863 * manual/examples/mkisock.c: Likewise.
40864 * manual/examples/mygetpass.c: Likewise.
40865 * manual/examples/pipe.c: Likewise.
40866 * manual/examples/popen.c: Likewise.
40867 * manual/examples/rprintf.c: Likewise.
40868 * manual/examples/search.c: Likewise.
40869 * manual/examples/select.c: Likewise.
40870 * manual/examples/setjmp.c: Likewise.
40871 * manual/examples/sigh1.c: Likewise.
40872 * manual/examples/sigusr.c: Likewise.
40873 * manual/examples/stpcpy.c: Likewise.
40874 * manual/examples/strdupa.c: Likewise.
40875 * manual/examples/strftim.c: Likewise.
40876 * manual/examples/strncat.c: Likewise.
40877 * manual/examples/subopt.c: Likewise.
40878 * manual/examples/swapcontext.c: Likewise.
40879 * manual/examples/termios.c: Likewise.
40880 * manual/examples/testopt.c: Likewise.
40881 * manual/examples/testpass.c: Likewise.
40882 * manual/examples/timeval_subtract.c: Likewise.
40885 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40887 * manual/timeval_subtract.c.texi: ... here, new file.
40889 2012-03-02 David S. Miller <davem@davemloft.net>
40891 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40893 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40896 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40897 (__sin): Save and restore rounding mode and use round-to-nearest
40898 for all computations.
40899 (__cos): Save and restore rounding mode and use round-to-nearest
40900 for all computations.
40901 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40903 (tan): Save and restore rounding mode and use round-to-nearest for
40905 * math/libm-test.inc (cos_test_tonearest): New function.
40906 (cos_test_towardzero): Likewise.
40907 (cos_test_downward): Likewise.
40908 (cos_test_upward): Likewise.
40909 (sin_test_tonearest): Likewise.
40910 (sin_test_towardzero): Likewise.
40911 (sin_test_downward): Likewise.
40912 (sin_test_upward): Likewise.
40913 (tan_test_tonearest): Likewise.
40914 (tan_test_towardzero): Likewise.
40915 (tan_test_downward): Likewise.
40916 (tan_test_upward): Likewise.
40917 (main): Call the new functions.
40918 * sysdeps/i386/fpu/libm-test-ulps: Update.
40919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40922 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40923 small n, then large n, before computing and testing k+n.
40924 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40929 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40930 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40931 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40932 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40935 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40936 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40937 * math/libm-test.inc (scalbn_test): Add more tests.
40938 (scalbln_test): Likewise.
40940 * manual/filesys.texi (mode_t): Describe constraints on size and
40941 signedness, not exact equivalence to a particular type.
40943 (ino64_t): Likewise.
40945 (nlink_t): Likewise.
40946 (blkcnt_t): Likewise.
40947 (blkcnt64_t): Likewise.
40948 * manual/llio.texi (off_t): Likewise.
40951 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40952 (__ieee754_exp): Save and restore rounding mode and use
40953 round-to-nearest for all computations.
40954 * math/libm-test.inc (exp_test_tonearest): New function.
40955 (exp_test_towardzero): Likewise.
40956 (exp_test_downward): Likewise.
40957 (exp_test_upward): Likewise.
40958 (main): Call the new functions.
40959 * sysdeps/i386/fpu/libm-test-ulps: Update.
40960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40962 2012-03-01 Chris Demetriou <cgd@google.com>
40964 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40965 have predictable order.
40967 2012-03-01 David S. Miller <davem@davemloft.net>
40969 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40971 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40972 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40973 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40974 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40976 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40977 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40978 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40980 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40981 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40982 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40983 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40984 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40988 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40989 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40992 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40993 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40994 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40995 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40996 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40997 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40998 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40999 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41000 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41001 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41002 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41003 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41004 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41005 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41006 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41008 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41009 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41010 * sysdeps/sparc/elf/configure: Regenerated.
41012 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41014 * configure.in (AS, LD): Require binutils 2.20 or later.
41015 * configure: Regenerated.
41016 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41017 as required minimum version.
41018 * INSTALL: Regenerated.
41022 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41023 before squaring exponent.
41024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41025 bottom long double and 27 bits of top long double before squaring
41027 * math/libm-test.inc (erfc_test): Add more tests.
41028 * sysdeps/i386/fpu/libm-test-ulps: Update.
41029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41032 2012-03-01 Kai Tietz <ktietz@redhat.com>
41034 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41035 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41036 containing bit-fields.
41037 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41038 * soft-fp/single.h (_FP_UNION_S): Likewise.
41039 * soft-fp/double.h (_FP_UNION_D): Likewise.
41041 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41044 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41045 not include ../strcmp.S.
41046 [USE_AS_STRNCASECMP_L]: Likewise.
41047 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41048 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41049 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41050 (__strncasecmp_l_ia32): Define as alias to
41051 __strncasecmp_l_nonascii.
41054 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41055 * sysdeps/i386/fpu/libm-test-ulps: Update.
41056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41058 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41061 2012-02-29 Jeff Law <law@redhat.com>
41063 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41064 out of bounds read.
41066 2012-02-29 Marek Polacek <polacek@redhat.com>
41069 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41070 * elf/Makefile: Add rules to run tst-unused-dep.out.
41072 2012-02-28 David S. Miller <davem@davemloft.net>
41074 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41075 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41077 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41078 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41079 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41081 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41083 * math/libm-test.inc (llround_test): Move one test from
41084 lround_test. Use TEST_f_L in moved test.
41085 (lround_test): Move misplaced test to llround_test. Add testcase
41088 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41090 * sysdeps/x86_64/fpu/e_expf.S: New file.
41091 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41093 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41096 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41097 of remain_len that may cause incomplete multi-byte character and
41099 * posix/bug-regex33.c: New file.
41100 * posix/Makefile (tests): Add bug-regex33.
41102 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41104 * manual/macros.texi: New file.
41105 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41106 * manual/libc.texinfo: Include macros.texi.
41107 * manual/creatute.texi: Likewise.
41108 * manual/install.texi: Likewise.
41109 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41110 @glibcadj{} in references to the GNU C Library.
41111 * manual/charset.texi: Likewise.
41112 * manual/conf.texi: Likewise.
41113 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41114 when not using those macros.
41115 * manual/creature.texi: Likewise.
41116 * manual/crypt.texi: Likewise.
41117 * manual/errno.texi: Likewise.
41118 * manual/filesys.texi: Likewise.
41119 * manual/header.texi: Likewise.
41120 * manual/install.texi: Likewise.
41121 * manual/intro.texi: Likewise.
41122 * manual/io.texi: Likewise.
41123 * manual/job.texi: Likewise.
41124 * manual/lang.texi: Likewise.
41125 * manual/libc.texiinfo: Likewise.
41126 * manual/llio.texi: Likewise.
41127 * manual/locale.texi: Likewise.
41128 * manual/maint.texi: Likewise.
41129 * manual/math.texi: Likewise.
41130 * manual/memory.texi: Likewise.
41131 * manual/message.texi: Likewise.
41132 * manual/nss.texi: Likewise.
41133 * manual/pattern.texi: Likewise.
41134 * manual/process.texi: Likewise.
41135 * manual/resource.texi: Likewise.
41136 * manual/search.texi: Likewise.
41137 * manual/setjmp.texi: Likewise.
41138 * manual/signal.texi: Likewise.
41139 * manual/socket.texi: Likewise.
41140 * manual/startup.texi: Likewise.
41141 * manual/stdio.texi: Likewise.
41142 * manual/string.texi: Likewise.
41143 * manual/sysinfo.texi: Likewise.
41144 * manual/syslog.texi: Likewise.
41145 * manual/terminal.texi: Likewise.
41146 * manual/time.texi: Likewise.
41147 * manual/users.texi: Likewise.
41148 * INSTALL: Regenerated.
41149 * NOTES: Regenerated.
41150 * sysdeps/gnu/errlist.c: Regenerated.
41152 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41154 * include/dirent.h: Include <dirstream.h> before
41157 2012-02-28 David S. Miller <davem@davemloft.net>
41159 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41160 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41161 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41162 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41164 2012-02-27 David S. Miller <davem@davemloft.net>
41166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41168 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41169 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41172 frame pointer instead of stack pointer relative arg slot.
41173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41174 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41175 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41177 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41180 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41182 2012-02-27 David S. Miller <davem@davemloft.net>
41184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41188 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41189 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41190 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41191 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41193 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41195 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41196 later. Allow versions 5-9.
41197 * configure: Regenerated.
41198 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41199 required minimum version and 4.6 as recommended version. Do not
41200 mention bugs in GCC 2.7 and 2.8.
41201 * INSTALL: Regenerated.
41203 2012-02-27 David S. Miller <davem@davemloft.net>
41205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41209 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41210 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41211 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41212 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41215 manipulate bits before adding and subtracting TWO112[sx].
41216 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41218 2012-02-27 Roland McGrath <roland@hack.frob.com>
41221 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41222 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41223 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41224 being in POSIX, because they are in 1003.1-2008.
41226 * rt/tst-aio.c: Include <fcntl.h>.
41227 * rt/tst-aio7.c: Likewise.
41228 * rt/tst-aio64.c: Likewise.
41230 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41232 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41234 * manual/install.texi (--with-headers): Describe headers as
41235 interface headers, not private headers.
41236 (Specific advice for GNU/Linux systems): Describe use of headers
41237 from "make headers_install", not private headers from older
41239 * INSTALL: Regenerated.
41240 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41242 * sysdeps/unix/sysv/linux/configure: Regenerated.
41244 * manual/llio.texi (fclean): Remove documentation.
41246 * manual/Makefile (libc-texi-generated): New variable. Include
41248 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41249 $(libc-texi-generated), not duplicated list of files.
41250 (version.texi, stamp-version): New rules.
41251 (realclean): Remove $(libc-texi-generated), not individual files
41252 from that list. Do not remove dir-add.texinfo.
41253 * manual/libc.texinfo: Comment out uses of edition numbers and
41254 references to printed manual. Remove last-updated dates.
41255 (EDITION): Comment out.
41257 (VERSION, UPDATED): Remove.
41258 (version.texi): Include.
41260 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41262 * sysdeps/posix/spawni.c: Include <signal.h>.
41263 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41264 * sysdeps/pthread/aio_fsync.c: Likewise.
41266 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41268 * conform/Makefile (tests): Run only when not cross-compiling and
41269 when fast-check is not defined.
41271 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41272 * conform/data/limits.h-data: Fixes for POSIX2008.
41273 * conform/run-conformtest.sh: Run all tests.
41274 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41276 * include/bits/dlfcn.h: Likewise.
41277 * include/langinfo.h: Likewise.
41278 * include/monetary.h: Likewise.
41279 * include/sys/poll.h: Likewise.
41281 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41283 * posix/spawn.h: Define __need_sigset_t.
41284 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41285 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41286 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41287 to get sigevent_t only.
41288 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41289 only for __USE_GNU.
41290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41291 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41292 process_vm_writev only for __USE_GNU.
41293 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41295 * conform/Makefile: For now ignore errors from run-conformtest.
41296 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41297 POSIX to avoid namespace pollution. Don't prepend headers.
41298 * conform/data/aio.h-data: Fixes for POSIX testing.
41299 * conform/data/fcntl.h-data: Likewise.
41300 * conform/data/glob.h-data: Likewise.
41301 * conform/data/grp.h-data: Likewise.
41302 * conform/data/pthread.h-data: Likewise.
41303 * conform/data/pwd.h-data: Likewise.
41304 * conform/data/signal.h-data: Likewise.
41305 * conform/data/spawn.h-data: Likewise.
41306 * conform/data/stdio.h-data: Likewise.
41307 * conform/data/stdlib.h-data: Likewise.
41308 * conform/data/stropts.h-data: Likewise.
41309 * conform/data/sys/mman.h-data: Likewise.
41310 * conform/data/sys/stat.h-data: Likewise.
41311 * conform/data/sys/types.h-data: Likewise.
41312 * conform/data/sys/wait.h-data: Likewise.
41313 * conform/data/time.h-data: Likewise.
41314 * conform/data/unistd.h-data: Likewise.
41315 * conform/data/utime.h-data: Likewise.
41317 * io/sys/stat.h: fchmod was always in POSIX.
41318 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41319 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41320 * rt/aio.h: Define __need_timespec before including <time.h>.
41321 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41322 struct. Add forward declaration of pthread_attr_t and use it in
41324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41326 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41327 always remove CLK_TCK definition.
41329 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41331 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41333 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41335 * conform/run-conformtest.sh: New file.
41336 * conform/Makefile: Run run-conformtest for tests.
41337 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41340 * conform/data/uchar.h-data: New file.
41341 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41342 * conform/data/arpa/inet.h-data: Likewise.
41343 * conform/data/assert.h-data: Likewise.
41344 * conform/data/complex.h-data: Likewise.
41345 * conform/data/cpio.h-data: Likewise.
41346 * conform/data/ctype.h-data: Likewise.
41347 * conform/data/dirent.h-data: Likewise.
41348 * conform/data/dlfcn.h-data: Likewise.
41349 * conform/data/errno.h-data: Likewise.
41350 * conform/data/fcntl.h-data: Likewise.
41351 * conform/data/float.h-data: Likewise.
41352 * conform/data/fmtmsg.h-data: Likewise.
41353 * conform/data/fnmatch.h-data: Likewise.
41354 * conform/data/ftw.h-data: Likewise.
41355 * conform/data/glob.h-data: Likewise.
41356 * conform/data/grp.h-data: Likewise.
41357 * conform/data/iconv.h-data: Likewise.
41358 * conform/data/inttypes.h-data: Likewise.
41359 * conform/data/langinfo.h-data: Likewise.
41360 * conform/data/libgen.h-data: Likewise.
41361 * conform/data/limits.h-data: Likewise.
41362 * conform/data/locale.h-data: Likewise.
41363 * conform/data/math.h-data: Likewise.
41364 * conform/data/monetary.h-data: Likewise.
41365 * conform/data/mqueue.h-data: Likewise.
41366 * conform/data/ndbm.h-data: Likewise.
41367 * conform/data/net/if.h-data: Likewise.
41368 * conform/data/netdb.h-data: Likewise.
41369 * conform/data/netinet/in.h-data: Likewise.
41370 * conform/data/nl_types.h-data: Likewise.
41371 * conform/data/poll.h-data: Likewise.
41372 * conform/data/pthread.h-data: Likewise.
41373 * conform/data/pwd.h-data: Likewise.
41374 * conform/data/regex.h-data: Likewise.
41375 * conform/data/sched.h-data: Likewise.
41376 * conform/data/search.h-data: Likewise.
41377 * conform/data/semaphore.h-data: Likewise.
41378 * conform/data/setjmp.h-data: Likewise.
41379 * conform/data/signal.h-data: Likewise.
41380 * conform/data/spawn.h-data: Likewise.
41381 * conform/data/stdarg.h-data: Likewise.
41382 * conform/data/stdio.h-data: Likewise.
41383 * conform/data/stdlib.h-data: Likewise.
41384 * conform/data/string.h-data: Likewise.
41385 * conform/data/strings.h-data: Likewise.
41386 * conform/data/stropts.h-data: Likewise.
41387 * conform/data/sys/ipc.h-data: Likewise.
41388 * conform/data/sys/mman.h-data: Likewise.
41389 * conform/data/sys/msg.h-data: Likewise.
41390 * conform/data/sys/resource.h-data: Likewise.
41391 * conform/data/sys/select.h-data: Likewise.
41392 * conform/data/sys/sem.h-data: Likewise.
41393 * conform/data/sys/shm.h-data: Likewise.
41394 * conform/data/sys/socket.h-data: Likewise.
41395 * conform/data/sys/stat.h-data: Likewise.
41396 * conform/data/sys/statvfs.h-data: Likewise.
41397 * conform/data/sys/time.h-data: Likewise.
41398 * conform/data/sys/timeb.h-data: Likewise.
41399 * conform/data/sys/times.h-data: Likewise.
41400 * conform/data/sys/types.h-data: Likewise.
41401 * conform/data/sys/uio.h-data: Likewise.
41402 * conform/data/sys/un.h-data: Likewise.
41403 * conform/data/sys/utsname.h-data: Likewise.
41404 * conform/data/sys/wait.h-data: Likewise.
41405 * conform/data/syslog.h-data: Likewise.
41406 * conform/data/tar.h-data: Likewise.
41407 * conform/data/termios.h-data: Likewise.
41408 * conform/data/utime.h-data: Likewise.
41409 * conform/data/utmpx.h-data: Likewise.
41410 * conform/data/varargs.h-data: Likewise.
41411 * conform/data/wchar.h-data: Likewise.
41412 * conform/data/wctype.h-data: Likewise.
41413 * conform/data/wordexp.h-data: Likewise.
41415 * include/stropts.h: New file.
41416 * include/uchar.h: New file.
41417 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41418 * include/assert.h: Likewise.
41419 * include/ctype.h: Likewise.
41420 * include/dirent.h: Likewise.
41421 * include/dlfcn.h: Likewise.
41422 * include/fcntl.h: Likewise.
41423 * include/fnmatch.h: Likewise.
41424 * include/glob.h: Likewise.
41425 * include/grp.h: Likewise.
41426 * include/libio.h: Likewise.
41427 * include/locale.h: Likewise.
41428 * include/math.h: Likewise.
41429 * include/net/if.h: Likewise.
41430 * include/netdb.h: Likewise.
41431 * include/netinet/in.h: Likewise.
41432 * include/pthread.h: Likewise.
41433 * include/pwd.h: Likewise.
41434 * include/regex.h: Likewise.
41435 * include/sched.h: Likewise.
41436 * include/search.h: Likewise.
41437 * include/setjmp.h: Likewise.
41438 * include/signal.h: Likewise.
41439 * include/stdio.h: Likewise.
41440 * include/stdlib.h: Likewise.
41441 * include/string.h: Likewise.
41442 * include/sys/cdefs.h: Likewise.
41443 * include/sys/mman.h: Likewise.
41444 * include/sys/msg.h: Likewise.
41445 * include/sys/resource.h: Likewise.
41446 * include/sys/select.h: Likewise.
41447 * include/sys/socket.h: Likewise.
41448 * include/sys/stat.h: Likewise.
41449 * include/sys/statvfs.h: Likewise.
41450 * include/sys/time.h: Likewise.
41451 * include/sys/times.h: Likewise.
41452 * include/sys/uio.h: Likewise.
41453 * include/sys/utsname.h: Likewise.
41454 * include/sys/wait.h: Likewise.
41455 * include/termios.h: Likewise.
41456 * include/time.h: Likewise.
41457 * include/ulimit.h: Likewise.
41458 * include/unistd.h: Likewise.
41459 * include/utime.h: Likewise.
41460 * include/wchar.h: Likewise.
41461 * include/wctype.h: Likewise.
41462 * include/wordexp.h: Likewise.
41464 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41466 * time/time.h: TIME_UTC must be a macro.
41467 Make timespec_get available for ISO C11 only as well.
41469 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41471 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41472 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41474 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41476 * configure.in: Use -o not -a in test for unsupported multi-arch.
41478 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41480 * manual/texinfo.tex: Update to version 2012-01-19.16.
41482 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41484 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41486 2012-02-24 Roland McGrath <roland@hack.frob.com>
41489 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41490 * manual/fdl-1.3.texi: New file.
41491 * manual/fdl-1.1.texi: File removed.
41494 * manual/libc.texinfo (FDL_VERSION): New @set.
41495 Use it for mention of FDL in cover text.
41496 (Documentation License): Use it in @include file name.
41498 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41499 Roland McGrath <roland@hack.frob.com>
41502 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41503 (not LONG_LONG_MAX and LONG_LONG_MIN.
41504 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41505 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41507 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41509 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41513 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41514 manipulate bits before adding and subtracting TWO23[sx].
41515 * math/libm-test.inc (nearbyint_test): Add more tests.
41517 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41520 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41521 bits before adding and subtracting TWO23[sx].
41522 * math/libm-test.inc (rint_test): Add more tests.
41523 (rint_test_tonearest): Likewise.
41524 (rint_test_towardzero): Likewise.
41525 (rint_test_downward): Likewise.
41526 (rint_test_upward: Likewise.
41528 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41531 * include/stdc-predef.h: New file. Extracted from features.h.
41532 * include/features.h: Include stdc-predef.h.
41533 * Makefile (headers): Add stdc-predef.h.
41534 * CONFORMANCE (Compiler limitations): Update.
41536 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41538 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41540 2012-02-21 David S. Miller <davem@davemloft.net>
41542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41543 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41545 2012-02-20 David S. Miller <davem@davemloft.net>
41547 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41548 using a normal save/restore sequence, rather than allocating a
41549 dummy stack frame just to store a frame pointer and restore.
41550 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41552 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41554 * manual/install.texi: Fix stray word in line-wrapped comment.
41556 2012-02-20 David S. Miller <davem@davemloft.net>
41558 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41559 both binutils and gcc support GOTDATA.
41561 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41562 "rd %pc" in the PIC register setup sequences.
41564 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41565 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41566 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41567 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41568 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41570 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41571 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41573 (SYSCALL_ERROR_HANDLER): Likewise.
41574 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41575 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41577 (SYSCALL_ERROR_HANDLER): Likewise.
41579 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41580 (HAVE_GCC_GOTDATA): New.
41581 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41582 relocation support in both binutils and gcc.
41583 * sysdeps/sparc/elf/configure: Regenerate.
41585 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41586 * sysdeps/sparc/sparc32/elf/configure: Delete.
41587 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41588 * sysdeps/sparc/sparc64/elf/configure: Delete.
41589 * sysdeps/sparc/elf/configure.in: New file.
41590 * sysdeps/sparc/elf/configure: Generate.
41592 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41593 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41594 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41595 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41596 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41598 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41600 * manual/install.texi: Do not mention specific glibc version
41602 * manual/libc.texinfo (VERSION, UPDATED): Update.
41603 (@copying): Use @copyright{} and range of years.
41605 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41608 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41609 [crti.S not in sysdirs] (generated): Do not append.
41610 [crti.S not in sysdirs] (omit-deps): Likewise.
41611 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41612 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41613 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41614 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41615 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41617 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41618 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41619 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41620 * csu/defs.awk: Remove file.
41621 * sysdeps/generic/initfini.c: Likewise.
41622 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41624 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41627 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41629 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41630 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41631 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41632 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41634 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41636 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41637 (__EPOLL_PACKED): Define to empty if not defined by
41639 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41643 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41645 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41646 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41647 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41648 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41650 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41654 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41656 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41659 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41660 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41663 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41666 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41668 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41670 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41671 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41673 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41675 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41678 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41680 * math/w_acos.c: Use non-signaling floating-point comparisons.
41681 * math/w_acosf.c: Likewise.
41682 * math/w_acosh.c: Likewise.
41683 * math/w_acoshf.c: Likewise.
41684 * math/w_acoshl.c: Likewise.
41685 * math/w_acosl.c: Likewise.
41686 * math/w_asin.c: Likewise.
41687 * math/w_asinf.c: Likewise.
41688 * math/w_asinl.c: Likewise.
41689 * math/w_atanh.c: Likewise.
41690 * math/w_atanhf.c: Likewise.
41691 * math/w_atanhl.c: Likewise.
41692 * math/w_exp2.c: Likewise.
41693 * math/w_exp2f.c: Likewise.
41694 * math/w_exp2l.c: Likewise.
41695 * math/w_j0.c: Likewise.
41696 * math/w_j0f.c: Likewise.
41697 * math/w_j0l.c: Likewise.
41698 * math/w_j1.c: Likewise.
41699 * math/w_j1f.c: Likewise.
41700 * math/w_j1l.c: Likewise.
41701 * math/w_jn.c: Likewise.
41702 * math/w_jnf.c: Likewise.
41703 * math/w_log.c: Likewise.
41704 * math/w_log10.c: Likewise.
41705 * math/w_log10f.c: Likewise.
41706 * math/w_log10l.c: Likewise.
41707 * math/w_log2.c: Likewise.
41708 * math/w_log2f.c: Likewise.
41709 * math/w_log2l.c: Likewise.
41710 * math/w_logf.c: Likewise.
41711 * math/w_logl.c: Likewise.
41712 * math/w_sqrt.c: Likewise.
41713 * math/w_sqrtf.c: Likewise.
41714 * math/w_sqrtl.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41716 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41718 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41719 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41721 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41724 * manual/string.texi (strnlen): Use correct parameter name in
41725 equivalent expression.
41727 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41730 * manual/users.texi (seteuid): Consistently use neweuid for
41733 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41736 * manual/nss.texi (Services in the NSS configuration): Correct
41737 list of services in example configuration file.
41739 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41742 * manual/arith.texi: Remove statements about negative zero
41743 behaving identically to zero.
41745 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41748 * manual/install.texi: Do not document upgrading from libc5.
41750 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41753 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41755 2012-02-18 David S. Miller <davem@davemloft.net>
41757 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41758 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41759 %o7 across the call.
41760 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41763 SETUP_PIC_REG_LEAF.
41764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41765 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41766 * sysdeps/sparc/crtn.S: Likewise.
41768 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41770 * aout/Makefile: Remove.
41772 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41775 * manual/examples/argp-ex1.c (main): Format definition in GNU
41777 * manual/examples/argp-ex2.c (main): Likewise.
41778 * manual/examples/argp-ex3.c (main): Likewise.
41779 * manual/examples/argp-ex4.c (main): Likewise.
41780 * manual/examples/longopt.c (main): Use new-style prototype
41782 * manual/examples/strncat.c (main): Specify return type and use
41783 (void) for arguments.
41784 * manual/examples/subopt.c (main): Use char **argv argument.
41786 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41789 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41792 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41795 * manual/string.texi (strchr): Change when strchrnul is
41798 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41801 * manual/locale.texi (setlocale): Document LOCPATH.
41803 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41806 * manual/process.texi (execle): Move @dots{} before last argument.
41808 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41811 * manual/charset.texi (Generic Charset Conversion): Fix typo
41812 (LC_TYPE -> LC_CTYPE).
41814 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41817 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41818 (scalbnf): Likewise.
41819 (scalbnl): Likewise.
41820 (scalbln): Likewise.
41821 (scalblnf): Likewise.
41822 (scalblnl): Likewise.
41823 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41824 (vwarnx): Likewise.
41827 * manual/filesys.texi (telldir): Use braces around return type.
41828 * manual/llio.texi (mmap): Add space after comma.
41829 (mmap64): Likewise.
41830 * manual/math.texi (jn): Use @var{} on parameter names.
41836 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41838 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41840 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41841 (sched_get_priority_max): Likewise.
41842 * manual/signal.texi (sigvec): Add space after comma.
41843 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41845 (if_indextoname): Likewise.
41846 (if_freenameindex): Likewise.
41847 (sendto): Use ',' instead of '.' in prototype.
41848 * manual/startup.texi (syscall): Use @dots{} instead of literal
41850 * manual/stdio.texi (__fpending): Separate initial words of
41851 paragraph from @deftypefun line.
41852 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41854 (vsyslog): Use @var{} on parameter names.
41855 * manual/terminal.texi (stty): Use @var{} on parameter names.
41856 * manual/users.texi (getutmp): Use @var{} on parameter names.
41857 (getutmpx): Likewise.
41859 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41862 * manual/stdio.texi (fopen): Fix typos in description of
41865 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41868 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41869 get clock_id definition.
41871 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41874 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41875 (madvise): Cast every argument to void on its own.
41877 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41880 * manual/startup.texi (Exit Status): Fix typo.
41882 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41885 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41886 * manual/examples/argp-ex2.c: Likewise.
41887 * manual/examples/argp-ex3.c: Likewise.
41889 2012-02-16 Richard Henderson <rth@redhat.com>
41891 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41892 * sysdeps/s390/s390-32/initfini.c: Remove.
41893 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41894 * sysdeps/s390/s390-64/initfini.c: Remove.
41896 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41898 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41899 compiler output for sysdeps/generic/initfini.c.
41900 * sysdeps/sh/elf/initfini.c: Remove file.
41902 2012-02-16 David S. Miller <davem@davemloft.net>
41905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41907 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41908 * sysdeps/sparc/crti.S: New file.
41909 * sysdeps/sparc/crtn.S: New file.
41910 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41911 * sysdeps/sparc/sparc64/Makefile: Likewise.
41913 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41916 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41918 2012-02-15 Roland McGrath <roland@hack.frob.com>
41921 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41923 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41924 (write, read, close): Likewise.
41925 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41927 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41929 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41930 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41931 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41932 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41934 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41938 2012-02-14 Marek Polacek <polacek@redhat.com>
41940 * sysdeps/x86_64/crti.S: New file.
41941 * sysdeps/x86_64/crtn.S: New file.
41942 * sysdeps/x86_64/elf/initfini.c: Remove file.
41944 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41946 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41947 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41948 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41949 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41951 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41955 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41957 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41958 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41959 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41960 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41962 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41966 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41968 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41969 __feraiseexcept instead of feraiseexcept.
41971 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41972 nanosleep invocations.
41973 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41974 strings, and add error checking for a nanosleep invocations.
41976 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41978 Replace FSF snail mail address with URLs, as per GNU coding standards.
41979 Most of the snail mail addresses were wrong anyway, and omitting
41980 them makes the source code easier to maintain. Almost all of the
41981 changes are to license notices and to locale LC_IDENTIFICATION
41982 addresses, except for this one:
41983 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41984 not its snail mail address.
41986 2012-02-09 Richard Henderson <rth@twiddle.net>
41988 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41989 of kernel-features.h.
41991 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41993 2012-02-08 Marek Polacek <polacek@redhat.com>
41995 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41996 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41997 * sysdeps/gnu/_G_config.h: Likewise.
41998 * sysdeps/generic/_G_config.h: Likewise.
42000 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42002 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42006 * sysdeps/powerpc/powerpc32/crti.S: New file.
42007 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42008 * sysdeps/powerpc/powerpc64/crti.S: New file.
42009 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42011 * Makeconfig (have-initfini): Don't set.
42012 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42013 * configure.in (nopic_initfini): Don't substitute.
42014 * config.h.in (HAVE_INITFINI): Don't #undef.
42015 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42016 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42018 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42020 Support crti.S and crtn.S provided directly by architectures.
42021 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42022 [crti.S in sysdirs] (omit-deps): Likewise.
42023 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42024 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42025 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42026 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42027 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42028 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42029 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42030 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42031 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42032 compiler output for sysdeps/generic/initfini.c.
42033 * sysdeps/i386/elf/Makefile: Remove file.
42034 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42036 2012-02-07 Marek Polacek <polacek@redhat.com>
42038 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42039 * sysdeps/gnu/_G_config.h: Likewise.
42040 * sysdeps/mach/hurd/_G_config.h: Likewise.
42042 2012-02-07 Marek Polacek <polacek@redhat.com>
42044 * math/Makefile (tests): Add tst-CMPLX2.
42045 * math/tst-CMPLX2.c: New file.
42047 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42049 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42051 * math/libm-test.inc (jn_test): Add missing L suffix.
42053 2012-02-06 Marek Polacek <polacek@redhat.com>
42055 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42056 * sysdeps/i386/fpu/e_powf.S: Likewise.
42057 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42058 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42059 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42060 * sysdeps/i386/fpu/e_pow.S: Likewise.
42061 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42063 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42064 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42065 * sysdeps/i386/fpu/e_log2.S: Likewise.
42066 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42067 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42068 * sysdeps/i386/fpu/e_powl.S: Likewise.
42069 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42071 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42072 * sysdeps/i386/fpu/e_logl.S: Likewise.
42073 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42074 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42075 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42076 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42077 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42078 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42079 * sysdeps/i386/fpu/e_log.S: Likewise.
42080 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42082 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42083 * sysdeps/i386/fpu/e_logf.S: Likewise.
42084 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42085 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42086 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42087 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42088 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42089 * sysdeps/i386/fpu/e_log10.S: Likewise.
42090 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42091 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42092 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42093 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42094 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42095 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42096 * sysdeps/i386/asm-syntax.h: Likewise.
42097 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42098 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42099 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42100 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42101 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42102 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42103 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42104 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42105 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42106 * sysdeps/powerpc/sysdep.h: Likewise.
42107 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42108 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42110 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42113 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42115 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42117 * sysdeps/i386/sysdep.h: Include <features.h>.
42118 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42121 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42123 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42125 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42128 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42130 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42131 (SETUP_PIC_REG): Use GET_PC_THUNK.
42132 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42135 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42137 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42138 for non-PIC compilation.
42139 (SETUP_PIC_REG): Add .p2align directive.
42140 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42141 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42142 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42143 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42145 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42146 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42148 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42149 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42150 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42151 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42152 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42153 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42154 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42155 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42156 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42157 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42158 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42159 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42160 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42162 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42163 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42164 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42166 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42168 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42169 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42170 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42171 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42172 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42173 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42174 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42175 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42176 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42177 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42178 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42179 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42180 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42182 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42184 * math/tst-CMPLX.c: Include <stdio.h>.
42186 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42188 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42190 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42191 * sysdeps/sparc/bits/mathdef.h: Likewise.
42193 2012-01-31 Marek Polacek <polacek@redhat.com>
42195 * libio/libio.h: Don't define _PARAMS.
42196 * locale/programs/config.h: Don't define PARAMS.
42197 * stdlib/strtol_l.c: Likewise.
42198 (__strtol_l): Remove PARAMS from the prototype.
42200 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42202 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42203 names. Just use the correct names. Remove unnecessary wrapper
42205 * malloc/arena.c: Likewise.
42206 * malloc/hooks.c: Likewise.
42208 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42209 ARENA_TEST says not to. Simplify test for creation of a new arena.
42210 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42212 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42214 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42216 (update_get_addr): New function.
42217 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42218 GET_ADDR_MODULE parameter.
42220 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42222 * crypt/cert.c: Remove __STDC__ conditionals.
42223 * crypt/crypt-entry.c: Likewise.
42224 * crypt/crypt_util.c: Likewise.
42225 * libio/filedoalloc.c: Likewise.
42226 * libio/fileops.c: Likewise.
42227 * libio/genops.c: Likewise.
42228 * libio/iofclose.c: Likewise.
42229 * libio/iofdopen.c: Likewise.
42230 * libio/iofopen.c: Likewise.
42231 * libio/iofopen64.c: Likewise.
42232 * libio/iogetdelim.c: Likewise.
42233 * libio/iopopen.c: Likewise.
42234 * libio/obprintf.c: Likewise.
42235 * libio/oldfileops.c: Likewise.
42236 * libio/oldiofclose.c: Likewise.
42237 * libio/oldiofdopen.c: Likewise.
42238 * libio/oldiofopen.c: Likewise.
42239 * libio/oldiopopen.c: Likewise.
42240 * libio/wfiledoalloc.c: Likewise.
42241 * libio/wgenops.c: Likewise.
42242 * locale/programs/xmalloc.c: Likewise.
42243 * misc/syslog.c: Likewise.
42244 * stdio-common/xbug.c: Likewise.
42245 * string/memchr.c: Likewise.
42246 * string/memcmp.c: Likewise.
42247 * string/memrchr.c: Likewise.
42248 * string/rawmemchr.c: Likewise.
42249 * sysdeps/posix/getcwd.c: Likewise.
42250 * time/strftime_l.c: Likewise.
42252 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42254 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42255 * config.make.in (config-cflags-sse2avx): Define.
42256 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42259 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42261 * scripts/config.guess: Update from upstream config git repository.
42262 * scripts/config.sub: Likewise.
42264 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42266 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42268 (R_TILEPRO_*, R_TILEGX_*): New macros.
42270 * scripts/firstversions.awk: Fix bug in version range handling.
42272 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42274 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42276 * include/sys/epoll.h: New file.
42277 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42280 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42282 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42283 Avoid unnecessary __WORDSIZE == 64 test.
42284 (fmaxf): Use VEX format if possible.
42289 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42290 * math/math_private.h: Remove libc_fegetround* and
42292 * sysdeps/i386/configure.in: Check for -msse2avx.
42293 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42294 also if SSE2AVX is defined.
42295 Remove libc_fegetround* and libc_fesetround*.
42296 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42297 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42300 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42301 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42302 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42303 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42304 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42306 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42308 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42310 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42312 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42314 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42317 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42319 * Makeconfig (libm): Define.
42320 * elf/Makefile: Add rules to build and run tst-relsort1.
42321 * elf/tst-relsort1.c: New file.
42322 * elf/tst-relsort1mod1.c: New file.
42323 * elf/tst-relsort1mod2.c: New file.
42325 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42327 * math/s_ldexp.c: Remove __STDC__ conditionals.
42328 * math/s_ldexpf.c: Likewise.
42329 * math/s_ldexpl.c: Likewise.
42330 * math/s_nextafter.c: Likewise.
42331 * math/s_nexttowardf.c: Likewise.
42332 * math/s_significand.c: Likewise.
42333 * math/s_significandf.c: Likewise.
42334 * math/s_significandl.c: Likewise.
42335 * math/w_jnl.c: Likewise.
42336 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42337 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42338 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42339 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42340 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42346 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42348 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42349 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42350 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42351 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42352 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42353 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42355 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42356 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42357 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42358 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42360 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42361 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42363 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42364 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42365 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42366 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42367 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42368 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42369 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42370 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42371 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42372 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42373 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42374 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42375 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42376 * sysdeps/ieee754/k_standard.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42396 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42403 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42404 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42409 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42420 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42421 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42430 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42431 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42438 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42443 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42444 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42445 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42446 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42449 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42451 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42452 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42453 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42455 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42456 * sysdeps/ieee754/s_matherr.c: Likewise.
42457 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42458 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42462 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42464 * crypt/md5.h: Remove __STDC__ conditionals.
42465 * libio/libioP.h: Likewise.
42466 * locale/programs/config.h: Likewise.
42467 * sysdeps/generic/sysdep.h: Likewise.
42468 * sysdeps/i386/asm-syntax.h: Likewise.
42469 * sysdeps/s390/asm-syntax.h: Likewise.
42470 * sysdeps/unix/sysdep.h: Likewise.
42471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42474 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42476 * libio/libio.h: Remove __STDC__ conditionals.
42477 * malloc/obstack.h: Likewise.
42478 * math/complex.h: Likewise.
42479 * math/math.h: Likewise.
42480 * sysdeps/generic/_G_config.h: Likewise.
42481 * sysdeps/gnu/_G_config.h: Likewise.
42482 * sysdeps/mach/hurd/_G_config.h: Likewise.
42483 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42484 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42485 * sysdeps/sparc/bits/mathdef.h: Likewise.
42487 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42490 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42491 Clean up HAS_* macros.
42492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42493 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42498 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42500 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42503 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42505 * elf/tst-unique3.cc (gets): Remove declaration.
42506 * elf/tst-unique3lib.cc (gets): Likewise.
42507 * elf/tst-unique3lib2.cc (gets): Likewise.
42508 * elf/tst-unique4.cc (gets): Likewise.
42510 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42512 * include/stdio.h: Add C++ protection. Add gets declarations and
42514 * debug/tst-chk1.c: Don't declare gets here.
42515 * stdio-common/tst-gets.c: Likewise.
42517 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42519 * posix/glob: Remove directory.
42521 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42523 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42525 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42527 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42528 of the non-standard EPFNOSUPPORT.
42530 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42532 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42533 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42534 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42536 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42538 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42540 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42542 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42544 * nscd/grpcache.c (cache_addgr): Likewise.
42545 * nscd/hstcache.c (cache_addhst): Likewise.
42546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42547 * nscd/pwdcache.c (cache_addpw): Likewise.
42548 * nscd/servicescache.c (cache_addserv): Likewise.
42550 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42552 * malloc/malloc.c: Various cleanups.
42553 * malloc/hooks.c: Likewise.
42555 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42556 * stdlib/bug-fmtmsg1.c: New file.
42558 * stdlib/fmtmsg.c (init): Add missing unlock.
42559 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42561 2012-01-12 Marek Polacek <polacek@redhat.com>
42563 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42566 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42568 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42569 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42570 macro to ensure uniqueness of label name.
42571 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42572 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42574 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42576 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42578 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42579 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42583 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42585 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42587 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42588 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42589 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42591 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42593 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42594 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42595 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42598 * math/bits/math-finite.h: Add ldexp support.
42600 2012-01-10 Marek Polacek <polacek@redhat.com>
42602 * locale/programs/localedef.h (show_archive_content): Add noreturn
42605 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42607 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42609 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42611 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42613 * io/Makefile (headers): Add bits/poll2.h.
42615 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42618 typo #include statement.
42620 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42622 * include/sys/cdefs.h: Define __attribute_alloc_size.
42623 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42624 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42625 * elf/pldd.c: Likewise.
42626 * iconv/iconv_charmap.c: Likewise.
42627 * iconv/iconvconfig.c: Likewise.
42628 * iconv/strtab.c: Likewise.
42629 * locale/programs/locale.c: Likewise.
42630 * locale/programs/localedef.h: Likewise.
42631 * locale/programs/simple-hash.c: Likewise.
42632 * nscd/nscd.h: Likewise.
42633 * nss/makedb.c: Likewise.
42634 * sysdeps/generic/ldconfig.h: Likewise.
42635 * locale/programs/localedef.c: Remove xmalloc prototype.
42636 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42638 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42640 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42643 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42645 * math/Makefile (tests): Add tst-CMPLX.
42646 * math/tst-CMPLX.c: New file.
42648 * math/complex.h (CMPLXL): Fix typo.
42650 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42651 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42653 * debug/tst-chk1.c: Add poll and ppoll tests.
42654 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42655 * include/sys/poll.h: Add hidden proto for ppoll.
42656 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42657 * sysdeps/mach/hurd/ppoll.c: Likewise.
42658 * io/ppoll.c: Likewise.
42659 * debug/poll_chk.c: New file.
42660 * debug/ppoll_chk.c: New file.
42661 * include/bits/poll2.h: New file.
42662 * io/bits/poll2.h: New file.
42665 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42667 * configure.in: static is always set to yes. Remove.
42668 * config.make.in: Don't set build-static.
42669 * Makeconfig: Remove use of build-static.
42670 * dlfcn/Makefile: Likewise.
42671 * elf/Makefile: Likewise.
42672 * math/Makefile: Likewise.
42673 * misc/Makefile: Likewise.
42674 * nptl/Makefile: Likewise.
42675 * sysdeps/mach/hurd/Makefile: Likewise.
42677 * configure.in: PWD_P is not used anymore.
42678 * config.make.in: Remove PWD_P entry.
42680 * configure.in: Remove last remnants of RANLIB.
42681 No need to check for signed size_t anymore.
42682 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42684 Remove __builtin_expect test because we require at least gcc 3.4.
42685 * aclocal.m4: Likewise.
42687 * wcsmbs/mbrtoc16.c: Implement using towc function.
42688 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42689 * wcsmbs/wcsmbsload.c: Likewise.
42690 * iconv/gconv_simple.c: Likewise.
42691 * iconv/gconv_int.h: Likewise.
42692 * iconv/gconv_builtin.h: Likewise.
42693 * iconv/iconv_prog.c: Remove CHAR16 handling.
42695 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42697 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42699 * configure.in: Remove --with-elf and --enable-bounded options.
42700 Dont set base_machine for ia64. More non-ELF conditions removed.
42701 Remove testing and setting of leading underscore information.
42702 * config.make.in (build-bounded): Set to no.
42703 * config.h.in: Remove NO_UNDERSCORES entry.
42704 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42706 * csu/start.c: Remove !NO_UNDERSCORE code.
42707 * locale/localeinfo.h: Likewise.
42708 * sysdeps/generic/machine-gmon.h: Likewise.
42709 * sysdeps/generic/sysdep.h: Likewise.
42710 * sysdeps/i386/sysdep.h: Likewise.
42711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42712 * sysdeps/mach/sysdep.h: Likewise.
42713 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42715 * sysdeps/sh/sysdep.h: Likewise.
42716 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42717 * sysdeps/unix/i386/sysdep.S: Likewise.
42718 * sysdeps/unix/sparc/start.c: Likewise.
42719 * sysdeps/unix/sparc/sysdep.S: Likewise.
42720 * sysdeps/unix/sparc/sysdep.h: Likewise.
42721 * sysdeps/unix/start.c: Likewise.
42722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42723 * sysdeps/x86_64/sysdep.h: Likewise.
42725 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42728 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42730 * argp/argp-fmtstream.h: Use const instead __const.
42731 * argp/argp.h: Likewise.
42732 * assert/assert.h: Likewise.
42733 * bits/fenv.h: Likewise.
42734 * bits/sched.h: Likewise.
42735 * bits/sigset.h: Likewise.
42736 * bits/sigthread.h: Likewise.
42737 * catgets/nl_types.h: Likewise.
42738 * conform/data/pthread.h-data: Likewise.
42739 * crypt/crypt-private.h: Likewise.
42740 * crypt/crypt.h: Likewise.
42741 * crypt/crypt_util.c: Likewise.
42742 * ctype/ctype.h: Likewise.
42743 * debug/execinfo.h: Likewise.
42744 * debug/mbsnrtowcs_chk.c: Likewise.
42745 * debug/mbsrtowcs_chk.c: Likewise.
42746 * debug/wcsnrtombs_chk.c: Likewise.
42747 * debug/wcsrtombs_chk.c: Likewise.
42748 * debug/wcstombs_chk.c: Likewise.
42749 * dirent/dirent.h: Likewise.
42750 * dlfcn/dlfcn.h: Likewise.
42751 * elf/neededtest4.c: Likewise.
42752 * grp/grp.h: Likewise.
42753 * gshadow/gshadow.h: Likewise.
42754 * iconv/gconv.h: Likewise.
42755 * iconv/gconv_int.h: Likewise.
42756 * iconv/gconv_simple.c: Likewise.
42757 * iconv/iconv.h: Likewise.
42758 * iconv/loop.c: Likewise.
42759 * iconv/skeleton.c: Likewise.
42760 * include/aio.h: Likewise.
42761 * include/aliases.h: Likewise.
42762 * include/argz.h: Likewise.
42763 * include/arpa/inet.h: Likewise.
42764 * include/assert.h: Likewise.
42765 * include/dirent.h: Likewise.
42766 * include/dlfcn.h: Likewise.
42767 * include/execinfo.h: Likewise.
42768 * include/fcntl.h: Likewise.
42769 * include/fenv.h: Likewise.
42770 * include/glob.h: Likewise.
42771 * include/grp.h: Likewise.
42772 * include/libintl.h: Likewise.
42773 * include/mntent.h: Likewise.
42774 * include/netdb.h: Likewise.
42775 * include/pwd.h: Likewise.
42776 * include/rpc/netdb.h: Likewise.
42777 * include/sched.h: Likewise.
42778 * include/search.h: Likewise.
42779 * include/shadow.h: Likewise.
42780 * include/signal.h: Likewise.
42781 * include/stdio.h: Likewise.
42782 * include/stdlib.h: Likewise.
42783 * include/string.h: Likewise.
42784 * include/sys/socket.h: Likewise.
42785 * include/sys/stat.h: Likewise.
42786 * include/sys/statfs.h: Likewise.
42787 * include/sys/statvfs.h: Likewise.
42788 * include/sys/syslog.h: Likewise.
42789 * include/sys/time.h: Likewise.
42790 * include/sys/uio.h: Likewise.
42791 * include/time.h: Likewise.
42792 * include/unistd.h: Likewise.
42793 * include/utmp.h: Likewise.
42794 * include/wchar.h: Likewise.
42795 * include/wctype.h: Likewise.
42796 * inet/aliases.h: Likewise.
42797 * inet/arpa/inet.h: Likewise.
42798 * inet/netinet/ether.h: Likewise.
42799 * inet/netinet/in.h: Likewise.
42800 * intl/libintl.h: Likewise.
42801 * io/bits/fcntl2.h: Likewise.
42802 * io/fcntl.h: Likewise.
42803 * io/ftw.h: Likewise.
42804 * io/sys/poll.h: Likewise.
42805 * io/sys/stat.h: Likewise.
42806 * io/sys/statfs.h: Likewise.
42807 * io/sys/statvfs.h: Likewise.
42808 * io/utime.h: Likewise.
42809 * libio/bits/stdio.h: Likewise.
42810 * libio/bits/stdio2.h: Likewise.
42811 * libio/libio.h: Likewise.
42812 * libio/libioP.h: Likewise.
42813 * libio/stdio.h: Likewise.
42814 * locale/lc-ctype.c: Likewise.
42815 * locale/locale.h: Likewise.
42816 * login/utmp.h: Likewise.
42817 * malloc/arena.c: Likewise.
42818 * malloc/malloc.c: Likewise.
42819 * malloc/malloc.h: Likewise.
42820 * malloc/mcheck.c: Likewise.
42821 * malloc/mtrace.c: Likewise.
42822 * math/bits/mathcalls.h: Likewise.
42823 * math/fenv.h: Likewise.
42824 * math/math_private.h: Likewise.
42825 * misc/bits/error.h: Likewise.
42826 * misc/bits/syslog.h: Likewise.
42827 * misc/err.h: Likewise.
42828 * misc/error.h: Likewise.
42829 * misc/fstab.h: Likewise.
42830 * misc/mntent.h: Likewise.
42831 * misc/regexp.h: Likewise.
42832 * misc/search.h: Likewise.
42833 * misc/sgtty.h: Likewise.
42834 * misc/sys/mman.h: Likewise.
42835 * misc/sys/syslog.h: Likewise.
42836 * misc/sys/uio.h: Likewise.
42837 * misc/sys/xattr.h: Likewise.
42838 * misc/ttyent.h: Likewise.
42839 * nis/rpcsvc/ypclnt.h: Likewise.
42840 * nss/nss.h: Likewise.
42841 * posix/bits/unistd.h: Likewise.
42842 * posix/fnmatch.h: Likewise.
42843 * posix/glob.h: Likewise.
42844 * posix/sched.h: Likewise.
42845 * posix/spawn.h: Likewise.
42846 * posix/sys/wait.h: Likewise.
42847 * posix/unistd.h: Likewise.
42848 * posix/wordexp.h: Likewise.
42849 * pwd/pwd.h: Likewise.
42850 * resolv/netdb.h: Likewise.
42851 * resource/sys/resource.h: Likewise.
42852 * rt/aio.h: Likewise.
42853 * rt/bits/mqueue2.h: Likewise.
42854 * rt/mqueue.h: Likewise.
42855 * shadow/shadow.h: Likewise.
42856 * signal/signal.h: Likewise.
42857 * socket/send.c: Likewise.
42858 * socket/sendto.c: Likewise.
42859 * socket/sys/socket.h: Likewise.
42860 * stdio-common/printf.h: Likewise.
42861 * stdlib/bits/stdlib.h: Likewise.
42862 * stdlib/fmtmsg.h: Likewise.
42863 * stdlib/monetary.h: Likewise.
42864 * stdlib/stdlib.h: Likewise.
42865 * stdlib/ucontext.h: Likewise.
42866 * streams/stropts.h: Likewise.
42867 * string/argz.h: Likewise.
42868 * string/bits/string2.h: Likewise.
42869 * string/string.h: Likewise.
42870 * string/strings.h: Likewise.
42871 * sunrpc/rpc/auth.h: Likewise.
42872 * sunrpc/rpc/auth_des.h: Likewise.
42873 * sunrpc/rpc/clnt.h: Likewise.
42874 * sunrpc/rpc/netdb.h: Likewise.
42875 * sunrpc/rpc/pmap_clnt.h: Likewise.
42876 * sunrpc/rpc/xdr.h: Likewise.
42877 * sysdeps/generic/inttypes.h: Likewise.
42878 * sysdeps/generic/net/if.h: Likewise.
42879 * sysdeps/generic/sys/swap.h: Likewise.
42880 * sysdeps/gnu/net/if.h: Likewise.
42881 * sysdeps/gnu/utmpx.h: Likewise.
42882 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42883 * sysdeps/i386/i486/bits/string.h: Likewise.
42884 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42885 * sysdeps/s390/bits/string.h: Likewise.
42886 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42887 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42888 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42889 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42890 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42891 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42892 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42893 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42894 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42895 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42896 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42897 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42898 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42899 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42900 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42901 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42902 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42904 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42906 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42907 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42908 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42909 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42910 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42911 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42912 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42914 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42915 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42916 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42917 * sysvipc/sys/ipc.h: Likewise.
42918 * sysvipc/sys/msg.h: Likewise.
42919 * sysvipc/sys/sem.h: Likewise.
42920 * sysvipc/sys/shm.h: Likewise.
42921 * termios/termios.h: Likewise.
42922 * time/sys/time.h: Likewise.
42923 * time/time.h: Likewise.
42924 * wcsmbs/bits/wchar2.h: Likewise.
42925 * wcsmbs/uchar.h: Likewise.
42926 * wcsmbs/wchar.h: Likewise.
42927 * wctype/wctype.h: Likewise.
42930 * Makeconfig: Remove all but ELF support including AIX support.
42931 * Makerules: Likewise.
42932 * config.h.in: Likewise.
42933 * config.make.in: Likewise.
42934 * configure: Likewise.
42935 * configure.in: Likewise.
42936 * csu/Makefile: Likewise.
42937 * csu/version.c: Likewise.
42938 * debug/Makefile: Likewise.
42939 * dlfcn/Makefile: Likewise.
42940 * elf/Makefile: Likewise.
42941 * extra-lib.mk: Likewise.
42942 * iconv/Makefile: Likewise.
42943 * include/libc-symbols.h: Likewise.
42944 * include/shlib-compat.h: Likewise.
42945 * resolv/Makefile: Likewise.
42946 * resolv/res_libc.c: Likewise.
42947 * rt/Makefile: Likewise.
42948 * sysdeps/i386/asm-syntax.h: Likewise.
42949 * sysdeps/i386/sysdep.h: Likewise.
42950 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42951 * sysdeps/mach/sysdep.h: Likewise.
42952 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42953 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42954 * sysdeps/s390/asm-syntax.h: Likewise.
42955 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42956 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42957 * sysdeps/sh/sysdep.h: Likewise.
42958 * sysdeps/unix/sparc/sysdep.h: Likewise.
42959 * sysdeps/wordsize-32/divdi3.c: Likewise.
42960 * sysdeps/x86_64/sysdep.h: Likewise.
42962 * argp/Versions: Remove _argp_unlock_xxx.
42965 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42966 * abilist/libBrokenLocale.abilist: Likewise.
42967 * abilist/libanl.abilist: Likewise.
42968 * abilist/libc.abilist: Likewise.
42969 * abilist/libcrypt.abilist: Likewise.
42970 * abilist/libdl.abilist: Likewise.
42971 * abilist/libm.abilist: Likewise.
42972 * abilist/libnsl.abilist: Likewise.
42973 * abilist/libpthread.abilist: Likewise.
42974 * abilist/libresolv.abilist: Likewise.
42975 * abilist/librt.abilist: Likewise.
42976 * abilist/libthread_db.abilist: Likewise.
42977 * abilist/libutil.abilist: Likewise.
42978 * abilist/libnss_db.abilist: New file.
42980 * scripts/abilist.awk: Add support for indirect functions.
42982 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42984 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42986 * shlib-versions: Remove entries for ports architectures.
42988 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42990 * elf/stackguard-macros.h: Remove support for IA-64.
42991 * elf/tst-auditmod1.c: Likewise.
42992 * sysdeps/generic/ldsodefs.h: Likewise.
42994 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42995 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42999 * configure.in: Remove --enable-omitfp support.
43001 * config.make.in: Likewise.
43002 * Makeconfig: Likewise.
43003 * manual/install.texi: Likewise.
43005 In case anyone cares, the IA-64 architecture could move to ports.
43006 * sysdeps/ia64/*: Removed.
43007 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43008 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43011 * configure.in: Remove entries for unsupported architectures.
43014 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43015 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43017 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43018 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43019 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43020 fall back to using wcrtomb.
43021 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43022 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43024 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43025 * wcsmbs/tst-c16c32-1.c: New file.
43027 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43030 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43032 * elf/tst-unique3.cc: Add explicit declaration of gets.
43033 * elf/tst-unique3lib.cc: Likewise.
43034 * elf/tst-unique3lib2.cc: Likewise.
43035 * elf/tst-unique4.cc: Likewise.
43037 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43039 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43042 * assert/assert.h (static_assert): Don't define for C++.
43043 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43044 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43046 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43048 * iconv/loop.c (single loop): Fix assertion in storing of
43051 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43053 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43055 * posix/getconf.c: Update copyright year.
43056 * nss/getent.c: Likewise.
43057 * nss/makedb.c: Likewise.
43058 * iconv/iconvconfig.c: Likewise.
43059 * iconv/iconv_prog.c: Likewise.
43060 * elf/ldconfig.c: Likewise.
43061 * elf/pldd.c: Likewise.
43062 * elf/sotruss.ksh: Likewise.
43063 * catgets/gencat.c: Likewise.
43064 * csu/version.c: Likewise.
43065 * elf/ldd.bash.in: Likewise.
43066 * elf/sprof.c (print_version): Likewise.
43067 * locale/programs/locale.c: Likewise.
43068 * locale/programs/localedef.c: Likewise.
43069 * login/programs/pt_chown.c: Likewise.
43070 * nscd/nscd.c (print_version): Likewise.
43071 * debug/xtrace.sh: Likewise.
43072 * malloc/memusage.sh: Likewise.
43073 * malloc/mtrace.pl: Likewise.
43074 * debug/catchsegv.sh: Likewise.
43076 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43078 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43081 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43084 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43085 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43087 * iconv/gconv_int.h: Likewise.
43088 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43089 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43090 from libc for GLIBC_2.16.
43091 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43092 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43093 * wcsmbs/uchar.h: Really define mbstate_t.
43094 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43095 * wcsmbs/c16rtomb.c: New file.
43096 * wcsmbs/mbrtoc16.c: New file.
43097 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43098 for C/POSIX locale.
43099 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43100 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43102 * wcsmbs/wchar.h: Add missing __restrict.
43104 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43107 * time/Makefile (routines): Add timespec_get.
43108 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43109 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43110 timespec for ISO C11.
43111 * time/timespec_get.c: New file.
43112 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43113 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43116 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43117 * stdlib/stdlib.h: Declare aligned_alloc.
43118 * Versions.def: Add GLIBC_2.16 for libc.
43119 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43122 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43125 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43129 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43132 * assert/assert.h (static_assert): Define.
43134 * version.h: Update for 2.16 development version.
43137 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43140 * version.h (RELEASE): Bump for 2.15 release.
43141 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43143 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43144 Patch by Marek Polacek <mpolacek@redhat.com>.
43146 * bits/byteswap.h: Protect long long constants with __extension__.
43147 * sysdeps/i386/bits/byteswap.h: Likewise.
43148 * sysdeps/ia64/bits/byteswap.h: Likewise.
43149 * sysdeps/s390/bits/byteswap.h: Likewise.
43150 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43152 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43156 destination buffer.
43157 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43159 2011-12-23 Marek Polacek <polacek@redhat.com>
43161 * elf/dl-addr.c (determine_info): Add inline keyword.
43162 * elf/tst-auditmod4b.c (check_avx): Likewise.
43163 * elf/tst-auditmod6b.c (check_avx): Likewise.
43164 * elf/tst-auditmod6c.c (check_avx): Likewise.
43165 * elf/tst-auditmod7b.c (check_avx): Likewise.
43167 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43169 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43172 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43175 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43176 processing for last bytes.
43178 2011-08-06 Bruno Haible <bruno@clisp.org>
43181 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43182 U+0385, not to U+1FEE.
43185 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43186 entry for U+00A5 U+0301.
43188 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43191 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43192 buffer for the output is too small.
43194 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43198 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43199 SSE flags if possible.
43201 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43204 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43205 processing for last bytes.
43207 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43209 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43210 (syscall-list-default-options, syscall-list-default-condition)
43211 (syscall-list-includes): Define.
43212 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43213 list of ABIs and options and #if conditions for each ABI. Do not
43214 handle common syscalls between ABIs specially.
43215 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43217 (syscall-list-variants, syscall-list-32bit-options)
43218 (syscall-list-32bit-condition, syscall-list-64bit-options)
43219 (syscall-list-64bit-condition): Define.
43220 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43221 (syscall-list-variants, syscall-list-32bit-options)
43222 (syscall-list-32bit-condition, syscall-list-64bit-options)
43223 (syscall-list-64bit-condition): Define.
43224 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43226 (syscall-list-variants, syscall-list-32bit-options)
43227 (syscall-list-32bit-condition, syscall-list-64bit-options)
43228 (syscall-list-64bit-condition): Define.
43229 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43231 (syscall-list-variants, syscall-list-32bit-options)
43232 (syscall-list-32bit-condition, syscall-list-64bit-options)
43233 (syscall-list-64bit-condition): Define.
43235 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43237 * locale/iso-639.def: Add brx entry.
43240 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43241 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43243 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43244 __feraiseexcept_renamed.
43246 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43249 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43250 EPOLLET with unsigned values.
43251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43252 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43254 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43255 to large cancellation.
43256 * math/s_cacoshf.c: Likewise.
43257 * math/s_cacoshl.c: Likewise.
43259 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43263 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43264 * math/s_cacoshf.c: Likewise.
43265 * math/s_cacoshl.c: Likewise.
43267 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43270 * iconv/gconv.h: Define __GCONV_SWAP.
43271 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43272 * iconvdata/utf-16.c: Likewise.
43273 * iconvdata/utf-32.c: Likewise.
43275 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43279 numerator after shifting it by one limb.
43281 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43283 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43284 under [__USE_EXTERN_INLINES].
43286 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43289 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43291 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43293 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43294 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43296 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43298 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43299 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43300 for strncasecmp/strncasecmp_l compilation.
43301 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43302 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43304 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43307 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43310 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43313 * time/tzfile.c (__tzfile_read): Check values from file header.
43315 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43317 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43318 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43319 * powerpc/powerpc32/dl-start.S: Likewise.
43320 * powerpc/powerpc32/elf/start.S: Likewise.
43321 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43322 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43323 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43324 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43325 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43326 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43327 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43328 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43329 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43330 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43331 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43332 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43333 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43334 * powerpc/powerpc32/memset.S: Likewise.
43335 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43336 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43337 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43338 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43339 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43340 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43341 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43342 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43343 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43344 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43345 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43346 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43347 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43349 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43351 * math/libm-test.inc: Added more nearbyint tests.
43352 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43354 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43357 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43359 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43362 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43364 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43365 Add wcscpy-ssse3 wcscpy-c.
43366 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43367 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43368 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43369 * sysdeps/x86_64/wcschr.S: New file.
43370 * sysdeps/x86_64/wcsrchr.S: New file.
43371 * string/test-strcmp.c: Remove checking of wcscmp function for
43373 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43374 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43375 wcsrchr-sse2 wcsrchr-c.
43376 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43377 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43378 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43379 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43380 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43381 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43382 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43383 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43384 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43385 * wcsmbc/wcschr.c (WCSCHR): New macro.
43387 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43389 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43390 * wcsmbs/test-wcsrchr.c: New file.
43391 * string/test-strrchr.c: Add wcsrchr support.
43393 * wcsmbs/test-wcscpy.c: New file.
43394 * string/test-strcpy.c: Add wcscpy support.
43397 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43399 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43402 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43405 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43407 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43409 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43410 Minor optimizations.
43412 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43413 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43414 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43416 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43418 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43419 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43420 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43421 for gcc to avoid warnings.
43422 * inet/Makefile (tests): Add tst-checks.
43423 * inet/tst-checks.c: New file.
43425 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43428 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43431 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43432 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43434 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43436 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43438 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43441 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43443 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43445 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43446 conditional on GCC version.
43447 (__arch_compare_and_exchange_val_8_acq)
43448 (__arch_compare_and_exchange_val_16_acq)
43449 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43450 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43451 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43453 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43455 * sysdeps/sh/backtrace.c: New file.
43457 2011-12-02 Andreas Schwab <schwab@redhat.com>
43459 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43462 2011-12-01 Andreas Schwab <schwab@redhat.com>
43464 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43465 falling back to utime.
43467 2011-11-30 Andreas Schwab <schwab@redhat.com>
43469 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43470 expectations for float.
43472 2011-11-29 Andreas Schwab <schwab@redhat.com>
43474 * locale/weight.h (findidx): Add parameter len.
43475 * locale/weightwc.h (findidx): Likewise.
43476 * posix/fnmatch_loop.c (FCT): Adjust caller.
43477 * posix/regcomp.c (build_equiv_class): Likewise.
43478 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43479 * posix/regexec.c (check_node_accept_bytes): Likewise.
43480 * string/strcoll_l.c (STRCOLL): Likewise.
43481 * string/strxfrm_l.c (STRXFRM): Likewise.
43483 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43485 * Makefile.in: Remove CVSOPT handling.
43486 * configure.in: Remove use of AC_REVISION.
43487 * iconvdata/Makefile (distribute): No need to filter out CVS.
43488 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43491 2011-11-16 Andreas Schwab <schwab@redhat.com>
43493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43494 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43495 [USE_AS_STRNCASECMP_L]: Likewise.
43496 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43497 NO_TLS_DIRECT_SEG_REFS.
43498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43499 Fix argument offsets for non-PIC.
43500 [USE_AS_STRNCASECMP_L]: Likewise.
43501 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43502 NO_TLS_DIRECT_SEG_REFS.
43504 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43506 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43508 * locale/loadlocale.c (_nl_load_locale): Likewise.
43510 2011-11-15 Andreas Schwab <schwab@redhat.com>
43512 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43513 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43514 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43515 (SYSCALL_GETTIME): Set errno on error.
43517 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43518 count references to noai6ai_cached.
43520 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43522 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43524 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43525 FD_CLOEXEC for /proc/self/maps.
43527 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43528 FD_CLOEXEC for /proc/meminfo.
43530 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43533 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43534 FD_CLOEXEC for given file.
43536 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43538 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43539 FD_CLOEXEC for /etc/hosts.
43540 (_gethtent): Likewise.
43542 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43544 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43545 cancellation and set FD_CLOEXEC for /etc/netgroup.
43547 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43548 reading /etc/publickey.
43550 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43551 allow cancellation when reading /etc/group.
43553 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43555 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43557 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43558 when using data file.
43560 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43562 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43563 (write_nis_obj): Use "c" and "e" in fopen.
43565 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43567 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43569 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43571 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43573 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43576 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43578 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43580 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43582 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43583 file parsing and set FD_CLOEXEC.
43585 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43587 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43589 2011-11-14 Andreas Schwab <schwab@redhat.com>
43591 * malloc/arena.c (arena_get2): Don't call reused_arena when
43592 _int_new_arena failed.
43594 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43596 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43597 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43598 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43599 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43602 to compile strcasecmp and strncasecmp.
43603 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43604 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43608 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43610 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43611 locale-defines.sym to gen-as-const-headers.
43612 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43613 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43615 to compile strcasecmp and strncasecmp.
43616 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43617 strcasecmp_l and strncasecmp_l.
43618 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43619 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43620 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43621 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43622 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43623 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43624 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43625 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43626 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43627 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43628 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43630 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43632 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43633 result of SYSDEP_GETTIME_CPU to retval.
43634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43635 parameter list to macro. Remove trailing semicolon. Adjust users.
43637 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43640 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43642 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43644 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43645 from unused variable.
43647 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43649 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43652 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43655 * sunrpc/rpc_prot.c (rejected): Fix case value.
43657 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43658 unsigned long long int to avoid warnings in shift.
43660 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43662 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43665 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43666 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43667 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43669 * nis/nis_table.c (nis_list): Use variable of correct type for
43670 result of __follow_path call.
43672 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43674 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43675 of math functions ceil, trunc, floor, round, and sqrt, when
43676 avaliable on the platform.
43677 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43679 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43680 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43681 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43683 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43685 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43686 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43688 2011-11-11 Roland McGrath <roland@hack.frob.com>
43690 * include/unistd.h: Fix __readlink return type.
43691 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43693 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43695 * stdlib/ucontext.h: Undo last change for makecontext.
43697 2011-11-11 Andreas Schwab <schwab@redhat.com>
43699 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43701 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43702 * setjmp/setjmp.h: Mark functions as non-leaf.
43703 * setjmp/bits/setjmp2.h: Likewise.
43704 * stdlib/ucontext.h: Likewise.
43706 2011-11-10 Andreas Schwab <schwab@redhat.com>
43708 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43709 (reused_arena): Don't check arena limit.
43710 (arena_get2): Atomically check arena limit.
43712 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43714 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43715 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43720 2011-11-07 Andreas Schwab <schwab@redhat.com>
43722 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43723 handler when locking.
43725 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43726 Fix size of allocated buffer.
43728 2011-11-04 Andreas Schwab <schwab@redhat.com>
43731 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43732 declarations for long double functions.
43733 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43735 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43737 2011-11-03 Andreas Schwab <schwab@redhat.com>
43739 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43742 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43745 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43747 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43749 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43751 * include/alloca.h (stackinfo_alloca_round): Define.
43752 (extend_alloca): Use it.
43753 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43754 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43757 * scripts/check-local-headers.sh: Ignore libaudit.h.
43759 * nscd/Makefile (extra-objs): Make recursively expanded.
43761 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43763 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43766 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43767 * posix/tst-rfc3484-2.c: Likewise.
43768 * posix/tst-rfc3484-3.c: Likewise.
43770 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43772 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43774 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43775 process_vm_writev from libc using GLIBC_2.15 version.
43777 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43779 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43781 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43784 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43787 * nss/getent.c (initgroups_keys): Show error message in case no group
43790 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43791 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43792 __bump_nl_timestamp.
43793 * nscd/connections (nscd_init): When host database is served open
43794 netlink socket and request notification about configuration changes.
43795 (main_loop_poll): Track netlink file descriptor and bump timestamp
43796 in case data becomes available.
43797 (main_loop_epoll): Likewise.
43798 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43799 (database_pers_head): Add extra_data fileds.
43800 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43801 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43802 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43805 in6ai data, call __free_in6ai.
43806 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43807 Add -DHAVE_NETLINK.
43808 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43809 interface information. Reuse previous data if netlink timestamp
43811 (__bump_nl_timestamp): New function.
43812 (__free_in6ai): New function.
43814 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43816 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43817 close_not_cancel_no_status here.
43818 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43820 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43823 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43826 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43827 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43828 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43830 2011-07-03 Andreas Jaeger <aj@suse.de>
43833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43834 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43835 * math/libm-test.inc (sin_test): Add test case.
43837 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43840 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43841 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43843 * elf/chroot_canon.c (chroot_canon): Cleanups.
43845 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43848 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43849 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43851 * string/test-strchr.c: Make usable for strchrnul testing.
43852 * string/test-strchrnul.c: New file.
43853 * string/Makefile (strop-tests): Add strchrnul.
43855 * po/it.po: Update from translation team.
43856 * po/es.po: Likewise.
43858 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43860 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43861 the three constants needed as parameters. Drop the others.
43862 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43863 __m128i_strloadu_tolower.
43864 Create and initialize variable zero and use it in all the places
43865 where _mm_setzero_si128 was used.
43867 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43868 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43869 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43872 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43874 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43875 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43876 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43877 __mpranred, __mptan.
43878 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43879 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43880 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43881 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43882 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43883 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43885 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43886 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43888 2011-10-28 Andreas Schwab <schwab@redhat.com>
43890 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43891 redefine if SHARED.
43892 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43895 wide char related routines to wcsmbs subdir.
43897 2011-10-27 Andreas Schwab <schwab@redhat.com>
43900 * misc/sys/cdefs.h (__THROWNL): Define.
43901 * posix/unistd.h: Use __THREADNL instead of __THREAD
43902 for memory synchronization functions.
43904 2011-10-26 Roland McGrath <roland@hack.frob.com>
43907 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43909 * manual/stdio.texi (Obstack Streams): Node removed.
43911 2011-10-26 Andreas Schwab <schwab@redhat.com>
43913 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43915 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43917 * math/math_private.h (math_force_eval): Allow non-addressable
43919 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43921 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43923 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43924 file is not needed.
43926 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43930 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43932 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43933 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43935 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43936 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43937 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43938 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43939 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43940 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43941 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43942 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43943 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43944 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43945 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43946 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43948 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43949 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43950 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43951 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43952 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43953 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43955 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43956 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43959 place. Use VEX encoding when compiling for AVX.
43961 2011-10-25 Andreas Schwab <schwab@redhat.com>
43963 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43964 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43966 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43968 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43970 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43971 useless if() expression.
43972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43976 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43978 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43981 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43982 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43983 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43984 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43985 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43986 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43988 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43989 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43990 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43992 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43994 2011-10-25 Andreas Schwab <schwab@redhat.com>
43996 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43998 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44000 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44002 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44003 .text section. Avoid duplicate constants.
44004 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44014 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44016 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44021 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44028 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44029 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44030 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44031 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44032 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44033 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44034 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44035 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44036 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44037 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44038 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44039 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44040 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44041 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44042 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44043 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44044 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44046 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44047 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44048 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44050 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44052 * sysdeps/x86_64/dla.h: Move to ...
44053 * sysdeps/x86_64/fpu/dla.h: ...here.
44054 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44055 situations. Use __builtin_fma only for gcc 4.6 and up.
44057 * config.make.in: Add have-mfma4 entry.
44058 * configure.in: Substitute libc_cv_cc_fma4.
44059 * math/Makefile (dbl-only-routines): Add sincostab.
44060 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44061 Use __sincostab not sincos.
44062 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44064 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44069 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44070 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44071 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44072 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44074 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44075 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44077 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44078 define aliases when function name is a macro.
44079 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44080 sysdeps/ieee754/dbl-64/sincos.tbl.
44081 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44082 fma4-enabled routines.
44083 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44084 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44085 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44086 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44088 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44089 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44090 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44091 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44092 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44093 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44094 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44095 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44096 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44098 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44099 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44100 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44101 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44102 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44103 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44104 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44105 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44106 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44108 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44110 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44111 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44112 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44114 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44125 2011-10-24 Andreas Schwab <schwab@redhat.com>
44127 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44129 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44131 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44133 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44135 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44137 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44138 Remove unused variable magic_bits.
44139 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44141 * string/strnlen.c: Define and use STRNLEN macro.
44142 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44143 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44144 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44145 * wcsmbs/wcslen.c: Define and use WCSLEN.
44146 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44147 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44148 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44149 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44150 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44151 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44152 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44154 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44157 strnlen-sse2-no-bsf.
44158 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44160 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44161 Add strnlen support.
44162 (USE_AS_STRNLEN): New macro.
44163 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44164 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44165 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44166 * sysdeps/x86_64/wcslen.S: New file.
44168 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44171 XMM-moves are used for copying on small sizes.
44173 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44175 * wcsmbs/Makefile (strop-tests): Add wcschr.
44176 * wcsmbs/test-wcschr.c: New file.
44177 * string/test-strchr.c: Update.
44178 Add wcschr support.
44181 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44183 * wcsmbs/Makefile (strop-tests): Add wcslen.
44184 * wcsmbs/test-wcslen.c: New file.
44185 * string/test-strlen.c: Update.
44186 Add wcslen support.
44189 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44191 * po/it.po: Update from translation team.
44193 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44195 * sysdeps/x86_64/wcscmp.S: Update.
44196 Fix wrong comparison semantics.
44197 wcscmp shall use signed comparison not unsigned.
44198 Don't use substraction to avoid overflow bug.
44199 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44200 * wcsmbc/wcscmp.c: Likewise.
44201 * string/test-strcmp.c: Likewise.
44202 Add new tests to check cases with negative values.
44204 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44206 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44207 * sysdeps/x86_64/dla.h: ...here. New file.
44208 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44213 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44218 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44221 __ynl_finite aliases.
44223 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44227 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44229 [DLA_FMA] (EMULV): Use DLA_FMA.
44230 [DLA_FMA] (MUL12): Use EMULV.
44231 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44232 that are not needed.
44233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44241 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44243 * math/s_nan.c: Undef __nan.
44244 * math/s_nanf.c: Undef __nanf.
44245 * math/s_nanl.c: Undef __nanl.
44246 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44249 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44251 * math/s_catan.c: Add branch predictions.
44252 * math/s_catanf.c: Likewise.
44253 * math/s_catanh.c: Likewise.
44254 * math/s_catanhf.c: Likewise.
44255 * math/s_catanhl.c: Likewise.
44256 * math/s_catanl.c: Likewise.
44257 * math/s_cexp.c: Likewise.
44258 * math/s_cexpf.c: Likewise.
44259 * math/s_cexpl.c: Likewise.
44260 * math/s_clog.c: Likewise.
44261 * math/s_clog10.c: Likewise.
44262 * math/s_clog10f.c: Likewise.
44263 * math/s_clog10l.c: Likewise.
44264 * math/s_clogf.c: Likewise.
44265 * math/s_clogl.c: Likewise.
44266 * math/s_csqrt.c: Likewise.
44267 * math/s_csqrtf.c: Likewise.
44268 * math/s_csqrtl.c: Likewise.
44269 * math/s_ctanf.c: Likewise.
44270 * math/s_ctanh.c: Likewise.
44271 * math/s_ctanhf.c: Likewise.
44272 * math/s_ctanhl.c: Likewise.
44273 * math/s_ctanl.c: Likewise.
44275 * math/math_private.h: Define __nan, __nanf, __nanl.
44276 * math/s_cacosh.c: Include <math_private.h>.
44277 * math/s_cacoshl.c: Likewise.
44278 * math/s_casinh.c: Likewise.
44279 * math/s_casinhf.c: Likewise.
44280 * math/s_casinhl.c: Likewise.
44281 * math/s_ccos.c: Rely entire on ccosh.
44282 * math/s_ccosf.c: Rely entire on ccoshf.
44283 * math/s_ccosl.c: Rely entirely on ccoshl.
44284 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44285 Remove tests for FE_INVALID.
44286 * math/s_ccoshf.c: Likewise.
44287 * math/s_ccoshl.c: Likewise.
44288 * math/s_csin.c: Likewise.
44289 * math/s_csinf.c: Likewise.
44290 * math/s_csinh.c Likewise.
44291 * math/s_csinhf.c: Likewise.
44292 * math/s_csinhl.c: Likewise.
44293 * math/s_csinl.c: Likewise.
44294 * math/s_ctan.c: Likewise.
44295 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44296 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44297 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44299 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44302 compilation problems.
44304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44307 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44309 * sysdeps/i386/configure.in: Test for -mfma4 option.
44310 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44311 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44312 COMMON_CPUID_INDEX_80000001.
44313 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44314 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44315 use it if FMA3 is not supported.
44316 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44318 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44319 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44321 2011-10-20 Andreas Schwab <schwab@redhat.com>
44324 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44325 it would create a cycle with a link time dependency.
44327 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44329 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44331 * string/Makefile (strop-tests): Add rawmemchr.
44332 * string/test-rawmemchr.c: New file.
44334 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44336 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44337 when compiling str{,n}casecmp and when AVX is available. Hook up
44338 new optimized code in initializers.
44340 2011-10-19 Andreas Schwab <schwab@redhat.com>
44342 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44343 __feraiseexcept instead of feraiseexcept.
44345 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44347 * math/math_private.h: Define defaults for libc_fetestexcept and
44349 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44350 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44351 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44352 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44353 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44354 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44355 libc_fetestexcept and libc_feupdateenv.
44357 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44358 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44359 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44360 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44361 libc_feholdexcept_setround.
44363 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44364 Add s_nearbyint-c and s_nearbyintf-c.
44365 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44366 nearbyintf inlines.
44367 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44368 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44369 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44370 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44372 * math/math_private.h: Define defaults for libc_fegetround,
44373 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44374 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44375 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44376 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44377 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44378 standard functions.
44379 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44380 Remove comments and hacks for old compiler versions.
44381 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44382 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44383 libc_feholdexceptl.
44385 2011-10-18 Andreas Schwab <schwab@redhat.com>
44387 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44388 (__feraiseexcept_renamed): Add __NTH.
44389 (feraiseexcept): Add __NTH. Rename local variables to fix
44390 namespace violations.
44392 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44396 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44398 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44399 recently added interfaces.
44400 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44402 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44403 about macro parameter expansion.
44405 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44406 __NO_MATH_INLINES is defined. Cleanups.
44408 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44409 and __floorf is target has SSE4.1.
44410 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44411 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44412 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44413 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44415 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44417 (floorf): Likewise.
44419 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44421 2011-10-17 Andreas Schwab <schwab@redhat.com>
44423 * misc/sys/cdefs.h: Fix last change.
44425 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44428 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44430 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44432 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44436 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44437 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44440 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44441 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44442 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44443 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44444 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44445 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44446 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44447 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44448 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44449 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44450 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44451 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44452 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44453 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44455 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44456 ceil, ceilf, floor, floorf.
44458 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44459 Perform IRELATIVE relocations last.
44461 * elf/do-rel.h: Add another parameter nrelative, replacing the
44462 local variable with the same name. Change name of the function
44463 to end in Rel or Rela (uppercase).
44464 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44465 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44466 elf_dynamic_do_##reloc function.
44468 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44470 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44471 is sufficient, at least on modern CPUs.
44473 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44475 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44478 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44480 * math/bits/math-finite.h: Add entries for exp.
44481 * math/e_expl.c: Add __*_finite alias.
44482 * sysdeps/i386/fpu/e_exp.S: Likewise.
44483 * sysdeps/i386/fpu/e_expf.S: Likewise.
44484 * sysdeps/i386/fpu/e_expl.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44486 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44490 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44491 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44493 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44494 is sufficient, at least on modern CPUs.
44496 * ctype/ctype-info.c (__ctype_init): Define.
44497 * include/ctype.h (__ctype_init): Declare.
44498 (__ctype_b_loc): The variable is always initialized.
44499 (__ctype_toupper_loc): Likewise.
44500 (__ctype_tolower_loc): Likewise.
44501 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44502 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44504 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44506 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44508 * configure.in: Also look in $cxxmachine/include for C++ system
44511 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44513 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44514 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44515 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44516 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44517 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44518 (USE_AS_WMEMCMP): New macro.
44520 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44521 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44522 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44523 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44525 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44526 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44527 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44528 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44529 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44530 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44531 (USE_AS_WMEMCMP): New macro.
44532 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44533 * sysdeps/string/test-memcmp.c: Update.
44534 Fix simple_wmemcmp.
44536 * wcsmbs/wmemcmp.c: Update.
44537 (WMEMCMP): New macro.
44540 2011-10-12 Andreas Jaeger <aj@suse.de>
44543 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44545 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44547 * libio/iofwide.c (do_length): Avoid warning.
44549 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44551 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44553 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44555 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44556 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44557 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44558 * sysdeps/i386/i686/fpu/e_log.S: New file.
44559 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44560 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44562 * ctype/ctype.h: Add support for inlined isXXX functions when
44563 compiling C++ code.
44565 2011-10-14 Andreas Schwab <schwab@redhat.com>
44567 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44569 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44571 2011-10-13 Roland McGrath <roland@hack.frob.com>
44574 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44576 2011-10-13 Andreas Schwab <schwab@redhat.com>
44578 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44579 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44582 * sysdeps/x86_64/memrchr.S: Check for zero size.
44584 * string/stratcliff.c: Add memrchr tests.
44586 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44589 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44590 rawmemchr-sse2 rawmemchr-sse2-bsf.
44591 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44592 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44593 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44594 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44595 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44596 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44597 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44598 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44599 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44600 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44601 * string/memrchr.c (MEMRCHR): New macro.
44603 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44605 Add integration with gcc's -ffinite-math-only and optimize wrapper
44607 * Versions.def: Define GLIBC_2.15 version for libm.
44608 * math/Makefile (headers): Add bits/math-finite.h.
44609 * math/bits/math-finite.h: New file.
44610 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44611 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44612 * math/e_acoshl.c: Add __*_finite alias.
44613 * math/e_acosl.c: Likewise.
44614 * math/e_asinl.c: Likewise.
44615 * math/e_atan2l.c: Likewise.
44616 * math/e_atanhl.c: Likewise.
44617 * math/e_coshl.c: Likewise.
44618 * math/e_exp10.c: Likewise.
44619 * math/e_exp10f.c: Likewise.
44620 * math/e_exp10l.c: Likewise.
44621 * math/e_exp2l.c: Likewise.
44622 * math/e_fmodl.c: Likewise.
44623 * math/e_gammal_r.c: Likewise.
44624 * math/e_hypotl.c: Likewise.
44625 * math/e_j0l.c: Likewise.
44626 * math/e_j1l.c: Likewise.
44627 * math/e_jnl.c: Likewise.
44628 * math/e_lgammal_r.c: Likewise.
44629 * math/e_log10l.c: Likewise.
44630 * math/e_log2l.c: Likewise.
44631 * math/e_logl.c: Likewise.
44632 * math/e_powl.c: Likewise.
44633 * math/e_sinhl.c: Likewise.
44634 * math/e_sqrtl.c: Likewise.
44635 * math/e_scalb.c: Completely rewritten and optimized.
44636 * math/e_scalbf.c: Likewise.
44637 * math/e_scalbl.c: Likewise.
44638 * math/w_acos.c: Likewise.
44639 * math/w_acosf.c: Likewise.
44640 * math/w_acosl.c: Likewise.
44641 * math/w_acosh.c: Likewise.
44642 * math/w_acoshf.c: Likewise.
44643 * math/w_acoshl.c: Likewise.
44644 * math/w_asin.c: Likewise.
44645 * math/w_asinf.c: Likewise.
44646 * math/w_asinl.c: Likewise.
44647 * math/w_atan2.c: Likewise.
44648 * math/w_atan2f.c: Likewise.
44649 * math/w_atan2l.c: Likewise.
44650 * math/w_atanh.c: Likewise.
44651 * math/w_atanhf.c: Likewise.
44652 * math/w_atanhl.c: Likewise.
44653 * math/w_exp10.c: Likewise.
44654 * math/w_exp10f.c: Likewise.
44655 * math/w_exp10l.c: Likewise.
44656 * math/w_fmod.c: Likewise.
44657 * math/w_fmodf.c: Likewise.
44658 * math/w_fmodl.c: Likewise.
44659 * math/w_j0.c: Likewise.
44660 * math/w_j0f.c: Likewise.
44661 * math/w_j0l.c: Likewise.
44662 * math/w_j1.c: Likewise.
44663 * math/w_j1f.c: Likewise.
44664 * math/w_j1l.c: Likewise.
44665 * math/w_jn.c: Likewise.
44666 * math/w_jnf.c: Likewise.
44667 * math/w_log.c: Likewise.
44668 * math/w_logf.c: Likewise.
44669 * math/w_logl.c: Likewise.
44670 * math/w_log10.c: Likewise.
44671 * math/w_log10f.c: Likewise.
44672 * math/w_log10l.c: Likewise.
44673 * math/w_log2.c: Likewise.
44674 * math/w_log2f.c: Likewise.
44675 * math/w_log2l.c: Likewise.
44676 * math/w_pow.c: Likewise.
44677 * math/w_powf.c: Likewise.
44678 * math/w_powl.c: Likewise.
44679 * math/w_remainder.c: Likewise.
44680 * math/w_remainderf.c: Likewise.
44681 * math/w_remainderl.c: Likewise.
44682 * math/w_scalb.c: Likewise.
44683 * math/w_scalbf.c: Likewise.
44684 * math/w_scalbl.c: Likewise.
44685 * math/w_sqrt.c: Likewise.
44686 * math/w_sqrtf.c: Likewise.
44687 * math/w_sqrtl.c: Likewise.
44688 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44689 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44691 * math/math_private.h: Declare __kernel_standard_f.
44692 * math/w_cosh.c: Remove cruft and optimize a bit.
44693 * math/w_coshf.c: Likewise.
44694 * math/w_coshl.c: Likewise.
44695 * math/w_exp2.c: Likewise.
44696 * math/w_exp2f.c: Likewise.
44697 * math/w_exp2l.c: Likewise.
44698 * math/w_hypot.c: Likewise.
44699 * math/w_hypotf.c: Likewise.
44700 * math/w_hypotl.c: Likewise.
44701 * math/w_lgamma.c: Likewise.
44702 * math/w_lgamma_r.c: Likewise.
44703 * math/w_lgammaf.c: Likewise.
44704 * math/w_lgammaf_r.c: Likewise.
44705 * math/w_lgammal.c: Likewise.
44706 * math/w_lgammal_r.c: Likewise.
44707 * math/w_sinh.c: Likewise.
44708 * math/w_sinhf.c: Likewise.
44709 * math/w_sinhl.c: Likewise.
44710 * math/w_tgamma.c: Likewise.
44711 * math/w_tgammaf.c: Likewise.
44712 * math/w_tgammal.c: Likewise.
44713 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44714 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44715 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44716 Minor optimizations. Pretty printing. Remove cruft.
44717 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44718 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44719 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44720 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44721 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44722 * sysdeps/i386/fpu/e_asin.S: Likewise.
44723 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44724 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44725 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44726 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44727 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44728 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44729 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44730 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44731 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44732 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44733 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44734 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44735 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44736 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44737 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44738 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44739 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44740 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44741 * sysdeps/i386/fpu/e_log.S: Likewise.
44742 * sysdeps/i386/fpu/e_log10.S: Likewise.
44743 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44744 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44745 * sysdeps/i386/fpu/e_log2.S: Likewise.
44746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44747 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44748 * sysdeps/i386/fpu/e_logf.S: Likewise.
44749 * sysdeps/i386/fpu/e_logl.S: Likewise.
44750 * sysdeps/i386/fpu/e_pow.S: Likewise.
44751 * sysdeps/i386/fpu/e_powf.S: Likewise.
44752 * sysdeps/i386/fpu/e_powl.S: Likewise.
44753 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44754 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44755 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44757 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44758 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44759 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44760 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44761 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44762 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44763 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44765 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44766 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44767 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44768 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44769 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44770 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44771 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44772 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44773 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44775 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44776 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44778 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44779 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44780 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44782 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44783 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44786 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44787 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44788 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44789 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44790 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44791 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44792 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44793 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44794 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44795 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44796 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44797 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44798 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44799 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44800 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44801 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44802 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44803 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44804 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44807 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44812 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44814 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44815 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44816 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44817 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44818 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44819 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44827 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44831 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44833 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44834 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44840 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44842 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44845 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44847 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44848 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44850 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44853 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44854 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44855 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44856 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44857 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44858 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44859 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44860 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44861 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44862 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44863 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44864 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44865 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44866 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44868 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44870 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44871 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44872 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44873 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44874 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44875 (__isnanf): Likewise.
44876 (__isinf_ns): Likewise.
44877 (__isinf_nsf): Likewise.
44878 (__finite): Likewise.
44879 (__finitef): Likewise.
44880 (__ieee754_sqrt): Define as macro.
44881 (__ieee754_sqrtf): Define as macro.
44882 (__ieee754_sqrtl): Define as macro.
44883 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44885 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44886 __FINITE_MATH_ONLY__ consistent.
44887 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44889 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44891 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44894 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44896 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44898 * po/ja.po: Update from translation team.
44900 2011-10-08 Roland McGrath <roland@hack.frob.com>
44902 * locale/programs/locarchive.c (prepare_address_space): New function.
44903 (create_archive, enlarge_archive, open_archive): Use it.
44905 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44906 inside [SHARED], where it is used.
44908 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44910 * nss/getent.c (netgroup_keys): Remove unused variable.
44911 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44913 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44915 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44916 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44917 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44918 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44919 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44920 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44921 * math/Makefile (libm-calls): Add s_isinf_ns.
44922 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44923 * math/multc3.c: Likewise.
44924 * math/s_casin.c: Likewise.
44925 * math/s_casinf.c: Likewise.
44926 * math/s_casinl.c: Likewise.
44927 * math/s_ccos.c: Likewise.
44928 * math/s_ccosf.c: Likewise.
44929 * math/s_ccosl.c: Likewise.
44930 * math/s_ctan.c: Likewise.
44931 * math/s_ctanf.c: Likewise.
44932 * math/s_ctanh.c: Likewise.
44933 * math/s_ctanhf.c: Likewise.
44934 * math/s_ctanhl.c: Likewise.
44935 * math/s_ctanl.c: Likewise.
44936 * math/w_fmod.c: Likewise.
44937 * math/w_fmodf.c: Likewise.
44938 * math/w_fmodl.c: Likewise.
44939 * math/w_remainder.c: Likewise.
44940 * math/w_remainderf.c: Likewise.
44941 * math/w_remainderl.c: Likewise.
44942 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44943 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44944 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44946 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44947 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44948 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44949 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44951 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44953 * stdio-common/printf_fphex.c: Likewise.
44954 * stdio-common/printf_size.c: Likewise.
44956 * math/e_exp10.c: Include math_private.h using <...> not "...".
44957 * math/e_exp10f.c: Likewise.
44958 * math/e_exp10l.c: Likewise.
44959 * math/e_exp2l.c: Likewise.
44960 * math/e_j0l.c: Likewise.
44961 * math/e_j1l.c: Likewise.
44962 * math/e_jnl.c: Likewise.
44963 * math/e_lgammal_r.c: Likewise.
44964 * math/e_rem_pio2l.c: Likewise.
44965 * math/e_scalb.c: Likewise.
44966 * math/e_scalbf.c: Likewise.
44967 * math/e_scalbl.c: Likewise.
44968 * math/k_cosl.c: Likewise.
44969 * math/k_sinl.c: Likewise.
44970 * math/k_tanl.c: Likewise.
44971 * math/s_cacoshf.c: Likewise.
44972 * math/s_catan.c: Likewise.
44973 * math/s_catanf.c: Likewise.
44974 * math/s_catanh.c: Likewise.
44975 * math/s_catanhf.c: Likewise.
44976 * math/s_catanhl.c: Likewise.
44977 * math/s_catanl.c: Likewise.
44978 * math/s_ccosh.c: Likewise.
44979 * math/s_ccoshf.c: Likewise.
44980 * math/s_ccoshl.c: Likewise.
44981 * math/s_cexp.c: Likewise.
44982 * math/s_cexpf.c: Likewise.
44983 * math/s_cexpl.c: Likewise.
44984 * math/s_clog.c: Likewise.
44985 * math/s_clog10.c: Likewise.
44986 * math/s_clog10f.c: Likewise.
44987 * math/s_clog10l.c: Likewise.
44988 * math/s_clogf.c: Likewise.
44989 * math/s_clogl.c: Likewise.
44990 * math/s_csin.c: Likewise.
44991 * math/s_csinf.c: Likewise.
44992 * math/s_csinh.c: Likewise.
44993 * math/s_csinhf.c: Likewise.
44994 * math/s_csinhl.c: Likewise.
44995 * math/s_csinl.c: Likewise.
44996 * math/s_csqrt.c: Likewise.
44997 * math/s_csqrtf.c: Likewise.
44998 * math/s_csqrtl.c: Likewise.
44999 * math/s_ctan.c: Likewise.
45000 * math/s_ctanf.c: Likewise.
45001 * math/s_ctanh.c: Likewise.
45002 * math/s_ctanhf.c: Likewise.
45003 * math/s_ctanhl.c: Likewise.
45004 * math/s_ctanl.c: Likewise.
45005 * math/s_ldexp.c: Likewise.
45006 * math/s_ldexpf.c: Likewise.
45007 * math/s_ldexpl.c: Likewise.
45008 * math/s_significand.c: Likewise.
45009 * math/s_significandf.c: Likewise.
45010 * math/s_significandl.c: Likewise.
45011 * math/w_acos.c: Likewise.
45012 * math/w_acosf.c: Likewise.
45013 * math/w_acosh.c: Likewise.
45014 * math/w_acoshf.c: Likewise.
45015 * math/w_acoshl.c: Likewise.
45016 * math/w_acosl.c: Likewise.
45017 * math/w_asin.c: Likewise.
45018 * math/w_asinf.c: Likewise.
45019 * math/w_asinl.c: Likewise.
45020 * math/w_atan2.c: Likewise.
45021 * math/w_atan2f.c: Likewise.
45022 * math/w_atan2l.c: Likewise.
45023 * math/w_atanh.c: Likewise.
45024 * math/w_atanhf.c: Likewise.
45025 * math/w_atanhl.c: Likewise.
45026 * math/w_cosh.c: Likewise.
45027 * math/w_coshf.c: Likewise.
45028 * math/w_coshl.c: Likewise.
45029 * math/w_dremf.c: Likewise.
45030 * math/w_exp10.c: Likewise.
45031 * math/w_exp10f.c: Likewise.
45032 * math/w_exp10l.c: Likewise.
45033 * math/w_exp2.c: Likewise.
45034 * math/w_exp2f.c: Likewise.
45035 * math/w_fmod.c: Likewise.
45036 * math/w_fmodf.c: Likewise.
45037 * math/w_fmodl.c: Likewise.
45038 * math/w_hypot.c: Likewise.
45039 * math/w_hypotf.c: Likewise.
45040 * math/w_hypotl.c: Likewise.
45041 * math/w_j0.c: Likewise.
45042 * math/w_j0f.c: Likewise.
45043 * math/w_j0l.c: Likewise.
45044 * math/w_j1.c: Likewise.
45045 * math/w_j1f.c: Likewise.
45046 * math/w_j1l.c: Likewise.
45047 * math/w_jn.c: Likewise.
45048 * math/w_jnf.c: Likewise.
45049 * math/w_jnl.c: Likewise.
45050 * math/w_lgamma.c: Likewise.
45051 * math/w_lgamma_r.c: Likewise.
45052 * math/w_lgammaf.c: Likewise.
45053 * math/w_lgammaf_r.c: Likewise.
45054 * math/w_lgammal.c: Likewise.
45055 * math/w_lgammal_r.c: Likewise.
45056 * math/w_log.c: Likewise.
45057 * math/w_log10.c: Likewise.
45058 * math/w_log10f.c: Likewise.
45059 * math/w_log10l.c: Likewise.
45060 * math/w_log2.c: Likewise.
45061 * math/w_log2f.c: Likewise.
45062 * math/w_log2l.c: Likewise.
45063 * math/w_logf.c: Likewise.
45064 * math/w_logl.c: Likewise.
45065 * math/w_pow.c: Likewise.
45066 * math/w_powf.c: Likewise.
45067 * math/w_powl.c: Likewise.
45068 * math/w_remainder.c: Likewise.
45069 * math/w_remainderf.c: Likewise.
45070 * math/w_remainderl.c: Likewise.
45071 * math/w_scalb.c: Likewise.
45072 * math/w_scalbf.c: Likewise.
45073 * math/w_scalbl.c: Likewise.
45074 * math/w_sinh.c: Likewise.
45075 * math/w_sinhf.c: Likewise.
45076 * math/w_sinhl.c: Likewise.
45077 * math/w_sqrt.c: Likewise.
45078 * math/w_sqrtf.c: Likewise.
45079 * math/w_sqrtl.c: Likewise.
45080 * math/w_tgamma.c: Likewise.
45081 * math/w_tgammaf.c: Likewise.
45082 * math/w_tgammal.c: Likewise.
45084 * po/ja.po: Update from translation team.
45086 2011-09-29 Andreas Jaeger <aj@suse.de>
45089 * sunrpc/netname.c (netname2host): Fix logic.
45093 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45095 * math/w_remainder.c (__remainder): Likewise.
45096 * math/w_remainderf.c (__remainderf): Likewise.
45097 * math/libm-test.inc (remainder_test): Add test cases.
45099 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45101 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45104 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45106 * string/test-memcmp.c: Avoid unncessary #defines.
45107 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45109 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45111 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45112 Use new sse2 version for core i3 - i7 as it's faster
45113 than sse42 version.
45114 (bit_Prefer_PMINUB_for_stringop): New.
45115 * sysdeps/x86_64/rawmemchr.S: Update.
45116 Replace with faster SSE2 version.
45117 * sysdeps/x86_64/memrchr.S: New file.
45118 * sysdeps/x86_64/memchr.S: Update.
45119 Replace with faster SSE2 version.
45121 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45123 * elf/dl-load.c (lose): Add cast to avoid warning.
45125 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45127 * po/ca.po: Update from translation team.
45129 * inet/getnetgrent_r.c: Hook up nscd.
45130 * nscd/Makefile (routines): Add nscd_netgroup.
45131 (nscd-modules): Add netgroupcache.
45132 (CFLAGS-netgroupcache.c): Define.
45133 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45134 (cache_search): Add const to second parameter.
45135 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45137 (dbs): Add netgrdb entry.
45138 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45139 (verify_persistent_db): Handle netgrdb.
45140 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45141 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45143 (netgroup_response_header): Define.
45144 (innetgroup_response_header): Define.
45145 (datahead): Add netgroup_response_header and innetgroup_response_header
45147 * nscd/nscd.conf: Add entries for netgroup cache.
45148 * nscd/nscd.h (dbtype): Add netgrdb.
45149 (_PATH_NSCD_NETGROUP_DB): Define.
45150 (netgroup_iov_disabled): Declare.
45151 (xmalloc, xcalloc, xrealloc): Move declarations here.
45152 (cache_search): Adjust prototype.
45153 Add netgroup-related prototypes.
45154 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45155 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45156 (__nscd_innetgr): Declare.
45157 * nscd/selinux.c (perms): Use access_vector_t as element type and
45158 add netgroup-related initializers.
45159 * nscd/netgroupcache.c: New file.
45160 * nscd/nscd_netgroup.c: New file.
45161 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45162 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45163 For four parameters use innetgr.
45164 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45165 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45166 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45167 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45169 * nscd/connections.c (register_traced_file): Don't register file
45170 for disabled databases.
45172 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45174 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45176 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45177 from tree and freeing node.
45179 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45181 * nss/nsswitch.c (__nss_database_lookup): Handle
45182 nss_parse_service_list out of memory case.
45184 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45186 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45187 out of memory case.
45189 2011-10-04 Andreas Schwab <schwab@redhat.com>
45191 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45192 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45194 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45195 elf_machine_rela, elf_machine_lazy_rel.
45196 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45197 (ELF_DYNAMIC_DO_REL): Likewise.
45198 (ELF_DYNAMIC_DO_RELA): Likewise.
45199 (ELF_DYNAMIC_RELOCATE): Likewise.
45200 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45201 to ELF_DYNAMIC_DO_REL.
45202 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45203 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45204 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45207 skip_ifunc, don't call ifunc function if non-zero.
45208 (elf_machine_rela): Likewise.
45209 (elf_machine_lazy_rel): Likewise.
45210 (elf_machine_lazy_rela): Likewise.
45211 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45212 (elf_machine_lazy_rel): Likewise.
45213 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45215 (elf_machine_lazy_rel): Likewise.
45216 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45218 (elf_machine_lazy_rel): Likewise.
45219 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45220 (elf_machine_lazy_rel): Likewise.
45221 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45222 (elf_machine_lazy_rel): Likewise.
45223 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45224 (elf_machine_lazy_rel): Likewise.
45225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45226 (elf_machine_lazy_rel): Likewise.
45227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45228 (elf_machine_lazy_rel): Likewise.
45229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45230 (elf_machine_lazy_rel): Likewise.
45232 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45234 * nss/nss_files/files-init.c (_nss_files_init): Use static
45235 initialization for all the *_traced_file variables.
45237 2011-09-28 Andreas Schwab <schwab@redhat.com>
45239 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45241 2011-09-27 Roland McGrath <roland@hack.frob.com>
45244 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45246 2011-09-27 Andreas Schwab <schwab@redhat.com>
45248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45249 Reread the line before reparsing it.
45251 2011-09-26 Andreas Schwab <schwab@redhat.com>
45253 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45255 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45256 Maxim Kuvyrkov <maxim@codesourcery.com>
45257 Joseph Myers <joseph@codesourcery.com>
45259 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45260 if needed for __stack_chk_guard.
45262 2011-09-19 Roland McGrath <roland@hack.frob.com>
45264 * sysdeps/posix/spawni.c (script_execute): Always define it.
45265 It will be optimized away if unused.
45266 (maybe_script_execute): New function.
45267 (__spawni): Call it.
45269 * Makerules: Don't include tls.make.
45270 (config-tls): Always set to thread.
45271 * tls.make.c: File removed.
45273 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45275 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45276 * config.make.in (CPPFLAGS-config): New substituted variable.
45278 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45280 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45283 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45284 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45286 2011-09-15 Roland McGrath <roland@hack.frob.com>
45288 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45289 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45291 (CALL_FAIL): Likewise.
45292 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45293 (CALL_FAIL): Macro removed.
45294 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45296 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45298 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45299 for __FINITE_MATH_ONLY__ == 1.
45301 2011-09-15 Andreas Schwab <schwab@redhat.com>
45303 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45304 __ieee754_sqrt instead of sqrt.
45305 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45306 __ieee754_sqrtf instead of sqrtf.
45307 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45308 __floorf instead of floorf.
45309 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45310 __floorf, __truncf instead of floorf, truncf.
45312 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45314 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45316 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45317 __extern_always_inline.
45318 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45321 2011-09-14 Andreas Schwab <schwab@redhat.com>
45323 * elf/rtld.c (dl_main): Also relocate in dependency order when
45324 doing symbol dependency testing.
45326 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45328 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45329 Always define `refsym'.
45331 2011-09-13 Andreas Schwab <schwab@redhat.com>
45333 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45334 (__FD_ELT): Renamed from __FDELT.
45335 * misc/bits/select2.h (__FD_ELT): Likewise.
45336 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45337 __FD_MASK instead of __FDELT, __FDMASK.
45338 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45340 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45343 * elf/Makefile (gen-ldd): Fix pattern.
45345 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45346 (init_tls): Likewise.
45348 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45350 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45352 2011-09-12 Andreas Schwab <schwab@redhat.com>
45354 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45355 `struct cmsghdr *' instead of `void *'.
45356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45359 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45361 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45363 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45364 ldd_rewrite_script.
45366 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45368 * configure.in: Remove --with-tls option.
45369 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45370 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45371 out in case it is missing.
45372 * sysdeps/ia64/elf/configure.in: Likewise.
45373 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45374 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45375 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45376 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45377 * sysdeps/sh/elf/configure.in: Likewise.
45378 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45379 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45380 * sysdeps/x86_64/elf/configure.in: Likewise.
45381 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45382 * sysdeps/mach/hurd/tls.h: Likewise.
45385 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45388 * configure.in: Fix use of AC_INIT.
45390 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45392 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45394 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45396 * malloc/hooks.c: Likewise.
45399 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45400 variables statically.
45401 (narenas): Initialize.
45402 (list_lock): Initialize.
45403 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45404 initializtion of main_arena and list_lock. Small cleanups.
45405 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45406 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45407 Add initializers to main_arena and mp_.
45408 (malloc_state): Remove pagesize member. Change all users to use
45411 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45412 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45413 is always initialized.
45415 * malloc/malloc.c: Removed unused configurations and dead code.
45416 * malloc/arena.c: Likewise.
45417 * malloc/hooks.c: Likewise.
45418 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45420 * include/tls.h: Removed. USE___THREAD must always be defined.
45421 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45422 * elf/dl-libc.c: Likewise.
45423 * elf/dl-tsd.c: Likewise.
45424 * include/errno.h: Likewise.
45425 * include/netdb.h: Likewise.
45426 * include/resolv.h: Likewise.
45427 * inet/herrno-loc.c: Likewise.
45428 * inet/herrno.c: Likewise.
45429 * malloc/arena.c: Likewise.
45430 * malloc/hooks.c: Likewise.
45431 * malloc/malloc.c: Likewise.
45432 * resolv/res-state.c: Likewise.
45433 * resolv/res_libc.c: Likewise.
45434 * sysdeps/i386/dl-machine.h: Likewise.
45435 * sysdeps/ia64/dl-machine.h: Likewise.
45436 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45437 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45438 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45439 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45440 * sysdeps/sh/dl-machine.h: Likewise.
45441 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45442 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45443 * sysdeps/unix/i386/sysdep.S: Likewise.
45444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45445 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45447 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45448 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45449 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45450 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45454 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45455 * sysdeps/x86_64/dl-machine.h: Likewise.
45456 * tls.make.c: Likewise.
45458 * configure.in: Remove --with-__thread option. Make tests for
45459 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45460 tls_model attribute fail if no support is available. Remove
45462 * Makeconfig: Adjust for dropped configure option. All features are
45464 * Makerules: Likewise.
45465 * Versions.def: Likewise.
45466 * argp/argp-fmtstream.c: Likewise.
45467 * argp/argp-fmtstream.h: Likewise.
45468 * argp/argp-help.c: Likewise.
45469 * assert/assert.c: Likewise.
45470 * config.h.in: Likewise.
45471 * config.make.in: Likewise.
45472 * configure: Likewise.
45473 * configure.in: Likewise.
45474 * csu/Versions: Likewise.
45475 * csu/init.c: Likewise.
45476 * elf/tst-audit2.c: Likewise.
45477 * elf/tst-tls10.c: Likewise.
45478 * elf/tst-tls10.h: Likewise.
45479 * elf/tst-tls11.c: Likewise.
45480 * elf/tst-tls12.c: Likewise.
45481 * elf/tst-tls14.c: Likewise.
45482 * elf/tst-tlsmod11.c: Likewise.
45483 * elf/tst-tlsmod12.c: Likewise.
45484 * elf/tst-tlsmod13.c: Likewise.
45485 * elf/tst-tlsmod13a.c: Likewise.
45486 * elf/tst-tlsmod14a.c: Likewise.
45487 * elf/tst-tlsmod15b.c: Likewise.
45488 * elf/tst-tlsmod16a.c: Likewise.
45489 * elf/tst-tlsmod16b.c: Likewise.
45490 * elf/tst-tlsmod7.c: Likewise.
45491 * elf/tst-tlsmod8.c: Likewise.
45492 * elf/tst-tlsmod9.c: Likewise.
45493 * gmon/gmon.c: Likewise.
45494 * grp/fgetgrent_r.c: Likewise.
45495 * grp/putgrent.c: Likewise.
45496 * hurd/fopenport.c: Likewise.
45497 * include/libc-symbols.h: Likewise.
45498 * include/tls.h: Likewise.
45499 * intl/gettextP.h: Likewise.
45500 * intl/loadinfo.h: Likewise.
45501 * locale/global-locale.c: Likewise.
45502 * locale/localeinfo.h: Likewise.
45503 * mach/devstream.c: Likewise.
45504 * malloc/arena.c: Likewise.
45505 * malloc/set-freeres.c: Likewise.
45506 * misc/err.c: Likewise.
45507 * misc/getttyent.c: Likewise.
45508 * misc/mntent_r.c: Likewise.
45509 * posix/getopt.c: Likewise.
45510 * posix/wordexp.c: Likewise.
45511 * pwd/fgetpwent_r.c: Likewise.
45512 * resolv/Versions: Likewise.
45513 * resolv/res_hconf.c: Likewise.
45514 * shadow/fgetspent_r.c: Likewise.
45515 * shadow/putspent.c: Likewise.
45516 * stdio-common/printf_fphex.c: Likewise.
45517 * stdio-common/tmpfile.c: Likewise.
45518 * stdlib/abort.c: Likewise.
45519 * stdlib/fmtmsg.c: Likewise.
45520 * sunrpc/auth_unix.c: Likewise.
45521 * sunrpc/clnt_perr.c: Likewise.
45522 * sunrpc/clnt_tcp.c: Likewise.
45523 * sunrpc/clnt_udp.c: Likewise.
45524 * sunrpc/clnt_unix.c: Likewise.
45525 * sunrpc/openchild.c: Likewise.
45526 * sunrpc/svc_simple.c: Likewise.
45527 * sunrpc/svc_tcp.c: Likewise.
45528 * sunrpc/svc_udp.c: Likewise.
45529 * sunrpc/svc_unix.c: Likewise.
45530 * sunrpc/xdr.c: Likewise.
45531 * sunrpc/xdr_array.c: Likewise.
45532 * sunrpc/xdr_rec.c: Likewise.
45533 * sunrpc/xdr_ref.c: Likewise.
45534 * sunrpc/xdr_stdio.c: Likewise.
45536 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45538 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45540 2011-07-03 Andreas Jaeger <aj@suse.de>
45542 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45543 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45544 regenerate with gen-libm-tests.pl.
45546 2010-05-12 Petr Baudis <pasky@suse.cz>
45549 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45550 around j0() zero points by switching to j1().
45551 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45552 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45556 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45558 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45560 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45563 Patch in part by Pavel Roskin <proski@gnu.org>.
45566 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45568 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45569 Free memory block if necessary.
45572 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45573 be NULL. Don't lock in this case.
45575 2011-09-09 Roland McGrath <roland@hack.frob.com>
45577 * elf/elf.h (ELFOSABI_GNU): New macro.
45578 (ELFOSABI_LINUX): Define to that.
45580 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45582 * string/strncat.c (strncat): Undef the symbol in case it has been
45583 defined in bits/string.h.
45585 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45587 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45589 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45592 2011-08-17 Andreas Jaeger <aj@suse.de>
45594 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45596 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45597 Ian Lance Taylor <iant@google.com>
45599 * math/libm-test.inc (lround_test): New testcase.
45600 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45602 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45604 * Makefile: Remove support for automatic cvs check-ins.
45605 * Makerules: Likewise.
45606 * config.make.in: Likewise.
45607 * configure.in: Likewise.
45608 * intl/Makefile: Likewise.
45609 * locale/Makefile: Likewise.
45610 * po/Makefile: Likewise.
45611 * posix/Makefile: Likewise.
45612 * sysdeps/gnu/Makefile: Likewise.
45613 * sysdeps/mach/hurd/Makefile: Likewise.
45614 * sysdeps/sparc/sparc32/Makefile: Likewise.
45617 * posix/Makefile (bug-regex32-ENV): Define.
45618 Patch by John Stanley <jpsinthemix@verizon.net>.
45620 * misc/Makefile (headers): Add bits/select2.h.
45621 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45622 * misc/bits/select2.h: New file.
45623 * include/bits/select2.h: New file.
45624 * debug/Makefile (routines): Add fdelt_chk.
45625 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45626 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45628 * debug/fdelt_chk.c: New file.
45630 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45631 * wcsmbs/test-wmemcmp.c: Likewise.
45632 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45633 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45635 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45637 * string/Makefile (strop-tests): Add memcmp.
45638 * string/test-wmemcmp.c: New file.
45639 * string/test-memcmp.c: Add wmemcmp support.
45641 2011-09-08 Roland McGrath <roland@hack.frob.com>
45644 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45647 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45648 garbage value in a __mach_port_mod_refs call in the cases of the
45649 task-self and thread-self ports.
45651 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45653 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45655 2011-09-08 Andreas Schwab <schwab@redhat.com>
45657 * elf/dl-load.c (lose): Check for non-null L.
45659 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45661 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45663 * elf/dl-libc.c (dlerror_run): Pass back error code from
45667 * elf/dl-load.c (lose): Free l_origin if it is valid.
45669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45671 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45674 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45675 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45676 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45678 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45680 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45681 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45682 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45683 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45684 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45685 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45686 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45687 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45688 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45689 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45691 2011-08-15 Alan Modra <amodra@gmail.com>
45694 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45695 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45696 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45697 ppc_mcount to static-only-routines.
45698 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45700 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45701 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45703 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45705 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45706 for finite and infinity parameters.
45708 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45711 and add nop instructions for throughput optimization.
45712 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45714 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45716 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45717 aligned copy for power7 with vector-scalar instructions.
45718 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45720 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45725 2011-09-07 Andreas Schwab <schwab@redhat.com>
45728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45731 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45733 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45734 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45735 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45736 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45739 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45741 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45742 Forgot to demangle the pointer.
45744 * sysdeps/i386/sysdep.h: Define atom_text_section.
45745 * sysdeps/x86_64/sysdep.h: Likewise.
45746 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45747 section with atom_text_section.
45748 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45749 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45750 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45752 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45754 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45755 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45756 already be defined. Change to take two parameters and don't assign
45757 result to variable. Adjust all users.
45758 Define INTERNAL_GETTIME if not already defined.
45759 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45762 HAVE_CLOCK_GETTIME_VSYSCALL.
45763 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45766 gettimeofday vsyscall, just use time.
45768 2011-09-06 Andreas Schwab <schwab@redhat.com>
45770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45773 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45775 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45779 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45781 syscall if possible.
45783 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45785 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45786 e_ident. Don't pass to find_mapsXX.
45787 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45789 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45792 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45793 * sysdeps/x86_64/multiarch/strchr.S: Update.
45794 Check bit_slow_BSF bit.
45795 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45799 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45802 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45804 (tryshell): Define.
45805 (__spawni): Change last parameter to be flag. Test
45806 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45807 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45808 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45809 * posix/spawni.c: Likewise.
45810 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45811 * posix/spawnp.c: Likewise. Change normal version to use
45812 SPAWN_XFLAGS_USE_PATH.
45813 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45814 SPAWN_XFLAGS_TRY_SHELL.
45817 * posix/glob.h: Remove gcc 1.x support.
45820 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45822 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45825 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45827 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45828 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45829 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45831 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45832 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45834 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45836 * sysdeps/x86_64/wcscmp.S: New file.
45838 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45839 wcscmp-c wcscmp-sse2
45840 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45841 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45842 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45843 * wcsmbs/wcscmp.c: Allow renaming.
45845 2011-09-05 David S. Miller <davem@davemloft.net>
45847 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45848 stack slot, rather than the struct return pointer slot.
45849 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45850 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45852 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45854 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45856 * po/ja.po: Update from translation team.
45859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45860 kernel in 64-bit binaries.
45862 2011-09-01 David S. Miller <davem@davemloft.net>
45864 * elf/elf.h (HWCAP_SPARC_*): Move to..
45865 * sysdeps/sparc/sysdep.h: this new file and add new values.
45866 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45867 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45868 _DL_HWCAP_COUNT to 24.
45869 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45871 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45872 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45873 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45875 instead of magic constants.
45876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45878 2011-08-31 David S. Miller <davem@davemloft.net>
45880 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45882 Reimplement to do errno handling inline.
45883 (SYSCALL_ERROR_HANDLER): New macro.
45884 (__SYSCALL_STRING): Do not do errno handling in asm.
45885 (__CLONE_SYSCALL_STRING): Delete.
45886 (__INTERNAL_SYSCALL_STRING): Delete.
45887 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45888 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45889 (PSEUDO): Reimplement to do errno handling inline.
45890 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45891 (SYSCALL_ERROR_HANDLER): New macro.
45892 (__SYSCALL_STRING): Do not do errno handling in asm.
45893 (__CLONE_SYSCALL_STRING): Delete.
45894 (__INTERNAL_SYSCALL_STRING): Delete.
45895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45896 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45898 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45899 (inline_syscall*): Add 'err' argument.
45900 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45901 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45902 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45903 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45905 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45906 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45908 2011-08-30 Andreas Schwab <schwab@redhat.com>
45910 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45912 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45914 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45917 2011-08-24 David S. Miller <davem@davemloft.net>
45919 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45921 2011-08-24 Andreas Schwab <schwab@redhat.com>
45923 * elf/Makefile: Add rules to build and run unload8 test.
45924 * elf/unload8.c: New file.
45925 * elf/unload8mod1.c: New file.
45926 * elf/unload8mod1x.c: New file.
45927 * elf/unload8mod2.c: New file.
45928 * elf/unload8mod3.c: New file.
45930 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45933 2011-08-23 David S. Miller <davem@davemloft.net>
45935 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45936 subtract stack bias.
45937 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45938 %sp not %fp in calculations.
45939 (_JMPBUF_UNWINDS_ADJ): Likewise.
45941 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45942 (aio_suspend): Call it to force an exception region around the
45943 AIO_MISC_WAIT() invocation.
45945 2011-08-23 Andreas Schwab <schwab@redhat.com>
45947 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45950 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45952 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45954 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45955 and <dl-machine.h>.
45956 (Elf64_FuncDesc): Remove.
45958 2011-08-22 David S. Miller <davem@davemloft.net>
45960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45961 sigaltstack check, add missing cfi directives.
45962 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45963 missing cfi directives, and sigaltstack handling.
45965 2011-08-16 Andreas Schwab <schwab@redhat.com>
45968 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45969 object is seen twice.
45970 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45972 * elf/Makefile (distribute): Add tst-initorder2.c.
45973 (tests): Add tst-initorder2.
45974 (modules-names): Add tst-initorder2a tst-initorder2b
45975 tst-initorder2c tst-initorder2d. Add rules to build them.
45976 ($(objpfx)tst-initorder2.out): New rule.
45977 * elf/tst-initorder2.c: New file.
45978 * elf/tst-initorder2.exp: New file.
45980 2011-08-22 Andreas Schwab <schwab@redhat.com>
45982 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45984 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45985 dependencies back to end of function.
45987 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45988 $(elfobjdir)/ld.so.
45990 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45993 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45995 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45996 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45997 of __vdso_gettimeofday.
45998 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45999 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46001 (_libc_vdso_platform_setup): Remove initialization of
46002 __vdso_gettimeofday and __vdso_time.
46004 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46006 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46007 and fgetc_unlocked.
46008 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46011 * elf/dl-open.c (add_to_global): Report additions to the global scope
46012 for LD_DEBUG=scopes.
46013 (dl_open_worker): Also print scope of newly loaded dependencies.
46014 (_dl_show_scope): Indicate if there is no scope.
46017 * stdio-common/Makefile (tests): Add bug24.
46018 * stdio-common/bug24.c: New file.
46020 2011-08-19 Andreas Jaeger <aj@suse.de>
46023 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46024 non-existant file when using close-on-exec mode.
46026 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46028 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46029 the very first instruction.
46031 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46032 the CFI state in the end.
46033 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46034 inclusion of dl-trampoline.h.
46035 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46037 2011-08-19 Andreas Schwab <schwab@redhat.com>
46039 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46040 expectations for long double.
46042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46043 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46045 2011-08-14 David S. Miller <davem@davemloft.net>
46047 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46048 artificual limit depends upon the system page size.
46050 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46052 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46053 * resolv/Makefile: Define CFLAGS-libresolv.
46055 2011-08-17 Andreas Schwab <schwab@redhat.com>
46057 * nss/makedb.c (compute_tables): Make variables used in nested
46060 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46062 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46063 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46064 if buffer was too small.
46066 * elf/pldd.c (main): Attach to all threads in the process.
46067 Rewrite /proc handling to use *at functions.
46069 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46071 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46072 specifies first scope to show.
46073 (dl_open_worker): Update callers. Move printing scope of new
46074 object to before the relocation.
46075 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46076 * sysdeps/generic/ldsodefs.h: Update declaration.
46078 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46079 string for the scope number.
46081 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46083 * nscd/servicescache.c (cache_addserv): Make sure written is always
46086 2011-08-14 Roland McGrath <roland@hack.frob.com>
46088 * sysdeps/i386/i486/bits/atomic.h
46089 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46090 statement expression, so as to suppress "set but not used" warning.
46091 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46093 * string/strncat.c (STRNCAT): Use prototype definition.
46095 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46096 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46098 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46099 (localedef-modules): Add localedef.
46100 (locale-modules): Add locale.
46102 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46103 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46104 to avoid a warning.
46106 2011-08-14 David S. Miller <davem@davemloft.net>
46108 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46109 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46111 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46113 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46114 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46115 * elf/rtld.c (dl_main): Set l_name of vDSO.
46116 Call _dl_show_scope when DL_DEBUG_SCOPES.
46117 (process_dl_debug): Recognize scopes flag and also set it for all.
46118 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46119 Declare _dl_show_scope.
46121 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46122 (do_dlopen): Pass caller_dlopen to dl_open.
46123 (__libc_dlopen_mode): Initialize caller_dlopen.
46125 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46126 of libc. Make tolower call locale-independent. Optimize a bit by
46127 using isdigit instead of isalnum.
46128 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46130 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46132 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46133 was a dependency or dynamically loaded.
46135 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46137 * intl/l10nflist.c: Allow architecture-specific pop function.
46138 * sysdeps/x86_64/l10nflist.c: New file.
46140 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46143 2011-08-10 Andreas Schwab <schwab@redhat.com>
46145 * include/dirent.h: Add libc_hidden_proto for scandirat and
46146 scandirat64. Don't declare __scandirat64.
46147 * dirent/scandirat.c: Add libc_hidden_def.
46148 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46149 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46151 2011-08-10 David S. Miller <davem@davemloft.net>
46153 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46156 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46157 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46159 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46161 * Versions.def [libc]: Add GLIBC_2.15.
46162 * dirent/Makefile (routines): Add scandirat and scandirat64.
46163 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46165 * dirent/dirent.h: Declare scandirat and scandirat64.
46166 * dirent/scandirat.c: New file.
46167 * dirent/scandirat64.c: New file.
46168 * sysdeps/wordsize-64/scandirat.c: New file.
46169 * sysdeps/wordsize-64/scandirat64.c: New file.
46170 * dirent/opendir.c: Define opendirat.
46171 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46173 * dirent/scandir64.c: Adjust for scandir.c change.
46174 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46175 __scandirat64, and __scandir_cancel_handler.
46176 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46177 additional parameter and use openat instead of open (outside of ld.so).
46178 Add new __opendir as wrapper around __opendirat.
46179 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46180 here without requiring old scandirat implementation.
46182 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46184 * dirent/scandir.c (cancel_handler): Renamed to
46185 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46186 defined. Adjust users.
46187 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46188 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46190 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46192 * string/test-string.h (IMPL): Use __STRING to expand name and then
46195 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46198 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46200 * string/Makefile: Update.
46201 (strop-tests): Append strncat.
46202 * string/test-wcscmp.c: New file.
46203 New comprehensive test for wcscmp.
46204 * string/test-strcmp.c: Update.
46205 (WIDE): New define.
46207 2011-07-22 Andreas Schwab <schwab@redhat.com>
46209 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46212 2011-07-26 Andreas Schwab <schwab@redhat.com>
46214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46215 encoding to ACE if AI_IDN.
46217 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46219 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46220 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46222 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46224 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46225 Fix overflow bug in strncat.
46226 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46228 * string/test-strncat.c: Update.
46229 Add new tests for checking overflow bugs.
46231 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46234 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46235 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46236 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46237 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46238 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46239 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46240 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46241 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46243 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46244 (USE_AS_STRCAT): Define.
46245 Add strcat and strncat support.
46246 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46248 2011-07-25 Andreas Schwab <schwab@redhat.com>
46250 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46251 __n bigger than INT_MAX+1.
46252 (__strncmp_g): Likewise.
46254 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46256 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46257 * libio/stido.h: Likewise.
46259 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46264 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46266 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46267 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46271 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46276 (_dl_x86_64_save_sse): Likewise.
46278 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46282 (_dl_x86_64_save_sse): Likewise.
46284 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46286 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46288 2011-07-21 Andreas Schwab <schwab@redhat.com>
46290 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46292 (_dl_x86_64_save_sse): Use correct AVX check.
46294 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46296 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46297 bug in strncpy/strncat.
46298 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46300 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46302 * string/tester.c (test_strcat): Add tests for different alignments
46303 of source and destination.
46304 (test_strncat): Likewise.
46306 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46309 * posix/glob.c (glob): Check passed in values before using them in
46310 expressions to avoid some overflows.
46311 (glob_in_dir): Likewise.
46314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46315 check for AVX enablement so that we don't crash with old kernels and
46317 * elf/tst-audit4.c: Add same checks here.
46318 * elf/tst-audit6.c: Likewise.
46320 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46322 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46324 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46326 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46328 * po/cs.po: Update from translation team.
46329 * po/bg.po: Likewise.
46331 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46333 * misc/sys/cdefs.h: Add support for const attribute.
46334 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46335 to gnu_dev_{major,minor,makedev} functions.
46337 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46339 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46341 2011-07-20 Andreas Schwab <schwab@redhat.com>
46343 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46346 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46348 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46349 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46350 register in order to avoid conflicts with the soft frame pointer
46351 being held in r11 when necessary.
46352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46353 (INTERNAL_VSYSCALL_NCS): Likewise.
46355 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46357 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46358 * elf/dl-fini.c (_dl_fini): Adjust caller.
46359 * elf/dl-close.c (_dl_close_worker): Likewise.
46360 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46362 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46364 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46365 "aux_cache->nlibs < 0".
46367 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46368 in the reload-count case.
46370 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46373 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46374 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46375 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46376 * sysdeps/x86_64/multiarch/strcat.S: New file.
46377 * sysdeps/x86_64/multiarch/strncat.S: New file.
46378 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46379 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46380 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46381 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46382 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46383 (USE_AS_STRCAT): Define.
46384 Add strcat and strncat support.
46385 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46387 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46388 * string/strncat.c: Update.
46389 (USE_AS_STRNCAT): Define.
46390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46391 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46393 * sysdeps/x86_64/multiarch/init-arch.h
46394 (bit_Prefer_PMINUB_for_stringop): New.
46395 (index_Prefer_PMINUB_for_stringop): Likewise.
46396 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46397 bit_Prefer_PMINUB_for_stringop.
46399 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46401 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46403 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46404 of casting of buffer.
46405 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46406 buffer32 and buffer64.
46407 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46408 writes instead of casting of buffer.
46409 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46411 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46414 2011-07-19 Andreas Schwab <schwab@redhat.com>
46416 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46418 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46420 * nscd/nscd.c (termination_handler): Don't do anything for a database
46421 if it has not yet been initialized.
46423 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46425 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46427 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46429 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46431 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46433 * po/nl.po: Update from translation team.
46434 * po/sv.po: Likewise.
46436 2011-07-16 Roland McGrath <roland@hack.frob.com>
46438 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46439 now disallowed by GCC.
46441 * configure.in (use-default-link): Default to yes if a test -shared
46442 link meets our qualifications.
46443 * configure: Regenerated.
46445 * config.make.in (output-format): New variable.
46446 * configure.in: Check for ld --print-output-format support.
46447 * configure: Regenerated.
46448 * Makerules ($(common-objpfx)format.lds)
46449 [$(output-format) != unknown]: Just use $(output-format),
46450 instead of the linker-script munging.
46452 2011-07-14 Roland McGrath <roland@hack.frob.com>
46454 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46455 of $(common-objpfx)shlib.lds.
46456 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46458 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46459 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46461 * configure.in (-z relro check): Adjust test code to add a large
46462 writable data section after it.
46463 * configure: Regenerated.
46465 2011-07-11 Roland McGrath <roland@hack.frob.com>
46467 * configure.in (-z relro check): Fix test code to make the variable
46469 * configure: Regenerated.
46471 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46473 * nscd/nscd.h (struct traced_file): Define.
46474 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46475 elements. Add traced_files.
46476 (inotify_fd): Declare.
46477 (register_traced_file): Declare.
46478 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46479 (inotify_fd): Export.
46480 (resolv_conf_descr): Remove.
46481 (nscd_init): Move inotify descriptor creation to main.
46482 Don't register files for notification here.
46483 (register_traced_file): New function.
46484 (invalidate_cache): Don't use reset_res to determine whether to call
46485 res_init, go through the list of registered files.
46486 (main_loop_poll): The inotify descriptors are now stored in the
46487 structures for the traced files.
46488 (main_loop_epoll): Likewise
46489 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46490 to __nss_disable_nscd.
46491 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46492 for a database anymore. Check the records for all the registered
46494 * nss/Makefile (libnss_files-routines): Add files-init.
46495 (libnss_db-routines): Add db-init.
46496 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46497 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46498 * nss/nss_db/db-init.c: New file.
46499 * nss/nss_files/files-init.c: New file.
46500 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46501 __nss_lookup_function.
46502 (__nss_lookup_function): Call nss_load_library.
46503 (nss_load_all_libraries): New function.
46504 (__nss_disable_nscd): Take parameter with callback function for files
46505 to register. Set is_nscd. Load all the DSOs for the NSS modules
46506 used for the cached services.
46507 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46508 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46509 options for features to all the files in nscd.
46511 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46513 2011-07-10 Roland McGrath <roland@hack.frob.com>
46515 * csu/elf-init.c (__libc_csu_init): Comment typo.
46517 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46519 * po/pl.po: Update from translation team.
46520 * po/ja.po: Likewise.
46521 * po/ru.po: Likewise.
46522 * po/ko.po: Likewise.
46523 * po/fr.po: Likewise.
46525 2011-07-09 Roland McGrath <roland@hack.frob.com>
46527 * configure.in (.ctors/.dtors header and trailer check):
46528 Use an empirical test on a built program.
46529 * configure: Regenerated.
46531 * configure.in (-z relro check): Use an empirical test on a built DSO.
46532 Detect, but do not require, on ia64.
46533 * configure: Regenerated.
46535 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46536 Update tests that use readelf to use $READELF instead.
46537 * configure: Regenerated.
46539 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46541 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46542 if the result is not used.
46544 2011-07-05 Andreas Jaeger <aj@suse.de>
46547 * stdlib/tst-strtod.c: Add testcase.
46549 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46551 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46552 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46553 The latter has a higher limit. Take additional parameter to pass to
46555 (__pathconf): Pass file to __statfs_link_max.
46556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46558 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46562 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46565 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46566 (__statfs_filesize_max): Likewise.
46567 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46569 2011-07-05 Andreas Jaeger <aj@suse.de>
46571 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46573 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46575 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46577 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46580 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46582 * Makefile (strop-tests): Add strncat.
46583 * string/test-strncat.c: New file.
46585 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46587 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46589 2011-06-21 Andreas Jaeger <aj@suse.de>
46591 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46592 Copy rule from iconvdata/Makefile.
46594 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46597 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46598 but no long options are defined, just return 'W'.
46600 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46603 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46605 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46607 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46609 (innetgr): Likewise.
46611 2011-07-05 Roland McGrath <roland@hack.frob.com>
46613 * config.make.in (install_root): Default to $(DESTDIR).
46615 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46617 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46619 2011-07-02 Roland McGrath <roland@hack.frob.com>
46621 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46623 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46624 containing directory rather than embedding absolute directory names.
46626 * scripts/check-local-headers.sh: Rewritten using awk.
46627 Match by word, not by line. Print error messages for matches.
46628 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46630 * Makerules [shlib-lds-flags empty]:
46631 ($(common-objpfx)libc_pic.opts): New target.
46632 ($(common-objpfx)libc_pic.os.clean): New target.
46633 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46635 * config.make.in (OBJCOPY): New variable.
46636 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46637 * configure: Regenerated.
46639 * config.make.in (use-default-link): New variable.
46640 * configure.in (use_default_link): Grok --with-default-link to set it.
46641 * configure: Regenerated.
46642 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46643 (shlib-lds, shlib-lds-flags): Define to empty.
46645 * Makerules (shlib-lds): New variable.
46646 (shlib-lds-flags): New variable.
46647 (build-shlib, build-moduile, build-module-asneeded): Use it.
46648 ($(common-objpfx)libc.so): Use $(shlib-lds).
46649 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46650 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46652 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46653 DT_FLAGS/DT_FLAGS_1 with zero flags.
46655 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46656 linker script munging.
46658 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46660 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46662 * crypt/sha512.c (sha512_process_block): Perform total addition using
46663 128-bit if possible.
46664 (__sha512_finish_ctx): Likewise.
46665 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46667 * crypt/sha256.c (SWAP64): Define.
46668 (sha256_process_block): Perform total addition using 64-bit if
46670 (__sha256_finish_ctx): Likewise.
46672 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46674 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46676 * nscd/hstcache.c (cache_addhst): Likewise.
46677 * nscd/grpcache.c (cache_addgr): Likewise.
46678 * nscd/aicache.c (addhstaiX): Likewise
46679 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46681 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46683 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46685 * nscd/hstcache.c (cache_addhst): Likewise.
46686 * nscd/grpcache.c (cache_addgr): Likewise.
46687 * nscd/aicache.c (addhstaiX): Likewise
46689 2011-07-01 Andreas Schwab <schwab@redhat.com>
46691 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46692 domain only when needed.
46694 2011-06-30 Andreas Schwab <schwab@redhat.com>
46696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46697 is always restored.
46699 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46701 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46702 are re-adding the entry.
46703 * nscd/servicescache.c (cache_addserv): Likewise.
46705 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46707 * sysdeps/generic/dl-irel.h: fix protection against multiple
46709 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46711 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46714 * malloc/memusage.sh: Fix quoting in message.
46715 * debug/xtrace.sh: Likewise.
46717 * configure.in: Remove support for --experimental-malloc option, make
46719 * config.make.in: Likewise.
46720 * malloc/Makefile: Likewise.
46722 2011-06-27 Andreas Schwab <schwab@redhat.com>
46724 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46725 two-byte characters.
46727 2011-06-27 Roland McGrath <roland@hack.frob.com>
46729 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46730 AC_CACHE_CHECK invocation.
46731 * configure: Regenerated.
46733 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46735 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46738 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46739 bit from old_res_options.
46741 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46743 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46744 value type for setfct.
46746 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46748 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46749 __gettimeofday instead of gettimeofday.
46751 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46753 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46755 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46757 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46762 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46765 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46766 strcpy-sse2-unaligned strncpy-sse2-unaligned
46767 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46768 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46769 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46770 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46771 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46772 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46774 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46775 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46776 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46777 (STRCPY): Support SSE2 and SSSE3 versions.
46779 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46783 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46784 kernels which artificially limit size of requests.
46786 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46789 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46790 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46791 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46792 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46793 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46794 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46795 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46798 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46799 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46800 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46801 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46802 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46804 Enable unaligned load optimization for Intel Core i3, i5 and i7
46806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46808 (index_Fast_Unaligned_Load): Define.
46809 (HAS_FAST_UNALIGNED_LOAD): Define.
46811 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46813 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46815 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46819 until it is clear that the information is realy needed.
46820 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46822 2011-06-22 Andreas Schwab <schwab@redhat.com>
46824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46826 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46828 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46829 /sys/devices/system/cpu/online if it is usable.
46831 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46832 reading the information from the /proc filesystem to once a second.
46834 2011-06-21 Andreas Jaeger <aj@suse.de>
46836 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46837 NULL after inclusion of kernel headers.
46839 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46841 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46842 calls to internal_setent.
46845 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46846 addresses using gethostbyname4_r ignore IPv4 addresses.
46848 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46849 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46851 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46853 2011-06-20 David S. Miller <davem@davemloft.net>
46855 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46857 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46859 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46860 (elf_irel): Use it.
46861 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46862 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46863 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46864 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46865 * sysdeps/x86_64/dl-irel.h: Likewise.
46867 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46868 * elf/dl-sym.c: Likewise.
46870 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46872 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46873 need to dereference resplen2.
46875 2011-06-14 Andreas Schwab <schwab@redhat.com>
46877 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46879 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46881 * Makeconfig: Define vardbdir and inst_vardbdir.
46882 * nss/Makefile: Add rules to install db-Makefile.
46884 * nss/nss_db/db-XXX.c: Cleanup.
46886 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46887 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46889 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46890 * nss/makedb.c: Implement -g option to specify that value strings
46891 are generated and should not be added to table iterated over for
46893 * nss/nss_db/db-initgroups.c: New file.
46895 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46898 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46899 (internal_getgrouplist): Adjust to name change.
46900 Update use_initgroups_entry if this is not the first call.
46901 * nss/databases.def: Add initgroups entry.
46903 * nss/makedb.c (compute_tables): Check result of multiple hash table
46904 sizes to minimize maximum chain length.
46906 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46908 * Versions.def: Add entry for libnss_db.
46909 * shlib-versions: Likewise.
46910 * nss/Makefile: Add rules to build libnss_db.
46911 * nss/Versions: Add libnss_db information. Organize libnss_files
46913 * nss/db-Makefile: Add gshadow support. Change rules for the new
46914 makedb progra. Some minor improvements to generate smaller files.
46915 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46917 * nss/makedb.c: ...here.
46918 Improve database format to be smaller and require less memory at
46920 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46922 * nss/nss_db/db-netgrp.c: Likewise.
46923 * nss/nss_db/db-open.c: Likewise.
46924 * nss/nss_files/flies-XXX.x: Adjust comments.
46925 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46926 * nss/nss_files/files-grp.c: Likewise.
46927 * nss/nss_files/files-hosts.c: Likewise.
46928 * nss/nss_files/files-network.c: Likewise.
46929 * nss/nss_files/files-proto.c: Likewise.
46930 * nss/nss_files/files-pwd.c: Likewise.
46931 * nss/nss_files/files-rpc.c: Likewise.
46932 * nss/nss_files/files-service.c: Likewise.
46933 * nss/nss_files/files-sgrp.c: Likewise.
46934 * nss/nss_files/files-spwd.c: Likewise.
46935 * nss/nss_db/db-alias.c: Removed.
46936 * nss/nss_db/dummy-db.h: Removed.
46938 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46940 * nss/makedb.c: Rewritten to not use database library.
46941 * nss/Makefile: Update to build new makedb program.
46943 2011-06-14 Andreas Jaeger <aj@suse.de>
46945 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46946 memset declaration.
46948 2011-06-10 Andreas Schwab <schwab@redhat.com>
46950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46953 2011-06-10 Roland McGrath <roland@hack.frob.com>
46955 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46956 * elf/Makefile ($(objpfx)ld.so): Likewise.
46958 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46959 Don't list ld.so twice in dependencies.
46961 * posix/bug-regex31.c: Include <stdlib.h>.
46963 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46965 * nis/nss_compat/compat-spwd.c
46966 (getspent_next_nss_netgr): Remove unused variable.
46967 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46969 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46970 nonmembers" output to use the right array.
46972 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46974 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46976 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46977 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46978 * catgets/gencat.c (read_input_file): Likewise.
46979 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46981 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46982 variable definition inside #if's controlling its use.
46984 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46986 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46988 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46990 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46993 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46995 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46996 * configure: Regenerated.
46998 * Makerules: Revert last change.
46999 * elf/Makefile: Likewise.
47001 2011-06-09 Roland McGrath <roland@hack.frob.com>
47003 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47004 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47005 (reloc-link): Likewise.
47007 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47009 * elf/Makefile: Add rules to build pldd.
47010 * elf/pldd.c: New file.
47011 * elf/pldd-xx.c: New file.
47013 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47015 * version.h: Update for 2.15 development version.
47017 2011-06-07 David S. Miller <davem@davemloft.net>
47019 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47022 elf_machine_lazy_rel): Likewise.
47023 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47025 elf_machine_lazy_rel): Likewise.
47026 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47027 dl_hwcap via passed in argument.
47028 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47031 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47033 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47035 2011-06-06 Roland McGrath <roland@hack.frob.com>
47038 * manual/fdl-1.1.texi: New file, verbatim from:
47039 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47040 * manual/lgpl-2.1.texi: New file, verbatim from:
47041 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47042 * manual/Makefile (licenses): New variable, list those new file names.
47044 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47046 * manual/fdl.texi: File removed.
47047 * manual/lesser.texi: File removed.
47048 * manual/libc.texinfo (Copying, Documentation License):
47049 Use new @include file names, put @appendix directive before @include.
47051 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47054 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47055 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47056 (mq_open): Add __NTH.
47058 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47061 Assume Intel Core i3/i5/i7 processor if AVX is available.
47063 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47065 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47068 2011-05-31 Andreas Schwab <schwab@redhat.com>
47070 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47071 memory. Use alloca_account. Fix memory leak when retrying.
47073 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47075 * version.h (RELEASE): Bump for 2.14 release.
47076 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47078 * config.make.in (RANLIB): Remove entry.
47080 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47082 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47083 (libc.pot): Work around missing support for .ksh extension in xgettext.
47086 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47087 if both request failed.
47088 (send_dg): In case of server errors clear resplen or *resplen2.
47091 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47092 when there are multiple maps.
47093 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47094 (_dl_fini): Remove test here.
47096 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47098 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47101 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47102 bit from old_res_options.
47103 (gaih_inet): Likewise.
47106 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47109 * resolv/res_init.c (res_setoptions): Make the code more compact.
47112 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47116 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47118 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47121 * malloc/malloc.h: Declare malloc hook variables as volatile.
47123 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47127 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47128 raise in the comment.
47129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47131 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47133 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47136 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47137 grow the buffers more if it already has to be sufficient.
47138 (build_wcs_upper_buffer): Likewise.
47139 * posix/regexec.c (check_matching): Likewise.
47140 (clean_state_log_if_needed): Likewise.
47141 (extend_buffers): Don't enlarge buffers beyond size of the input
47143 Patches mostly by Emil Wojak <emil@wojak.eu>.
47144 * posix/bug-regex32.c: New file.
47145 * posix/Makefile (tests): Add bug-regex32.
47147 * locale/findlocale.c (_nl_find_locale): Return right away if
47148 _nl_explode_name failed.
47149 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47151 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47153 * debug/xtrace.sh: Unify messages.
47154 * malloc/memusage.sh: Likewise.
47157 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47158 time symbol from vDSO. Substitute with vsyscall if not available.
47159 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47162 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47163 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47164 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47165 Add sendmmsg and internal_sendmmsg.
47166 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47167 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47168 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47170 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47171 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47172 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47174 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47177 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47178 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47184 * iconvdata/Makefile (tests): Add bug-iconv9.
47185 * iconvdata/bug-iconv9.c: New file.
47187 2011-05-27 Andreas Schwab <schwab@redhat.com>
47190 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47192 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47195 (struct user_regs_struct): Change intcs field back to cs.
47197 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47199 * po/ja.po: Update from translation team.
47201 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47204 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47205 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47207 2011-05-20 Andreas Schwab <schwab@redhat.com>
47209 * stdlib/longlong.h: Update from GCC.
47211 2011-05-23 Andreas Schwab <schwab@redhat.com>
47213 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47215 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47216 Add parameter name.
47217 (__sysconf): Pass it down.
47219 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47222 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47224 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47225 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47226 add in in __libc_use_alloca calls. Adjust callers.
47227 (glob): Use malloc in some situations.
47229 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47230 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47233 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47235 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47236 and CLOCK_BOOTTIME_ALARM.
47239 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47242 * string/_strerror.c (__strerror_r): Print negative errors as signed
47246 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47247 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47248 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47250 * configure.in: Fix typo in redirection and correct removal of test
47251 files in two cases.
47254 * locale/setlocale.c (new_composite_name): Fix test to check for
47255 identical name of all categories.
47258 * libio/filedoalloc.c (local_isatty): New function.
47259 (_IO_file_doallocate): Use local_isatty.
47260 * stdio-common/perror.c (perror): In case a new stream is used
47261 forward the stream error.
47262 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47265 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47270 * include/alloca.h (extend_alloca_account): Define.
47273 * posix/regex.h: Fix comments with documentation of user-accessible
47274 fields after compilation and describe correct free'ing of pattern
47275 after re_compile_pattern.
47276 Patch by Reuben Thomas <rrt@sc3d.org>.
47278 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47280 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47281 and -mno-altivec to prevent the compiler from using Altivec and/or
47282 VSX instructions when the corresponding registers are not available.
47284 2011-05-19 Andreas Schwab <schwab@redhat.com>
47286 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47288 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47290 * libio/freopen.c (freopen): Use __dup2, not dup2.
47291 * libio/freopen64.c (freopen64): Likewise.
47293 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47296 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47297 * math/Makefile (tests): Add test-powl.
47298 (CFLAGS-test-powl.c): Define.
47299 * math/test-powl.c: New file.
47301 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47303 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47305 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47308 * iconvdata/gb18030.c: Update to GB18020-2005.
47310 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47312 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47313 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47314 Patch by Aharon Robbins <arnold@skeeve.com>.
47317 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47321 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47322 through underflows.
47325 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47326 point to strings before performing equality test for error_one_per_line
47330 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47333 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47334 (struct user_fpregs_struct): Avoid __uint*_t types.
47337 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47338 symbol info. Use it instead of calling _dl_addr locally.
47339 (lock_and_info): New function.
47340 (tr_freehook): Call lock_and_info and pass symbol info as additional
47341 parameter to tr_where.
47342 (tr_mallochook): Likewise.
47343 (tr_reallochook): Likewise.
47344 (tr_memalignhook): Likewise.
47346 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47347 used and couldn't be at all thread-safe.
47349 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47351 * libio/freopen.c (freopen): Don't close old file descriptor
47352 before the new one is opened. Instead dup the new file descriptor
47353 to the old one after the new stream is created.
47354 * libio/freopen64.c (freopen64): Likewise.
47355 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47356 * libio/fileops.c (_IO_new_file_close_it): Handle new
47357 _IO_FLAGS2_NOCLOSE flag.
47358 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47359 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47360 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47361 _IO_FLAGS2_NOCLOSE flag.
47362 * include/unistd.h: Add hidden_proto for dup3.
47363 Define __have_dup3.
47364 * io/dup3.c: Define hidden symbol.
47365 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47368 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47369 when an incomplete long option is used.
47370 * posix/tst-getopt_long1.c: New file.
47371 * posix/Makefile (tests): Add tst-getopt_long1.
47374 * scripts/config.guess: Update from autoconf-2.68.
47375 * scripts/config.sub: Likewise.
47378 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47380 (has_cpuclock): ...this. New function.
47381 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47382 macro here based on has_cpuclock code.
47385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47386 First byte (not low byte) is now always NUL.
47387 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47390 Use non-cancelable interfaces.
47393 * locale/iso-639.def: Add entry for Sorani.
47396 * include/stdlib.h: Move include protection to the right place.
47397 Define abort_msg_s. Declare __abort_msg with it.
47398 * stdlib/abort.c (__abort_msg): Adjust type.
47399 * assert/assert.c (__assert_fail_base): New function. Majority
47400 of code from __assert_fail. Allocate memory for __abort_msg with
47402 (__assert_fail): Now call __assert_fail_base.
47403 * assert/assert-perr.c: Remove bulk of implementation. Use
47404 __assert_fail_base.
47405 * include/assert.hL Declare __assert_fail_base.
47406 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47408 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47410 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47414 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47415 until all modules are registered in the DTV.
47416 * elf/Makefile: Add rules to build and run tst-tls19.
47417 * elf/tst-tls19.c: New file.
47418 * elf/tst-tls19mod1.c: New file.
47419 * elf/tst-tls19mod2.c: New file.
47420 * elf/tst-tls19mod3.c: New file.
47421 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47424 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47428 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47429 two-byte sequence errors.
47430 * iconvdata/Makefile (tests): Add bug-iconv8.
47431 * iconvdata/bug-iconv8.c: New file.
47434 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47437 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47440 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47441 (dummy_getcfa): New function.
47442 (init): Get _Unwind_GetCFA address, use dummy if not found.
47443 (backtrace_helper): In recursion check, also check whether CFA changes.
47444 (__backtrace): Completely initialize arg.
47446 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47447 storing incomplete byte sequence in state object. Avoid testing for
47448 guaranteed too small input if we know there is enough data available.
47450 2011-05-11 Andreas Schwab <schwab@redhat.com>
47452 * Makeconfig (+link-pie): Indent.
47453 * Rules (binaries-pie): Define if $(have-fpie) and
47455 (binaries-shared): Also filter out $(binaries-pie).
47456 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47457 * nscd/Makefile (others-pie): Add nscd.
47458 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47459 ($(objpfx)nscd): Remove command override.
47460 * login/Makefile (others-pie): Add pt_chown.
47461 ($(objpfx)pt_chown): Remove command override.
47462 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47463 remove command overrides.
47465 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47467 * libio/tst_putwc.c: Fix error messages.
47470 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47471 currently writing and seek to current position when not.
47472 * libio/Makefile (tests): Add bug-fclose1.
47473 * libio/bug-fclose1.c: New file.
47475 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47478 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47479 don't set DF_1_NODELETE here.
47480 (do_lookup_x): When entering new entry test for copy relocation
47481 and if necessary set DF_1_NODELETE flag.
47482 * elf/tst-unique4.cc: New file.
47483 * elf/tst-unique4.h: New file.
47484 * elf/tst-unique4lib.cc: New file.
47485 * elf/Makefile: Add rules to build and run tst-unique4.
47486 Patch by Piotr Bury <pbury@goahead.com>.
47488 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47491 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47494 * misc/mntent_r.c (addmntent): Flush the stream after the output
47497 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47498 (is_trusted_path_normalize): Skip initial colon. Append slash
47499 to empty buffer. Duplicate is_trusted_path code but allow
47500 constructed patch to be prefix.
47501 (is_dst): Allow $ORIGIN followed by /.
47502 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47503 Correct testing of result of is_trusted_path_normalize
47504 (decompose_rpath): Fix warning.
47506 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47509 * grp/initgroups.c (internal_getgrouplist): When we found the service
47510 list through the initgroups entry in nsswitch.conf do not always
47511 continue on a successful lookup. Don't always use the
47512 __nss_group_database value if it is set.
47513 * nss/nsswitch.conf (initgroups): Change action for successful db
47514 lookup to continue for compatibility.
47516 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47519 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47521 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47523 * iconvdata/tst-tables.sh: Likewise.
47524 * iconvdata/cp770.c: New file.
47525 * iconvdata/cp771.c: New file.
47526 * iconvdata/cp772.c: New file.
47527 * iconvdata/cp773.c: New file.
47528 * iconvdata/cp774.c: New file.
47529 * iconvdata/testdata/CP770: New file.
47530 * iconvdata/testdata/CP770..UTF8: New file.
47531 * iconvdata/testdata/CP771: New file.
47532 * iconvdata/testdata/CP771..UTF8: New file.
47533 * iconvdata/testdata/CP772: New file.
47534 * iconvdata/testdata/CP772..UTF8: New file.
47535 * iconvdata/testdata/CP773: New file.
47536 * iconvdata/testdata/CP773..UTF8: New file.
47537 * iconvdata/testdata/CP774: New file.
47538 * iconvdata/testdata/CP774..UTF8: New file.
47540 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47542 * iconvdata/gen-8bit-gap.sh: Likewise.
47543 * iconvdata/gen-8bit.sh: Likewise.
47545 * locale/iso-639.def: Add ary entry.
47548 * locale/C-translit.h.in: Add U20A1 transliteration.
47551 * locale/iso-639.def: Add wae entry.
47552 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47555 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47559 * locale/C-translit.h.in: Add entry for U20B9.
47560 Patch by pravin.d.s@gmail.com.
47562 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47565 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47566 ENAMETOOLONG use generic getcwd.
47567 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47568 in rtld. Use *stat64.
47569 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47570 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47571 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47572 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47573 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47574 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47575 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47576 __fstatat64 macros.
47577 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47578 * dirent/rewinddir.c: Add libc_hidden_def.
47579 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47580 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47582 * include/dirent.h (__alloc_dir): Add flags parameter.
47583 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47584 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47586 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47587 from fdopendir if O_CLOEXEC is already set.
47589 2011-03-15 Alan Modra <amodra@gmail.com>
47591 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47592 l_tls_firstbyte_offset non-zero. Save padding offset in
47593 l_tls_firstbyte_offset for later use.
47594 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47595 freeing static tls block.
47597 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47599 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47600 where #ifdef was intended. The intent is to prevent ARG_MAX from
47601 being defined by the kernel headers.
47603 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47606 * resolv/resolv.h: Define RES_NOTLDQUERY.
47607 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47608 no-tld-query and set RES_NOTLDQUERY.
47609 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47610 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47611 modern BIND to search name as TLD unless forbidden.
47613 2011-05-07 Petr Baudis <pasky@suse.cz>
47614 Ulrich Drepper <drepper@gmail.com>
47617 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47618 (is_trusted_path): ...to here.
47619 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47620 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47621 using is_trusted_path_normalize() in setuid scripts.
47623 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47625 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47626 __BEGIN/__END_DECLS.
47628 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47631 NSS_STATUS_NOTFOUND if no record was found.
47633 2011-05-05 Andreas Schwab <schwab@redhat.com>
47635 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47636 (headers-not-in-tirpc): Remove rpc/netdb.h
47637 * resolv/netdb.h: Revert last change.
47639 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47641 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47642 circular dependency between libgcc.a and libc.a.
47644 2011-05-05 Andreas Schwab <schwab@redhat.com>
47646 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47647 * nis/Makefile: Don't install rpcsvc/*.
47648 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47649 instead of <rpc/types.h>.
47650 (MAXHOSTNAMELEN): Define.
47652 2011-05-03 Andreas Schwab <schwab@redhat.com>
47654 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47656 2011-04-28 Maciej Babinski <mbabinski@google.com>
47659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47660 gethostbyname4_r when IPv6 results are possible.
47662 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47665 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47666 _PC_PIPE_BUF handling.
47668 2011-04-30 Bruno Haible <bruno@clisp.org>
47671 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47672 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47674 * inet/getnameinfo.c (getnameinfo): Likewise.
47676 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47678 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47679 to groups setting in database lookup.
47680 * nss/nsswitch.conf: Add initgroups entry.
47682 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47685 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47687 Patch by Eric Blake <eblake@redhat.com>.
47689 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47691 * sunrpc/Makefile (need-export-routines): Add svc_run.
47692 (routines): Remove svc_run.
47693 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47694 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47695 * sunrpc/svc_run.c (svc_run): Likewise.
47696 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47698 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47700 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47701 problem in reallocation in last patch.
47703 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47705 * sunrpc/Makefile: Move inclusion of Rules.
47707 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47709 * nss/nss_files/files-initgroups.c: New file.
47710 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47711 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47712 _nss_files_initgroups_dyn.
47714 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47716 * elf/elf.h (R_ARM_IRELATIVE): Define.
47718 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47720 * po/ru.po: Update from translation team.
47722 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47724 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47727 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47730 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47731 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47733 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47736 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47741 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47742 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47744 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47747 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47749 * stdlib/bug-getcontext.c: New file.
47750 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47752 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47754 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47755 instructions into .machine "z9-109".
47756 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47757 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47759 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47761 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47762 between environment variables and auxiliary vector.
47764 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47766 * Makefile: Add rules to build linkobj/libc.so.
47767 * include/libc-symbols.h: Define libc_hidden_nolink.
47768 * include/rpc/auth.h: Mark functions which are to be hidden.
47769 * include/rpc/auth_des.h: Likewise.
47770 * include/rpc/auth_unix.h: Likewise.
47771 * include/rpc/clnt.h: Likewise.
47772 * include/rpc/des_crypt.h: Likewise.
47773 * include/rpc/key_prot.h: Likewise.
47774 * include/rpc/pmap_clnt.h: Likewise.
47775 * include/rpc/pmap_prot.h: Likewise.
47776 * include/rpc/pmap_rmt.h: Likewise.
47777 * include/rpc/rpc_msg.h: Likewise.
47778 * include/rpc/svc.h: Likewise.
47779 * include/rpc/svc_auth.h: Likewise.
47780 * include/rpc/xdr.h: Likewise.
47781 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47782 * nss/Makefile: Likewise.
47783 * sunrpc/Makefile: Don't install headers. Build library with normal
47784 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47785 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47786 for the compat linking library. Remove use of INTDEF/INTUSE.
47787 * sunrpc/auth_none.c: Likewise.
47788 * sunrpc/auth_unix.c: Likewise.
47789 * sunrpc/authdes_prot.c: Likewise.
47790 * sunrpc/authuxprot.c: Likewise.
47791 * sunrpc/clnt_gen.c: Likewise.
47792 * sunrpc/clnt_perr.c: Likewise.
47793 * sunrpc/clnt_raw.c: Likewise.
47794 * sunrpc/clnt_simp.c: Likewise.
47795 * sunrpc/clnt_tcp.c: Likewise.
47796 * sunrpc/clnt_udp.c: Likewise.
47797 * sunrpc/clnt_unix.c: Likewise.
47798 * sunrpc/des_crypt.c: Likewise.
47799 * sunrpc/des_soft.c: Likewise.
47800 * sunrpc/get_myaddr.c: Likewise.
47801 * sunrpc/key_call.c: Likewise.
47802 * sunrpc/key_prot.c: Likewise.
47803 * sunrpc/netname.c: Likewise.
47804 * sunrpc/pm_getmaps.c: Likewise.
47805 * sunrpc/pm_getport.c: Likewise.
47806 * sunrpc/pmap_clnt.c: Likewise.
47807 * sunrpc/pmap_prot.c: Likewise.
47808 * sunrpc/pmap_prot2.c: Likewise.
47809 * sunrpc/pmap_rmt.c: Likewise.
47810 * sunrpc/publickey.c: Likewise.
47811 * sunrpc/rpc_cmsg.c: Likewise.
47812 * sunrpc/rpc_common.c: Likewise.
47813 * sunrpc/rpc_dtable.c: Likewise.
47814 * sunrpc/rpc_prot.c: Likewise.
47815 * sunrpc/rpc_thread.c: Likewise.
47816 * sunrpc/rtime.c: Likewise.
47817 * sunrpc/svc.c: Likewise.
47818 * sunrpc/svc_auth.c: Likewise.
47819 * sunrpc/svc_authux.c: Likewise.
47820 * sunrpc/svc_raw.c: Likewise.
47821 * sunrpc/svc_run.c: Likewise.
47822 * sunrpc/svc_simple.c: Likewise.
47823 * sunrpc/svc_tcp.c: Likewise.
47824 * sunrpc/svc_udp.c: Likewise.
47825 * sunrpc/svc_unix.c: Likewise.
47826 * sunrpc/svcauth_des.c: Likewise.
47827 * sunrpc/xcrypt.c: Likewise.
47828 * sunrpc/xdr.c: Likewise.
47829 * sunrpc/xdr_array.c: Likewise.
47830 * sunrpc/xdr_float.c: Likewise.
47831 * sunrpc/xdr_intXX_t.c: Likewise.
47832 * sunrpc/xdr_mem.c: Likewise.
47833 * sunrpc/xdr_rec.c: Likewise.
47834 * sunrpc/xdr_ref.c: Likewise.
47835 * sunrpc/xdr_sizeof.c: Likewise.
47836 * sunrpc/xdr_stdio.c: Likewise.
47838 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47841 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47842 * sysdeps/ia64/dl-tls.h: Likewise.
47843 * sysdeps/powerpc/dl-tls.h: Likewise.
47844 * sysdeps/s390/dl-tls.h: Likewise.
47845 * sysdeps/sh/dl-tls.h: Likewise.
47846 * sysdeps/sparc/dl-tls.h: Likewise.
47847 * sysdeps/x86_64/dl-tls.h: Likewise.
47848 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47850 2011-03-14 Andreas Schwab <schwab@redhat.com>
47852 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47853 rpath element also skip the following colon.
47854 (expand_dynamic_string_token): Add is_path parameter and pass
47855 down to DL_DST_REQUIRED and _dl_dst_substitute.
47856 (decompose_rpath): Call expand_dynamic_string_token with
47857 non-zero is_path. Ignore empty rpaths.
47858 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47861 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47866 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47869 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47870 Patch by Filipe David Manana <fdmanana@apache.org>.
47872 2011-04-07 Andreas Schwab <schwab@redhat.com>
47874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47875 Maintain aligned stack.
47876 (CHECK_RSP): Remove unused macro.
47878 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47880 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47881 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47883 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47885 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47887 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47889 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47892 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47893 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47894 * sysdeps/x86_64/memmove.c: New file.
47895 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47896 (memcpy): Renamed to ...
47897 (__new_memcpy): This.
47898 (memcpy): Provide GLIBC_2_14 memcpy.
47899 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47900 (memcpy): Provide GLIBC_2_2_5 memcpy.
47902 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47905 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47907 2011-03-30 Andreas Schwab <schwab@redhat.com>
47909 * misc/syncfs.c: New file.
47910 * misc/Makefile (routines): Add syncfs.
47911 * posix/unistd.h: Declare syncfs.
47912 * sysdeps/unix/syscalls.list: Add syncfs.
47914 2011-04-01 Andreas Schwab <schwab@redhat.com>
47916 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47923 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47926 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47929 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47930 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47934 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47936 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47937 sync_file_range.c with -fexceptions.
47938 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47939 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47940 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47941 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47942 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47943 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47944 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47945 sync_file_range as cancellation point
47946 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47947 now a wrapper around __call_sync_file_range with cancellation handling.
47948 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47949 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47950 function name to __call_sync_file_range.
47951 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47952 Add call_sync_file_range.
47954 2011-04-01 Andreas Schwab <schwab@redhat.com>
47956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47959 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47961 * iconv/iconv.h: Fix typo in comment.
47962 * io/fcntl.h: Likewise.
47963 * libio/stdio.h: Likewise.
47964 * posix/spawn.h: Likewise.
47965 * posix/unistd.h: Likewise.
47966 * stdlib/stdlib.h: Likewise.
47967 * time/time.h: Likewise.
47968 * wcsmbs/wchar.h: Likewise.
47970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47971 open_by_handle): Add.
47972 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47973 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47974 Augment a few comments.
47975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47980 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47983 * io/fcntl.h (AT_EMPTY_PATH): Define.
47985 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47987 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47988 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47989 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47991 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47992 * Versions.def: Add GLIBC_2.14.
47993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47996 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47998 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48000 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48002 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48005 * string/test-strncmp.c (do_page_test): New function.
48006 (check2): Likewise.
48007 (test_main): Call check2.
48008 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48010 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48013 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48014 Handle cache information in CPU leaf 4.
48015 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48017 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48020 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48021 character representation.
48022 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48024 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48026 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48027 END(__isnan) to END(__isnanf) to match function entry point/label
48028 EALIGN(__isnanf,...).
48030 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48032 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48034 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48037 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48038 copy from the symbol referenced in the relocation to initialize the
48040 Patch by Piotr Bury <pbury@goahead.com>.
48041 * elf/Makefile: Add rules to build and tst-unique3.
48042 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48043 * elf/tst-unique3.cc: New file.
48044 * elf/tst-unique3.h: New file.
48045 * elf/tst-unique3lib.cc: New file.
48046 * elf/tst-unique3lib2.cc: New file.
48048 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48050 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48052 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48053 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48056 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48058 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48059 to-be-loaded object along a path to loader is ld.so.
48061 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48062 Ulrich Drepper <drepper@gmail.com>
48064 * sysdeps/x86_64/memset.S: After aligning destination, code
48065 branches to different locations depending on the value of
48066 misalignment, when multiarch is enabled. Fix this.
48068 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48070 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48071 Set _x86_64_preferred_memory_instruction for AMD processsors.
48072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48073 Set bit_Prefer_SSE_for_memop for AMD processors.
48075 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48077 * libio/fmemopen.c (fmemopen): Optimize a bit.
48079 2011-03-03 Andreas Schwab <schwab@redhat.com>
48081 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48083 2011-03-03 Roland McGrath <roland@redhat.com>
48085 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48087 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48089 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48090 __bzero_ultra1 instead of __memset_ultra1.
48092 2011-02-23 Andreas Schwab <schwab@redhat.com>
48093 Ulrich Drepper <drepper@gmail.com>
48096 * include/link.h (struct link_map): Add l_orig_initfini.
48097 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48098 returning unsuccessfully.
48099 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48100 close of a file loaded at startup, restore the original l_initfini
48102 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48103 list, store the pointer.
48104 * elf/Makefile ($(objpfx)noload-mem): New rule.
48105 (noload-ENV): Define.
48106 (tests): Add $(objpfx)noload-mem.
48107 * elf/noload.c: Include <memcheck.h>.
48108 (main): Call mtrace. Close all opened handles.
48110 2011-02-17 Andreas Schwab <schwab@redhat.com>
48113 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48114 dependencies are missing.
48116 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48118 Fix __if_freereq crash: Unlike the generic version which uses free,
48120 * sysdeps/mach/hurd/ifreq.h: New file.
48122 2011-01-27 Petr Baudis <pasky@suse.cz>
48123 Ulrich Drepper <drepper@gmail.com>
48126 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48127 to extend_alloca().
48128 * stdio-common/bug23.c: New file.
48129 * stdio-common/Makefile (tests): Add bug23.
48131 2010-09-28 Andreas Schwab <schwab@redhat.com>
48132 Ulrich Drepper <drepper@gmail.com>
48135 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48136 before performing relro protection. At old place add assertion
48137 to make sure nothing changed.
48139 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48140 Glauber de Oliveira Costa <glommer@gmail.com>
48142 * elf/elf.h: Add new ARM TLS relocs.
48144 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48147 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48149 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48151 * sysdeps/wordsize-64/tst-writev.c: New file.
48153 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48155 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48156 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48157 insns in _dl_start to prevent a TOC reference before relocs are
48160 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48163 * Makeconfig: Remove RANLIB definition.
48164 * Makerules: Don't use RANLIB.
48165 * aclocal.m4: Remove ranlib test.
48166 * configure.in: No need to check for ranlib.
48167 * elf/rtld-Rules: Don't use RANLIB.
48169 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48171 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48173 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48174 inclusion protection macro.
48176 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48177 SIGRTMIN and SIGRTMAX and print information in that case only when
48178 SIGRTMIN is defined.
48180 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48182 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48183 arginfo fn returning -1.
48185 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48186 and thousands string is zero terminated.
48188 2011-02-03 Andreas Schwab <schwab@redhat.com>
48190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48191 sysdeps/unix/sysv/linux/bits/socket.h.
48193 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48195 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48196 (__CPU_COUNT): Remove old macros.
48197 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48198 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48199 (__CPU_ALLOC, __CPU_FREE): Add macros.
48200 (__sched_cpualloc, __sched_cpufree): Add declarations.
48202 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48204 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48205 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48206 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48207 (readdhstai): Return value of addhstaiX call.
48208 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48209 (addgrbyX): Return value returned by cache_addgr.
48210 (readdgrbyname): Return value returned by addgrbyX.
48211 (readdgrbygid): Likewise.
48212 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48213 (addpwbyX): Return value returned by cache_addpw.
48214 (readdpwbyname): Return value returned by addhstbyX.
48215 (readdpwbyuid): Likewise.
48216 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48217 (addservbyX): Return value returned by cache_addserv.
48218 (readdservbyname): Return value returned by addservbyX:
48219 (readdservbyport): Likewise.
48220 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48221 (addhstbyX): Return value returned by cache_addhst.
48222 (readdhstbyname): Return value returned by addhstbyX.
48223 (readdhstbyaddr): Likewise.
48224 (readdhstbynamev6): Likewise.
48225 (readdhstbyaddrv6): Likewise.
48226 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48227 (readdinitgroups): Return value returned by addinitgroupsX.
48228 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48229 (prune_cache): Keep track of timeout value of re-added entries.
48230 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48231 * nscd/nscd.h: Adjust prototypes of readd* functions.
48233 2011-02-04 Roland McGrath <roland@redhat.com>
48235 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48236 (nis_stats): Likewise.
48237 * nis/nis_modify.c (nis_modify): Likewise.
48238 * nis/nis_remove.c (nis_remove): Likewise.
48239 * nis/nis_add.c (nis_add): Likewise.
48241 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48243 * posix/fnmatch_loop.c: Add some consts.
48245 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48247 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48250 * config.make.in (config-cflags-novzeroupper): Define.
48251 * configure.in: Substitute libc_cv_cc_novzeroupper.
48252 * elf/Makefile (AVX-CFLAGS): Define.
48253 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48254 (CFLAGS-tst-auditmod4a.c): Likewise.
48255 (CFLAGS-tst-auditmod4b.c): Likewise.
48256 (CFLAGS-tst-auditmod6b.c): Likewise.
48257 (CFLAGS-tst-auditmod6c.c): Likewise.
48258 (CFLAGS-tst-auditmod7b.c): Likewise.
48259 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48261 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48263 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48264 function to the callback.
48265 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48267 2011-02-02 Andreas Schwab <schwab@redhat.com>
48269 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48272 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48275 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48277 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48279 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48282 * elf/Makefile: Add rules to build and run new test.
48283 * elf/tst-initorder.c: New file.
48284 * elf/tst-initorder.exp: New file.
48285 * elf/tst-initordera1.c: New file.
48286 * elf/tst-initordera2.c: New file.
48287 * elf/tst-initordera3.c: New file.
48288 * elf/tst-initordera4.c: New file.
48289 * elf/tst-initorderb1.c: New file.
48290 * elf/tst-initorderb2.c: New file.
48291 * elf/tst-order-a1.c: New file.
48292 * elf/tst-order-a2.c: New file.
48293 * elf/tst-order-a3.c: New file.
48294 * elf/tst-order-a4.c: New file.
48295 * elf/tst-order-b1.c: New file.
48296 * elf/tst-order-b2.c: New file.
48297 * elf/tst-order-main.c: New file.
48298 New test case by George Gensure <werkt0@gmail.com>.
48300 2010-10-01 Andreas Schwab <schwab@redhat.com>
48302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48303 decoding ACE if AI_CANONIDN.
48305 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48307 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48309 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48311 * version.h (RELEASE): Bump for 2.13 release.
48312 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48314 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48316 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48318 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48320 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48321 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48322 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48325 * posix/getconf.c: Update copyright year.
48326 * catgets/gencat.c: Likewise.
48327 * csu/version.c: Likewise.
48328 * debug/catchsegv.sh: Likewise.
48329 * debug/xtrace.sh: Likewise.
48330 * elf/ldconfig.c: Likewise.
48331 * elf/ldd.bash.in: Likewise.
48332 * elf/sprof.c (print_version): Likewise.
48333 * iconv/iconv_prog.c: Likewise.
48334 * iconv/iconvconfig.c: Likewise.
48335 * locale/programs/locale.c: Likewise.
48336 * locale/programs/localedef.c: Likewise.
48337 * malloc/memusage.sh: Likewise.
48338 * malloc/mtrace.pl: Likewise.
48339 * nscd/nscd.c (print_version): Likewise.
48340 * nss/getent.c: Likewise.
48342 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48343 PF_CAIF, and PF_ALG.
48344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48346 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48348 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48349 (modules-names): Use them.
48350 (ifunc-test-modules, ifunc-pie-tests): Define.
48351 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48352 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48353 (test-extras): Likewise.
48354 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48355 $(compile-command.c).
48356 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48357 (all-built-dso): Define.
48358 (check-textrel.out, check-execstack.out): Depend on it.
48360 * configure.in: Don't override --enable-multi-arch.
48362 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48365 * nscd/hstcache.c (tryagain): Define.
48366 (cache_addhst): Return tryagain not notfound for temporary errors.
48367 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48370 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48373 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48374 to make the syscall.
48375 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48378 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48379 and fall back to matching as normal character if the string ends before
48380 the matching ']' is found. This is what POSIX requires.
48381 * posix/testfnm.c: Adjust test result.
48382 * posix/globtest.sh: Adjust test result. Add new test.
48383 * posix/tst-fnmatch.input: Likewise.
48384 * posix/tst-fnmatch2.c: Add new test.
48386 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48388 * elf/Makefile (check-execstack): Revert last change. Depend on
48390 (check-execstack.h): New target.
48391 (generated): Add check-execstack.h.
48392 * elf/check-execstack.c: Include "check-execstack.h".
48393 (main): Revert last change.
48394 (handle_file): Return zero if GNU_STACK is absent and
48395 DEFAULT_STACK_PERMS doesn't include PF_X.
48397 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48399 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48400 in child fails because the descriptor is already closed.
48401 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48402 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48403 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48406 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48410 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48411 temporary buffer used to handle multi lookups locally.
48412 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48414 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48416 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48419 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48421 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48422 alignment for SSE2.
48424 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48427 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48428 characters. When rounding increased number of integer digits recompute
48430 * stdio-common/tst-grouping.c: New file.
48431 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48433 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48435 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48436 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48438 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48440 * bits/select.h: Likewise.
48442 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48444 * po/ja.po: Update from translation team.
48446 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48449 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48450 implementation just like for lxstat, fxstatat, et al.
48452 2010-12-27 Jim Meyering <meyering@redhat.com>
48455 * posix/regexec.c (build_trtable): Return failure indication upon
48456 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48458 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48461 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48462 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48463 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48464 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48467 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48470 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48471 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48473 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48475 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48476 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48477 script has SORT_BY_INIT_PRIORITY.
48478 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48479 NO_CTORS_DTORS_SECTIONS is defined.
48480 * elf/soinit.c: Likewise.
48481 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48482 NO_CTORS_DTORS_SECTIONS is defined.
48483 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48484 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48485 * sysdeps/sh/init-first.c: Likewise.
48486 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48488 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48490 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48491 always use the slow path.
48493 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48495 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48496 similar rule which adds the sysdep directories to the header search in
48497 order to pick up the correct platform stackinfo.h.
48498 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48499 perform test if it is, otherwise return successfully without testing.
48500 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48501 DEFAULT_STACK_PERMS define in stackinfo.h.
48502 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48503 defined in stackinfo.h.
48504 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48505 DEFAULT_STACK_PERMS defined in stackinfo.h.
48506 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48507 * sysdeps/ia64/stackinfo.h: Likewise.
48508 * sysdeps/s390/stackinfo.h: Likewise.
48509 * sysdeps/sh/stackinfo.h: Likewise.
48510 * sysdeps/sparc/stackinfo.h: Likewise.
48511 * sysdeps/x86_64/stackinfo.h: Likewise.
48512 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48513 PF_X for powerpc64. Retain PF_X for powerpc32.
48515 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48517 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48519 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48520 GETDENTS_64BIT_ALIGNED.
48522 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48524 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48526 2010-12-10 Andreas Schwab <schwab@redhat.com>
48528 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48531 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48532 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48534 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48535 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48537 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48540 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48543 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48545 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48547 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48549 * po/it.po: Update from translation team.
48551 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48556 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48558 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48560 2010-11-24 Andreas Schwab <schwab@redhat.com>
48562 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48564 (gaih_getanswer_slice): Likewise.
48566 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48570 2010-05-31 Petr Baudis <pasky@suse.cz>
48573 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48574 silently even in the chroot mode.
48576 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48578 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48579 last patch a bit. Pretty printing
48581 2010-05-31 Petr Baudis <pasky@suse.cz>
48584 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48585 initialization of skip_initgroups_dyn.
48587 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48589 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48590 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48592 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48594 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48596 2010-11-11 Andreas Schwab <schwab@redhat.com>
48598 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48599 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48600 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48601 ($(objpfx)tst-fnmatch-mem): New rule.
48602 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48603 * posix/tst-fnmatch.c (main): Call mtrace.
48605 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48608 Support Intel processor model 6 and model 0x2c.
48610 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48615 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48618 * string/test-strncasecmp.c (check_result): New function.
48619 (do_one_test): Use it.
48620 (check1): New function.
48621 (test_main): Use it.
48622 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48623 Support strcasecmp and strncasecmp.
48625 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48628 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48629 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48631 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48633 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48637 * sysdeps/x86_64/multiarch/bzero.S: New file.
48638 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48639 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48640 * sysdeps/x86_64/multiarch/memset.S: New file.
48641 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48643 Set bit_Prefer_SSE_for_memop for Intel processors.
48644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48646 (index_Prefer_SSE_for_memop): Define.
48647 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48649 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48651 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48652 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48654 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48657 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48658 (__x86_64_raw_data_cache_size_half): Likewise.
48659 (__x86_64_raw_shared_cache_size): Likewise.
48660 (__x86_64_raw_shared_cache_size_half): Likewise.
48662 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48663 (__x86_64_raw_data_cache_size_half): Likewise.
48664 (__x86_64_raw_shared_cache_size): Likewise.
48665 (__x86_64_raw_shared_cache_size_half): Likewise.
48666 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48667 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48668 and __x86_64_raw_shared_cache_size_half. Round
48669 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48670 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48671 to multiple of 256 bytes.
48673 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48676 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48677 of inacessible symlinks. Verify result of symlink before returning it.
48678 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48679 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48681 2010-10-28 Erich Ritz <erichritz@gmail.com>
48683 * math/math.h (isinf): Fix typo in comment.
48685 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48687 * po/da.po: Update from translation team.
48689 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48691 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48692 is added to the list.
48694 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48695 Ulrich Drepper <drepper@gmail.com>
48697 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48698 the global list here. Move code to...
48699 (_dl_add_to_namespace_list): ...here. New function.
48700 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48701 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48702 * elf/dl-load.c (lose): Don't remove the element from the list.
48703 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48704 (_dl_map_object): Likewise.
48706 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48709 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48710 into all bytes of SSE register.
48711 Patch by Richard Li <richardpku@gmail.com>.
48713 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48716 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48719 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48721 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48722 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48723 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48724 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48729 2010-10-22 Andreas Schwab <schwab@redhat.com>
48731 * include/dlfcn.h (__RTLD_SECURE): Define.
48732 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48733 mode & __RTLD_SECURE instead.
48734 (open_path): Rename preloaded parameter to secure.
48735 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48736 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48737 * elf/dl-deps.c (openaux): Likewise.
48738 * elf/rtld.c (struct map_args): Remove is_preloaded.
48739 (map_doit): Don't use it.
48740 (dl_main): Likewise.
48741 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48742 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48744 2010-09-09 Andreas Schwab <schwab@redhat.com>
48746 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48747 (sysd-rules-targets): Remove duplicates.
48748 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48749 rtld-%.$o dependency.
48751 2010-10-18 Andreas Schwab <schwab@redhat.com>
48753 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48754 _dl_map_object do it.
48756 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48758 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48759 fast fma builtins, define the macros in the C99 standard.
48760 (FP_FAST_FMAF): Likewise.
48761 (FP_FAST_FMAL): Likewise.
48762 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48764 * bits/mathdef.h: Update copyright year.
48765 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48767 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48769 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48770 builtins, define the macros in the C99 standard.
48771 (FP_FAST_FMAF): Likewise.
48772 (FP_FAST_FMAL): Likewise.
48773 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48775 (FP_FAST_FMAF): Likewise.
48777 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48780 * math/libm-test.inc (fma_test): Some new testcases.
48781 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48782 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48783 y and infinite z. Do multiplication by C already in long double.
48784 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48786 y and infinite z. Do bitwise or of inexact bit into u.d.
48787 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48788 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48789 * sysdeps/i386/fpu/s_fma.S: Removed.
48790 * sysdeps/i386/fpu/s_fmal.S: Removed.
48792 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48795 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48797 computation is not scheduled after fetestexcept. Fix value
48798 of minimum denormal long double.
48800 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48803 * math/libm-test.inc (fma_test): Add some more tests.
48804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48807 2010-10-15 Andreas Schwab <schwab@redhat.com>
48809 * scripts/data/localplt-s390-linux-gnu.data: New file.
48810 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48812 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48815 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48816 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48818 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48820 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48822 if one of x and y is very large and the other is subnormal.
48823 * sysdeps/s390/fpu/s_fmaf.c: New file.
48824 * sysdeps/s390/fpu/s_fma.c: New file.
48825 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48826 * sysdeps/powerpc/fpu/s_fma.S: New file.
48827 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48828 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48829 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48831 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48834 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48837 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48838 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48839 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48840 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48841 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48842 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48844 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48847 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48848 * posix/bug-regex31.input: Add test case.
48850 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48852 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48853 * posix/bug-regex31.input: New file.
48856 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48857 (parse_sub_exp): Fix last change, use postorder.
48859 * posix/bug-regex31.c: New file.
48860 * posix/Makefile: Add rules to build and run bug-regex31.
48862 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48865 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48868 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48869 to have entries in sys_siglist.
48872 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48875 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48878 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48879 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48880 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48881 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48882 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48883 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48884 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48885 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48886 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48887 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48888 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48889 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48890 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48891 * math/ftestexcept.c (fetestexcept): Likewise.
48892 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48893 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48894 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48895 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48896 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48897 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48898 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48900 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48903 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48906 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48908 * string/bug-strstr1.c: New file.
48909 * string/Makefile: Add rules to build and run bug-strstr1.
48911 2010-10-05 Eric Blake <eblake@redhat.com>
48914 * string/str-two-way.h (two_way_long_needle): Always clear memory
48915 when skipping input due to the shift table.
48917 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48920 * malloc/mcheck.c: Handle large requests.
48923 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48924 for strncmp and strncasecmp.
48925 * string/stratcliff.c: Add tests for strcmp and strncmp.
48926 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48928 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48930 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48933 2010-09-30 Andreas Jaeger <aj@suse.de>
48935 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48936 (CGROUP_SUPER_MAGIC): Define.
48937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48938 Handle btrfs and cgroup file systems.
48939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48942 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48944 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48945 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48947 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48950 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48951 trying to locate the ELF header.
48953 2010-09-27 Andreas Schwab <schwab@redhat.com>
48956 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48957 Mask out sign-bit copies when constructing f_fsid.
48959 2010-09-24 Petr Baudis <pasky@suse.cz>
48961 * debug/stack_chk_fail_local.c: Add missing licence exception.
48962 * debug/warning-nop.c: Likewise.
48964 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48966 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48967 implementing getdents64 using getdents syscall, set d_type if
48968 __ASSUME_GETDENTS32_D_TYPE.
48970 2010-09-16 Andreas Schwab <schwab@redhat.com>
48972 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48973 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48975 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48978 * posix/unistd.h: Undo change of feature selection for ftruncate from
48981 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48983 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48986 2010-09-20 Andreas Schwab <schwab@redhat.com>
48988 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48990 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48992 2010-09-14 Andreas Schwab <schwab@redhat.com>
48994 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48995 variables after CHECK_SP call.
48996 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48998 2010-09-13 Andreas Schwab <schwab@redhat.com>
48999 Ulrich Drepper <drepper@redhat.com>
49001 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49002 re-relocationg ld.so.
49003 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49004 _dl_init_paths call.
49005 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49008 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49010 * resolv/res_init.c (__res_vinit): Count the default server we added.
49012 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49013 Ulrich Drepper <drepper@redhat.com>
49016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49017 (____longjmp_chk): Use %ebx for saving value across system call.
49020 2010-09-06 Andreas Schwab <schwab@redhat.com>
49022 * manual/Makefile: Don't mix pattern rules with normal rules.
49024 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49026 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49028 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49029 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49030 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49031 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49035 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49038 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49039 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49041 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49043 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49044 * sysdeps/x86_64/addmul_1.S: Likewise.
49045 * sysdeps/x86_64/lshift.S: Likewise.
49046 * sysdeps/x86_64/mul_1.S: Likewise.
49047 * sysdeps/x86_64/rshift.S: Likewise.
49048 * sysdeps/x86_64/sub_n.S: Likewise.
49049 * sysdeps/x86_64/submul_1.S: Likewise.
49051 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49053 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49054 Define __sched_param instead of SCHED_* and sched_param when
49055 <bits/sched.h> is included with __need_schedparam defined.
49056 * bits/sched.h [__need_schedparam]
49057 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49058 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49059 (__defined_schedparam): Define to 1.
49060 (__sched_param): New structure, identical to sched_param.
49061 (__need_schedparam): Undefine.
49063 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49065 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49066 (epoll_create1): Declare.
49068 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49070 2010-08-31 Andreas Schwab <schwab@redhat.com>
49073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49074 shifting retval into place.
49076 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49078 * nis/rpcsvc/nis.h: Update copyright notice.
49079 * nis/rpcsvc/nis.x: Likewise.
49080 * nis/rpcsvc/nis_callback.h: Likewise.
49081 * nis/rpcsvc/nis_callback.x: Likewise.
49082 * nis/rpcsvc/nis_object.x: Likewise.
49083 * nis/rpcsvc/nis_tags.h: Likewise.
49084 * nis/rpcsvc/yp.h: Likewise.
49085 * nis/rpcsvc/yp.x: Likewise.
49086 * nis/rpcsvc/ypupd.h: Likewise.
49087 * nis/yp_xdr.c: Likewise.
49088 * nis/ypupdate_xdr.c: Likewise.
49090 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49091 mainly the body of pmap_getport. Add parameters to specify timeouts.
49092 (pmap_getport): Use __libc_rpc_getport.
49093 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49094 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49095 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49097 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49102 2010-08-27 Roland McGrath <roland@redhat.com>
49104 * sysdeps/i386/i686/multiarch/Makefile
49105 (CFLAGS-varshift.c): New variable.
49107 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49109 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49110 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49112 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49114 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49116 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49118 * sysdeps/x86_64/strlen.S: Unroll the loop.
49119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49120 strlen-sse2 strlen-sse2-bsf.
49121 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49122 __strlen_no_bsf if bit_Slow_BSF is set.
49123 (__strlen_sse42): Removed.
49124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49125 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49127 2010-08-25 Roland McGrath <roland@redhat.com>
49129 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49130 * sysdeps/x86_64/multiarch/varshift.c: New file.
49131 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49132 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49133 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49134 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49136 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49139 strlen-sse2 strlen-sse2-bsf.
49140 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49141 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49142 (__strlen_sse2): Removed.
49143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49144 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49146 bit_Slow_BSF for Atom.
49147 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49148 (index_Slow_BSF): Define.
49149 (HAS_SLOW_BSF): Define.
49151 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49154 * resolv/res_init.c (__res_vinit): When no server address at all
49155 is given default to loopback.
49157 2010-08-24 Roland McGrath <roland@redhat.com>
49159 * configure.in: Remove config-name.h generation.
49160 * configure: Regenerated.
49161 * config-name.in: File removed.
49162 * scripts/config-uname.sh: New file.
49163 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49164 ($(objdir)config-name.h): New target.
49166 * sunrpc/rpc_parse.h: Avoid nested comment.
49168 2010-08-24 Richard Henderson <rth@redhat.com>
49169 Ulrich Drepper <drepper@redhat.com>
49170 H.J. Lu <hongjiu.lu@intel.com>
49172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49174 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49175 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49176 _mm_alignr_epi8 with _mm_loadu_si128.
49177 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49178 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49179 (__m128i_shift_right): Removed.
49180 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49181 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49182 * sysdeps/x86_64/multiarch/varshift.h: New file.
49183 * sysdeps/x86_64/multiarch/varshift.S: New file.
49185 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49187 * configure.in: Move assembler checks to before sysdep dir checking.
49189 2010-08-20 Petr Baudis <pasky@suse.cz>
49191 * LICENSES: Sync the sunrpc license.
49193 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49195 * sunrpc/auth_des.c: Update copyright notice once again.
49196 * sunrpc/auth_none.c: Likewise.
49197 * sunrpc/auth_unix.c: Likewise.
49198 * sunrpc/authdes_prot.c: Likewise.
49199 * sunrpc/authuxprot.c: Likewise.
49200 * sunrpc/bindrsvprt.c: Likewise.
49201 * sunrpc/clnt_gen.c: Likewise.
49202 * sunrpc/clnt_perr.c: Likewise.
49203 * sunrpc/clnt_raw.c: Likewise.
49204 * sunrpc/clnt_simp.c: Likewise.
49205 * sunrpc/clnt_tcp.c: Likewise.
49206 * sunrpc/clnt_udp.c: Likewise.
49207 * sunrpc/clnt_unix.c: Likewise.
49208 * sunrpc/des_crypt.c: Likewise.
49209 * sunrpc/des_soft.c: Likewise.
49210 * sunrpc/get_myaddr.c: Likewise.
49211 * sunrpc/getrpcport.c: Likewise.
49212 * sunrpc/key_call.c: Likewise.
49213 * sunrpc/key_prot.c: Likewise.
49214 * sunrpc/openchild.c: Likewise.
49215 * sunrpc/pm_getmaps.c: Likewise.
49216 * sunrpc/pm_getport.c: Likewise.
49217 * sunrpc/pmap_clnt.c: Likewise.
49218 * sunrpc/pmap_prot.c: Likewise.
49219 * sunrpc/pmap_prot2.c: Likewise.
49220 * sunrpc/pmap_rmt.c: Likewise.
49221 * sunrpc/rpc/auth.h: Likewise.
49222 * sunrpc/rpc/auth_unix.h: Likewise.
49223 * sunrpc/rpc/clnt.h: Likewise.
49224 * sunrpc/rpc/des_crypt.h: Likewise.
49225 * sunrpc/rpc/key_prot.h: Likewise.
49226 * sunrpc/rpc/netdb.h: Likewise.
49227 * sunrpc/rpc/pmap_clnt.h: Likewise.
49228 * sunrpc/rpc/pmap_prot.h: Likewise.
49229 * sunrpc/rpc/pmap_rmt.h: Likewise.
49230 * sunrpc/rpc/rpc.h: Likewise.
49231 * sunrpc/rpc/rpc_des.h: Likewise.
49232 * sunrpc/rpc/rpc_msg.h: Likewise.
49233 * sunrpc/rpc/svc.h: Likewise.
49234 * sunrpc/rpc/svc_auth.h: Likewise.
49235 * sunrpc/rpc/types.h: Likewise.
49236 * sunrpc/rpc/xdr.h: Likewise.
49237 * sunrpc/rpc_clntout.c: Likewise.
49238 * sunrpc/rpc_cmsg.c: Likewise.
49239 * sunrpc/rpc_common.c: Likewise.
49240 * sunrpc/rpc_cout.c: Likewise.
49241 * sunrpc/rpc_dtable.c: Likewise.
49242 * sunrpc/rpc_hout.c: Likewise.
49243 * sunrpc/rpc_main.c: Likewise.
49244 * sunrpc/rpc_parse.c: Likewise.
49245 * sunrpc/rpc_parse.h: Likewise.
49246 * sunrpc/rpc_prot.c: Likewise.
49247 * sunrpc/rpc_sample.c: Likewise.
49248 * sunrpc/rpc_scan.c: Likewise.
49249 * sunrpc/rpc_scan.h: Likewise.
49250 * sunrpc/rpc_svcout.c: Likewise.
49251 * sunrpc/rpc_tblout.c: Likewise.
49252 * sunrpc/rpc_util.c: Likewise.
49253 * sunrpc/rpc_util.h: Likewise.
49254 * sunrpc/rpcinfo.c: Likewise.
49255 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49256 * sunrpc/rpcsvc/key_prot.x: Likewise.
49257 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49258 * sunrpc/rpcsvc/mount.x: Likewise.
49259 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49260 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49261 * sunrpc/rpcsvc/rex.x: Likewise.
49262 * sunrpc/rpcsvc/rstat.x: Likewise.
49263 * sunrpc/rpcsvc/rusers.x: Likewise.
49264 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49265 * sunrpc/rpcsvc/spray.x: Likewise.
49266 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49267 * sunrpc/rtime.c: Likewise.
49268 * sunrpc/svc.c: Likewise.
49269 * sunrpc/svc_auth.c: Likewise.
49270 * sunrpc/svc_authux.c: Likewise.
49271 * sunrpc/svc_raw.c: Likewise.
49272 * sunrpc/svc_run.c: Likewise.
49273 * sunrpc/svc_simple.c: Likewise.
49274 * sunrpc/svc_tcp.c: Likewise.
49275 * sunrpc/svc_udp.c: Likewise.
49276 * sunrpc/svc_unix.c: Likewise.
49277 * sunrpc/svcauth_des.c: Likewise.
49278 * sunrpc/xcrypt.c: Likewise.
49279 * sunrpc/xdr.c: Likewise.
49280 * sunrpc/xdr_array.c: Likewise.
49281 * sunrpc/xdr_float.c: Likewise.
49282 * sunrpc/xdr_mem.c: Likewise.
49283 * sunrpc/xdr_rec.c: Likewise.
49284 * sunrpc/xdr_ref.c: Likewise.
49285 * sunrpc/xdr_sizeof.c: Likewise.
49286 * sunrpc/xdr_stdio.c: Likewise.
49288 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49291 2010-08-19 Andreas Schwab <schwab@redhat.com>
49293 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49295 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49297 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49298 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49299 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49300 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49301 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49302 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49303 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49304 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49305 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49306 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49307 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49308 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49309 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49310 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49312 2010-07-26 Anton Blanchard <anton@samba.org>
49314 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49315 * malloc/arena.c (heap_trim): Likewise.
49317 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49319 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49322 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49324 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49326 * sysdeps/i386/elf/Makefile: New file.
49328 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49330 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49331 from fanotify_init.
49332 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49335 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49337 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49339 * sysdeps/multiarch/strcmp.S: Likewise.
49341 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49343 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49344 strncase_l-nonascii.
49345 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49346 Add strncase_l-ssse3.
49347 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49348 * sysdeps/x86_64/strcmp.S: Likewise.
49349 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49350 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49351 * sysdeps/x86_64/strncase.S: New file.
49352 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49353 * sysdeps/x86_64/strncase_l.S: New file.
49354 * string/Makefile (strop-tests): Add strncasecmp.
49355 * string/test-strncasecmp.c: New file.
49357 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49360 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49361 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49363 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49365 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49367 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49369 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49370 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49371 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49373 2010-05-01 Alan Modra <amodra@gmail.com>
49375 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49376 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49377 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49378 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49379 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49380 tidying. Don't tail-call __sigjmp_save for static lib.
49381 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49383 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49384 (CALL_MCOUNT): Add eh info, and nop after bl.
49385 (TAIL_CALL_SYSCALL_ERROR): New macro.
49386 (PSEUDO_RET): Use it.
49387 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49388 Correct save location of integer regs and cr.
49389 (_dl_profile_resolve): Correct cr save location. Delete nops
49390 after bl when SHARED. Reduce cfi size a little by better
49391 placement of cfi directives.
49392 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49393 make a stack frame. Instead use parm save area as a temp.
49394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49395 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49397 Don't make a stack frame for parent, use parm save area.
49398 Increase child stack frame to 112 bytes. Don't save unused reg,
49399 and adjust reg usage. Set up cfi on error recovery and
49400 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49402 (__makecontext): Add dummy nop after jump to exit.
49403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49404 Use correct parm save area and cr save, reduce stack frame.
49405 Correct cfi for possible PSEUDO_RET frame setup.
49406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49407 Branch to local label emitted by PSEUDO_RET rather than
49410 2010-08-12 Andreas Schwab <schwab@redhat.com>
49413 * locale/programs/locale.c (print_assignment): New function.
49414 (show_locale_vars): Use it.
49416 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49418 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49420 (struct statfs64): Likewise.
49421 (_STATFS_F_FLAGS): Define.
49422 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49423 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49424 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49425 (ST_VALID): Define locally.
49426 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49427 __statvfs_getflags, use the provided value.
49428 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49429 __ASSUME_STATFS_F_FLAGS.
49431 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49433 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49434 Add sys/fanotify.h.
49435 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49436 fanotify_mask for GLIBC_2.13.
49437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49438 fanotify_init and fanotify_mark.
49439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49440 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49442 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49444 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49445 prlimit64 for GLIBC_2.13.
49446 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49451 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49452 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49453 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49456 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49459 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49460 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49462 * nss/Makefile: Add rules to build and run tst-nss-test1.
49463 * shlib-versions: Add entry for libnss_test1.
49464 * nss/nss_test1.c: New file.
49465 * nss/tst-nss-test1.c: New file.
49467 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49468 (__nss_configure_lookup): Set appropriate entry in
49469 __nss_configure_lookup to true.
49470 * nss/nsswitch.h: Define enum with indeces of databases in
49471 databases and __nss_database_custom arrays. Declare
49472 __nss_database_custom.
49473 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49474 to avoid using nscd when custom rules are installed.
49475 * nss/getXXbyYY_r.c: Likewise.
49476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49478 * nss/nss_files/files-parse.c: Whitespace fixes.
49480 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49483 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49484 * posix/fnmatch_loop.c: Likewise.
49486 2010-07-17 Andi Kleen <ak@linux.intel.com>
49488 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49489 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49490 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49491 * Versions.def [GLIBC_2.13]: Add.
49493 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49495 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49496 Also fail if tpwd after pwuid call is NULL.
49498 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49500 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49501 when converting to ms.
49503 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49505 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49506 EOPNOTSUPP errors with ENOTTY.
49507 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49508 EOPNOTSUPP errors with ENOTTY.
49510 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49512 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49513 Add strcasecmp_l-ssse3.
49514 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49516 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49517 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49518 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49520 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49522 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49524 * string/Makefile (strop-tests): Add strcasecmp.
49525 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49526 strcasecmp_l-nonascii.
49527 (gen-as-const-headers): Add locale-defines.sym.
49528 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49529 * sysdeps/x86_64/strcasecmp.S: New file.
49530 * sysdeps/x86_64/strcasecmp_l.S: New file.
49531 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49532 * sysdeps/x86_64/locale-defines.sym: New file.
49533 * string/test-strcasecmp.c: New file.
49535 * string/test-strcasestr.c: Test both ends of the range of characters.
49536 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49538 2010-07-29 Roland McGrath <roland@redhat.com>
49541 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49543 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49545 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49548 2010-07-27 Andreas Schwab <schwab@redhat.com>
49550 * manual/memory.texi (Malloc Tunable Parameters): Document
49553 2010-07-26 Roland McGrath <roland@redhat.com>
49556 * configure.in (-fgnu89-inline check): Set and substitute
49557 gnu89_inline, not libc_cv_gnu89_inline.
49558 * configure: Regenerated.
49559 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49561 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49563 * string/test-strnlen.c: New file.
49564 * string/Makefile (strop-tests): Add strnlen.
49565 * string/tester.c (test_strnlen): Add a few more test cases.
49566 * string/tst-strlen.c: Better error reporting.
49568 * sysdeps/x86_64/strnlen.S: New file.
49570 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49572 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49573 lower-latency instructions.
49575 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49577 * string/test-strcasestr.c: New file.
49578 * string/test-strstr.c: New file.
49579 * string/Makefile (strop-tests): Add strstr and strcasestr.
49580 * string/str-two-way.h: Don't undefine MAX.
49581 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49583 2010-07-21 Andreas Schwab <schwab@redhat.com>
49585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49586 strcasestr-nonascii.
49587 (CFLAGS-strcasestr-nonascii.c): Define.
49588 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49589 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49590 Remove unused attribute.
49592 2010-07-20 Roland McGrath <roland@redhat.com>
49594 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49595 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49596 ld.so.cache was broken. With it, there is no way to disable dsocaps
49597 like LD_HWCAP_MASK can disable hwcaps.
49599 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49601 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49603 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49605 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49606 call in strcasestr.
49607 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49608 __strcasestr_sse42_nonascii.
49609 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49610 strcasestr-nonascii.c.
49611 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49613 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49615 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49616 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49617 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49618 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49620 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49622 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49625 2010-07-06 Andreas Schwab <schwab@redhat.com>
49628 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49631 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49634 _PC_PIPE_BUF using F_GETPIPE_SZ.
49636 2010-07-05 Roland McGrath <roland@redhat.com>
49638 * manual/arith.texi (Rounding Functions): Fix rint description
49639 implicit in round description.
49641 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49643 * elf/Makefile: Fix linking for a few tests to make recent linker
49646 2010-06-30 Andreas Schwab <schwab@redhat.com>
49648 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49649 $(common-objpfx)libc_nonshared.a.
49651 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49653 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49654 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49655 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49656 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49657 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49658 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49659 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49660 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49675 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49676 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49677 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49678 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49679 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49680 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49681 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49682 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49683 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49684 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49685 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49686 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49702 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49704 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49705 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49706 * string/memmove.c (memmove): Renamed to ...
49707 (MEMMOVE): ...this. Default to memmove.
49708 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49709 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49712 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49713 mempcpy-ssse3-back memmove-ssse3-back.
49714 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49716 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49717 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49718 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49719 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49720 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49721 * sysdeps/x86_64/multiarch/memmove.c: New file.
49722 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49723 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49724 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49725 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49726 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49729 (index_Fast_Copy_Backward): Define.
49730 (HAS_ARCH_FEATURE): Define.
49731 (HAS_FAST_REP_STRING): Define.
49732 (HAS_FAST_COPY_BACKWARD): Define.
49734 2010-06-21 Andreas Schwab <schwab@redhat.com>
49736 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49737 Restore proper fallback handling.
49739 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49742 * posix/group_member.c (__group_member): Correct checking loop.
49744 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49745 OOM in getpwuid_r correctly. Return error number when the caller
49746 should return, otherwise -1.
49747 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49748 call returning > 0 value.
49749 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49751 2010-06-07 Andreas Schwab <schwab@redhat.com>
49753 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49754 libc_nonshared.a from targets in modules-names.
49756 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49758 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49761 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49763 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49764 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49768 2010-06-02 Andreas Schwab <schwab@redhat.com>
49770 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49772 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49774 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49777 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49780 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49781 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49783 2010-06-14 Roland McGrath <roland@redhat.com>
49785 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49787 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49789 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49790 __REDIRECT followed by __THROW.
49791 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49792 * posix/getopt.h (getopt): Likewise.
49794 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49796 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49797 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49798 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49800 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49801 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49803 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49805 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49807 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49811 Properly check family and model.
49813 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49815 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49817 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49819 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49821 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49823 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49826 2010-05-19 Andreas Schwab <schwab@redhat.com>
49828 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49831 2010-05-21 Andreas Schwab <schwab@redhat.com>
49833 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49834 and internal_recvmmsg.
49835 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49836 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49837 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49838 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49840 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49841 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49842 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49844 2010-05-20 Andreas Schwab <schwab@redhat.com>
49846 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49848 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49850 POWER7 optimizations.
49851 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49852 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49854 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49856 * version.h: Update for 2.13 development version.
49858 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49860 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49861 exceptions. Return 0.
49863 2010-05-07 Roland McGrath <roland@redhat.com>
49865 * elf/ldconfig.c (main): Add a const.
49867 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49869 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49870 (args_options): Add no-idn option.
49871 (ahosts_keys_int): Add idn_flags to ai_flags.
49872 (parse_option): Handle 'i' option to clear idn_flags.
49874 * malloc/malloc.c (_int_free): Possible race in the most recently
49875 added check. Only act on the data if no current modification
49878 See ChangeLog.17 for earlier changes.