1 2014-08-27 Mark Wielaard <mjw@redhat.com>
4 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5 to call set_thread_area instead of hand written asm.
6 (__NR_set_thread_area): Removed define.
7 (TLS_FLAG_WRITABLE): Likewise.
8 (__ASSUME_SET_THREAD_AREA): Remove check.
9 (TLS_EBX_ARG): Remove define.
10 (TLS_LOAD_EBX): Likewise.
12 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14 Simplify atomicity of socket creation in bind.
16 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
17 looking up the name after linking the file.
19 2014-08-27 Allan McRae <allan@archlinux.org>
21 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23 2014-08-26 Florian Weimer <fweimer@redhat.com>
26 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27 trans_compare, open_translit, __gconv_translit_find):
28 Remove module loading code.
30 2014-08-26 Allan McRae <allan@archlinux.org>
32 * po/vi.po: Update Vietnamese translation from translation project.
34 * po/uk.po: Update Ukrainian translation from translation project.
36 * po/fr.po: Update French translation from translation project.
38 * po/ru.po: Update Russian translation from translation project.
40 * po/pl.po: Update Polish translation from translation project.
42 * po/cs.po: Update Czech translation from translation project.
44 * po/de.po: Update German translation from translation project.
46 * po/bg.po: Update Bulgarian translation from translation project.
48 * po/sv.po: Update Sweedish translation from translation project.
50 * po/nl.po: Update Dutch translation from translation project.
52 * po/es.po: Update Spanish translation from translation project.
54 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
58 * catgets/Makefile (CPPFLAGS-gencat): Remove.
59 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
60 (CPPFLAGS-iconvconfig): Likewise.
61 * timezone/Makefile (CPPFLAGS-zic): Likewise.
63 * include/libc-symbols.h: Remove unnecessary check for
65 * nptl/pthreadP.h: Likewise.
66 * sysdeps/aarch64/setjmp.S: Likewise.
67 * sysdeps/alpha/setjmp.S: Likewise.
68 * sysdeps/arm/sysdep.h: Likewise.
69 * sysdeps/i386/setjmp.S: Likewise.
70 * sysdeps/m68k/setjmp.c: Likewise.
71 * sysdeps/posix/getcwd.c: Likewise.
72 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
73 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
74 * sysdeps/s390/s390-32/setjmp.S: Likewise.
75 * sysdeps/s390/s390-64/setjmp.S: Likewise.
76 * sysdeps/sh/sh3/setjmp.S: Likewise.
77 * sysdeps/sh/sh4/setjmp.S: Likewise.
78 * sysdeps/unix/alpha/sysdep.h: Likewise.
79 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
80 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
82 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92 * sysdeps/x86_64/setjmp.S: Likewise.
94 2014-08-13 Joseph Myers <joseph@codesourcery.com>
97 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
99 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
100 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
102 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
104 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
107 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
108 and __x86_64__ when disabling x87 inline functions.
110 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
113 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
114 asm statement with __cpuid_count.
116 2014-08-12 Mike Frysinger <vapier@gentoo.org>
118 * configure.ac: Change __ehdr_start code to dereference the struct.
119 Run readelf on the output to look for relocations.
120 * configure: Regenerated.
122 2014-08-12 Joseph Myers <joseph@codesourcery.com>
125 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
127 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
129 2014-08-12 Roland McGrath <roland@hack.frob.com>
131 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
133 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
136 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
137 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
139 2014-08-12 Sean Anderson <seanga2@gmail.com>
141 * malloc/malloc.c: Fix typo in comment.
143 2014-08-09 Allan McRae <allan@archlinux.org>
145 * Regenerate libc.po.
147 2014-08-08 Mike Frysinger <vapier@gentoo.org>
149 * intl/tst-gettext2.sh: Check every lang file for creation.
151 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
153 * sysdeps/aarch64/fpu/math_private.h
154 (libc_feholdsetround_noex_aarch64_ctx): New function.
156 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
158 * sysdeps/arm/armv6/strcpy.S (strcpy):
159 Fix performance issue in misaligned cases.
161 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
164 Move definition from termios.h.
165 (struct termio): Likewise.
166 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
167 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
168 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
169 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
171 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
172 Move definition to ioctl-types.h
173 (struct termio): Likewise.
174 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
175 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
176 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
177 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
180 2014-08-05 Richard Henderson <rth@redhat.com>
182 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
184 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
186 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
188 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
189 Protect libm symbols with IS_IN_libm.
191 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
193 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
195 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
197 2014-08-04 Will Newton <will.newton@linaro.org>
199 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
202 2014-08-04 Mike Frysinger <vapier@gentoo.org>
204 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
205 variants for each function.
207 2014-08-04 Roland McGrath <roland@hack.frob.com>
209 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
211 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
212 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
214 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
215 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
216 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
217 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
218 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
219 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
220 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
221 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
222 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
223 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
225 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
226 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
227 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
228 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
229 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
231 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
233 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
235 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
237 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
238 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
239 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
240 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
241 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
242 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
243 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
244 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
245 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
246 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
247 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
248 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
249 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
250 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
251 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
252 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
253 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
254 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
255 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
256 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
257 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
258 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
259 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
260 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
261 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
262 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
263 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
264 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
265 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
266 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
268 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
269 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
271 2014-08-04 Roland McGrath <roland@hack.frob.com>
273 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
274 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
275 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
276 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
277 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
278 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
280 2014-08-04 Roland McGrath <roland@hack.frob.com>
282 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
283 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
284 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
285 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
287 2014-08-04 Roland McGrath <roland@hack.frob.com>
289 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
290 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
291 (__libc_vfork): Define function under this name.
292 (__vfork): Define as an alias.
293 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
294 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
296 2014-08-04 Roland McGrath <roland@hack.frob.com>
298 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
299 that was previously under [RESET_PID].
300 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
302 2014-08-04 Andreas Schwab <schwab@suse.de>
304 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
306 2014-08-03 Mike Frysinger <vapier@gentoo.org>
308 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
311 2014-08-01 Roland McGrath <roland@hack.frob.com>
313 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
315 2014-08-01 Richard Henderon <rth@redhat.com>
317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
318 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
319 typo in exact zero test.
320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
321 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
324 2014-08-01 Roland McGrath <roland@hack.frob.com>
326 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
327 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
328 * sysdeps/arm/sysdep.h: ... here.
329 [!__ASSEMBLER__]: Include <stdint.h>.
331 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
333 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
334 (HAVE_WCTYPE_H): Likewise.
335 (HAVE_ISWCTYPE): Likewise.
336 (ENABLE_NLS): Likewise.
337 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
338 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
340 * posix/regex_internal.c: Check if DEBUG is defined and is
343 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
344 (HAVE_MBSRTOWCS): Likewise.
345 * posix/fnmatch.c: Include string.h unconditionally.
347 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
349 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
352 2014-07-31 Roland McGrath <roland@hack.frob.com>
354 * sysdeps/generic/safe-fatal.h: New file.
355 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
356 * nptl/forward.c: Include it.
357 (__pthread_unwind): Use __safe_fatal as default action, rather
358 than a bogus use of INTERNAL_SYSCALL that could never work.
360 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
361 * configure.ac (libc_cv_builtin_trap): New test.
362 * configure: Regenerated.
363 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
364 (ABORT_INSTRUCTION): Define using __builtin_trap.
366 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
367 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
368 * sysdeps/nptl/nptl-signals.h: New file.
369 * nptl/pthreadP.h: Include <nptl-signals.h>.
371 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
373 * sysdeps/s390/s390-64/utf16-utf32-z9.c
374 (ONE_DIRECTION): Define.
375 * sysdeps/s390/s390-64/utf8-utf16-z9.c
376 (ONE_DIRECTION): Define.
377 * sysdeps/s390/s390-64/utf8-utf32-z9.c
378 (ONE_DIRECTION): Define.
380 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
382 * sysdeps/s390/Makefile: Delete file.
383 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
384 * sysdeps/s390/__longjmp.c: Delete file.
385 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
386 Remove fields __flags and __reserved.
387 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
389 * sysdeps/s390/rtld-__longjmp.c: Delete file.
390 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
391 * sysdeps/s390/rtld-setjmp.S: Likewise.
392 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
393 * sysdeps/s390/s390-32/__longjmp.c: ... here.
394 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
395 * sysdeps/s390/s390-32/setjmp.S: ... here.
397 (__sigsetjmp): Remove setting __flags field.
398 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
399 * sysdeps/s390/s390-64/__longjmp.c: ... here.
400 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
401 * sysdeps/s390/s390-64/setjmp.S: ... here.
403 (__sigsetjmp): Remove setting __flags field.
404 * sysdeps/s390/setjmp.S: Delete file.
405 * sysdeps/s390/sigjmp.c: Likewise.
406 * sysdeps/s390/v1-longjmp.c: Likewise.
407 * sysdeps/s390/v1-setjmp.h: Likewise.
408 * sysdeps/s390/v1-sigjmp.c: Likewise.
409 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
410 Remove v1-longjmp_chk.
411 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
412 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
413 Include debug/longjmp_chk.c and add versioning.
414 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
415 Include nptl/pt-longjmp.c and add versioning.
416 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
417 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
419 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
421 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
422 (__getcontext): Remove setting __flags field.
424 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
425 Don't restore upper high grps.
426 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
428 (__swapcontext): Remove setting uc_flags field.
429 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
431 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
433 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
435 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
436 (__getcontext): Remove setting __flags field.
438 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
439 (__swapcontext): Remove setting uc_flags field.
440 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
441 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
442 Remove fields uc_high_gprs and __reserved.
443 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
444 New file with reverted content.
445 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
446 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
448 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
451 2014-07-31 Andreas Schwab <schwab@suse.de>
453 * config.h.in (HAVE_IFUNC): Define to 0.
454 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
457 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
460 memmove-avx-unaligned, memcpy-avx-unaligned and
461 mempcpy-avx-unaligned.
462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
463 Add tests for AVX memcpy functions.
464 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
465 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
467 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
468 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
470 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
471 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
473 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
474 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
475 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
477 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
480 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
483 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
486 * manual/llio.texi: Add section about open file description locks.
487 * manual/examples/ofdlocks.c: Example of open file description
489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
490 F_OFD_SETLK, and F_OFD_SETLKW.
492 2014-07-23 Allan McRae <allan@archlinux.org>
494 * po/es.po: Update Spanish translation from translation project.
496 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
498 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
500 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
503 * sysdeps/arm/dl-machine.h (elf_machine_rela)
504 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
505 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
507 2014-07-17 Joseph Myers <joseph@codesourcery.com>
510 * math/fesetenv.c (__fesetenv)
511 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
512 * math/feupdateenv.c (__feupdateenv)
513 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
515 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
516 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
517 (__ASSUME_SOCKETCALL): Do not define.
519 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
520 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
521 (__ASSUME_SOCKETCALL): Do not define.
522 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
523 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
524 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
525 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
526 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
527 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
528 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
529 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
531 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
532 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
533 (__ASSUME_SOCKETCALL): Do not define.
534 (__ASSUME_IPC64): Define unconditionally.
535 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
536 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
537 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
538 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
539 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
540 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
541 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
544 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
545 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
546 (__ASSUME_SOCKETCALL): Do not define.
547 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
548 (__ASSUME_FUTEX_LOCK_PI): Likewise.
549 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
550 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
551 (__ASSUME_REQUEUE_PI): Define unconditionally.
552 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
553 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
554 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
555 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
556 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
557 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
559 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
560 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
561 (__ASSUME_SOCKETCALL): Do not define.
562 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
563 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
564 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
565 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
566 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
567 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
570 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
571 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
572 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
573 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
574 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
575 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
576 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
577 (__ASSUME_GETCPU_SYSCALL): Likewise.
579 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
580 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
581 cases for individual architectures.
582 * sysdeps/gnu/configure: Regenerated.
583 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
584 LIBC_SLIBDIR_RTLDDIR.
585 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
586 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
587 LIBC_SLIBDIR_RTLDDIR.
588 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
590 LIBC_SLIBDIR_RTLDDIR.
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
593 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
594 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
596 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
597 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
599 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
600 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
601 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
602 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
604 * sysdeps/aarch64/shlib-versions: Move to ...
605 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
606 * sysdeps/alpha/shlib-versions: Move to ...
607 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
608 * sysdeps/arm/shlib-versions: Move to ...
609 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
610 * sysdeps/hppa/shlib-versions: Move all contents except for
611 libgcc_s entry to ...
612 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
614 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
615 * sysdeps/ia64/shlib-versions: Move to ...
616 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
618 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
619 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
620 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
621 * sysdeps/microblaze/shlib-versions: Move to ...
622 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
623 * sysdeps/mips/shlib-versions: Move to ...
624 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
626 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
627 * sysdeps/tile/shlib-versions: Move to ...
628 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
629 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
631 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
632 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
634 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
636 2014-07-17 Will Newton <will.newton@linaro.org>
638 * sysdeps/arm/bits/atomic.h
639 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
640 (__arch_compare_and_exchange_bool_16_int): Likewise.
641 (__arch_compare_and_exchange_bool_64_int): Likewise.
643 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
646 2014-07-16 Roland McGrath <roland@hack.frob.com>
648 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
649 just Linux configurations. Test empirically that the compiler sets
650 __ARM_EABI__, rather than using the tuple to decide.
651 * sysdeps/arm/preconfigure: Regenerated.
652 * sysdeps/unix/sysv/linux/arm/configure: File removed.
653 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
654 contents appended ...
655 * sysdeps/arm/configure.ac: ... here.
656 * sysdeps/arm/configure: Regenerated.
658 2014-07-15 Roland McGrath <roland@hack.frob.com>
660 * nptl/pthread_kill.c: New file.
661 * nptl/pthread_sigmask.c: New file.
662 * nptl/pthread_sigqueue.c: New file.
664 * sysdeps/nptl/lowlevellock.h: New file.
665 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
666 * sysdeps/nptl/lowlevellock-futex.h: New file.
668 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
669 Remove dead declarations.
671 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
673 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
674 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
676 * sysdeps/x86_64/configure.ac: Likewise.
677 * sysdeps/i386/configure: Regenerated.
678 * sysdeps/x86_64/configure: Likewise.
679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
680 memset-avx2 only if config-cflags-avx2 is yes.
681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
682 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
684 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
685 only if HAVE_AVX2_SUPPORT is defined.
686 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
688 2014-07-14 Alan Modra <amodra@gmail.com>
691 * elf/elf.h (DT_PPC64_NUM): Correct value.
692 * NEWS: Add to fixed bug list.
694 2014-07-13 Jim Meyering <meyering@fb.com>
697 regex: don't deref NULL upon heap allocation failure
698 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
699 failure in one more place.
700 To trigger the segfault, configure grep -with-included-regex,
701 build it, and run these commands:
702 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
704 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
706 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
708 2014-07-11 Richard Henderson <rth@redhat.com>
710 * sysdeps/aarch64/libm-test-ulps: Update.
712 2014-07-10 Florian Weimer <fweimer@redhat.com>
715 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
716 * nptl/allocatestack.c (__nptl_setxid_error): New function.
717 (__nptl_setxid): Initialize error member. Call
719 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
720 * nptl/descr.h (struct xid_command): Add error member.
721 * nptl/tst-setuid3.c: New file.
722 * nptl/Makefile (tests): Add it.
724 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
728 (__lll_trylock): Use __lll_base_trylock.
729 (__lll_cond_trylock): Likewise.
731 2014-07-10 Roland McGrath <roland@hack.frob.com>
733 * nptl/pthread_create.c (start_thread): Use atomic_or and
734 lll_futex_wake directly rather than lll_robust_dead.
735 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
736 (lll_robust_dead): Macro removed.
737 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
738 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
739 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
740 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
741 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
742 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
743 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
744 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
745 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
746 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
747 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
748 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
749 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
750 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
753 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
754 Use atomic_compare_and_exchange_val_acq directly rather than
756 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
757 (__lll_robust_trylock, lll_robust_trylock): Removed.
758 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
759 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
760 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
761 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
762 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
763 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
764 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
765 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
766 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
767 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
768 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
769 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
770 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
771 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
773 2014-07-02 Florian Weimer <fweimer@redhat.com>
775 * manual/locale.texi (Locale Names): New section documenting
776 locale name syntax. Adjust menu and node chaining accordingly.
777 (Choosing Locale): Reference Locale Names, Locale Categories.
778 Mention setting LC_ALL=C. Reflect that name syntax is now
780 (Locale Categories): New section title. Reference Locale Names.
781 LC_ALL is an environment variable, but not a category.
782 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
783 description, now in Locale Name. Reference that section. Locale
784 name syntax is now documented.
786 2014-07-02 Florian Weimer <fweimer@redhat.com>
789 * locale/findlocale.c (name_present, valid_locale_name): New
791 (_nl_find_locale): Use the loc_name variable to store name
792 candidates. Call name_present and valid_locale_name to check and
793 validate locale names. Return an error if the locale is invalid.
795 2014-07-02 Florian Weimer <fweimer@redhat.com>
797 * locale/setlocale.c (setlocale): Use strdup for allocating
800 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
803 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
804 [!_LIBC && ENABLE_NLS]: Include gettext.h.
805 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
807 [USE_UNLOCKED_IO]: Include unlocked-io.h.
808 [!_LIBC]: Include code for Windows and Cygwin.
809 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
810 Include prototype for int strerror_r.
811 [!_LIBC] (is_open): New function.
812 (flush_stdout): New function.
813 (print_errno_message): Use it.
815 (error_at_line): Likewise.
816 (error_tail) Add function attribute macros. Use
819 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
821 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
823 * io/ftw.c: Include sys/param.h unconditionally.
825 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
828 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
830 (freecache): New function to free CACHE on exit.
832 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
835 2014-07-09 David S. Miller <davem@davemloft.net>
837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
839 * sysdeps/sparc/nptl/internaltypes.h: Delete.
840 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
841 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
842 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
843 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
844 * sysdeps/sparc/nptl/sem_init.c: Likewise.
845 * sysdeps/sparc/nptl/sem_post.c: Likewise.
846 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
847 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
848 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
849 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
850 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
851 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
853 2014-07-09 Andreas Schwab <schwab@suse.de>
855 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
857 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
860 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
862 2014-07-09 Will Newton <will.newton@linaro.org>
864 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
865 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
866 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
867 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
868 * sysdeps/hppa/start.S (_start): Likewise.
870 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
872 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
874 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
877 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
879 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
880 after checking that it is non-NULL.
882 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
884 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
886 * sysdeps/powerpc/memmove.c: Remove file.
887 * sysdeps/powerpc/powerpc32/power4/memcopy.h
888 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
889 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
890 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
891 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
892 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
893 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
894 string memmove instead of removed powerpc one.
896 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
897 [weak_alias]: Fix compiler warning due trailing data.
898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
899 [weak_alias]: Likewise.
900 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
901 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
904 (__libc_ifunc_impl_list): Add memmove functions.
906 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
908 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
910 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
912 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
914 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
916 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
918 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
920 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
922 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
924 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
926 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
928 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
930 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
932 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
934 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
936 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
938 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
940 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
943 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
946 to avoid alignment traps in non-cacheable memory.
947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
951 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
952 file: multiarch power7 memmove.
953 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
954 multiarch default memmove.
955 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
956 multiarch memove for powerpc32/power4.
958 * string/bcopy.c: Use full path to include memmove.c.
959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
961 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
963 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
966 and memmove implementations.
967 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
968 optimized multiarch memmove for POWER7/powerpc64.
969 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
970 default multiarch memmove for powerpc64.
971 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
972 multiarch for powerpc64.
973 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
974 for POWER7/powerpc64.
975 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
976 memmove for POWER7/powerpc64.
978 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
981 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
982 __ELF_NATIVE_CLASS equal to 64.
984 2014-07-07 Roland McGrath <roland@hack.frob.com>
986 * sysdeps/nptl/lowlevellock.h: File removed.
988 * NEWS: NPTL is no longer an add-on!
989 * nptl/internaltypes.h: Moved ...
990 * sysdeps/nptl/internaltypes.h: ... here.
991 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
992 * sysdeps/nptl/fork.c: Likewise.
993 * sysdeps/nptl/gai_misc.h: Likewise.
994 * sysdeps/nptl/librt-cancellation.c: Likewise.
995 * sysdeps/nptl/jmp-unwind.c: Likewise.
996 * sysdeps/nptl/setxid.h: Likewise.
997 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
998 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
999 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1000 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1001 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1002 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1003 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1004 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1005 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1006 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1007 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1008 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1009 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1010 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1011 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1012 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1013 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1014 * nptl/Makeconfig: Moved ...
1015 * sysdeps/nptl/Makeconfig: ... here.
1016 * nptl/configure: File removed.
1017 * nptl/ANNOUNCE: File removed.
1018 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1019 * sysdeps/unix/sysv/linux/configure: Regenerated.
1021 * nptl/Makefile (routines): Add libc_pthread_init,
1022 libc_multiple_threads, register-atfork and unregister-atfork.
1023 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1024 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1025 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1026 pthread-pi-defines.sym, structsem.sym.
1027 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1028 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1029 [$(subdir) = nptl] (tests): Add tst-setgetname.
1030 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1031 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1032 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1033 [!LIBC_SIGACTION]: Remove aliases.
1034 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1035 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1036 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1037 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1038 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1039 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1040 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1043 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1044 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1045 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1046 __libc_allocate_rtsig_private.
1047 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1048 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1049 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1050 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1051 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1052 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1053 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1054 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1055 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1056 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1057 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1058 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1059 * nptl/internaltypes.h: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1061 * sysdeps/nptl/jmp-unwind.c: ... here.
1062 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1063 * nptl/libc-lowlevellock.c: ... here.
1064 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1065 * nptl/libc_multiple_threads.c: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1067 * nptl/libc_pthread_init.c: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1069 * nptl/lowlevelbarrier.sym: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1071 * nptl/lowlevelcond.sym: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1073 * nptl/lowlevellock.c: ... here.
1074 * nptl/lowlevellock.h: Moved ...
1075 * sysdeps/nptl/lowlevellock.h: ... here.
1076 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1077 * nptl/lowlevelrobustlock.c: ... here.
1078 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1079 * nptl/lowlevelrobustlock.sym: ... here.
1080 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1081 * nptl/lowlevelrwlock.sym: ... here.
1082 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1083 * nptl/pt-fork.c: ... here.
1084 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1085 * nptl/pthread-pi-defines.sym: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1087 * nptl/pthread_attr_getaffinity.c: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1089 * nptl/pthread_attr_setaffinity.c: ... here.
1090 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1091 * nptl/pthread_mutex_cond_lock.c: ... here.
1092 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1094 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1095 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1096 * nptl/pthread_once.c: ... here, replacing old file.
1097 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1098 * nptl/pthread_yield.c: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1100 * nptl/register-atfork.c: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1102 * nptl/sem_post.c: ... here.
1103 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1104 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1105 * nptl/sem_timedwait.c: ... here.
1106 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1107 * nptl/sem_trywait.c: ... here.
1108 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1109 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1110 * nptl/sem_wait.c: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1112 * nptl/structsem.sym: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1114 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1115 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1116 * nptl/unregister-atfork.c: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1118 * nptl/unwindbuf.sym: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1120 * sysdeps/nptl/fork.c: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1122 * sysdeps/nptl/fork.h: ... here.
1123 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1124 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1125 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1126 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1127 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1128 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1129 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1130 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1131 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1132 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1133 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1134 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1135 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1136 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1137 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1138 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1139 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1140 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1141 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1142 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1143 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1144 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1145 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1146 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1147 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1148 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1149 * sysdeps/unix/sysv/linux/raise.c: ... here.
1150 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1151 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1152 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1153 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1154 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1155 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1156 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1157 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1158 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1159 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1160 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1161 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1162 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1163 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1164 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1166 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1168 * sysdeps/generic/memcopy.h: Add comment for
1169 MEMCPY_OK_FOR_FWD_MEMMOVE.
1171 2014-07-04 Will Newton <will.newton@linaro.org>
1173 * string/memchr.c: Merge from gnulib.
1174 [_LIBC]: Remove conditionals.
1175 (__ptr_t): Remove define.
1176 (LONG_MAX_32_BITS): Likewise.
1177 (LONG_MAX): Likewise.
1178 (MEMCHR): Use ANSI prototype and optimize algorithm.
1180 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1182 2014-07-03 Roland McGrath <roland@hack.frob.com>
1184 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1185 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1187 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1188 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1189 in a bare environment with no <stdlib.h> installed.
1190 * sysdeps/nptl/configure: Regenerated.
1192 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1194 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1195 AC_EGREP_CPP for kernel header checks, so they only succeed if
1196 including <linux/version.h> actually works right.
1197 * sysdeps/unix/sysv/linux/configure: Regenerated.
1199 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1200 value so it's not diagnosed as unused.
1202 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1203 thing) with "ifeq ($(subdir),rt)".
1205 2014-07-03 Richard Henderson <rth@redhat.com>
1207 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1208 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1209 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1211 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1212 (math_force_eval): New.
1214 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1215 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1217 * sysdeps/alpha/fpu/s_round.c: Remove file.
1218 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1220 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1221 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1222 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1223 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1224 (_dl_start, print_statistics): Likewise.
1225 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1226 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1228 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1229 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1230 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1231 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1232 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1233 (HP_SMALL_TIMING_AVAIL): Define.
1234 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1236 (HP_SMALL_TIMING_AVAIL): Define.
1237 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1238 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1240 * sysdeps/aarch64/hp-timing.h: New file.
1242 * sysdeps/generic/hp-timing.h: Remove dead comment.
1243 * sysdeps/generic/hp-timing-common.h: New file.
1244 * sysdeps/alpha/hp-timing.h: Include it.
1245 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1246 * sysdeps/i386/i686/hp-timing.h: Likewise.
1247 * sysdeps/ia64/hp-timing.h: Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1249 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1250 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1251 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1252 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1253 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1256 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1257 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1258 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1259 * elf/rtld.c (_dl_start_final): Likewise.
1260 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1261 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1262 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1263 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1264 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1265 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1266 (HP_TIMING_DIFF_INIT): Remove.
1267 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1268 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1269 (HP_TIMING_DIFF_INIT): Remove.
1270 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1271 * sysdeps/i386/i686/hp-timing.c: Remove file.
1272 * sysdeps/x86_64/hp-timing.c: Remove file.
1273 * sysdeps/ia64/hp-timing.c: Remove file.
1274 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1275 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1276 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1277 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1279 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1280 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1281 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1282 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1283 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1284 (HP_TIMING_ACCUM): Remove.
1285 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1286 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1287 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1289 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1290 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1291 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1292 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1293 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1294 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1295 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1296 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1298 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1300 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1302 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1304 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1306 Sync up with gettext.
1307 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1308 [_MSC_VER]: Include malloc.h
1309 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1310 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1311 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1312 TEMP_FAILURE_RETRY. Cast return of alloca.
1313 [!_LIBC] Call gl_rwlock_init.
1314 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1316 2014-07-02 Roland McGrath <roland@hack.frob.com>
1318 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1319 before checking its value.
1321 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1323 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1325 * debug/memcpy_chk.c: Don't include pagecopy.h.
1326 * debug/mempcpy_chk.c: Likewise.
1327 * string/memcpy.c: Likewise.
1328 * string/memmove.c: Likewise.
1329 * sysdeps/powerpc/memmove.c: Likewise.
1330 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1331 definition of PAGE_COPY_FWD_MAYBE here...
1332 * sysdeps/generic/pagecopy.h: ... from here.
1333 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1335 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1336 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1342 (__libc_ifunc_impl_list): Likewise.
1343 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1344 multiarch strcat for PPC64.
1345 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1346 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1348 2014-07-02 Roland McGrath <roland@hack.frob.com>
1350 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1352 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1354 * intl/loadmsgcat.c: Remove declaration of
1355 get_sysdep_segment_value.
1356 (get_sysdep_segment_value): Use ISO C style.
1357 (_nl_load_domain): Use ISO C style. Get rid of redundant
1358 semicolon. Fix typo and formatting in comment.
1359 (_nl_unload_domain): Use ISO C style.
1361 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1363 2014-07-02 Will Newton <will.newton@linaro.org>
1365 * malloc/obstack.c: Merge from gnulib master.
1366 [HAVE_CONFIG_H]: Remove conditional code.
1367 [!_LIBC]: Include config.h.
1368 [!ELIDE_CODE]: Don't include inttypes.h, include
1369 stdint.h unconditionally.
1370 (print_and_abort): Mark as _Noreturn.
1371 (_obstack_allocated_p): Mark as __attribute_pure__.
1372 (obstack_free): Rename to __obstack_free.
1373 [!__attribute__]: Remove conditional code.
1374 * malloc/obstack.h: Merge from gnulib master.
1375 [__cplusplus]: Move conditional down.
1376 [!__attribute_pure__]: Define __attribute_pure__ here
1377 if it is not already defined.
1378 (_obstack_memory_used): Mark as __attribute_pure__.
1379 [!__obstack_free]: Define as obstack_free.
1380 [__GNUC__]: Remove check for ancient NeXT gcc.
1382 2014-07-02 Will Newton <will.newton@linaro.org>
1383 Paul Eggert <eggert@cs.ucla.edu>
1385 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1387 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1389 * resolv/gethnamaddr.c: Add comment warning that the file is
1392 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1394 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1397 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1398 entry for aio_cancel and aio_cancel64.
1399 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1400 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1401 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1402 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1403 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1404 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1405 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1406 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1407 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1408 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1409 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1410 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1411 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1413 2014-07-01 Roland McGrath <roland@hack.frob.com>
1415 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1416 * nptl/pthread_mutex_lock.c: Likewise.
1417 * nptl/pthread_mutex_timedlock.c: Likewise.
1418 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1420 2014-07-01 Richard henderson <rth@redhat.com>
1422 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1423 (__isnan, __isnanl): Remove.
1424 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1426 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1428 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1430 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1432 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1434 * resolv/nss_dns/dns-host.c (getanswer_r)
1435 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1437 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1440 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1442 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1443 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1445 2014-07-01 Roland McGrath <roland@hack.frob.com>
1447 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1448 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1450 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1451 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1453 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1454 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1456 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1457 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1459 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1460 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1461 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1462 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1464 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1465 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1466 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1470 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1472 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1473 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1479 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1481 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1482 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1483 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1484 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1485 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1486 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1487 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1493 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1496 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1497 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1498 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1499 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1500 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1502 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1504 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1505 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1506 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1509 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1513 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1515 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1516 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1518 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1520 * sysdeps/arm/libm-test-ulps: Regenerated.
1522 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1523 Roland McGrath <roland@hack.frob.com>
1525 * test-skeleton.c (signal_handler): Kill the whole process group
1526 before killing the child individually.
1527 (main): Report any failure on `setpgid'.
1529 2014-06-30 Roland McGrath <roland@hack.frob.com>
1531 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1532 from _TLS_H to _ARM_NPTL_TLS_H.
1533 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1534 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1536 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1539 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1540 (__expm1l): Return argument unchanged when small but not
1543 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1545 (_FP_UNPACK_RAW_1_P): Likewise.
1546 (_FP_PACK_RAW_1): Likewise.
1547 (_FP_PACK_RAW_1_P): Likewise.
1548 (_FP_MUL_MEAT_1_wide): Likewise.
1549 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1550 (_FP_MUL_MEAT_1_hard): Likewise.
1551 (_FP_DIV_MEAT_1_imm): Likewise.
1552 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1553 (_FP_DIV_MEAT_1_udiv): Likewise.
1554 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1555 (_FP_UNPACK_RAW_2): Likewise.
1556 (_FP_UNPACK_RAW_2_P): Likewise.
1557 (_FP_PACK_RAW_2): Likewise.
1558 (_FP_PACK_RAW_2_P): Likewise.
1559 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1560 (_FP_MUL_MEAT_2_wide): Likewise.
1561 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1562 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1563 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1564 (_FP_MUL_MEAT_2_gmp): Likewise.
1565 (_FP_DIV_MEAT_2_udiv): Likewise.
1566 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1567 (_FP_FRAC_SRL_4): Likewise.
1568 (_FP_FRAC_SRST_4): Likewise.
1569 (_FP_FRAC_SRS_4): Likewise.
1570 (_FP_UNPACK_RAW_4): Likewise.
1571 (_FP_UNPACK_RAW_4_P): Likewise.
1572 (_FP_PACK_RAW_4): Likewise.
1573 (_FP_PACK_RAW_4_P): Likewise.
1574 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1575 (_FP_MUL_MEAT_4_wide): Likewise.
1576 (_FP_MUL_MEAT_4_gmp): Likewise.
1577 (umul_ppppmnnn): Likewise.
1578 (_FP_DIV_MEAT_4_udiv): Likewise.
1579 (__FP_FRAC_ADD_4): Likewise.
1580 (__FP_FRAC_SUB_3): Likewise.
1581 (__FP_FRAC_SUB_4): Likewise.
1582 (__FP_FRAC_DEC_3): Likewise.
1583 (__FP_FRAC_DEC_4): Likewise.
1584 (__FP_FRAC_ADDI_4): Likewise.
1585 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1586 (_FP_FRAC_SRL_8): Likewise.
1587 (_FP_FRAC_SRS_8): Likewise.
1589 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1591 (FP_UNPACK_RAW_EP): Likewise.
1592 (FP_PACK_RAW_E): Likewise.
1593 (FP_PACK_RAW_EP): Likewise.
1594 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1595 (_FP_ISSIGNAN): Likewise.
1596 (_FP_ADD_INTERNAL): Likewise.
1597 (_FP_FMA): Likewise.
1598 (_FP_CMP): Likewise.
1599 (_FP_SQRT): Likewise.
1600 (_FP_TO_INT): Likewise.
1601 (_FP_FROM_INT): Likewise.
1602 (FP_EXTEND): Likewise.
1603 (_FP_DIV_MEAT_N_loop): Likewise.
1605 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1607 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1610 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1613 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1614 result with correct sign in case of exponents that produce
1615 overflow except for X very close to 1.
1617 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1619 mktime: merge #if/#ifdef usage from glibc
1620 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1621 as that works with both Glibc's and Gnulib's style.
1622 See thread starting at Siddhesh Poyarekar's bug report at:
1623 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1625 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1627 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1628 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1629 * sysdeps/tile/tilegx/memmove.c: Remove file.
1631 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1633 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1634 abi-name definition.
1635 * scripts/soversions.awk: Do not handle or generate ABI lines.
1636 * shlib-versions: Remove ABI entries.
1637 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1638 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1640 2014-06-27 Roland McGrath <roland@hack.frob.com>
1642 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1643 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1644 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1650 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1652 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1653 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1666 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1670 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1673 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1676 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1681 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1690 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1695 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1698 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1699 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1700 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1703 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1705 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1706 Identical file removed.
1707 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1709 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1711 Identical file removed.
1712 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1713 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1714 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1716 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1718 Identical file removed.
1719 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1720 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1721 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1722 Identical file removed.
1723 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1724 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1725 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1726 Identical file removed.
1727 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1728 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1729 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1730 Identical file removed.
1731 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1733 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1735 Identical file removed.
1736 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1738 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1739 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1740 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1741 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1742 Identical file removed.
1743 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1745 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1747 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1748 Identical file removed.
1749 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1751 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1753 Identical file removed.
1754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1756 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1757 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1758 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1760 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1763 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1765 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1767 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1768 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1769 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1770 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1771 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1773 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1776 * nscd/nscd.c (monitor_child): Return exit status of child
1777 instead of return value from wait syscall.
1779 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1781 * configure.ac (libc_commonpagesize): Remove variable.
1782 (libc_relro_required): Likewise.
1783 (libc_cv_z_relro): Remove configure test.
1784 * configure: Regenerated.
1785 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1787 (libc_relro_required): Likewise.
1788 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1789 (libc_relro_required): Likewise.
1790 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1791 (libc_relro_required): Likewise.
1792 * sysdeps/arm/preconfigure: Regenerated.
1793 * sysdeps/ia64/preconfigure: Remove file.
1794 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1796 (libc_relro_required): Likewise.
1800 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1801 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1802 recompute overflowing results in original rounding mode.
1803 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1804 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1805 recompute overflowing results in original rounding mode.
1806 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1807 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1808 recompute overflowing results in original rounding mode.
1809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1810 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1811 recompute overflowing results in original rounding mode.
1812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1813 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1814 recompute overflowing results in original rounding mode.
1815 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1816 (libc_feholdsetround_ctx): New macro.
1817 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1818 * sysdeps/i386/fpu/libm-test-ulps: Update.
1819 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1821 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1823 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1824 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1825 corresponding .cpsetup call.
1827 2014-06-26 Roland McGrath <roland@hack.frob.com>
1829 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1830 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1831 * sysdeps/arm/Makefile [$(subdir) = csu]
1832 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1833 (static-only-routines): Add aeabi_read_tp here.
1834 (shared-only-routines): Add libc-aeabi_read_tp here.
1835 (CFLAGS-libc-start.c): Add -fexceptions here.
1836 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1837 (sysdep_routines, static-only-routines, shared-only-routines):
1838 Don't add to these here.
1839 (CFLAGS-libc-start.c): Likewise.
1841 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1842 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1843 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1844 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1845 * sysdeps/arm/Makefile [$(subdir) = rt]
1846 (librt-sysdep_routines, librt-shared-only-routines):
1847 Append rt-aeabi_unwind_cpp_pr1 here.
1848 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1849 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1850 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1851 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1852 Append nptl-aeabi_unwind_cpp_pr1 here.
1853 (tests): Filter out tst-cleanupx4 here.
1854 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1855 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1856 Don't do those here.
1858 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1860 * scripts/list-sources.sh: Do not handle ports specially.
1862 2014-06-26 Roland McGrath <roland@hack.frob.com>
1864 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1865 * sysdeps/arm/feupdateenv.c: Likewise.
1867 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1869 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1871 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1872 trailing whitespace removed.
1873 * scripts/config.guess: Update to version 2014-03-23.
1874 * scripts/config.sub: Update to version 2014-05-01
1875 * scripts/install-sh: Update to version 2013-12-25.23.
1876 * scripts/move-if-change: Update from gnulib.
1878 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1880 * debug/memmove_chk.c: Remove pagecopy.h include.
1882 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1884 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1885 identical to gnulib mktime.
1887 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1889 * configure.ac: Do not test for machine being rs6000. Do not test
1891 * configure: Regenerated.
1893 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1895 * configure: Regenerated.
1896 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1897 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1898 Remove configure test.
1899 * sysdeps/arm/configure: Regenerated.
1900 * sysdeps/nptl/configure.ac: Do not check
1901 libc_cv_asm_cfi_directives.
1902 * sysdeps/nptl/configure: Regenerated.
1903 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1904 * sysdeps/x86_64/nptl/configure: Remove generated file.
1905 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1907 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1909 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1911 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1912 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1913 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1916 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1917 instead of whether it is defined.
1918 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1919 * sysdeps/hppa/dl-machine.h: Likewise.
1920 * sysdeps/ia64/dl-machine.h: Likewise.
1921 * sysdeps/m68k/dl-machine.h: Likewise.
1922 * sysdeps/microblaze/dl-machine.h: Likewise.
1923 * sysdeps/mips/dl-machine.: Likewise.
1924 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1925 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1926 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1927 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1928 * sysdeps/sh/dl-machine.h: Likewise.
1929 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1930 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1931 * sysdeps/tile/dl-machine.h: Likewise.
1932 * sysdeps/x86_64/dl-machine.h: Likewise.
1934 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1936 (verify_persistent_db): Likewise.
1938 2014-06-26 Roland McGrath <roland@hack.frob.com>
1940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1941 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1946 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1949 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1951 Identical file removed.
1952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1953 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1961 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1964 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1971 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1973 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1975 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1977 Identical file removed.
1978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1979 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1981 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1984 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1998 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2001 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2006 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2008 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2012 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2013 * sysdeps/unix/sysv/linux/s390/Versions
2014 (libpthread: GLIBC_2.19): New version set.
2015 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2016 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2017 (librt: GLIBC_2.3.3): New version set.
2018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2019 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2020 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2021 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2022 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2024 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2026 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2028 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2030 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2032 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2033 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2034 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2035 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2036 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2038 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2039 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2040 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2041 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2042 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2043 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2044 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2045 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2046 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2047 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2048 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2049 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2051 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2053 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2054 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2056 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2058 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2060 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2062 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2065 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2066 (__libc_vfork): Define the function under this name.
2067 [!NOT_IN_libc] (__vfork): Make this an alias.
2068 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2069 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2070 * sysdeps/unix/sysv/linux/s390/s390-64/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 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2075 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2076 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2077 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2078 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2080 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2081 code that was previously under [RESET_PID].
2082 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2083 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2084 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2086 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2087 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2088 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2089 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2090 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2091 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2092 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2093 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2094 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2095 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2098 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2102 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2103 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2104 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2105 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2106 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2107 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2108 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2110 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2112 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2114 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2115 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2116 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2117 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2118 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2119 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2120 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2122 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2123 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2124 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2125 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2126 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2128 2014-06-25 Roland McGrath <roland@hack.frob.com>
2130 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2131 that was previously under [RESET_PID].
2132 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2134 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2136 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2137 not undefine and redefine.
2138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2139 [O_CLOEXEC]: Make code unconditional.
2140 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2141 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2142 <kernel-features.h>.
2143 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2144 conditional variable definition.
2145 (shm_open) [O_CLOEXEC]: Make code unconditional.
2146 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2149 * configure.ac (USE_REGPARMS): Don't define here.
2150 * configure: Regenerated.
2151 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2152 * sysdeps/i386/configure: Regenerated.
2154 * nptl/createthread.c: Don't include kernel-features.h.
2155 * nptl/pthread_cancel.c: Likewise.
2156 * nptl/pthread_condattr_setclock.c: Likewise.
2157 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2158 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2159 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2160 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2161 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2162 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2163 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2164 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2165 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2166 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2167 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2168 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2169 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2170 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2171 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2172 * nscd/gai.c: Likewise.
2173 * nss/nss_db/db-open.c: Likewise.
2174 * sysdeps/generic/ldsodefs.h: Likewise.
2175 * sysdeps/sh/nptl/tls.h: Likewise.
2176 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2177 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2178 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2179 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2180 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2181 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2182 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2183 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2184 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2185 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2186 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2187 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2188 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2189 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2190 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2191 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2192 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2193 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2194 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2195 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2196 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2197 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2199 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2200 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2201 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2202 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2203 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2204 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2205 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2206 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2207 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2208 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2209 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2210 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2211 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2212 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2213 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2214 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2215 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2216 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2217 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2218 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2219 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2220 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2221 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2222 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2223 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2224 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2225 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2226 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2227 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2228 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2229 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2230 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2231 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2232 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2233 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2256 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2257 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2258 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2259 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2260 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2261 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2262 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2263 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2264 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2265 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2266 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2267 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2268 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2269 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2270 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2271 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2273 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2274 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2275 * sysdeps/unix/sysv/linux/system.c: Likewise.
2276 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2277 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2278 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2279 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2280 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2281 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2282 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2284 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2285 * configure: Regenerated.
2286 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2288 * configure.ac (base_machine): Do not set specially for particular
2290 * configure: Regenerated.
2291 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2292 settings from configure.ac.
2293 * sysdeps/i386/preconfigure: New file.
2294 * sysdeps/s390/preconfigure: Likewise.
2295 * sysdeps/sh/preconfigure: Likewise.
2296 * sysdeps/sparc/preconfigure: Likewise.
2298 2014-06-25 Roland McGrath <roland@hack.frob.com>
2300 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2301 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2302 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2303 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2304 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2305 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2306 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2307 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2308 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2309 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2310 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2311 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2312 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2313 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2314 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2315 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2316 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2317 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2318 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2320 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2321 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2322 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2323 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2324 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2325 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2326 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2327 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2328 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2329 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2330 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2331 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2332 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2333 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2334 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2335 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2336 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2337 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2338 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2339 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2340 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2341 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2342 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2343 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2344 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2345 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2346 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2347 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2348 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2349 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2350 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2351 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2352 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2353 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2354 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2355 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2356 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2357 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2360 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2365 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2373 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2382 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2385 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2390 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2394 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2396 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2398 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2401 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2409 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2413 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2418 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2430 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2432 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2434 * timezone/checktab.awk: Update from tzcode 2014e.
2435 * timezone/private.h: Likewise.
2436 * timezone/tzfile.h: Likewise.
2437 * timezone/zdump.c: Likewise.
2438 * timezone/zic.c: Likewise.
2440 * sysdeps/unix/sysv/linux/kernel-features.h
2441 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2443 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2444 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2445 Remove conditional code.
2447 2014-06-25 Will Newton <will.newton@linaro.org>
2449 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2450 (_dl_arm_cap_flags): Add HWCAP2 values.
2451 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2452 (_DL_HWCAP_COUNT): Increase to 37.
2453 (_DL_HWCAP_LAST): New define.
2454 (_DL_HWCAP2_LAST): New define.
2455 (_dl_procinfo): Add support for printing
2457 (_dl_string_hwcap): Use _dl_hwcap_string.
2459 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2463 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2465 * README: Do not mention ports directory.
2467 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2469 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2470 <kernel-features.h>.
2471 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2472 conditional variable definition.
2473 (__futimes): Update comment.
2474 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2475 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2478 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2479 arguments close to 0.
2480 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2482 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2484 * math/auto-libm-test-in: Add more tests of exp10.
2485 * math/auto-libm-test-out: Regenerated.
2486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2488 * sysdeps/unix/sysv/linux/kernel-features.h
2489 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2490 * sysdeps/unix/sysv/linux/readv.c: Do not include
2491 <kernel-features.h>.
2492 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2493 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2494 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2496 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2498 * sysdeps/unix/sysv/linux/writev.c: Do not include
2499 <kernel-features.h>.
2500 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2501 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2502 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2504 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2507 2014-06-25 Will Newton <will.newton@linaro.org>
2509 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2510 comment changes throughout the file. Remove checks
2511 for HAVE_*_H definitions that are not required.
2512 (__gen_tempname): Call abort if an unknown kind value is
2515 2014-06-25 Andreas Schwab <schwab@suse.de>
2518 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2519 scalbln, scalblnf, scalblnl in libc.
2521 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2524 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2525 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2526 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2528 2014-06-24 Roland McGrath <roland@hack.frob.com>
2530 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2531 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2532 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2533 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2535 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2536 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2538 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2539 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2540 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2541 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2542 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2543 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2544 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2545 * sysdeps/x86/bits/semaphore.h: ... here.
2546 * sysdeps/x86/nptl/elide.h: Moved ...
2547 * sysdeps/x86/elide.h: ... here.
2548 * sysdeps/x86_64/nptl/Implies: File removed.
2549 * sysdeps/i386/nptl/Implies: File removed.
2551 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2555 return the argument for normal arguments with exponent below -64.
2556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2558 * math/auto-libm-test-in: Add another test of expm1.
2559 * math/auto-libm-test-out: Regenerated.
2562 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2563 calling __erfcl for arguments at least 16.
2564 * math/auto-libm-test-in: Add more tests of erf.
2565 * math/auto-libm-test-out: Regenerated.
2567 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2568 individual architectures.
2569 * sysdeps/unix/sysv/linux/configure: Regenerated.
2570 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2571 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2572 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2573 (ldd_rewrite_script): Define variable.
2574 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2579 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2580 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2581 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2582 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2583 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2584 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2585 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2586 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2588 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2591 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2592 Rename member __data.d to __data.__elision_data.
2594 2014-06-24 Wilco <wdijkstr@arm.com>
2596 * NEWS: Add 16918 to fixed bug list.
2598 2014-06-24 Wilco <wdijkstr@arm.com>
2600 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2602 2014-06-24 Wilco <wdijkstr@arm.com>
2604 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2605 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2606 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2607 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2608 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2609 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2610 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2613 2014-06-24 Wilco <wdijkstr@arm.com>
2615 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2617 2014-06-24 Wilco <wdijkstr@arm.com>
2619 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2620 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2621 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2622 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2624 2014-06-24 Wilco <wdijkstr@arm.com>
2627 * sysdeps/arm/feupdateenv.c (feupdateenv):
2628 Rewrite to reduce FPSCR accesses and fix return value.
2630 2014-06-24 Wilco <wdijkstr@arm.com>
2632 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2633 Optimize to avoid unnecessary FPSCR writes.
2634 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2635 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2636 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2637 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2639 2014-06-24 Wilco <wdijkstr@arm.com>
2641 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2642 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2643 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2644 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2645 Call libc_fetestexcept_vfp.
2646 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2647 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2648 __SOFTFP__ ifdef so that they can be built for softfp.
2650 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2652 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2653 argument type signed char.
2655 * Makerules (check-abi): Dump diff of symlist if the test
2658 2014-06-23 Roland McGrath <roland@hack.frob.com>
2660 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2663 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2664 Remove unused variable ST.
2666 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2670 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2671 small arguments before calling __expm1.
2672 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2673 small arguments before calling __expm1f.
2674 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2675 small arguments before calling __expm1l.
2676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2678 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2679 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2680 spurious underflow for some cosh tests.
2681 * math/auto-libm-test-out: Regenerated.
2682 * sysdeps/i386/fpu/libm-test-ulps: Update.
2685 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2686 (__ieee754_y1): Set errno if return value overflows.
2687 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2688 (__ieee754_y1f): Set errno if return value overflows.
2689 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2690 (__ieee754_y1l): Set errno if return value overflows.
2691 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2692 (__ieee754_y1l): Set errno if return value overflows.
2693 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2694 * math/auto-libm-test-out: Regenerated.
2696 * math/gen-auto-libm-tests.c: Document use of
2697 ignore-zero-inf-sign.
2698 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2699 (input_flags): Add ignore-zero-inf-sign.
2700 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2701 * math/gen-libm-test.pl (generate_testfile): Handle
2702 ignore-zero-inf-sign.
2703 * math/auto-libm-test-in: Mark some cpow tests with
2704 ignore-zero-inf-sign and some with xfail-rounding.
2705 * math/auto-libm-test-out: Regenerated.
2706 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2707 * sysdeps/i386/fpu/libm-test-ulps: Update.
2708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2711 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2712 overflowing or underflowing operations take place with sign of
2714 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2715 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2716 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2717 (__ieee754_pow): Recompute overflowing and underflowing results in
2718 original rounding mode.
2719 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2720 (__powl_helper): Allow negative argument X and scale negated value
2721 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2722 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2723 overflowing or underflowing operations take place with sign of
2725 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2727 * math/auto-libm-test-in: Add more tests of pow.
2728 * math/auto-libm-test-out: Regenerated.
2729 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2730 (pow_tonearest_test_data): Remove.
2731 (pow_test_tonearest): Likewise.
2732 (pow_towardzero_test_data): Likewise.
2733 (pow_test_towardzero): Likewise.
2734 (pow_downward_test_data): Likewise.
2735 (pow_test_downward): Likewise.
2736 (pow_upward_test_data): Likewise.
2737 (pow_test_upward): Likewise.
2738 (main): Don't call removed functions.
2739 * sysdeps/i386/fpu/libm-test-ulps: Update.
2740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2742 2014-06-23 Roland McGrath <roland@hack.frob.com>
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2918 2014-06-23 Will Newton <will.newton@linaro.org>
2919 Wilco <wdijkstr@arm.com>
2921 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2922 implementation. Include get-rounding-mode.h.
2923 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2924 [!libc_feholdsetround_noex_ctx]: Define
2925 libc_feholdsetround_noex_ctx.
2926 [!libc_feholdsetround_noexf_ctx]: Define
2927 libc_feholdsetround_noexf_ctx.
2928 [!libc_feholdsetround_noexl_ctx]: Define
2929 libc_feholdsetround_noexl_ctx.
2930 (libc_feholdsetround_ctx): New function.
2931 (libc_feresetround_ctx): New function.
2932 (libc_feholdsetround_noex_ctx): New function.
2933 (libc_feresetround_noex_ctx): New function.
2935 2014-06-23 Roland McGrath <roland@hack.frob.com>
2937 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2938 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2939 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2940 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2941 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2942 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2944 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2945 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2946 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2947 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2948 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2949 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2950 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2951 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2952 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2956 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2958 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2959 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2960 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2961 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2964 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2973 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2976 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2981 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2985 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2986 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2987 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2988 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2992 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2994 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3001 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3005 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3006 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3008 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3010 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3011 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3012 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3015 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3017 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3018 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3019 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3021 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3022 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3023 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3024 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3025 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3026 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3028 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3030 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3031 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3032 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3033 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3034 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3035 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3036 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3037 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3038 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3039 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3040 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3041 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3042 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3043 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3044 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3045 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3046 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3047 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3048 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3050 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3053 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3054 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3055 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3056 (IPV6_PMTUDISC_INTERFACE): Likewise.
3057 (IPV6_PMTUDISC_OMIT): Likewise.
3059 2014-06-23 Andreas Schwab <schwab@suse.de>
3061 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3062 Remove unused errout label.
3064 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3066 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3067 macro: hardware supports Vector Crypto instructions.
3069 2014-06-23 Will Newton <will.newton@linaro.org>
3071 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3072 rather than __builtin_expect.
3074 * elf/dl-lookup.c (undefined_msg): Remove variable.
3075 (_dl_lookup_symbol_x): Replace undefined_msg with string
3078 * elf/dl-lookup.c (do_lookup_unique): New function.
3079 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3080 to a separate function.
3082 2014-06-23 Andreas Schwab <schwab@suse.de>
3085 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3086 before reading the next line.
3088 2014-06-23 Will Newton <will.newton@linaro.org>
3090 * test-skeleton.c (signal_handler): Use printf and %m
3091 rather than perror. Use printf rather than fprintf to
3092 stderr. Use puts rather than fputs to stderr.
3095 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3097 * nscd/nscd.c (thread_info_t): Remove typedef.
3098 (thread_info): Remove variable.
3100 2014-06-21 Allan McRae <allan@archlinux.org>
3102 * NEWS: Mention CVE-2014-4043.
3104 2014-06-20 Roland McGrath <roland@hack.frob.com>
3106 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3107 * nptl/smp.h: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3111 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3112 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3113 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3114 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3116 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3117 * nptl/stack-aliasing.h: New file.
3118 * sysdeps/i386/i686/stack-aliasing.h: New file.
3119 * sysdeps/i386/i686/nptl/Makefile: File removed.
3120 * sysdeps/x86_64/stack-aliasing.h: New file.
3121 * sysdeps/x86_64/nptl/Makefile
3122 (CFLAGS-pthread_create.c): Variable removed.
3124 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3125 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3127 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3128 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3131 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3133 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3134 (__ASSUME_SIGFRAME_V2): Remove macro.
3135 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3136 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3137 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3138 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3139 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3140 Declare as function. Remove conditional macro definitions.
3141 (__default_rt_sa_restorer): Likewise.
3142 (__default_sa_restorer_v1): Remove declaration.
3143 (__default_sa_restorer_v2): Likewise.
3144 (__default_rt_sa_restorer_v1): Likewise.
3145 (__default_rt_sa_restorer_v2): Likewise.
3146 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3147 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3148 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3150 2014-06-20 Roland McGrath <roland@hack.frob.com>
3152 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3153 (libpthread-routines): Add sysdep.
3154 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3155 * sysdeps/unix/sysv/linux/sparc/Versions
3156 (libpthread: GLIBC_2.3.3): New version set.
3157 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3158 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3159 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3161 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3162 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3164 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3165 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3166 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3168 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3169 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3170 * sysdeps/sparc/nptl/sem_init.c: ... here.
3171 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3172 * sysdeps/sparc/nptl/sem_post.c: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3174 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3176 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3178 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3179 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3180 (libpthread-routines): Add cpu_relax.
3181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3183 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3184 (librt: GLIBC_2.3.3): New version set.
3185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3186 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3187 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3188 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3191 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3194 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3196 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3198 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3200 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3202 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3205 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3209 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3213 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3217 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3221 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3225 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3228 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3234 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3236 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3239 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3243 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3245 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3247 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3248 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3249 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3250 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3251 * nscd/nscd.c: Likewise.
3252 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3253 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3254 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3255 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3257 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3258 <kernel-features.h>.
3259 (init_mq_netlink): Remove conditional have_sock_cloexec
3260 definitions. Remove code conditional on have_sock_cloexec < 0.
3261 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3262 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3263 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3264 <kernel-features.h>.
3265 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3266 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3268 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3271 Add tests for memset_chk and memset.
3273 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3276 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3279 * elf/tst-dl-iter-static.c: New file.
3280 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3282 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3285 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/unix/sysv/linux/kernel-features.h
3288 (__ASSUME_F_GETOWN_EX): Remove macro.
3289 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3290 <kernel-features.h>.
3291 (miss_F_GETOWN_EX): Remove variable or macro.
3292 (do_fcntl): Do not check miss_F_GETOWN_EX.
3293 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3295 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3298 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3299 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3301 * sysdeps/unix/sysv/linux/kernel-features.h
3302 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3303 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3304 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3305 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3307 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3310 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3311 Fix calculation of the symbol's value.
3312 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3313 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3314 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3315 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3316 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3317 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3318 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3319 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3320 (modules-names): Add `tst-armtlsdescmod',
3321 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3322 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3323 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3324 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3325 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3326 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3327 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3328 ($(objpfx)tst-armtlsdescloc): New dependency.
3329 ($(objpfx)tst-armtlsdescextnow): Likewise.
3330 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3331 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3333 * sysdeps/arm/configure: Regenerate.
3335 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3337 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3338 (__atfct_seterrno_2): Likewise.
3339 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3340 <kernel-features.h>.
3341 (__ASSUME_ATFCTS): Do not undefine and redefine.
3342 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3343 (__have_atfcts): Remove conditional definition.
3344 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3345 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3346 unreachable if [__ASSUME_ATFCTS].
3347 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3348 not undefine and redefine.
3349 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3350 <kernel-features.h>.
3351 (faccessat) [__NR_faccessat]: Make code unconditional.
3352 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3353 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3354 <kernel-features.h>.
3355 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3356 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3357 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3358 <kernel-features.h>.
3359 (fchownat) [__NR_fchownat]: Make code unconditional.
3360 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3361 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3362 <kernel-features.h>.
3363 (futimesat) [__NR_futimesat]: Make code unconditional.
3364 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3365 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3366 <kernel-features.h>.
3367 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3368 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3369 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3370 <kernel-features.h>.
3371 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3372 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3373 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3374 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3375 <kernel-features.h>.
3376 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3377 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3378 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3379 <kernel-features.h>.
3380 (linkat) [__NR_linkat]: Make code unconditional.
3381 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3382 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3383 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3384 <kernel-features.h>.
3385 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3386 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3387 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3388 <kernel-features.h>.
3389 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3390 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3391 * sysdeps/unix/sysv/linux/openat.c: Do not include
3392 <kernel-features.h>.
3393 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3394 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3395 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3396 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3397 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3398 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3399 <kernel-features.h>.
3400 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3401 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3402 result of INLINE_SYSCALL directly, not via int variable.
3403 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3404 <kernel-features.h>.
3405 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3406 (renameat) [__NR_renameat]: Make code unconditional.
3407 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3408 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3409 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3410 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3411 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3412 (__ASSUME_ATFCTS): Do not undefine and redefine.
3413 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3414 <kernel-features.h>.
3415 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3416 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3417 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3418 <kernel-features.h>.
3419 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3420 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3421 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3422 (__ASSUME_ATFCTS): Do not undefine and redefine.
3423 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3424 <kernel-features.h>.
3425 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3426 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3427 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3428 <kernel-features.h>.
3429 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3430 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3432 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3434 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3436 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3439 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3440 constructed tree before returning error.
3441 * posix/bug-regexp36.c: Expand test case.
3443 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3446 * math/libm-test.inc (scalbln_test_date):
3447 Add errno expectations.
3448 * math/w_scalblnf.c: New File.
3449 Add wrapper which checks for setting errno to ERANGE.
3450 Add weak_alias for corresponding scalbln function.
3451 * math/w_scalbln.c: Likewise.
3452 * math/w_scalblnl.c: Likewise.
3453 * math/Makefile (libm-calls): Add w_scalbln.
3454 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3455 Remove weak_alias for corresponding scalbln function.
3456 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3458 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3460 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3461 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3462 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3463 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3464 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3465 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3466 Remove long_double_symbol for scalblnl function in libm, libc.
3467 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3468 Add wrapper which checks for setting errno to ERANGE.
3469 Add long_double_symbol for scalblnl function in libm, libc.
3470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3471 Remove long_double_symbol for scalblnl in libm.
3472 * sysdeps/ieee754/ldbl-128ibm/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.
3475 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3476 Do not use wrapper because of own implementation.
3478 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3480 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3481 3 bytes for __pad1 for x32.
3482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3484 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3485 H.J. Lu <hongjiu.lu@intel.com>
3487 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3488 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3489 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3490 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3491 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3493 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3496 * posix/regcomp.c (parse_expression): Deallocate partially
3497 constructed tree before returning error.
3498 * posix/Makefile.c (tests): Add bug-regex36.
3499 (generated): Add bug-regex36.mtrace.
3500 (tests-special): Add $(objpfx)bug-regex36-mem.out
3501 (bug-regex36-ENV): New variable.
3502 ($(objpfx)bug-regex36-mem.out): New rule.
3503 * posix/bug-regex36.c: New file.
3505 2014-06-19 Will Newton <will.newton@linaro.org>
3507 * malloc/malloc.c (systrim): If extra is zero then return
3510 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3512 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3514 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3516 * sysdeps/aarch64/strchr.S: New file.
3518 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3521 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3522 from arguments -2 or below.
3523 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3524 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3526 2014-06-18 Andreas Schwab <schwab@suse.de>
3529 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3530 of a bracket expr not to run off the end of the string.
3531 * posix/Makefile (tests): Add tst-fnmatch3.
3532 * posix/tst-fnmatch3.c: New file.
3534 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3536 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3537 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3538 [$(cross-compiling) = no]: Likewise.
3539 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3540 [$(cross-compiling) = no]: Likewise.
3542 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3545 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3546 double, adjusted for any remainder from the high double.
3547 * math/libm-test.inc (nearbyint): Add tests.
3550 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3552 * nptl/sysdeps/powerpc/Makefile: Moved ...
3553 * sysdeps/powerpc/nptl/Makefile: ... here.
3554 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3555 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3556 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3557 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3558 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3559 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3560 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3561 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3562 * nptl/sysdeps/powerpc/tls.h: Moved ...
3563 * sysdeps/powerpc/nptl/tls.h: ... here.
3565 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3568 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3569 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3570 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3571 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3572 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3573 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3574 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3575 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3576 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3578 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3580 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3582 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3584 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3587 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3590 2014-06-16 Florian Weimer <fweimer@redhat.com>
3593 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3594 non-executed part of the test.
3596 2014-06-16 Andreas Schwab <schwab@suse.de>
3598 * string/bits/string2.h (strdup, strndup): Update feature guard.
3600 2014-06-14 David S. Miller <davem@davemloft.net>
3602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3604 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3606 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3607 that was previously under [RESET_PID].
3608 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3610 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3611 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3612 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3613 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3614 (__libc_vfork): New strong alias.
3615 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3617 2014-06-14 Andi Kleen <ak@linux.intel.com>
3619 * sysdeps/generic/elide.h: New file.
3621 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3623 * Makefile (installed-headers): Adjust path of pthread.h header.
3625 2014-06-13 Roland McGrath <roland@hack.frob.com>
3627 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3628 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3630 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3632 * nptl/sysdeps/s390/Makefile: Moved ...
3633 * sysdeps/s390/nptl/Makefile: ... here.
3634 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3635 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3636 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3637 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3638 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3639 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3640 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3641 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3642 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3643 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3644 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3645 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3646 * nptl/sysdeps/s390/tls.h: Moved ...
3647 * sysdeps/s390/nptl/tls.h: ... here.
3649 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3650 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3652 2014-06-13 David S. Miller <davem@davemloft.net>
3654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3657 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3661 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3662 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3663 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3664 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3665 Remove RESET_PID cpp guards.
3666 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3667 Remove RESET_PID cpp guards.
3668 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3670 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3672 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3675 2014-06-13 Andi Kleen <ak@linux.intel.com>
3677 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3678 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3679 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3680 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3681 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3682 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3683 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3685 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3686 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3687 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3688 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3689 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3690 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3691 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3692 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3693 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3694 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3695 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3696 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3698 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3699 (pthread_rwlock_rdlock): Add elision.
3700 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3701 (pthread_rwlock_wrlock): Add elision.
3702 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3703 (pthread_rwlock_trywrlock): Add elision.
3704 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3705 (pthread_rwlock_tryrdlock): Add elision.
3706 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3707 (pthread_rwlock_tryrdlock): Add elision unlock.
3708 * nptl/sysdeps/pthread/pthread.h:
3709 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3710 (PTHREAD_RWLOCK_INITIALIZER,
3711 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3712 Handle new elision field.
3713 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3714 * sysdeps/arm/nptl/bits/pthreadtypes.h
3715 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3716 * sysdeps/sh/nptl/bits/pthreadtypes.h
3717 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3718 * sysdeps/tile/nptl/bits/pthreadtypes.h
3719 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3720 * sysdeps/a/nptl/bits/pthreadtypes.h
3721 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3722 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3723 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3724 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3725 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3726 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3727 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3728 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3729 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3730 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3731 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3732 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3733 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3734 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3735 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3736 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3737 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3738 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3739 (elision_init): Set try_xbegin to zero when no RTM.
3740 * sysdeps/x86/nptl/bits/pthreadtypes.h
3741 (pthread_rwlock_t): Change __pad1 to __rwelision.
3742 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3744 2014-06-13 Andi Kleen <ak@linux.intel.com>
3746 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3747 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3748 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3749 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3751 2014-06-13 Meador Inge <meadori@codesourcery.com>
3754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3755 that the cached result has been set before returning it.
3757 2014-06-12 Roland McGrath <roland@hack.frob.com>
3759 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3760 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3761 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3762 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3764 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3766 * nptl/sysdeps/sparc/Makefile: Moved ...
3767 * sysdeps/sparc/nptl/Makefile: ... here.
3768 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3769 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3770 * nptl/sysdeps/sparc/tls.h: Moved ...
3771 * sysdeps/sparc/nptl/tls.h: ... here.
3772 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3773 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3774 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3775 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3776 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3777 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3778 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3779 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3780 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3781 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3782 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3783 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3784 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3785 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3786 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3787 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3788 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3789 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3791 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3792 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3794 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3795 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3797 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3801 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3803 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3804 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3806 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3807 (struct list_links): Type removed.
3808 (struct thread_node, struct timer_node): Replace struct list_links
3809 with struct list_head.
3810 (list_unlink_ip): Likewise.
3811 * sysdeps/pthread/timer_routines.c
3812 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3813 (list_append, list_insbefore): Likewise.
3814 (list_init): Function removed.
3815 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3816 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3817 * sysdeps/pthread/Makefile: ... here, new file.
3819 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3820 * sysdeps/nptl/Implies: ... here.
3821 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3822 * nptl/sysdeps/pthread/list.h: Moved ...
3823 * include/list.h: ... here.
3824 * nptl/sysdeps/pthread/createthread.c: Moved ...
3825 * nptl/createthread.c: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3827 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3828 * nptl/pt-longjmp.c: ... here.
3829 * nptl/sysdeps/pthread/Makefile: Moved ...
3830 * sysdeps/nptl/Makefile: ... here.
3831 * nptl/sysdeps/pthread/Subdirs: Moved ...
3832 * sysdeps/nptl/Subdirs: ... here.
3833 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3834 * sysdeps/nptl/aio_misc.h: ... here.
3835 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3836 * sysdeps/nptl/bits/libc-lock.h: ... here.
3837 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3838 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3839 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3840 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3841 * nptl/sysdeps/pthread/configure: Moved ...
3842 * sysdeps/nptl/configure: ... here.
3843 * nptl/sysdeps/pthread/configure.ac: Moved ...
3844 * sysdeps/nptl/configure.ac: ... here.
3845 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3846 * sysdeps/nptl/gai_misc.h: ... here.
3847 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3848 * sysdeps/nptl/librt-cancellation.c: ... here.
3849 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3850 * sysdeps/nptl/malloc-machine.h: ... here.
3851 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3852 * sysdeps/nptl/pthread-functions.h: ... here.
3853 * nptl/sysdeps/pthread/pthread.h: Moved ...
3854 * sysdeps/nptl/pthread.h: ... here.
3855 * nptl/sysdeps/pthread/setxid.h: Moved ...
3856 * sysdeps/nptl/setxid.h: ... here.
3857 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3858 * sysdeps/nptl/sigfillset.c: ... here.
3859 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3860 * sysdeps/nptl/tcb-offsets.h: ... here.
3861 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3862 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3863 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3864 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3865 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3866 * sysdeps/pthread/allocalim.h: ... here.
3867 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3868 * sysdeps/pthread/bits/sigthread.h: ... here.
3869 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3870 * sysdeps/pthread/flockfile.c: ... here.
3871 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3872 * sysdeps/pthread/ftrylockfile.c: ... here.
3873 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3874 * sysdeps/pthread/funlockfile.c: ... here.
3875 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3876 * sysdeps/pthread/posix-timer.h: ... here.
3877 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3878 * sysdeps/pthread/timer_create.c: ... here.
3879 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3880 * sysdeps/pthread/timer_delete.c: ... here.
3881 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3882 * sysdeps/pthread/timer_getoverr.c: ... here.
3883 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3884 * sysdeps/pthread/timer_gettime.c: ... here.
3885 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3886 * sysdeps/pthread/timer_routines.c: ... here.
3887 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3888 * sysdeps/pthread/timer_settime.c: ... here.
3889 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3890 * sysdeps/pthread/tst-timer.c: ... here.
3891 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3892 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3894 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3895 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3897 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3898 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3899 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3900 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3901 Update #include target.
3902 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3903 * sysdeps/i386/i686/nptl/Makefile: ... here.
3904 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3905 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3906 Update #include target.
3907 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3908 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3909 * nptl/sysdeps/i386/Makefile: Moved ...
3910 * sysdeps/i386/nptl/Makefile: ... here.
3911 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3912 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3913 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3914 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3915 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3916 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3917 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3918 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3919 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3920 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3921 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3922 * nptl/sysdeps/i386/tls.h: Moved ...
3923 * sysdeps/i386/nptl/tls.h: ... here.
3925 * sysdeps/sh/Makefile [$(subdir) = csu]
3926 (gen-as-const-headers): Add tcb-offsets.sym.
3927 * nptl/sysdeps/sh/Makefile: File removed.
3928 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3929 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3930 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3931 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3932 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3933 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3934 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3935 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3936 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3937 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3938 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3939 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3940 * nptl/sysdeps/sh/tls.h: Moved ...
3941 * sysdeps/sh/nptl/tls.h: ... here.
3942 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3943 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3944 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3945 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3946 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3947 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3949 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3951 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3952 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3953 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3955 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3957 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3958 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3959 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3961 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3963 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3964 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3965 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3966 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3968 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3971 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3972 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3973 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3974 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3975 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3976 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3977 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3979 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3980 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3981 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3982 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3983 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3984 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3985 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3986 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3987 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3988 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3989 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3991 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3993 * posix/spawn_faction_addopen.c: Include string.h.
3995 2014-06-11 Roland McGrath <roland@hack.frob.com>
3997 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3998 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3999 * nptl/sysdeps/x86_64/Makefile: Moved ...
4000 * sysdeps/x86_64/nptl/Makefile: ... here.
4001 * nptl/sysdeps/x86_64/configure: Moved ...
4002 * sysdeps/x86_64/nptl/configure: ... here.
4003 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4004 * sysdeps/x86_64/nptl/configure.ac: ... here.
4005 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4006 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4007 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4008 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4009 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4010 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4011 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4012 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4013 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4014 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4015 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4016 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4017 * nptl/sysdeps/x86_64/tls.h: Moved ...
4018 * sysdeps/x86_64/nptl/tls.h: ... here.
4019 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4020 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4021 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4022 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4024 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4026 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4030 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4032 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4034 [POSIX] (off_t): Likewise.
4035 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4036 [POSIX] (S_ISBLK): Require macro.
4037 [POSIX] (S_ISCHR): Likewise.
4038 [POSIX] (S_ISDIR): Likewise.
4039 [POSIX] (S_ISFIFO): Likewise.
4040 [POSIX] (S_ISREG): Likewise.
4041 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4043 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4045 [POSIX] (time_t): Likewise.
4046 [POSIX] (timer_t): Likewise.
4048 2014-06-11 Florian Weimer <fweimer@redhat.com>
4051 * posix/spawn_int.h (struct __spawn_action): Make the path string
4052 non-const to support deallocation.
4053 * posix/spawn_faction_addopen.c
4054 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4055 * posix/spawn_faction_destroy.c
4056 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4057 path in all spawn_do_open actions.
4058 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4059 posix_spawn_file_actions_addopen.
4061 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4063 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4064 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4065 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4066 conditional code always true.
4067 (__libc_vfork): New alias.
4069 2014-06-11 Roland McGrath <roland@hack.frob.com>
4071 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4072 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4074 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4076 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4077 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4079 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4080 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4082 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4083 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4085 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4087 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4088 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4089 multiarch strcmp for PPC64.
4090 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4091 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4093 multiarch optimizations.
4094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4095 (__libc_ifunc_impl_list): Likewise.
4097 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4099 * benchtests/scripts/validate_benchout.py: New script.
4100 * benchtests/Makefile (bench-func): Call it.
4101 * benchtests/scripts/benchout.schema.json: New file.
4103 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4105 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4106 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4107 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4108 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4109 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4110 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4111 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4112 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4113 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4114 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4115 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4116 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4117 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4118 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4119 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4120 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4224 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4225 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4226 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4230 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4232 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4239 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4241 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4242 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4243 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4244 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4246 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4247 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4249 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4250 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4251 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4252 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4254 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4258 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4259 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4260 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4262 2014-06-10 Wilco <wdijkstr@arm.com>
4264 * math/test-fenv-return.c: New file.
4265 * math/Makefile: Add new test test-fenv-return.
4267 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4270 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4272 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4273 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4274 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4275 0.0L for an argument of 1.0L.
4276 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4278 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4279 value when x - 1 is zero.
4280 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4281 * sysdeps/i386/fpu/libm-test-ulps: Update.
4282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4284 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4287 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4289 2014-06-09 Roland McGrath <roland@hack.frob.com>
4291 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4292 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4294 2014-06-09 Roland McGrath <roland@hack.frob.com>
4296 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4297 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4299 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4300 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4302 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4303 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4305 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4306 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4308 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4309 if not already defined.
4310 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4311 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4312 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4313 (TLS_INIT_TP): Use it.
4314 (TLS_DEFINE_INIT_TP): New macro.
4315 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4317 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4319 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4321 [POSIX] (IXANY): Likewise.
4322 [POSIX] (OLCUC): Likewise.
4323 [POSIX || POSIX2008] (CBAUD): Do not allow.
4324 [POSIX || POSIX2008] (DEFECHO): Likewise.
4325 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4326 [POSIX || POSIX2008] (ECHOKE): Likewise.
4327 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4328 [POSIX || POSIX2008] (EXTA): Likewise.
4329 [POSIX || POSIX2008] (EXTB): Likewise.
4330 [POSIX || POSIX2008] (FLUSHO): Likewise.
4331 [POSIX || POSIX2008] (LOBLK): Likewise.
4332 [POSIX || POSIX2008] (PENDIN): Likewise.
4333 [POSIX || POSIX2008] (SWTCH): Likewise.
4334 [POSIX || POSIX2008] (VDISCARD): Likewise.
4335 [POSIX || POSIX2008] (VDSUSP): Likewise.
4336 [POSIX || POSIX2008] (VLNEXT): Likewise.
4337 [POSIX || POSIX2008] (VREPRINT): Likewise.
4338 [POSIX || POSIX2008] (VSTATUS): Likewise.
4339 [POSIX || POSIX2008] (VWERASE): Likewise.
4340 (B*): Change to B[0123456789]*.
4341 * conform/data/time.h-data [POSIX || UNIX98]
4342 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4343 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4344 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4345 [POSIX] (tm_*): Do not allow.
4347 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4349 * Makefile (install): Don't set LANGUAGE.
4350 * Makefile.in (install): Likewise.
4351 * assert/Makefile (test-assert-ENV): Remove variable.
4352 (test-assert-perr-ENV): Likewise.
4353 * elf/Makefile (neededtest4-ENV): Likewise.
4354 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4355 [$(cross-compiling) = no]: Don't set LANGUAGE.
4356 * io/ftwtest-sh (LANG): Remove variable.
4357 * libio/Makefile (tst-widetext-ENV): Likewise.
4358 * manual/install.texi (Running make install): Don't refer to
4359 environment settings for make install.
4360 * INSTALL: Regenerated.
4361 * nptl/tst-tls6.sh: Don't set LANG.
4362 * posix/globtest.sh (LANG): Remove variable.
4363 * string/Makefile (tester-ENV): Likewise.
4364 (inl-tester-ENV): Likewise.
4365 (noinl-tester-ENV): Likewise.
4366 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4367 [$(cross-compiling) = no]: Don't set LANGUAGE.
4368 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4369 without explicit environment settings.
4371 2014-06-06 Roland McGrath <roland@hack.frob.com>
4373 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4374 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4376 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4378 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4380 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4381 other files in the crypt directory.
4382 * crypt/crypt.c: Remove duplicate includes.
4383 * crypt/crypt-entry.c: Likewise.
4384 * crypt/crypt_util.c: Likewise.
4386 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4388 * Makeconfig (run-program-env): New variable.
4389 (run-program-prefix-before-env): Likewise.
4390 (run-program-prefix-after-env): Likewise.
4391 (run-program-prefix): Define in terms of new variables.
4392 (built-program-cmd-before-env): New variable.
4393 (built-program-cmd-after-env): Likewise.
4394 (built-program-cmd): Define in terms of new variables.
4395 (test-program-prefix-before-env): New variable.
4396 (test-program-prefix-after-env): Likewise.
4397 (test-program-prefix): Define in terms of new variables.
4398 (test-program-cmd-before-env): New variable.
4399 (test-program-cmd-after-env): Likewise.
4400 (test-program-cmd): Define in terms of new variables.
4401 * Rules (make-test-out): Use $(run-program-env).
4402 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4403 (help): Do not mention environment variables. Mention
4404 --timeoutfactor option.
4405 (timeoutfactor): New variable.
4406 (blacklist_exports): Remove function.
4407 (exports): Remove variable.
4408 (command): Do not include ${exports}.
4409 * manual/install.texi (Configuring and compiling): Do not mention
4410 test wrappers preserving environment variables. Mention that last
4411 assignment to a variable must take precedence.
4412 * INSTALL: Regenerated.
4413 * benchtests/Makefile (run-bench): Use $(run-program-env).
4414 * catgets/Makefile ($(objpfx)test1.cat): Use
4415 $(built-program-cmd-before-env), $(run-program-env) and
4416 $(built-program-cmd-after-env).
4417 ($(objpfx)test2.cat): Do not specify environment variables
4419 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4420 $(run-program-env) and $(built-program-cmd-after-env).
4421 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4422 $(run-program-env) and $(test-program-cmd-after-env).
4423 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4425 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4426 run_program_env and test_program_cmd_after_env arguments.
4427 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4428 * elf/tst-pathopt.sh: Use run_program_env argument.
4429 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4430 $(test-wrapper-env) and $(run-program-env).
4431 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4432 run_program_env arguments.
4433 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4434 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4435 $(test-program-prefix-before-env), $(run-program-env) and
4436 $(test-program-prefix-after-env).
4437 ($(objpfx)tst-gettext2.out): Likewise.
4438 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4439 run_program_env and test_program_prefix_after_env arguments.
4440 * intl/tst-gettext2.sh: Likewise.
4441 * intl/tst-gettext4.sh: Do not set environment variables
4443 * intl/tst-gettext6.sh: Likewise.
4444 * intl/tst-translit.sh: Likewise.
4445 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4446 $(test-program-prefix-before-env), $(run-program-env) and
4447 $(test-program-prefix-after-env).
4448 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4449 run_program_env and test_program_prefix_after_env arguments.
4450 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4451 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4452 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4453 explicitly with each use of ${test_wrapper_env}.
4454 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4455 $(test-program-prefix-before-env), $(run-program-env) and
4456 $(test-program-prefix-after-env).
4457 * posix/tst-getconf.sh: Do not set environment variables
4459 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4460 run_program_env and test_program_prefix_after_env arguments.
4461 * stdio-common/tst-printf.sh: Do not set environment variables
4463 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4464 $(test-program-prefix-before-env), $(run-program-env) and
4465 $(test-program-prefix-after-env).
4466 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4467 run_program_env and test_program_prefix_after_env arguments.
4468 Split $test calls into $test_pre and $test.
4469 * timezone/Makefile (build-testdata): Use
4470 $(built-program-cmd-before-env), $(run-program-env) and
4471 $(built-program-cmd-after-env).
4473 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4475 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4476 strlen for non SHARED builds.
4478 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4480 * nptl/allocatestack.c (check_list): Inlined function...
4481 (__reclaim_stacks): ... here.
4483 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4486 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4489 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4491 * Rules (make-test-out): Include
4492 LOCPATH=$(common-objpfx)localedata in default environment.
4493 * debug/Makefile (tst-chk1-ENV): Remove variable.
4494 (tst-chk2-ENV): Likewise.
4495 (tst-chk3-ENV): Likewise.
4496 (tst-chk4-ENV): Likewise.
4497 (tst-chk5-ENV): Likewise.
4498 (tst-chk6-ENV): Likewise.
4499 (tst-lfschk1-ENV): Likewise.
4500 (tst-lfschk2-ENV): Likewise.
4501 (tst-lfschk3-ENV): Likewise.
4502 (tst-lfschk4-ENV): Likewise.
4503 (tst-lfschk5-ENV): Likewise.
4504 (tst-lfschk6-ENV): Likewise.
4505 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4506 (tst-iconv7-ENV): Likewise.
4507 * intl/Makefile (LOCPATH-ENV): Likewise.
4508 (tst-codeset-ENV): Likewise.
4509 (tst-gettext3-ENV): Likewise.
4510 (tst-gettext5-ENV): Likewise.
4511 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4512 (tst-fopenloc-ENV): Likewise.
4513 (tst-fgetws-ENV): Remove variable.
4514 (tst-ungetwc1-ENV): Likewise.
4515 (tst-ungetwc2-ENV): Likewise.
4516 (bug-ungetwc2-ENV): Likewise.
4517 (tst-swscanf-ENV): Likewise.
4518 (bug-ftell-ENV): Likewise.
4519 (tst-fgetwc-ENV): Likewise.
4520 (tst-fseek-ENV): Likewise.
4521 (tst-ftell-partial-wide-ENV): Likewise.
4522 (tst-ftell-active-handler-ENV): Likewise.
4523 (tst-ftell-append-ENV): Likewise.
4524 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4525 (tst-regexloc-ENV): Likewise.
4526 (bug-regex1-ENV): Likewise.
4527 (tst-regex-ENV): Likewise.
4528 (tst-regex2-ENV): Likewise.
4529 (bug-regex5-ENV): Likewise.
4530 (bug-regex6-ENV): Likewise.
4531 (bug-regex17-ENV): Likewise.
4532 (bug-regex18-ENV): Likewise.
4533 (bug-regex19-ENV): Likewise.
4534 (bug-regex20-ENV): Likewise.
4535 (bug-regex22-ENV): Likewise.
4536 (bug-regex23-ENV): Likewise.
4537 (bug-regex25-ENV): Likewise.
4538 (bug-regex26-ENV): Likewise.
4539 (bug-regex30-ENV): Likewise.
4540 (bug-regex32-ENV): Likewise.
4541 (bug-regex33-ENV): Likewise.
4542 (bug-regex34-ENV): Likewise.
4543 (bug-regex35-ENV): Likewise.
4544 (tst-rxspencer-ENV): Likewise.
4545 (tst-rxspencer-no-utf8-ENV): Likewise.
4546 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4547 (tst-sscanf-ENV): Likewise.
4548 (tst-swprintf-ENV): Likewise.
4549 (tst-swscanf-ENV): Likewise.
4550 (test-vfprintf-ENV): Likewise.
4551 (scanf13-ENV): Likewise.
4552 (bug14-ENV): Likewise.
4553 (tst-grouping-ENV): Likewise.
4554 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4555 (tst-strtod3-ENV): Likewise.
4556 (tst-strtod4-ENV): Likewise.
4557 (tst-strtod5-ENV): Likewise.
4558 (testmb2-ENV): Likewise./
4559 * string/Makefile (tst-strxfrm-ENV): Likewise.
4560 (tst-strxfrm2-ENV): Likewise.
4561 (bug-strcoll1-ENV): Likewise.
4562 (test-strcasecmp-ENV): Likewise.
4563 (test-strncasecmp-ENV): Likewise.
4564 * time/Makefile (tst-strptime-ENV): Likewise.
4565 (tst-ftime_l-ENV): Likewise.
4566 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4567 (tst-mbrtowc-ENV): Likewise.
4568 (tst-wcrtomb-ENV): Likewise.
4569 (tst-mbrtowc2-ENV): Likewise.
4570 (tst-c16c32-1-ENV): Likewise.
4571 (tst-mbsnrtowcs-ENV): Likewise.
4573 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4575 * manual/resource.texi (How to get information about the memory
4576 subsystem?): Fix typo.
4577 Reported by Peon de la Parra Ivan <peon@keba.com>
4579 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4582 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4583 (pthread_spin_lock): Branch out of spin loop to proper location.
4584 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4585 (pthread_spin_lock): Likewise.
4587 * nptl/tst-spin4.c: New test.
4588 * nptl/Makefile (tests): Add tst-spin4.
4590 2014-06-03 Andreas Schwab <schwab@suse.de>
4593 * resolv/res_send.c (send_dg): Reload file descriptor after
4596 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4598 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4600 2014-06-03 Richard Henderson <rth@redhat.com>
4602 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4603 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4604 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4605 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4606 in the SAVE_PID block.
4607 (__libc_vfork): New alias.
4608 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4610 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4611 child in registers, not on the stack. Remove RESET_PID conditionals.
4612 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4614 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4616 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4618 2014-06-03 Wilco <wdijkstr@arm.com>
4620 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4621 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4622 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4623 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4624 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4627 2014-06-03 Wilco <wdijkstr@arm.com>
4629 * sysdeps/aarch64/fpu/math_private.h
4630 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4631 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4632 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4633 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4636 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4638 * crypt/crypt-private.h: Include ufc-crypt.h.
4639 (__b64_from_24bit): Declare extern.
4640 * crypt/crypt_util.c(__b64_from_24bit): New function.
4641 (b64t): New static const variable.
4642 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4643 (b64t): Remove variable.
4644 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4645 * crypt/sha256-crypt.c: Include crypt-private.h.
4646 (b64t): Remove variable.
4647 (__sha256_crypt_r): Remove b64_from_24bit and replace
4648 with __b64_from_24bit.
4649 * crypt/sha512-crypt.c: Likewise.
4651 2014-06-02 Roland McGrath <roland@hack.frob.com>
4653 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4654 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4655 Label the code __libc_vfork rather than __vfork.
4656 [!NOT_IN_libc] (vfork): Define as weak alias.
4657 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4658 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4659 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4661 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4663 * malloc/malloc.c (malloc_info): Fix format specifier for
4666 2014-06-02 Wilco <wdijkstr@arm.com>
4668 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4671 2014-06-02 Wilco <wdijkstr@arm.com>
4674 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4675 Rewrite to reduce FPCR/FPSR accesses.
4677 2014-06-01 David S. Miller <davem@davemloft.net>
4679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4681 2014-05-31 David S. Miller <davem@davemloft.net>
4683 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4684 to occur in round to nearest mode when |x| >= 2.0
4686 2014-05-30 Richard Henderson <rth@twiddle.net>
4688 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4689 (PSEUDO_RET_NOERRNO): Remove.
4690 (ret): Don't redefine.
4691 (ret_NOERRNO): Define in terms of ret.
4692 (ret_ERRVAL): Likewise.
4694 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4695 use of PSEUDO_RET; perform the error check directly.
4697 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4699 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4702 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4704 * malloc/malloc (malloc_info): Fix formatting.
4706 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4707 Roland McGrath <roland@hack.frob.com>
4709 * malloc/malloc (malloc_info): Also print mmapped statistics.
4711 2014-05-30 Roland McGrath <roland@hack.frob.com>
4713 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4714 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4716 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4718 * malloc/malloc.c (malloc_info): Inline mi_arena.
4720 2014-05-29 Richard Henderson <rth@twiddle.net>
4722 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4723 Remove comma before expanding ASM_ARGS_##nr.
4724 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4725 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4727 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4728 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4729 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4730 (ASM_ARGS_1): Add leading comma.
4732 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4733 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4734 to __errno_location.
4735 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4736 Remove the expected plt for __errno_location.
4738 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4739 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4742 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4743 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4744 it and break it down.
4745 (DOCARGS_0, DOCARGS_1): Do nothing.
4746 (DOCARGS_2): Update to store into the new stack frame.
4747 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4748 (UNDOCARGS_1): Update to restore from the new stack frame.
4749 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4750 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4752 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4753 (SINGLE_THREAD_P): New parameter for result regno.
4754 (PSEUDO): Update to match; use cbz instead of beq.
4756 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4757 Use ENTRY to define the _nocancel entry point. Share the syscall
4758 and syscall error check paths with the cancel path.
4761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4762 whitespace; tabs before and after asm mnemonics.
4764 2014-05-29 Eric Wong <normalperson@yhbt.net>
4767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4768 Call fstat64 or stat64 internally, depending on arguments passed.
4769 Replace stat buffer argument with file descriptor argument.
4770 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4771 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4772 Pass fd to __internal_statvfs instead of calling fstat64.
4773 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4774 Pass fd to __internal_statvfs64 instead of calling fstat64.
4775 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4776 Pass -1 to __internal_statvfs instead of calling stat64.
4777 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4778 Pass -1 to __internal_statvfs64 instead of calling stat64.
4780 2014-05-28 Roland McGrath <roland@hack.frob.com>
4782 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4783 that was previously under [RESET_PID].
4784 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4786 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4787 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4789 2014-05-27 Roland McGrath <roland@hack.frob.com>
4791 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4793 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4794 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4796 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4798 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4800 2014-05-27 Andreas Schwab <schwab@suse.de>
4802 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4804 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4805 * elf/rtld.c (init_tls, dl_main): Likewise.
4806 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4807 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4808 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4809 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4810 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4811 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4812 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4813 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4814 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4815 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4816 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4817 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4818 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4819 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4820 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4821 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4822 * sysdeps/generic/tls.h: Update description.
4824 2014-05-27 Will Newton <will.newton@linaro.org>
4827 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4828 and restore r2 rather than just restoring.
4830 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4833 * libio/tst-ftell-append.c: New test case.
4834 * libio/Makefile (tests): Add test case.
4835 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4837 * libio/wfileops.c (do_ftell_wide): Likewise.
4839 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4843 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4847 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4848 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4850 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4852 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4860 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4862 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4863 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4865 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4868 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4870 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4872 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4873 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4874 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4877 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4879 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4887 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4897 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4902 conditional [RESET_PID].
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4904 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4911 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4912 (__libc_vfork): New strong alias.
4913 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4920 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4921 (__libc_vfork): New strong alias.
4922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4924 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4927 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4929 * malloc/malloc.c (mi_arena): New function.
4930 (malloc_info): Remove nested function mi_arena. Call non-nosted
4933 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4937 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4938 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4939 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4940 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4941 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4942 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4945 2014-05-26 Andreas Schwab <schwab@suse.de>
4948 * locale/programs/repertoire.c (repertoire_read): Add slash
4949 between I18NPATH element and file name.
4950 * locale/programs/locfile.c (locfile_read): Likewise.
4952 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4954 * nptl/pthread_mutexattr_settype.c
4955 (__pthread_mutexattr_settype):
4956 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4958 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4960 * nptl/tst-mutex5 (do_test):
4961 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4963 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4965 * benchtests/README: Document 'init' directive.
4966 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4968 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4969 (parse_file): Recognize 'init' directive.
4971 2014-05-26 Kyle McMartin <kyle@redhat.com>
4974 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4975 alignment of struct pthread.
4977 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4980 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4981 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4982 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4983 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4985 2014-05-25 Richard Henderson <rth@twiddle.net>
4987 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4988 (SINGLE_THREAD_P_PIC): Remove.
4989 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4990 (SINGLE_THREAD_P_PIC): Remove.
4992 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4993 branch to syscall error ...
4995 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4996 from __local_syscall_error to .Lsyscall_error.
4997 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4998 (SYSCALL_ERROR): Update label name.
5000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5001 Do not use DOARGS/UNDOARGS.
5002 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5003 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5004 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5005 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5006 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5008 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5011 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5012 define if !NOT_IN_libc.
5013 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5014 define with non-default symbol versions.
5016 2014-05-23 Richard Henderson <rth@twiddle.net>
5018 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5019 (vfork, __vfork): Define via compat_symbol.
5021 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5022 [!HAVE_IFUNC] (vfork_compat): Remove.
5023 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5025 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5028 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5029 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5032 2014-05-23 Richard Henderson <rth@twiddle.net>
5034 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5035 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5036 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5037 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5039 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5040 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5041 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5042 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5043 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5044 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5045 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5046 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5047 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5048 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5049 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5050 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5051 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5052 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5053 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5054 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5055 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5056 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5057 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5058 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5059 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5060 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5061 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5062 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5063 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5064 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5065 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5066 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5067 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5068 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5069 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5070 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5071 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5072 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5073 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5074 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5075 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5078 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5079 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5080 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5081 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5082 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5083 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5084 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5085 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5086 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5087 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5088 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5089 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5090 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5091 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5092 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5093 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5094 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5096 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5097 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5098 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5099 before exiting on error.
5100 (__libc_vfork): New strong alias.
5101 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5102 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5104 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5105 that was previously under [RESET_PID].
5106 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5108 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5110 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5113 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5114 value when x - 1 is zero.
5115 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5116 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5117 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5118 0.0L for an argument of 1.0L.
5119 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5121 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5122 value when x - 1 is zero.
5123 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5124 * sysdeps/i386/fpu/libm-test-ulps: Update.
5125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5127 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5129 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5130 alphasort and versionsort.
5132 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5134 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5136 [copysignf]: Likewise.
5138 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5140 * crypt/md5-crypt.c: Fix formatting.
5142 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5144 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5145 (b64_from_24bit): New function.
5147 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5150 libc_hidden_builtin_def to ifunc.
5151 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5152 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5154 2014-05-21 Roland McGrath <roland@hack.frob.com>
5156 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5157 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5159 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5161 * nscd/Depend (linuxthreads): Remove.
5163 * resolv/Depend (linuxthreads): Remove.
5164 * rt/Depend (linuxthreads): Remove.
5166 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5167 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5168 $(common-objpfx)elf/.
5169 (link-libc-before-gnulib): Likewise.
5170 (elfobjdir): Remove variable.
5171 * Makefile (install): Use $(elf-objpfx) instead of
5172 $(common-objpfx)elf/.
5173 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5175 (link-libc-deps): Likewise.
5176 ($(common-objpfx)libc.so): Likewise.
5177 ($(common-objpfx)linkobj/libc.so): Likewise.
5178 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5179 instead of $(common-objpfx)elf/.
5180 (symbolic-link-list): Likewise.
5181 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5182 [$(cross-compiling) = no]: Likewise.
5183 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5185 (static-gnulib-arch): Likewise.
5186 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5187 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5188 $(common-objpfx)elf/.
5190 2014-05-21 Richard Henderson <rth@redhat.com>
5192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5193 (SINGLE_THREAD_P): Use the correct width load. Fold
5194 into the ldr offset.
5196 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5197 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5199 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5201 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5202 (libgcc_s_resume): Use __attribute_used__.
5203 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5206 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5208 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5209 optimization when used with float constants.
5211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5213 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5216 * locale/nl_langinfo_l.c: Make direct reference to every
5217 _nl_current_CATEGORY symbol.
5218 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5219 (tests-static): Add tst-langinfo-static.
5220 (tests-special): Add tst-langinfo-static.out.
5221 ($(objpfx)tst-langinfo.out): Redirect output.
5222 ($(objpfx)tst-langinfo-static.out): New.
5223 * localedata/tst-langinfo.sh: Send output to stdout.
5224 * localedata/tst-langinfo-static.c: New file.
5227 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5228 when the shift amount is modulo the limb size.
5230 2014-05-20 Richard Henderson <rth@redhat.com>
5233 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5234 Change type of sa_flags from unsigned int to int.
5237 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5239 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5241 2014-05-20 Will Newton <will.newton@linaro.org>
5243 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5244 Test the return value of the system call in the nocancel case.
5246 2014-05-20 Will Newton <will.newton@linaro.org>
5247 Yvan Roux <yvan.roux@linaro.org>
5249 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5250 #include of asm/ptrace.h.
5251 (PTRACE_GET_THREAD_AREA): Remove #undef.
5252 (PTRACE_GETHBPREGS): Likewise.
5253 (PTRACE_SETHBPREGS): Likewise.
5254 (struct user_regs_struct): New structure.
5255 (struct user_fpsimd_struct): New structure.
5256 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5257 #include of asm/ptrace.h and second #include of sys/user.h.
5258 (PTRACE_GET_THREAD_AREA): Remove #undef.
5259 (PTRACE_GETHBPREGS): Likewise.
5260 (PTRACE_SETHBPREGS): Likewise.
5261 (ELF_NGREG): Use new struct user_regs_struct.
5262 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5264 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5269 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5272 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5273 membar to avoid block loads/stores to overlap previous stores.
5275 2014-05-17 Richard Henderson <rth@redhat.com>
5277 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5278 Create the __##syscall_name##_nocancel entry point.
5279 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5280 Remove; let the sysdep-cancel.h code create it.
5282 2014-05-17 David S. Miller <davem@davemloft.net>
5284 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5285 Protect with __USE_GNU.
5286 (TIOCSET_TEMPT): Likewise.
5287 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5288 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5289 these are already provided in bits/ioctl-types.h
5291 2014-05-16 Roland McGrath <roland@hack.frob.com>
5293 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5294 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5296 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5297 Use wait4 regardless of [__NR_waitpid].
5299 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5302 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5303 (_FP_NANSIGN_Q): Set the quiet bit.
5305 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5307 * benchtests/Makefile
5308 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5309 not $(common-objpfx)math/libm.so.
5310 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5311 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5312 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5313 $(common-objpfx)dlfcn/libdl.so.
5314 ($(objpfx)tst-audit8): Depend on $(libm), not
5315 $(common-objpfx)math/libm.so.
5316 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5317 not $(common-objpfx)dlfcn/libdl.so.
5319 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5320 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5321 [$(build-shared) = yes].
5322 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5323 $(common-objpfx)nptl/libpthread.so.
5324 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5325 $(common-objpfx)math/libm.so$(libm.so-version) or
5326 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5327 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5328 $(common-objpfx)dlfcn/libdl.so.
5329 * setjmp/Makefile (link-libm): Remove variable.
5330 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5331 * stdio-common/Makefile (link-libm): Remove variable.
5332 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5333 * stdlib/Makefile (link-libm): Remove variable.
5334 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5335 ($(objpfx)tst-strtod-round): Likewise.
5336 ($(objpfx)tst-tininess): Likewise.
5337 ($(objpfx)tst-strtod-underflow): Likewise.
5338 ($(objpfx)tst-strtod6): Likewise.
5339 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5340 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5341 $(common-objpfx)dlfcn/libdl.so.
5343 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5345 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5346 BSD terminal modes definitions.
5348 2014-05-16 Roland McGrath <roland@hack.frob.com>
5350 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5351 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5353 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5354 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5355 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5356 Don't do #include_next.
5357 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5358 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5359 Don't do #include_next.
5360 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5361 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5362 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5363 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5365 2014-05-16 Allan McRae <allan@archlinux.org>
5367 * po/sv.po: Update Swedish translation from translation project.
5369 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5372 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5375 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5376 errno if the TIOCGPTN ioctl fails with an error different than
5378 * login/tst-ptsname.c: New file.
5379 * login/Makefile (tests): Add tst-ptsname.
5382 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5385 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5389 herrno to return EAI_AGAIN.
5391 2014-05-14 Roland McGrath <roland@hack.frob.com>
5393 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5394 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5395 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5396 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5397 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5398 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5400 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5406 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5408 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5409 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5414 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5416 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5418 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5419 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5420 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5421 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5422 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5424 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5426 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5429 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5431 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5433 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5435 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5437 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5441 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5443 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5445 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5447 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5449 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5451 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5453 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5455 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5458 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5462 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5468 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5472 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5474 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5479 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5484 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5485 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5486 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5487 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5489 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5491 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5493 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5494 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5495 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5497 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5499 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5501 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5503 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5505 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5506 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5507 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5509 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5511 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5513 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5515 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5516 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5518 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5519 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5520 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5522 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5525 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5528 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5531 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5536 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5539 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5541 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5543 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5545 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5548 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5551 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5553 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5554 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5555 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5556 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5559 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5561 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5563 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5565 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5567 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5568 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5570 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5573 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5576 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5577 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5579 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5581 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5584 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5586 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5588 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5590 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5591 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5593 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5596 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5598 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5599 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5601 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5602 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5604 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5606 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5608 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5610 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5611 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5612 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5613 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5614 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5615 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5616 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5617 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5619 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5622 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5623 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5625 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5626 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5629 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5630 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5631 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5632 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5633 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5635 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5636 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5637 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5638 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5639 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5640 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5641 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5642 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5644 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5645 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5647 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5649 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5650 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5652 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5655 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5657 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5659 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5660 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5661 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5663 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5665 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5667 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5669 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5671 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5672 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5674 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5675 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5677 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5678 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5679 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5680 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5681 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5682 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5683 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5684 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5685 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5686 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5687 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5688 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5689 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5690 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5691 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5692 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5693 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5694 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5696 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5698 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5699 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5701 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5702 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5703 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5704 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5705 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5706 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5707 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5708 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5713 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5715 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5716 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5717 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5718 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5719 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5720 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5721 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5722 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5723 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5724 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5725 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5726 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5727 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5728 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5729 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5731 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5732 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5733 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5734 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5735 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5737 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5738 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5739 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5740 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5741 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5742 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5743 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5744 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5745 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5746 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5748 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5751 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5752 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5753 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5754 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5755 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5756 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5757 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5758 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5759 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5760 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5761 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5762 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5763 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5764 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5765 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5771 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5773 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5786 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5787 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5788 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5789 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5791 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5793 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5795 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5796 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5797 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5798 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5799 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5801 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5802 that was previously under [RESET_PID].
5803 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5804 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5805 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5807 * sysdeps/i386/nptl/Implies: New file.
5808 * sysdeps/x86_64/nptl/Implies: New file.
5809 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5810 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5811 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5812 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5814 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5815 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5816 (__libc_vfork): New strong alias.
5817 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5818 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5820 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5821 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5822 (__libc_vfork): New strong alias.
5823 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5824 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5826 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5827 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5828 (__libc_vfork): New strong alias.
5829 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5830 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5831 * nptl/pt-vfork.c: New file.
5832 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5833 (libpthread: GLIBC_2.20): New version set (empty).
5835 2014-05-14 Will Newton <will.newton@linaro.org>
5837 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5840 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5843 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5844 arguments with exponent 65 or above.
5845 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5846 arguments 0x1p113L or above.
5847 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5848 to arguments 0x1p107L or above.
5849 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5850 positive arguments with exponent 65 or above.
5851 * math/auto-libm-test-in: Add more tests of log1p.
5852 * math/auto-libm-test-out: Regenerated.
5855 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5856 non-finite arguments is +0.
5857 * math/s_cacosf.c (__cacosf): Likewise.
5858 * math/s_cacosl.c (__cacosl): Likewise.
5859 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5860 * sysdeps/i386/fpu/libm-test-ulps: Update.
5861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5864 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5866 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5867 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5868 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5869 for explicit high bit of mantissa when testing for argument equal
5871 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5872 * sysdeps/i386/fpu/libm-test-ulps: Update.
5873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5876 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5877 (__erf): Scale by 16 instead of 8 in potentially underflowing
5878 case. Ensure exception if result actually underflows.
5879 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5880 (__erff): Scale by 16 instead of 8 in potentially underflowing
5881 case. Ensure exception if result actually underflows.
5882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5883 (efx8): Remove variable.
5884 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5885 case. Ensure exception if result actually underflows.
5886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5887 (efx8): Remove variable.
5888 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5889 case. Ensure exception if result actually underflows.
5890 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5891 (efx8): Remove variable.
5892 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5893 case. Ensure exception if result actually underflows.
5894 * math/auto-libm-test-in: Add more tests of erf.
5895 * math/auto-libm-test-out: Regenerated.
5897 2014-05-14 Andreas Schwab <schwab@suse.de>
5899 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5900 Remove code conditionalized on USE___THREAD.
5902 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5903 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5906 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5909 Define unconditionally.
5910 (__ASSUME_O_CLOEXEC): Likewise.
5911 (__ASSUME_SOCK_CLOEXEC): Likewise.
5912 (__ASSUME_IN_NONBLOCK): Likewise.
5913 (__ASSUME_PIPE2): Likewise.
5914 (__ASSUME_EVENTFD2): Likewise.
5915 (__ASSUME_SIGNALFD4): Likewise.
5916 (__ASSUME_DUP3): Likewise.
5917 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5918 (__ASSUME_DUP3): Do not define.
5919 (__ASSUME_EVENTFD2): Likewise.
5920 (__ASSUME_IN_NONBLOCK): Likewise.
5921 (__ASSUME_O_CLOEXEC): Likewise.
5922 (__ASSUME_PIPE2): Likewise.
5923 (__ASSUME_SIGNALFD4): Likewise.
5924 (__ASSUME_SOCK_CLOEXEC): Likewise.
5925 (__ASSUME_UTIMES): Undefine.
5926 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5927 (__ASSUME_UTIMES): Do not define.
5928 (__ASSUME_O_CLOEXEC): Likewise.
5929 (__ASSUME_SOCK_CLOEXEC): Likewise.
5930 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5931 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5933 (__ASSUME_PIPE2): Likewise.
5934 (__ASSUME_EVENTFD2): Likewise.
5935 (__ASSUME_SIGNALFD4): Likewise.
5936 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5937 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5939 (__ASSUME_EVENTFD2): Likewise.
5940 (__ASSUME_SIGNALFD4): Likewise.
5941 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5942 (__ASSUME_32BITUIDS): Likewise.
5943 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5944 (__ASSUME_IPC64): Likewise.
5945 (__ASSUME_ST_INO_64_BIT): Likewise.
5946 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5947 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5948 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5949 (__ASSUME_UTIMES): Do not define.
5950 (__ASSUME_PSELECT): Likewise.
5951 (__ASSUME_PPOLL): Likewise.
5952 (__ASSUME_O_CLOEXEC): Likewise.
5953 (__ASSUME_SOCK_CLOEXEC): Likewise.
5954 (__ASSUME_IN_NONBLOCK): Likewise.
5955 (__ASSUME_PIPE2): Likewise.
5956 (__ASSUME_EVENTFD2): Likewise.
5957 (__ASSUME_SIGNALFD4): Likewise.
5958 (__ASSUME_DUP3): Likewise.
5959 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5960 (__ASSUME_UTIMES): Likewise.
5961 (__ASSUME_O_CLOEXEC): Likewise.
5962 (__ASSUME_SOCK_CLOEXEC): Likewise.
5963 (__ASSUME_IN_NONBLOCK): Likewise.
5964 (__ASSUME_PIPE2): Likewise.
5965 (__ASSUME_EVENTFD2): Likewise.
5966 (__ASSUME_SIGNALFD4): Likewise.
5967 (__ASSUME_DUP3): Likewise.
5968 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5969 (__ASSUME_UTIMES): Likewise.
5970 (__ASSUME_O_CLOEXEC): Likewise.
5971 (__ASSUME_SOCK_CLOEXEC): Likewise.
5972 (__ASSUME_IN_NONBLOCK): Likewise.
5973 (__ASSUME_PIPE2): Likewise.
5974 (__ASSUME_EVENTFD2): Likewise.
5975 (__ASSUME_SIGNALFD4): Likewise.
5976 (__ASSUME_DUP3): Likewise.
5977 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5979 (__ASSUME_UTIMES): Likewise.
5980 (__ASSUME_EVENTFD2): Likewise.
5981 (__ASSUME_SIGNALFD4): Likewise.
5982 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5983 (__ASSUME_O_CLOEXEC): Likewise.
5984 (__ASSUME_SOCK_CLOEXEC): Likewise.
5985 (__ASSUME_IN_NONBLOCK): Likewise.
5986 (__ASSUME_PIPE2): Likewise.
5987 (__ASSUME_EVENTFD2): Likewise.
5988 (__ASSUME_SIGNALFD4): Likewise.
5989 (__ASSUME_DUP3): Likewise.
5990 (__ASSUME_UTIMES): Undefine.
5992 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5993 feclearexcept. Remove symbol versioning code.
5994 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5995 symbol versioning code.
5996 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5997 symbol versioning code.
5998 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5999 feupdateenv. Remove symbol versioning code.
6000 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6001 fegetexceptflag. Remove symbol versioning code.
6002 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6003 fesetexceptflag. Remove symbol versioning code.
6004 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6005 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6006 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6007 (__posix_fadvise64_l32): Remove prototype.
6008 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6011 2014-05-13 Roland McGrath <roland@hack.frob.com>
6013 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6014 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6015 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6016 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6018 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6020 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6021 current working directory
6023 2014-05-13 Roland McGrath <roland@hack.frob.com>
6025 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6026 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6027 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6028 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6029 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6030 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6031 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6042 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6043 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6044 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6046 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6047 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6048 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6049 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6050 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6052 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6053 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6054 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6055 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6056 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6057 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6058 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6059 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6060 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6061 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6062 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6063 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6064 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6065 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6066 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6068 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6069 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6071 * sysdeps/unix/sysv/linux/arm/Makefile
6072 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6073 Add rt-aeabi_unwind_cpp_pr1.
6074 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6075 Add nptl-aeabi_unwind_cpp_pr1.
6076 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6077 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6078 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6079 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6080 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6081 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6083 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6084 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6085 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6086 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6088 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6089 Deconditionalize the code that was previously under [RESET_PID].
6090 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6092 * sysdeps/generic/exit-thread.h: New file.
6093 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6094 * include/unistd.h (__exit_thread): Remove declaration.
6095 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6096 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6097 * csu/libc-start.c: Include <exit-thread.h>.
6098 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6099 * nptl/pthread_create.c: Include <exit-thread.h>.
6100 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6101 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6102 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6103 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6104 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6105 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6106 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6107 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6108 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6109 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6110 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6111 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6112 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6113 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6114 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6115 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6116 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6118 2014-05-13 Andreas Schwab <schwab@suse.de>
6120 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6122 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6124 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6125 (__ASSUME_UTIMES): Do not condition on kernel version.
6126 (__ASSUME_PSELECT): Define unconditionally.
6127 (__ASSUME_PPOLL): Likewise.
6128 (__ASSUME_ATFCTS): Likewise.
6129 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6130 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6131 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6132 (__ASSUME_UTIMENSAT): Define unconditionally.
6133 (__ASSUME_PRIVATE_FUTEX): Likewise.
6134 (__ASSUME_FALLOCATE): Likewise.
6135 (__ASSUME_O_CLOEXEC): Likewise.
6136 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6137 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6138 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6139 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6140 (__ASSUME_IN_NONBLOCK): Likewise.
6141 (__ASSUME_PIPE2): Likewise.
6142 (__ASSUME_EVENTFD2): Likewise.
6143 (__ASSUME_SIGNALFD4): Likewise.
6144 (__ASSUME_DUP3): Likewise.
6145 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6146 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6147 (__ASSUME_AT_RANDOM): Likewise.
6148 (__ASSUME_PREADV): Likewise.
6149 (__ASSUME_PWRITEV): Likewise.
6150 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6151 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6152 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6153 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6154 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6155 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6156 (__ASSUME_O_CLOEXEC): Define unconditionally.
6157 (__ASSUME_PSELECT): Do not undefine conditionally.
6158 (__ASSUME_PPOLL): Likewise.
6159 (__ASSUME_ATFCTS): Likewise.
6160 (__ASSUME_SET_ROBUST_LIST): Likewise.
6161 (__ASSUME_UTIMENSAT): Likewise.
6162 (__ASSUME_FDATASYNC): Define unconditionally.
6163 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6164 (__ASSUME_SIGFRAME_V2): Likewise.
6165 )__ASSUME_EVENTFD2): Likewise.
6166 (__ASSUME_SIGNALFD4): Likewise.
6167 (__ASSUME_PSELECT): Do not undefine conditionally.
6168 (__ASSUME_PPOLL): Likewise.
6169 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6170 (__ASSUME_PSELECT): Define unconditionally.
6171 (__ASSUME_PPOLL): Likewise.
6172 (__ASSUME_O_CLOEXEC): Likewise.
6173 (__ASSUME_SOCK_CLOEXEC): Likewise.
6174 (__ASSUME_IN_NONBLOCK): Likewise.
6175 (__ASSUME_PIPE2): Likewise.
6176 (__ASSUME_EVENTFD2): Likewise.
6177 (__ASSUME_SIGNALFD4): Likewise.
6178 (__ASSUME_DUP3): Likewise.
6179 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6180 (__ASSUME_O_CLOEXEC): Likewise.
6181 (__ASSUME_SOCK_CLOEXEC): Likewise.
6182 (__ASSUME_IN_NONBLOCK): Likewise.
6183 (__ASSUME_PIPE2): Likewise.
6184 (__ASSUME_EVENTFD2): Likewise.
6185 (__ASSUME_SIGNALFD4): Likewise.
6186 (__ASSUME_DUP3): Likewise.
6187 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6188 (__ASSUME_EVENTFD2): Likewise.
6189 (__ASSUME_SIGNALFD4): Likewise.
6190 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6192 2014-05-12 Andreas Schwab <schwab@suse.de>
6195 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6196 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6197 than maximum RPC packet size.
6198 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6199 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6200 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6201 (_nss_nis_getservbyport_r): Likewise.
6203 2014-05-12 Will Newton <will.newton@linaro.org>
6205 * malloc/Makefile (tests): Add tst-mallopt.
6206 * malloc/tst-mallopt.c: New file.
6208 2014-05-09 Roland McGrath <roland@hack.frob.com>
6210 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6211 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6213 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6216 (tst-tlsmod6.so): Likewise.
6218 2014-05-09 Roland McGrath <roland@hack.frob.com>
6220 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6222 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6225 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6226 and <dl-procinfo.h>.
6227 (__fegetenv): Save SSE state in envp->__eip if supported.
6228 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6229 envp->__eip if supported.
6230 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6231 and <dl-procinfo.h>.
6232 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6233 __data_offset and __data_selector in environment to 0. Set SSE
6235 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6237 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6239 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6241 2014-05-09 Will Newton <will.newton@linaro.org>
6243 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6244 and libc_relro_required for ARM.
6245 * sysdeps/arm/preconfigure: Regenerate.
6247 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6248 Stefan Liebler <stli@linux.vnet.ibm.com>
6250 * config.make.in (enable-lock-elision): New Makefile variable.
6251 * configure.ac: Likewise.
6252 * configure: Regenerate.
6253 * sysdeps/s390/configure.ac:
6254 Add check for gcc transactions support.
6255 * sysdeps/s390/configure: Regenerate.
6256 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6257 Build elision files if enabled.
6258 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6259 Add lock elision support for s390.
6260 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6261 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6262 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6263 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6264 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6265 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6266 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6268 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6270 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6272 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6274 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6275 (__lll_timedlock_elision, __lll_lock_elision)
6276 (__lll_unlock_elision, __lll_trylock_elision)
6277 (lll_timedlock_elision, lll_lock_elision)
6278 (lll_unlock_elision, lll_trylock_elision): Add.
6279 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6280 (pthread_mutex_t): Add lock elision support for s390.
6282 2014-05-14 Wilco <wdijkstr@arm.com>
6284 * sysdeps/arm/fclrexcpt.c: Cleanup.
6285 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6286 * sysdeps/arm/feenablxcpt.c: Cleanup.
6287 * sysdeps/arm/fegetenv.c: Cleanup.
6288 * sysdeps/arm/fegetexcept.c: Cleanup.
6289 * sysdeps/arm/fegetround.c: Cleanup.
6290 * sysdeps/arm/feholdexcpt.c: Cleanup.
6291 * sysdeps/arm/fesetenv.c: Cleanup.
6292 * sysdeps/arm/fesetround.c: Cleanup.
6293 * sysdeps/arm/feupdateenv.c: Cleanup.
6294 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6295 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6296 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6297 * sysdeps/arm/ftestexcept.c: Cleanup.
6298 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6299 * sysdeps/arm/setfpucw.c: Cleanup.
6301 2014-05-09 Will Newton <will.newton@linaro.org>
6303 * sysdeps/arm/armv7/strcmp.S: New file.
6304 * NEWS: Mention addition of ARMv7 optimized strcmp.
6306 2014-05-08 Roland McGrath <roland@hack.frob.com>
6308 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6309 look for %.ac rather than %.in.
6311 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6312 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6313 * sysdeps/mach/hurd/configure: Regenerated.
6314 * sysdeps/unix/sysv/linux/configure: Regenerated.
6316 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6318 2014-05-07 Steve Ellcey <sellcey@mips.com>
6321 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6325 2014-05-07 Andreas Schwab <schwab@suse.de>
6327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6328 when skipping over non-matching result from nscd.
6330 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6333 * nptl/sockperf.c (client): Check socket return value.
6336 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6337 nscd security class.
6339 2014-05-06 Roland McGrath <roland@hack.frob.com>
6341 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6342 * sysdeps/arm/unwind.h: ... here.
6344 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6347 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6350 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6352 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6353 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6354 multiarch strncpy for PPC64.
6355 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6356 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6358 multiarch optimizations.
6359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6360 (__libc_ifunc_impl_list): Likewise.
6361 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6362 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6363 multiarch stpncpy for PPC64.
6364 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6365 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6367 2014-05-06 Andreas Schwab <schwab@suse.de>
6370 * gmon/mcount.c (_MCOUNT_DECL): Use
6371 atomic_compare_and_exchange_bool_acq instead of
6372 catomic_compare_and_exchange_bool_acq.
6374 2014-05-05 Roland McGrath <roland@hack.frob.com>
6376 * elf/Makefile (others, install-bin): Remove pldd.
6377 (pldd-modules): Variable removed.
6378 ($(objpfx)pldd): Target removed.
6379 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6380 (others, install-bin): Append pldd here.
6381 ($(objpfx)pldd): New target.
6383 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6384 to 0, so the first #if test emitted later doesn't see it undefined.
6385 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6386 * sysdeps/gnu/errlist.c: Regenerated.
6388 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6391 [libc_hidden_builtin_def]: Define to empty value.
6392 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6393 [libc_hidden_builtin_def]: Likewise.
6394 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6395 [libc_hidden_builtin_def]: Likewise.
6396 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6397 [libc_hidden_builtin_def]: Likewise.
6398 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6399 __redirect_memcpy and define ifunc as default hidden symbol.
6400 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6401 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6403 2014-05-04 Adam Conrad <adconrad@0c3.net>
6405 * locale/iso-4217.def: Reintroduce XDR currency.
6407 2014-05-04 Allan McRae <allan@archlinux.org>
6409 * po/eo.po: Update Esperanto translation from translation project.
6411 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6413 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6414 and FEATURE_INDEX_MAX to 1.
6415 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6417 2014-05-01 Steve Ellcey <sellcey@mips.com>
6419 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6420 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6421 * iconvdata/big5.c (ONE_DIRECTION): Define.
6422 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6423 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6424 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6425 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6426 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6427 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6428 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6429 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6430 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6431 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6432 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6433 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6434 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6435 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6436 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6437 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6438 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6439 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6440 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6441 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6442 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6443 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6444 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6445 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6446 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6447 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6448 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6449 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6450 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6451 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6452 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6453 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6454 * iconvdata/johab.c (ONE_DIRECTION): Define.
6455 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6456 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6457 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6458 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6459 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6460 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6461 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6462 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6463 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6464 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6466 2014-05-01 Roland McGrath <roland@hack.frob.com>
6468 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6469 (_IO_JUMPS_OFFSET): Define to 0.
6471 * nptl/sysdeps/pthread/bits/libc-lock.h
6472 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6473 (__libc_lock_define_initialized_recursive): Always define using
6474 initializer. Modern compilers treat uninitialized (implicit zero) and
6475 explicit zero initializers the same (i.e. put the datum in bss).
6477 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6479 * nscd/nscd-client.h: Include <string.h>.
6481 2014-05-01 David S. Miller <davem@davemloft.net>
6484 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6485 multiple zero bytes exist at the end of a string.
6486 Reported by Aurelien Jarno <aurelien@aurel32.net>
6488 * string/test-strcmp.c (check): Add explicit test for situations where
6489 there are multiple zero bytes after the first.
6491 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6494 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6495 when compiling wprintf.
6496 * stdio-common/tstdiomisc.c (t3): New function.
6499 2014-05-01 Steve Ellcey <sellcey@mips.com>
6501 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6502 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6503 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6504 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6506 2014-05-01 Steve Ellcey <sellcey@mips.com>
6508 * stdlib/longlong.h: Updated from GCC.
6510 2014-05-01 Will Newton <will.newton@linaro.org>
6511 Bernard Ogden <bernie.ogden@linaro.org>
6513 * NEWS: Update fixed bug list.
6516 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6518 2014-04-30 David S. Miller <davem@davemloft.net>
6520 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6521 (libc_feholdexcept_setround_sparc_ctx): New function.
6522 (libc_fesetenv_sparc_ctx): Likewise.
6523 (libc_feupdateenv_sparc_ctx): Likewise.
6524 (libc_feholdsetround_sparc_ctx): Likewise.
6525 (libc_feholdexcept_setround_ctx): Define.
6526 (libc_feholdexcept_setroundf_ctx): Likewise.
6527 (libc_feholdexcept_setroundl_ctx): Likewise.
6528 (libc_fesetenv_ctx): Likewise.
6529 (libc_fesetenvf_ctx): Likewise.
6530 (libc_fesetenvl_ctx): Likewise.
6531 (libc_feupdateenv_ctx): Likewise.
6532 (libc_feupdateenvf_ctx): Likewise.
6533 (libc_feupdateenvl_ctx): Likewise.
6534 (libc_feresetround_ctx): Likewise.
6535 (libc_feresetroundf_ctx): Likewise.
6536 (libc_feresetroundl_ctx): Likewise.
6537 (libc_feholdsetround_ctx): Likewise.
6538 (libc_feholdsetroundf_ctx): Likewise.
6539 (libc_feholdsetroundl_ctx): Likewise.
6541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6542 with __USE_GNU instead of XOPEN cpp guards.
6544 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6547 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6548 with XOPEN cpp guards.
6550 2014-04-30 Julian Brown <julian@codesourcery.com>
6553 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6556 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6559 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6561 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6562 * sysdeps/unix/sysv/linux/configure: Regenerated.
6563 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6564 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6565 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6566 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6567 * README: Update reference to required Linux kernel version.
6568 * manual/install.texi (Linux): Update reference to required Linux
6569 kernel headers version.
6570 * INSTALL: Regenerated.
6572 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6574 [POSIX] (limits.h): Likewise.
6575 [POSIX] (math.h): Likewise.
6576 [POSIX] (sys/wait.h): Likewise.
6577 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6579 [POSIX] (stddef.h): Do not allow header inclusion.
6581 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6583 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6585 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6587 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6588 Return immediately after lll_futex_wake.
6590 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6593 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6595 (datahead_init_pos): Call datahead_init_common early.
6596 (datahead_init_neg): Likewise.
6598 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6599 datahead_init_neg): New functions.
6600 * nscd/aicache.c (addhstaiX): Use them.
6601 * nscd/grpcache.c (cache_addgr): Likewise.
6602 * nscd/hstcache.c (cache_addhst): Likewise.
6603 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6604 * nscd/netgroupcache.c (do_notfound): Likewise.
6605 (addgetnetgrentX): Likewise.
6606 (addinnetgrX): Likewise.
6607 * nscd/pwdcache.c (cache_addpw): Likewise.
6608 * nscd/servicescache.c (cache_addserv): Likewise.
6610 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6611 Atsushi Onoe <atsushi@onoe.org>
6616 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6617 one response is valid.
6618 * resolv/res_send.c (send_dg): Check for validity of other
6619 response if the current response is a referral.
6621 2014-04-29 Steve Ellcey <sellcey@mips.com>
6623 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6625 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6628 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6629 Always divide by positive zero when computing -Inf result.
6630 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6631 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6633 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6635 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6636 FPSCR if value do not change.
6637 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6638 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6639 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6640 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6641 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6642 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6645 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6647 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6648 * sysdeps/unix/sysv/linux/hppa: Move directory from
6649 ports/systeps/unix/sysv/linux/hppa.
6650 * README: Update listing for hppa-*-linux-gnu.
6652 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6655 * manual/stdio.texi (Hook functions): Fix types of stream hook
6658 * socket/sys/socket.h: Fix typo in comment.
6660 2014-04-28 Wilco <wdijkstr@arm.com>
6662 * sysdeps/arm/fenv_private.h: New file.
6663 * sysdeps/arm/math_private.h: New file.
6664 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6666 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6668 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6670 (La_x86_64_retval): Likewise.
6672 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6674 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6675 fpsr if value didn't change.
6676 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6677 to fpcr if value didn't change.
6678 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6679 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6680 fpsr or fpcr if value didn't change.
6681 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6682 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6683 fpcr if value didn't change.
6684 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6685 to fpsr if value didn't change.
6687 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6689 * nptl/tst-sem3.c: Use test-skeleton.c
6690 (main): Rename to do_test. Use return instead of
6692 * nptl/tst-sem4.c: Use test-skeleton.c
6693 (main): Rename to do_test.
6695 2014-04-22 David S. Miller <davem@davemloft.net>
6697 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6698 (struct sigaction): New struct member __glibc_reserved0, change
6699 type of sa_flags to int.
6701 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6703 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6704 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6706 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6708 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6709 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6711 2014-04-22 Will Newton <will.newton@linaro.org>
6712 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6714 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6715 (__longjmp): Add longjmp and longjmp_target SystemTap
6717 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6718 (__sigsetjmp): Add setjmp SystemTap probe.
6720 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6722 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6725 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6729 * sysdeps/powerpc/fpu/fenv_private.h
6730 (libc_feholdexcept_setroundl_ctx): Define to
6731 libc_feholdexcept_setround_ppc_ctx.
6732 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6733 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6734 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6735 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6737 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6739 * sysdeps/aarch64/math-tests.h: New file.
6741 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6743 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6746 Check and set bit_AVX2_Usable.
6747 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6749 (bit_AVX2): Likewise.
6750 (index_AVX2_Usable): Likewise.
6751 (CPUID_AVX2): Likewise.
6752 (HAS_AVX2): Likewise.
6754 2014-04-17 Will Newton <will.newton@linaro.org>
6756 * manual/setjmp.texi (System V contexts): Add note that
6757 calling setcontext on a context created by a call to a
6758 signal handler is undefined. Update text to note that
6759 setcontext from a signal handler is possible but not
6763 * stdlib/tst-setcontext.c: Include signal.h.
6764 (main): Check that the signal stack before and
6765 after swapcontext is the same.
6767 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6768 Re-implement to restore registers in user code and avoid
6769 rt_sigreturn system call.
6771 2014-04-17 Wilco <wdijkstr@arm.com>
6773 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6774 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6775 * math/test-fenv.c: Skip exception trap tests on targets which only
6776 support non-stop mode.
6778 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6779 Wilco Dijkstra <wilco.dijkstra@arm.com>
6781 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6782 (libc_feholdsetround_aarch64_ctx)
6783 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6784 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6785 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6786 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6787 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6788 (libc_feresetround_noexl_ctx): Define.
6790 2014-04-16 Richard Henderson <rth@redhat.com>
6792 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6794 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6797 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6798 const from the non-libc, non-ldso copy.
6800 * sysdeps/alpha/libm-test-ulps: Regenerate.
6802 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6803 Wilco Dijkstra <wilco.dijkstra@arm.com>
6805 * sysdeps/aarch64/fpu/math_private.h: New file.
6807 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6809 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6811 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6814 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6815 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6817 Intel MPX bound registers before _dl_profile_fixup.
6818 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6819 registers after _dl_profile_fixup. Save and restore bound
6820 registers bnd0/bnd1 when calling _dl_call_pltexit.
6821 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6822 (LR_BND_OFFSET): Likewise.
6823 (LRV_BND0_OFFSET): Likewise.
6824 (LRV_BND1_OFFSET): Likewise.
6826 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6828 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6830 * sysdeps/mach/hurd/i386/tls.h: ... here.
6831 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6832 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6835 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6837 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6839 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6841 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6843 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6846 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6847 * sysdeps/s390/configure: Regenerate.
6850 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6851 Set round-to-nearest internally to reduce error accumulation.
6853 2014-04-16 Alan Modra <amodra@gmail.com>
6857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6858 * math/libm-test.inc (frexp_test_data): Add tests.
6859 * NEWS: Update fixed bug list.
6861 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6863 * benchtests/Makefile: Depend on libraries in build directory.
6864 (bench-math): Separate out math tests.
6865 (bench-pthread): Separate out pthread tests.
6866 (bench): Include math and pthread tests.
6868 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6871 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6872 _dl_debug_initialize.
6874 * configure.ac: Remove SELinux header check.
6875 * configure: Regenerate.
6876 * nscd/selinux.c (perms): Array of const char* to permission names.
6877 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6878 default policy. Call string_to_security_class and string_to_av_perm to
6879 translate strings. Enforce default policy and call avs_has_perm with
6880 results of translated strings.
6882 2014-04-13 David S. Miller <davem@davemloft.net>
6884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6886 2014-04-12 Allan McRae <allan@archlinux.org>
6889 * manual/string.texi (Collation Functions): Fix qsort argument
6891 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6893 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6895 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6896 Make the test a no-op if there are no exceptions defined.
6898 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6900 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6901 enable-hardcoded-path-in-tests
6903 2014-04-11 Will Newton <will.newton@linaro.org>
6905 * benchtests/Makefile (extra-objs): Add json-lib.o.
6906 (bench-func): Tidy up JSON output.
6907 * benchtests/bench-skeleton.c: Include json-lib.h.
6908 (main): Use JSON library functions to do output of
6910 * benchtests/bench-timing-type.c (main): Output the
6911 timing type simply, leaving formatting to the user.
6912 * benchtests/json-lib.c: New file.
6913 * benchtests/json-lib.h: Likewise.
6915 2014-04-11 Torvald Riegel <triegel@redhat.com>
6918 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6919 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6920 memory barriers. Add comments.
6921 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6922 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6923 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6924 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6925 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6926 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6928 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6930 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6931 * sysdeps/s390/s390-64/configure.ac: ... this ...
6932 * sysdeps/s390/configure.ac: ... to here.
6933 * sysdeps/s390/s390-32/configure: Delete file.
6934 * sysdeps/s390/s390-64/configure: Delete file.
6935 * sysdeps/s390/configure: Regenerate.
6937 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6939 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6941 2014-04-11 Will Newton <will.newton@linaro.org>
6943 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6944 to zero if it is not defined elsewhere. (mtrim): Test
6945 the value of MALLOC_DEBUG with #if rather than #ifdef.
6947 2014-04-10 Torvald Riegel <triegel@redhat.com>
6949 * benchtests/pthread_once-inputs: New file.
6950 * benchtests/pthread_once-source.c: New file.
6951 * benchtests/README: Update documentation.
6953 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6954 H.J. Lu <hongjiu.lu@intel.com>
6957 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6958 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6959 * sysdeps/x86_64/configure: Regenerated.
6960 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6962 (REGISTER_SAVE_RAX): Likewise.
6963 (REGISTER_SAVE_RCX): Likewise.
6964 (REGISTER_SAVE_RDX): Likewise.
6965 (REGISTER_SAVE_RSI): Likewise.
6966 (REGISTER_SAVE_RDI): Likewise.
6967 (REGISTER_SAVE_R8): Likewise.
6968 (REGISTER_SAVE_R9): Likewise.
6969 (REGISTER_SAVE_BND0): Likewise.
6970 (REGISTER_SAVE_BND1): Likewise.
6971 (REGISTER_SAVE_BND2): Likewise.
6972 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6973 bound registers when calling _dl_fixup.
6975 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6977 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6978 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6980 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6981 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6982 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6983 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6984 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6985 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6986 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6988 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6991 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6992 pathconf(_PC_NAME_MAX).
6994 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6998 (__PTHREAD_SPINS): Move definition to ...
6999 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7000 (__PTHREAD_SPINS): ... here.
7001 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7002 (__PTHREAD_SPIN): Likewise.
7003 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7004 (__PTHREAD_SPIN): Likewise.
7005 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7006 (__PTHREAD_SPIN): Likewise.
7007 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7008 (__PTHREAD_SPIN): Likewise.
7009 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7010 (__PTHREAD_SPIN): Likewise.
7011 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7012 (__PTHREAD_SPIN): Likewise.
7013 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7014 (__PTHREAD_SPIN): Likewise.
7015 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7016 (__PTHREAD_SPIN): Likewise.
7017 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7018 (__PTHREAD_SPIN): Likewise.
7019 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7020 (__PTHREAD_SPIN): Likewise.
7021 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7022 (__PTHREAD_SPIN): Likewise.
7023 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7024 (__PTHREAD_SPIN): Likewise.
7026 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7027 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7028 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7029 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7031 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7032 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7033 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7034 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7036 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7037 strlen symbol for non multi-arch builds.
7038 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7039 missing hidden_def and weak_alias.
7041 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7043 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7045 2014-04-07 Will Newton <will.newton@linaro.org>
7047 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7048 and contents. [!_LIBC] Remove #ifndef and contents.
7049 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7050 * string/memccpy.c (__memccpy): Use ANSI prototype.
7051 * string/memfrob.c (memfrob): Likewise.
7052 * string/strcoll.c (STRCOLL): Likewise.
7053 * string/strlen.c (strlen): Likewise.
7054 * string/strtok.c (STRTOK): Likewise.
7055 * string/strcat.c: Remove unused #include of memcopy.h.
7056 (strcat): Use ANSI prototype.
7057 * string/strchr.c: Remove unused #include of memcopy.h.
7058 (strchr): Use ANSI prototype.
7059 * string/strcmp.c: Remove unused #include of memcopy.h.
7060 (strcmp): Use ANSI prototype.
7061 * string/strcpy.c: Remove unused #include of memcopy.h.
7062 (strcpy): Use ANSI prototype.
7064 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7066 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7067 * config.make.in (config-extra-cppflags): Set it from
7068 libc_extra_cppflags.
7069 * configure.ac (libc_extra_cflags): Make it accumulate over
7070 configure fragments.
7071 (libc_extra_cppflags): New flag.
7072 * configure. Regenerate.
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7074 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7075 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7080 result for FE_DOWNWARD rounding mode.
7081 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7085 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7087 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7088 in function argument name.
7090 2014-04-03 David Svoboda <svoboda@cert.org>
7093 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7096 2014-04-03 Roland McGrath <roland@hack.frob.com>
7098 * elf/dl-unmap-segments.h: New file.
7099 * sysdeps/generic/ldsodefs.h
7100 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7101 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7102 * elf/dl-fptr.c: Likewise.
7103 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7104 * sysdeps/aarch64/tlsdesc.c: Likewise.
7105 * sysdeps/arm/tlsdesc.c: Likewise.
7106 * sysdeps/i386/tlsdesc.c: Likewise.
7107 * sysdeps/tile/dl-runtime.c: Likewise.
7108 * sysdeps/x86_64/tlsdesc.c: Likewise.
7109 * elf/dl-load.h: New file.
7110 * elf/dl-load.c: Include it.
7111 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7112 Macros moved to dl-load.h.
7113 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7114 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7115 Use _dl_unmap_segments in place of __munmap.
7116 Break out segment-mapping loop into ...
7117 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7119 2014-04-03 Will Newton <will.newton@linaro.org>
7121 * elf/dl-lookup.c (do_lookup_x): Remove comment
7122 referring to nested function and move variable
7123 declarations down to before first use.
7125 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7129 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7131 * math/s_catanf.c (__catanf): Likewise.
7132 * math/s_catanh.c (__catanh): Likewise.
7133 * math/s_catanhf.c (__catanhf): Likewise.
7134 * math/s_catanhl.c (__catanhl): Likewise.
7135 * math/s_catanl.c (__catanl): Likewise.
7136 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7137 by positive zero when computing -Inf result.
7138 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7139 (catanh_test): Likewise.
7140 * sysdeps/i386/fpu/libm-test-ulps: Update.
7141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7144 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7145 instead of using underflowing value in computing result.
7146 * math/s_clog10.c (__clog10): Likewise.
7147 * math/s_clog10f.c (__clog10f): Likewise.
7148 * math/s_clog10l.c (__clog10l): Likewise.
7149 * math/s_clogf.c (__clogf): Likewise.
7150 * math/s_clogl.c (__clogl): Likewise.
7151 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7152 (clog10_test): Likewise.
7153 * sysdeps/i386/fpu/libm-test-ulps: Update.
7154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156 2014-04-02 Alan Modra <amodra@gmail.com>
7159 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7160 output when value is near a power of two. Use int64_t for lx and
7161 remove casts. Use decimal rather than hex exponent constants.
7162 Don't use long double multiplication when double will suffice.
7163 * math/libm-test.inc (nextafter_test_data): Add tests.
7164 * NEWS: Add 16739 and 16786 to bug list.
7166 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7168 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7170 2014-04-01 Will Newton <will.newton@linaro.org>
7172 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7173 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7175 2014-04-01 Florian Weimer <fweimer@redhat.com>
7178 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7179 * nptl/tst-setuid2.c: New file.
7180 * nptl/Makefile (xtests): Add tst-setuid2.
7182 2014-04-01 Alan Modra <amodra@gmail.com>
7185 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7187 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7191 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7192 set errno as appropriate.
7193 * math/w_scalbf.c (__scalbf): Likewise.
7194 * math/w_scalbl.c (__scalbl): Likewise.
7195 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7196 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7197 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7201 * math/w_atan2.c: Include <errno.h>.
7202 (__atan2): Set errno for result underflowing to zero.
7203 * math/w_atan2f.c: Include <errno.h>.
7204 (__atan2f): Set errno for result underflowing to zero.
7205 * math/w_atan2l.c: Include <errno.h>.
7206 (__atan2l): Set errno for result underflowing to zero.
7207 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7209 * math/auto-libm-test-out: Regenerated.
7211 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7213 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7214 Encode instruction correctly in little endian.
7215 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7217 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7219 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7221 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7224 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7227 * sysdeps/unix/sysv/linux/kernel-features.h
7228 [__sparc__ && !__arch64__ && !__sparc_v9__]
7229 (__ASSUME_SET_ROBUST_LIST): Do not define.
7230 [__sparc__ && !__arch64__ && !__sparc_v9__]
7231 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7232 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7234 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7235 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7236 (__ASSUME_REQUEUE_PI): Likewise.
7237 (__ASSUME_SET_ROBUST_LIST): Likewise.
7238 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7239 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7242 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7244 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7246 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7248 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7249 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7251 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7252 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7256 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7257 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7258 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7260 2014-03-31 Will Newton <will.newton@linaro.org>
7262 * benchtests/Makefile (bench): Add ffs and ffsll to list
7264 * benchtests/ffs-inputs: New file.
7265 * benchtests/ffsll-inputs: Likewise.
7267 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7270 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7271 too large before casting to int.
7272 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7273 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7274 * math/libm-test.inc (scalb_test_data): Add more tests.
7276 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7278 * benchtests/Makefile (DETAILED_OPT): New make option.
7279 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7281 * benchtests/bench-skeleton.c: Include stdbool.h.
7282 (main): Store and print timings per input.
7283 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7284 member to each argument value.
7285 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7286 (_print_arg_data): Initialize per-input timing to 0.
7288 * benchtests/Makefile (timing-type): New binary.
7289 (bench-clean): Also remove bench-timing-type.
7290 (bench): New target for timing-type.
7291 (bench-func): Print output in JSON format.
7292 * benchtests/bench-skeleton.c (main): Print output in JSON
7294 * benchtests/bench-timing-type.c: New file.
7295 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7296 (TIMING_PRINT_STATS): Remove.
7297 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7300 * benchtests/bench-modf.c: Remove.
7301 * benchtests/modf-inputs: New inputs file.
7303 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7306 * math/s_clog10.c (M_PI_LOG10E): New macro.
7307 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7308 imaginary parts are 0.
7309 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7310 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7311 imaginary parts are 0.
7312 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7313 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7314 imaginary parts are 0.
7315 * math/libm-test.inc (clog10_test_data): Update expected results
7316 for when real and imaginary parts are 0.
7318 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7320 * elf/dl-load.c: Finish conversion of __builtin_expect into
7323 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7326 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7327 1+x for argument with exponent below -67.
7328 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7330 * math/auto-libm-test-in: Add more tests of exp.
7331 * math/auto-libm-test-out: Regenerated.
7333 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7336 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7337 (nscd_getnetgrent): Use it.
7340 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7343 2014-03-27 Andi Kleen <ak@linux.intel.com>
7345 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7346 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7347 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7348 (lll_robust_unlock): Remove out of line section. Use cfi
7350 (LLL_STUB_UNWIND_INFO*): Remove.
7351 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7352 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7353 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7354 (lll_robust_unlock): Remove out of line section. Use cfi
7356 (LLL_STUB_UNWIND_INFO*): Remove.
7358 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7361 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7364 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7366 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7368 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7371 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7373 * math/test-fenv-preserve.c: New file.
7374 * math/Makefile (tests): Add test-fenv-preserve.
7376 2014-03-26 Will Newton <will.newton@linaro.org>
7378 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7380 2014-03-25 Roland McGrath <roland@hack.frob.com>
7382 * scripts/versionlist.awk: Partition the version sets and emit all
7383 GLIBC_* (sorted) before all others (sorted).
7385 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7387 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7388 GLIBC_2.2.5 version.
7390 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7392 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7395 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7400 2014-03-25 Andreas Schwab <schwab@suse.de>
7402 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7403 label to be used after in6ailist is initialized.
7405 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7407 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7408 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7410 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7414 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7416 (fp_formats): Update initializers.
7417 (init_fp_formats): Initialize new field.
7418 (output_for_one_input_case): Allow underflow for results up to
7420 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7421 * math/auto-libm-test-in: Don't mark some underflows from asin and
7423 * math/auto-libm-test-out: Regenerated.
7424 * sysdeps/i386/fpu/libm-test-ulps: Update.
7425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7427 2014-03-25 Andreas Schwab <schwab@suse.de>
7429 * libio/Makefile (tst-ftell-partial-wide-ENV)
7430 (tst-ftell-active-handler-ENV): Define.
7432 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7434 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7436 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7438 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7440 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7442 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7443 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7444 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7446 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7449 * elf/dl-load.c (open_verify): Add mode parameter.
7450 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7451 (open_path): Change from boolean 'secure' to complete flag 'mode'
7452 (_dl_map_object): Adjust.
7453 * elf/Makefile (tests): Add tst-dlopen-aout.
7454 * elf/tst-dlopen-aout.c: New test.
7456 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7459 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7460 (struct stat): Rename member pad0 to __glibc_reserved0.
7463 * sysdeps/s390/s390-32/bits/wordsize.h
7464 (__WORDSIZE32_SIZE_ULONG): New define.
7465 * sysdeps/s390/s390-64/bits/wordsize.h
7466 (__WORDSIZE32_SIZE_ULONG): Likewise.
7467 * sysdeps/generic/stdint.h (SIZE_MAX):
7468 Define as UL if __WORDSIZE32_SIZE_ULONG.
7471 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7472 (__glibc_reserved0): New variable.
7473 (sa_flags): Change type to int.
7475 * posix/Makefile (before-compile): Use += before-compile instead
7478 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7479 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7481 2014-03-20 Andreas Schwab <schwab@suse.de>
7484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7485 non-matching result from nscd.
7487 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7489 * scripts/bench.py: Moved to ...
7490 * benchtests/scripts/bench.py: ... here.
7491 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7493 2014-03-24 Andreas Schwab <schwab@suse.de>
7496 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7497 alloca_account and account alloca use for struct in6ailist.
7499 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7502 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7503 rounding mode to recompute results that overflow to infinity or
7505 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7507 * math/auto-libm-test-out: Regenerated.
7508 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7509 (ccosh_test): Likewise.
7510 (csin_test_data): Use plus_oflow.
7511 (csin_test): Use ALL_RM_TEST.
7512 (csinh_test_data): Use plus_oflow.
7513 (csinh_test): Use ALL_RM_TEST.
7514 * sysdeps/i386/fpu/libm-test-ulps: Update.
7515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7519 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7520 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7521 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7524 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7526 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7527 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7528 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7531 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7532 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7534 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7535 * sysdeps/i386/fpu/libm-test-ulps: Update.
7536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7538 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7540 * scripts/bench.pl: Remove file.
7541 * scripts/bench.py: New benchmark script.
7542 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7543 * benchtests/README: Mention python dependency.
7544 * scripts/pylintrc: New file.
7545 * scripts/pylint: New file.
7547 * bits/mathdef.h: Use #ifdef instead of #if.
7548 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7549 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7550 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7551 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7552 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7553 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7555 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7556 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7558 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7560 and strpbrk-ppc64 objects.
7561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7562 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7563 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7564 multiarch strpbrk for POWER7.
7565 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7566 multiarch strpbrk for PPC64.
7567 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7569 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7572 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7574 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7575 (atan_test): Likewise.
7576 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7577 (atanh_test): Use ALL_RM_TEST.
7578 (atan2_test_data): Likewise.
7579 (cabs_test): Likewise.
7580 (cacosh_test): Likewise.
7581 (carg_test): Likewise.
7582 (casin_test): Likewise.
7583 (casinh_test): Likewise.
7584 (cbrt_test): Likewise.
7585 (csqrt_test): Likewise.
7586 (erf_test): Likewise.
7587 (erfc_test): Likewise.
7588 (pow10_test): Likewise.
7589 (exp2_test): Likewise.
7590 (hypot_test): Likewise.
7591 (j0_test): Likewise.
7592 (j1_test): Likewise.
7593 (lgamma_test): Likewise.
7594 (gamma_test): Likewise.
7595 (sincos_test): Likewise.
7596 (tanh_test): Likewise.
7597 (y0_test): Likewise.
7598 (y1_test): Likewise.
7599 * sysdeps/i386/fpu/libm-test-ulps: Update.
7600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7602 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7604 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7606 and strcspn-ppc64 objects.
7607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7608 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7609 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7610 multiarch strcspn for POWER7.
7611 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7612 multiarch strcspn for PPC64.
7613 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7615 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7618 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7620 * math/gen-libm-test.pl (generate_testfile): Expect only function
7621 name as argument to AUTO_TESTS_* and pass results for all rounding
7622 modes to parse_args.
7623 (parse_auto_input): Separate inputs of automatic tests from
7624 outputs before storing in %auto_tests.
7625 * math/libm-test.inc (acos_test_data): Update call to
7627 (acos_test): Use ALL_RM_TEST.
7628 (acos_tonearest_test_data): Remove.
7629 (acos_test_tonearest): Likewise.
7630 (acos_towardzero_test_data): Likewise.
7631 (acos_test_towardzero): Likewise.
7632 (acos_downward_test_data): Likewise.
7633 (acos_test_downward): Likewise.
7634 (acos_upward_test_data): Likewise.
7635 (acos_test_upward): Likewise.
7636 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7637 (asin_test_data): Likewise.
7638 (asin_test): Use ALL_RM_TEST.
7639 (asin_tonearest_test_data): Remove.
7640 (asin_test_tonearest): Likewise.
7641 (asin_towardzero_test_data): Likewise.
7642 (asin_test_towardzero): Likewise.
7643 (asin_downward_test_data): Likewise.
7644 (asin_test_downward): Likewise.
7645 (asin_upward_test_data): Likewise.
7646 (asin_test_upward): Likewise.
7647 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7648 (atan_test_data): Likewise.
7649 (atanh_test_data): Likewise.
7650 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7651 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7652 (carg_test_data): Likewise.
7653 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7654 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7655 (ccosh_test_data): Likewise.
7656 (cexp_test_data): Likewise.
7657 (clog_test_data): Likewise.
7658 (clog10_test_data): Likewise.
7659 (cos_test_data): Update call to AUTO_TESTS_f_f.
7660 (cos_test): Use ALL_RM_TEST.
7661 (cos_tonearest_test_data): Remove.
7662 (cos_test_tonearest): Likewise.
7663 (cos_towardzero_test_data): Likewise.
7664 (cos_test_towardzero): Likewise.
7665 (cos_downward_test_data): Likewise.
7666 (cos_test_downward): Likewise.
7667 (cos_upward_test_data): Likewise.
7668 (cos_test_upward): Likewise.
7669 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7670 (cosh_test): Use ALL_RM_TEST.
7671 (cosh_tonearest_test_data): Remove.
7672 (cosh_test_tonearest): Likewise.
7673 (cosh_towardzero_test_data): Likewise.
7674 (cosh_test_towardzero): Likewise.
7675 (cosh_downward_test_data): Likewise.
7676 (cosh_test_downward): Likewise.
7677 (cosh_upward_test_data): Likewise.
7678 (cosh_test_upward): Likewise.
7679 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7680 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7681 (ctan_test_data): Likewise.
7682 (ctan_test): Use ALL_RM_TEST.
7683 (ctan_tonearest_test_data): Remove.
7684 (ctan_test_tonearest): Likewise.
7685 (ctan_towardzero_test_data): Likewise.
7686 (ctan_test_towardzero): Likewise.
7687 (ctan_downward_test_data): Likewise.
7688 (ctan_test_downward): Likewise.
7689 (ctan_upward_test_data): Likewise.
7690 (ctan_test_upward): Likewise.
7691 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7692 (ctanh_test): Use ALL_RM_TEST.
7693 (ctanh_tonearest_test_data): Remove.
7694 (ctanh_test_tonearest): Likewise.
7695 (ctanh_towardzero_test_data): Likewise.
7696 (ctanh_test_towardzero): Likewise.
7697 (ctanh_downward_test_data): Likewise.
7698 (ctanh_test_downward): Likewise.
7699 (ctanh_upward_test_data): Likewise.
7700 (ctanh_test_upward): Likewise.
7701 (erf_test_data): Update call to AUTO_TESTS_f_f.
7702 (erfc_test_data): Likewise.
7703 (exp_test_data): Likewise.
7704 (exp_test): Use ALL_RM_TEST.
7705 (exp_tonearest_test_data): Remove.
7706 (exp_test_tonearest): Likewise.
7707 (exp_towardzero_test_data): Likewise.
7708 (exp_test_towardzero): Likewise.
7709 (exp_downward_test_data): Likewise.
7710 (exp_test_downward): Likewise.
7711 (exp_upward_test_data): Likewise.
7712 (exp_test_upward): Likewise.
7713 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7714 (exp10_test): Use ALL_RM_TEST.
7715 (exp10_tonearest_test_data): Remove.
7716 (exp10_test_tonearest): Likewise.
7717 (exp10_towardzero_test_data): Likewise.
7718 (exp10_test_towardzero): Likewise.
7719 (exp10_downward_test_data): Likewise.
7720 (exp10_test_downward): Likewise.
7721 (exp10_upward_test_data): Likewise.
7722 (exp10_test_upward): Likewise.
7723 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7724 (expm1_test_data): Likewise.
7725 (expm1_test): Use ALL_RM_TEST.
7726 (expm1_tonearest_test_data): Remove.
7727 (expm1_test_tonearest): Likewise.
7728 (expm1_towardzero_test_data): Likewise.
7729 (expm1_test_towardzero): Likewise.
7730 (expm1_downward_test_data): Likewise.
7731 (expm1_test_downward): Likewise.
7732 (expm1_upward_test_data): Likewise.
7733 (expm1_test_upward): Likewise.
7734 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7735 (fma_test): Use ALL_RM_TEST.
7736 (fma_towardzero_test_data): Remove.
7737 (fma_test_towardzero): Likewise.
7738 (fma_downward_test_data): Likewise.
7739 (fma_test_downward): Likewise.
7740 (fma_upward_test_data): Likewise.
7741 (fma_test_upward): Likewise.
7742 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7743 (j0_test_data): Update call to AUTO_TESTS_f_f.
7744 (j1_test_data): Likewise.
7745 (jn_test_data): Update call to AUTO_TESTS_if_f.
7746 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7747 (log_test_data): Update call to AUTO_TESTS_f_f.
7748 (log10_test_data): Likewise.
7749 (log1p_test_data): Likewise.
7750 (log2_test_data): Likewise.
7751 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7752 (pow_tonearest_test_data): Likewise.
7753 (sin_test_data): Update call to AUTO_TESTS_f_f.
7754 (sin_test): Use ALL_RM_TEST.
7755 (sin_tonearest_test_data): Remove.
7756 (sin_test_tonearest): Likewise.
7757 (sin_towardzero_test_data): Likewise.
7758 (sin_test_towardzero): Likewise.
7759 (sin_downward_test_data): Likewise.
7760 (sin_test_downward): Likewise.
7761 (sin_upward_test_data): Likewise.
7762 (sin_test_upward): Likewise.
7763 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7764 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7765 (sinh_test): Use ALL_RM_TEST.
7766 (sinh_tonearest_test_data): Remove.
7767 (sinh_test_tonearest): Likewise.
7768 (sinh_towardzero_test_data): Likewise.
7769 (sinh_test_towardzero): Likewise.
7770 (sinh_downward_test_data): Likewise.
7771 (sinh_test_downward): Likewise.
7772 (sinh_upward_test_data): Likewise.
7773 (sinh_test_upward): Likewise.
7774 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7775 (sqrt_test): Use ALL_RM_TEST.
7776 (sqrt_tonearest_test_data): Remove.
7777 (sqrt_test_tonearest): Likewise.
7778 (sqrt_towardzero_test_data): Likewise.
7779 (sqrt_test_towardzero): Likewise.
7780 (sqrt_downward_test_data): Likewise.
7781 (sqrt_test_downward): Likewise.
7782 (sqrt_upward_test_data): Likewise.
7783 (sqrt_test_upward): Likewise.
7784 (tan_test_data): Update call to AUTO_TESTS_f_f.
7785 (tan_test): Use ALL_RM_TEST.
7786 (tan_tonearest_test_data): Remove.
7787 (tan_test_tonearest): Likewise.
7788 (tan_towardzero_test_data): Likewise.
7789 (tan_test_towardzero): Likewise.
7790 (tan_downward_test_data): Likewise.
7791 (tan_test_downward): Likewise.
7792 (tan_upward_test_data): Likewise.
7793 (tan_test_upward): Likewise.
7794 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7795 (tgamma_test_data): Likewise.
7796 (y0_test_data): Likewise.
7797 (y1_test_data): Likewise.
7798 (yn_test_data): Update call to AUTO_TESTS_if_f.
7799 (main): Do not call removed functions.
7801 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7803 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7804 (ldexp_test_data): Remove.
7805 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7807 (scalb_test): Use ALL_RM_TEST.
7809 2014-03-19 Andreas Schwab <schwab@suse.de>
7811 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7813 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7816 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7817 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7818 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7820 (__ASSUME_PREADV): Undefine.
7821 (__ASSUME_PWRITEV): Likewise.
7823 2014-03-18 Roland McGrath <roland@hack.frob.com>
7825 * bits/mman-linux.h: Add comment about non-Linux use.
7826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7827 bits/mman-linux.h resting place.
7829 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7830 * bits/mman-linux.h: ... here.
7832 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834 * conform/conformtest.pl: Add standard definition when calling C
7835 preprocessor on data files.
7836 (checknamespace): Remove unused variable.
7838 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7840 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7841 minus_oflow, plus_uflow and minus_uflow in expected results.
7842 * math/libm-test.inc (scalbn_test_data): Add more tests of
7843 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7845 (scalbn_test): Use ALL_RM_TEST.
7846 (scalbln_test_data): Add more tests of negative arguments. Use
7847 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7848 (scalbln_test): Use ALL_RM_TEST.
7850 2014-03-18 Roland McGrath <roland@hack.frob.com>
7852 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7854 2014-03-18 Will Newton <will.newton@linaro.org>
7856 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7859 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7861 * Makerules [!subdir] (check-abi): Exit with error status if a
7864 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7866 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7867 for rint. Include results for all rounding modes.
7868 (nearbyint_test): Use ALL_RM_TEST.
7869 (rint_test_data): Include all tests used for nearbyint.
7871 2014-03-17 Will Newton <will.newton@linaro.org>
7873 * nptl/sysdeps/pthread/pthread.h: Revert previous
7876 * sysdeps/generic/ldsodefs.h: Revert previous
7879 * libio/genops.c: Revert previous change.
7880 * libio/libioP.h: Likewise.
7881 * stdio-common/vfprintf.c: Likewise.
7883 * sysdeps/generic/math_private.h: Revert previous
7886 * sysdeps/generic/math_private.h: Check whether
7887 HAVE_RM_CTX is defined with #ifdef rather
7890 * argp/argp-fmtstream.h: Check whether
7891 __STRICT_ANSI__ is defined with #ifdef rather
7893 * argp/argp.h: Likewise.
7895 * libio/genops.c: Check whether
7896 _IO_JUMPS_OFFSET is defined with #ifdef rather
7898 * libio/libioP.h: Likewise.
7899 * stdio-common/vfprintf.c: Likewise.
7901 * sysdeps/generic/ldsodefs.h: Check whether
7902 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7905 * nptl/sysdeps/pthread/pthread.h: Check
7906 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7909 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7911 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7913 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7917 * libio/fileops.c (_IO_file_open): Seek to end of file but
7918 don't cache the offset.
7919 (get_file_offset): Remove function.
7920 (do_ftell): Use cached offset when available.
7921 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7922 don't cache the offset.
7923 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7925 (do_one_test): Call it.
7926 (do_ftell_test): Fix up expected old offset for a+ mode.
7927 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7930 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7931 up test status with function return status.
7932 (do_write_test): Likewise.
7933 (do_append_test): Likewise.
7935 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7936 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7939 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7941 * math/gen-libm-test.pl (parse_args): Handle results specified for
7942 each rounding mode separately.
7943 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7944 tests and results from lrint_tonearest_test_data,
7945 lrint_towardzero_test_data, lrint_downward_test_data and
7946 lrint_upward_test_data.
7947 (lrint_test): Use ALL_RM_TEST.
7948 (lrint_tonearest_test_data): Remove.
7949 (lrint_test_tonearest): Likewise.
7950 (lrint_towardzero_test_data): Likewise.
7951 (lrint_test_towardzero): Likewise.
7952 (lrint_downward_test_data): Likewise.
7953 (lrint_test_downward): Likewise.
7954 (lrint_upward_test_data): Likewise.
7955 (lrint_test_upward): Likewise.
7956 (llrint_test_data): Merge in per-rounding-mode tests and results
7957 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7958 llrint_downward_test_data and llrint_upward_test_data.
7959 (llrint_test): Use ALL_RM_TEST.
7960 (llrint_tonearest_test_data): Remove.
7961 (llrint_test_tonearest): Likewise.
7962 (llrint_towardzero_test_data): Likewise.
7963 (llrint_test_towardzero): Likewise.
7964 (llrint_downward_test_data): Likewise.
7965 (llrint_test_downward): Likewise.
7966 (llrint_upward_test_data): Likewise.
7967 (llrint_test_upward): Likewise.
7968 (rint_test_data): Merge in per-rounding-mode tests and results
7969 from rint_tonearest_test_data, rint_towardzero_test_data,
7970 rint_downward_test_data and rint_upward_test_data. Add
7971 per-rounding-mode results for tests not in those arrays.
7972 (rint_test): Use ALL_RM_TEST.
7973 (rint_tonearest_test_data): Remove.
7974 (rint_test_tonearest): Likewise.
7975 (rint_towardzero_test_data): Likewise.
7976 (rint_test_towardzero): Likewise.
7977 (rint_downward_test_data): Likewise.
7978 (rint_test_downward): Likewise.
7979 (rint_upward_test_data): Likewise.
7980 (rint_test_upward): Likewise.
7981 (main): Don't call removed functions.
7983 2014-03-14 Roland McGrath <roland@hack.frob.com>
7985 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7986 "Compiled on ..." crapola. It is anti-useful.
7988 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7990 * scripts/evaluate-test.sh: Handle fourth argument to determine
7991 whether test run should stop on failure.
7992 * Makeconfig (stop-on-test-failure): New variable.
7993 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7994 $(stop-on-test-failure).
7995 * Makefile (tests): Give a summary of results from testing and
7996 exit with failure status if they include an ERROR or FAIL.
7998 * manual/install.texi (Configuring and compiling): Mention
7999 stop-on-test-failure=y.
8000 * INSTALL: Regenerated.
8002 2014-03-14 Roland McGrath <roland@hack.frob.com>
8004 * scripts/versionlist.awk: New file.
8005 * Makerules [$(build-shared) = yes]
8006 (postclean-generated): Add Versions.def, not Versions.def.v and
8008 ($(common-objpfx)Versions.def.v.i): Target removed.
8009 ($(common-objpfx)Versions.def): New target.
8010 ($(common-objpfx)Versions.all): Depend on that rather that
8011 $(common-objpfx)Versions.def.v.
8012 * Versions.def: File removed.
8014 * Makeconfig (+gccwarn): Add -Wundef.
8015 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8016 a dl-sysdep.h breaking its contract.
8017 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8018 * include/stackinfo.h: New file.
8019 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8020 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8021 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8022 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8023 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8024 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8025 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8026 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8027 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8028 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8029 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8030 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8031 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8032 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8033 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8035 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8038 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8040 * math/libm-test.inc (round_test_data): Add more tests.
8043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8045 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8048 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8050 * math/libm-test.inc (ceil_test_data): Add more tests.
8052 * math/libm-test.inc (trunc_test_data): Add more tests related to
8055 2014-03-14 Roland McGrath <roland@hack.frob.com>
8057 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8058 with #if rather than #ifdef.
8059 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8061 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8063 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8064 first. Disable AVX-512 GCC support if assembler doesn't support
8066 * sysdeps/x86_64/configure: Regenerated.
8068 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8070 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8071 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8072 (__old_pthread_attr_setstack): Likewise.
8073 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8074 [!_STACK_GROWS_DOWN]: Likewise.
8076 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8078 * config.make.in (have-bash2): Delete.
8079 * configure.ac (libc_cv_have_bash2): Delete.
8080 * configure: Regenerate.
8081 * elf/Makefile (common-ldd-rewrite): Rename to ...
8082 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8083 (sh-ldd-rewrite): Delete.
8084 (bash-ldd-rewrite): Delete.
8085 (have-bash2): Delete checks.
8086 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8089 * config.make.in (have-ksh): Delete.
8091 * configure.ac (libc_cv_have_ksh): Delete.
8092 * configure: Regenerate.
8094 * elf/Makefile: Delete $(have-ksh) check.
8095 ($(objpfx)sotruss): Change KSH to BASH.
8096 * elf/sotruss.ksh: Rename to ...
8097 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8098 function style to match POSIX. Drop ksh vim mode setting.
8100 * manual/time.texi (Specifying the Time Zone with TZ): Change
8101 Tuesday to Thursday.
8103 * debug/tst-longjmp_chk2.c: Update header comment.
8104 (stackoverflow_handler): Add comment. Call assert on pass value.
8106 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8109 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8110 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8111 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8112 (La_x86_64_vector): Add zmm.
8113 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8114 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8115 ($(objpfx)tst-audit10): New target.
8116 ($(objpfx)tst-audit10.out): Likewise.
8117 (tst-audit10-ENV): New.
8118 (AVX512-CFLAGS): Likewise.
8119 (CFLAGS-tst-audit10.c): Likewise.
8120 (CFLAGS-tst-auditmod10a.c): Likewise.
8121 (CFLAGS-tst-auditmod10b.c): Likewise.
8122 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8123 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8124 * sysdeps/x86_64/configure: Regenerated.
8125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8126 AVX-512 zmm register support.
8127 (_dl_x86_64_save_sse): Likewise.
8128 (_dl_x86_64_restore_sse): Likewise.
8129 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8130 size vector registers.
8131 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8132 (ZMM_SIZE): Likewise.
8133 * sysdeps/x86_64/tst-audit10.c: New file.
8134 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8135 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8137 2014-03-13 Roland McGrath <roland@hack.frob.com>
8139 * configure.ac (HAVE_EHDR_START): New check.
8140 * configure: Regenerated.
8141 * config.h.in (HAVE_EHDR_START): New #undef.
8142 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8143 assuming the lowest-addressed segment maps the start of the file.
8145 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8147 * INSTALL: Regenerated.
8149 2014-03-13 Will Newton <will.newton@linaro.org>
8151 * manual/setjmp.texi (System V contexts): Improve
8152 clarity and grammar of documentation.
8154 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8157 * elf/Makefile (tests): Add tst-pie2.
8158 (tests-pie): Add tst-pie2.
8159 * elf/tst-pie2.c: New file.
8160 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8162 * elf/rtld.c (map_doit): Load executable as lt_executable.
8163 (dl_main): Likewise.
8165 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8168 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8169 (__ASSUME_PSELECT): Undefine.
8171 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8174 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8175 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8177 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8178 selector for static builds.
8180 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8183 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8186 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8189 IFUNC selector for static builds.
8191 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8193 * sysdeps/mips/math_private.h [__mips_hard_float]
8194 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8195 libc_feresetround_mips_ctx.
8196 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8197 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8198 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8201 * math/s_nextafter.c (__nextafter): Do not return value from
8202 overflowing computation.
8203 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8204 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8205 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8207 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8209 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8210 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8212 2014-03-11 Roland McGrath <roland@hack.frob.com>
8214 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8215 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8216 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8217 the new mov targetting sp.
8219 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8222 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8223 Define it for static builds as well.
8224 (NO_BZERO_IMPL): Likewise.
8226 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8228 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8229 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8230 multiarch strspn for PPC64.
8231 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8232 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8234 (__libc_ifunc_impl_list): Likewise.
8235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8236 multiarch optimizations
8237 * string/strspn.c (strspn): Using macro to redefine symbol name.
8239 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8240 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8242 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8243 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8244 multiarch strncat for PPC64.
8245 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8246 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8248 (__libc_ifunc_impl_list): Likewise.
8249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8250 multiarch optimizations
8252 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8255 * nscd/nscd.service: Make service type forking.
8257 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8259 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8260 sign in non default rounding modes.
8261 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8263 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8265 * math/libm-test.inc (ALL_RM_TEST): New macro.
8266 (ceil_test): Use ALL_RM_TEST.
8267 (cimag_test): Likewise.
8268 (conj_test): Likewise.
8269 (copysign_test): Likewise.
8270 (cproj_test): Likewise.
8271 (creal_test): Likewise.
8272 (fabs_test): Likewise.
8273 (floor_test): Likewise.
8274 (fmax_test): Likewise.
8275 (fmin_test): Likewise.
8276 (fmod_test): Likewise.
8277 (fpclassify_test): Likewise.
8278 (frexp_test): Likewise.
8279 (ilogb_test): Likewise.
8280 (isfinite_test): Likewise.
8281 (finite_test): Likewise.
8282 (isgreater_test): Likewise.
8283 (isgreaterequal_test): Likewise.
8284 (isinf_test): Likewise.
8285 (isless_test): Likewise.
8286 (islessequal_test): Likewise.
8287 (islessgreater_test): Likewise.
8288 (isnan_test): Likewise.
8289 (isnormal_test): Likewise.
8290 (issignaling_test): Likewise.
8291 (isunordered_test): Likewise.
8292 (logb_test): Likewise.
8293 (logb_downward_test_data): Remove.
8294 (logb_test_downward): Likewise.
8295 (lround_test): Use ALL_RM_TEST.
8296 (llround_test): Likewise.
8297 (modf_test): Likewise.
8298 (nexttoward_test): Likewise.
8299 (remainder_test): Likewise.
8300 (drem_test): Likewise.
8301 (remainder_tonearest_test_data): Likewise.
8302 (remainder_test_tonearest): Likewise.
8303 (drem_test_tonearest): Likewise.
8304 (remainder_towardzero_test_data): Likewise.
8305 (remainder_test_towardzero): Likewise.
8306 (drem_test_towardzero): Likewise.
8307 (remainder_downward_test_data): Likewise.
8308 (remainder_test_downward): Likewise.
8309 (drem_test_downward): Likewise.
8310 (remainder_upward_test_data): Likewise.
8311 (remainder_test_upward): Likewise.
8312 (drem_test_upward): Likewise.
8313 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8314 (round_test): Use ALL_RM_TEST.
8315 (signbit_test): Likewise.
8316 (trunc_test): Likewise.
8317 (significand_test): Likewise.
8318 (main): Don't call removed functions.
8320 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8323 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8325 (ILL_ILLOPN): Likewise.
8326 (ILL_ILLADR): Likewise.
8327 (ILL_ILLTRP): Likewise.
8328 (ILL_PRVOPC): Likewise.
8329 (ILL_PRVREG): Likewise.
8330 (ILL_COPROC): Likewise.
8331 (ILL_BADSTK): Likewise.
8332 (FPE_INTDIV): Likewise.
8333 (FPE_INTOVF): Likewise.
8334 (FPE_FLTDIV): Likewise.
8335 (FPE_FLTOVF): Likewise.
8336 (FPE_FLTUND): Likewise.
8337 (FPE_FLTRES): Likewise.
8338 (FPE_FLTINV): Likewise.
8339 (FPE_FLTSUB): Likewise.
8340 (SEGV_MAPERR): Likewise.
8341 (SEGV_ACCERR): Likewise.
8342 (BUS_ADRALN): Likewise.
8343 (BUS_ADRERR): Likewise.
8344 (BUS_OBJERR): Likewise.
8345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8346 (TRAP_TRACE): Likewise.
8347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8349 (CLD_KILLED): Likewise.
8350 (CLD_DUMPED): Likewise.
8351 (CLD_TRAPPED): Likewise.
8352 (CLD_STOPPED): Likewise.
8353 (CLD_CONTINUED): Likewise.
8354 (POLL_IN): Likewise.
8355 (POLL_OUT): Likewise.
8356 (POLL_MSG): Likewise.
8357 (POLL_ERR): Likewise.
8358 (POLL_PRI): Likewise.
8359 (POLL_HUP): Likewise.
8360 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8362 (ILL_ILLOPN): Likewise.
8363 (ILL_ILLADR): Likewise.
8364 (ILL_ILLTRP): Likewise.
8365 (ILL_PRVOPC): Likewise.
8366 (ILL_PRVREG): Likewise.
8367 (ILL_COPROC): Likewise.
8368 (ILL_BADSTK): Likewise.
8369 (FPE_INTDIV): Likewise.
8370 (FPE_INTOVF): Likewise.
8371 (FPE_FLTDIV): Likewise.
8372 (FPE_FLTOVF): Likewise.
8373 (FPE_FLTUND): Likewise.
8374 (FPE_FLTRES): Likewise.
8375 (FPE_FLTINV): Likewise.
8376 (FPE_FLTSUB): Likewise.
8377 (SEGV_MAPERR): Likewise.
8378 (SEGV_ACCERR): Likewise.
8379 (BUS_ADRALN): Likewise.
8380 (BUS_ADRERR): Likewise.
8381 (BUS_OBJERR): Likewise.
8382 (BUS_MCEERR_AR): Likewise.
8383 (BUS_MCEERR_AO): Likewise.
8384 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8385 (TRAP_TRACE): Likewise.
8386 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8388 (CLD_KILLED): Likewise.
8389 (CLD_DUMPED): Likewise.
8390 (CLD_TRAPPED): Likewise.
8391 (CLD_STOPPED): Likewise.
8392 (CLD_CONTINUED): Likewise.
8393 (POLL_IN): Likewise.
8394 (POLL_OUT): Likewise.
8395 (POLL_MSG): Likewise.
8396 (POLL_ERR): Likewise.
8397 (POLL_PRI): Likewise.
8398 (POLL_HUP): Likewise.
8399 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8400 (ILL_ILLOPN): Likewise.
8401 (ILL_ILLADR): Likewise.
8402 (ILL_ILLTRP): Likewise.
8403 (ILL_PRVOPC): Likewise.
8404 (ILL_PRVREG): Likewise.
8405 (ILL_COPROC): Likewise.
8406 (ILL_BADSTK): Likewise.
8407 (FPE_INTDIV): Likewise.
8408 (FPE_INTOVF): Likewise.
8409 (FPE_FLTDIV): Likewise.
8410 (FPE_FLTOVF): Likewise.
8411 (FPE_FLTUND): Likewise.
8412 (FPE_FLTRES): Likewise.
8413 (FPE_FLTINV): Likewise.
8414 (FPE_FLTSUB): Likewise.
8415 (SEGV_MAPERR): Likewise.
8416 (SEGV_ACCERR): Likewise.
8417 (BUS_ADRALN): Likewise.
8418 (BUS_ADRERR): Likewise.
8419 (BUS_OBJERR): Likewise.
8420 (BUS_MCEERR_AR): Likewise.
8421 (BUS_MCEERR_AO): Likewise.
8422 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8423 (TRAP_TRACE): Likewise.
8424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8426 (CLD_KILLED): Likewise.
8427 (CLD_DUMPED): Likewise.
8428 (CLD_TRAPPED): Likewise.
8429 (CLD_STOPPED): Likewise.
8430 (CLD_CONTINUED): Likewise.
8431 (POLL_IN): Likewise.
8432 (POLL_OUT): Likewise.
8433 (POLL_MSG): Likewise.
8434 (POLL_ERR): Likewise.
8435 (POLL_PRI): Likewise.
8436 (POLL_HUP): Likewise.
8437 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8439 (ILL_ILLOPN): Likewise.
8440 (ILL_ILLADR): Likewise.
8441 (ILL_ILLTRP): Likewise.
8442 (ILL_PRVOPC): Likewise.
8443 (ILL_PRVREG): Likewise.
8444 (ILL_COPROC): Likewise.
8445 (ILL_BADSTK): Likewise.
8446 (ILL_BADIADDR): Likewise.
8447 (ILL_BREAK): Likewise.
8448 (FPE_INTDIV): Likewise.
8449 (FPE_INTOVF): Likewise.
8450 (FPE_FLTDIV): Likewise.
8451 (FPE_FLTOVF): Likewise.
8452 (FPE_FLTUND): Likewise.
8453 (FPE_FLTRES): Likewise.
8454 (FPE_FLTINV): Likewise.
8455 (FPE_FLTSUB): Likewise.
8456 (FPE_DECOVF): Likewise.
8457 (FPE_DECDIV): Likewise.
8458 (FPE_DECERR): Likewise.
8459 (FPE_INVASC): Likewise.
8460 (FPE_INVDEC): Likewise.
8461 (SEGV_MAPERR): Likewise.
8462 (SEGV_ACCERR): Likewise.
8463 (SEGV_PSTKOVF): Likewise.
8464 (BUS_ADRALN): Likewise.
8465 (BUS_ADRERR): Likewise.
8466 (BUS_OBJERR): Likewise.
8467 (BUS_MCEERR_AR): Likewise.
8468 (BUS_MCEERR_AO): Likewise.
8469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8470 (TRAP_TRACE): Likewise.
8471 (TRAP_BRANCH): Likewise.
8472 (TRAP_HWBKPT): Likewise.
8473 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8475 (CLD_KILLED): Likewise.
8476 (CLD_DUMPED): Likewise.
8477 (CLD_TRAPPED): Likewise.
8478 (CLD_STOPPED): Likewise.
8479 (CLD_CONTINUED): Likewise.
8480 (POLL_IN): Likewise.
8481 (POLL_OUT): Likewise.
8482 (POLL_MSG): Likewise.
8483 (POLL_ERR): Likewise.
8484 (POLL_PRI): Likewise.
8485 (POLL_HUP): Likewise.
8486 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8487 (ILL_ILLOPN): Likewise.
8488 (ILL_ILLADR): Likewise.
8489 (ILL_ILLTRP): Likewise.
8490 (ILL_PRVOPC): Likewise.
8491 (ILL_PRVREG): Likewise.
8492 (ILL_COPROC): Likewise.
8493 (ILL_BADSTK): Likewise.
8494 (FPE_INTDIV): Likewise.
8495 (FPE_INTOVF): Likewise.
8496 (FPE_FLTDIV): Likewise.
8497 (FPE_FLTOVF): Likewise.
8498 (FPE_FLTUND): Likewise.
8499 (FPE_FLTRES): Likewise.
8500 (FPE_FLTINV): Likewise.
8501 (FPE_FLTSUB): Likewise.
8502 (SEGV_MAPERR): Likewise.
8503 (SEGV_ACCERR): Likewise.
8504 (BUS_ADRALN): Likewise.
8505 (BUS_ADRERR): Likewise.
8506 (BUS_OBJERR): Likewise.
8507 (BUS_MCEERR_AR): Likewise.
8508 (BUS_MCEERR_AO): Likewise.
8509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8510 (TRAP_TRACE): Likewise.
8511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8513 (CLD_KILLED): Likewise.
8514 (CLD_DUMPED): Likewise.
8515 (CLD_TRAPPED): Likewise.
8516 (CLD_STOPPED): Likewise.
8517 (CLD_CONTINUED): Likewise.
8518 (POLL_IN): Likewise.
8519 (POLL_OUT): Likewise.
8520 (POLL_MSG): Likewise.
8521 (POLL_ERR): Likewise.
8522 (POLL_PRI): Likewise.
8523 (POLL_HUP): Likewise.
8524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8525 (ILL_ILLOPN): Likewise.
8526 (ILL_ILLADR): Likewise.
8527 (ILL_ILLTRP): Likewise.
8528 (ILL_PRVOPC): Likewise.
8529 (ILL_PRVREG): Likewise.
8530 (ILL_COPROC): Likewise.
8531 (ILL_BADSTK): Likewise.
8532 (FPE_INTDIV): Likewise.
8533 (FPE_INTOVF): Likewise.
8534 (FPE_FLTDIV): Likewise.
8535 (FPE_FLTOVF): Likewise.
8536 (FPE_FLTUND): Likewise.
8537 (FPE_FLTRES): Likewise.
8538 (FPE_FLTINV): Likewise.
8539 (FPE_FLTSUB): Likewise.
8540 (SEGV_MAPERR): Likewise.
8541 (SEGV_ACCERR): Likewise.
8542 (BUS_ADRALN): Likewise.
8543 (BUS_ADRERR): Likewise.
8544 (BUS_OBJERR): Likewise.
8545 (BUS_MCEERR_AR): Likewise.
8546 (BUS_MCEERR_AO): Likewise.
8547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8548 (TRAP_TRACE): Likewise.
8549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8551 (CLD_KILLED): Likewise.
8552 (CLD_DUMPED): Likewise.
8553 (CLD_TRAPPED): Likewise.
8554 (CLD_STOPPED): Likewise.
8555 (CLD_CONTINUED): Likewise.
8556 (POLL_IN): Likewise.
8557 (POLL_OUT): Likewise.
8558 (POLL_MSG): Likewise.
8559 (POLL_ERR): Likewise.
8560 (POLL_PRI): Likewise.
8561 (POLL_HUP): Likewise.
8562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8563 (ILL_ILLOPN): Likewise.
8564 (ILL_ILLADR): Likewise.
8565 (ILL_ILLTRP): Likewise.
8566 (ILL_PRVOPC): Likewise.
8567 (ILL_PRVREG): Likewise.
8568 (ILL_COPROC): Likewise.
8569 (ILL_BADSTK): Likewise.
8570 (FPE_INTDIV): Likewise.
8571 (FPE_INTOVF): Likewise.
8572 (FPE_FLTDIV): Likewise.
8573 (FPE_FLTOVF): Likewise.
8574 (FPE_FLTUND): Likewise.
8575 (FPE_FLTRES): Likewise.
8576 (FPE_FLTINV): Likewise.
8577 (FPE_FLTSUB): Likewise.
8578 (SEGV_MAPERR): Likewise.
8579 (SEGV_ACCERR): Likewise.
8580 (BUS_ADRALN): Likewise.
8581 (BUS_ADRERR): Likewise.
8582 (BUS_OBJERR): Likewise.
8583 (BUS_MCEERR_AR): Likewise.
8584 (BUS_MCEERR_AO): Likewise.
8585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8586 (TRAP_TRACE): Likewise.
8587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8589 (CLD_KILLED): Likewise.
8590 (CLD_DUMPED): Likewise.
8591 (CLD_TRAPPED): Likewise.
8592 (CLD_STOPPED): Likewise.
8593 (CLD_CONTINUED): Likewise.
8594 (POLL_IN): Likewise.
8595 (POLL_OUT): Likewise.
8596 (POLL_MSG): Likewise.
8597 (POLL_ERR): Likewise.
8598 (POLL_PRI): Likewise.
8599 (POLL_HUP): Likewise.
8600 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8601 (ILL_ILLOPN): Likewise.
8602 (ILL_ILLADR): Likewise.
8603 (ILL_ILLTRP): Likewise.
8604 (ILL_PRVOPC): Likewise.
8605 (ILL_PRVREG): Likewise.
8606 (ILL_COPROC): Likewise.
8607 (ILL_BADSTK): Likewise.
8608 (ILL_DBLFLT): Likewise.
8609 (ILL_HARDWALL): Likewise.
8610 (FPE_INTDIV): Likewise.
8611 (FPE_INTOVF): Likewise.
8612 (FPE_FLTDIV): Likewise.
8613 (FPE_FLTOVF): Likewise.
8614 (FPE_FLTUND): Likewise.
8615 (FPE_FLTRES): Likewise.
8616 (FPE_FLTINV): Likewise.
8617 (FPE_FLTSUB): Likewise.
8618 (SEGV_MAPERR): Likewise.
8619 (SEGV_ACCERR): Likewise.
8620 (BUS_ADRALN): Likewise.
8621 (BUS_ADRERR): Likewise.
8622 (BUS_OBJERR): Likewise.
8623 (BUS_MCEERR_AR): Likewise.
8624 (BUS_MCEERR_AO): Likewise.
8625 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8626 (TRAP_TRACE): Likewise.
8627 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8629 (CLD_KILLED): Likewise.
8630 (CLD_DUMPED): Likewise.
8631 (CLD_TRAPPED): Likewise.
8632 (CLD_STOPPED): Likewise.
8633 (CLD_CONTINUED): Likewise.
8634 (POLL_IN): Likewise.
8635 (POLL_OUT): Likewise.
8636 (POLL_MSG): Likewise.
8637 (POLL_ERR): Likewise.
8638 (POLL_PRI): Likewise.
8639 (POLL_HUP): Likewise.
8640 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8641 (ILL_ILLOPN): Likewise.
8642 (ILL_ILLADR): Likewise.
8643 (ILL_ILLTRP): Likewise.
8644 (ILL_PRVOPC): Likewise.
8645 (ILL_PRVREG): Likewise.
8646 (ILL_COPROC): Likewise.
8647 (ILL_BADSTK): Likewise.
8648 (FPE_INTDIV): Likewise.
8649 (FPE_INTOVF): Likewise.
8650 (FPE_FLTDIV): Likewise.
8651 (FPE_FLTOVF): Likewise.
8652 (FPE_FLTUND): Likewise.
8653 (FPE_FLTRES): Likewise.
8654 (FPE_FLTINV): Likewise.
8655 (FPE_FLTSUB): Likewise.
8656 (SEGV_MAPERR): Likewise.
8657 (SEGV_ACCERR): Likewise.
8658 (BUS_ADRALN): Likewise.
8659 (BUS_ADRERR): Likewise.
8660 (BUS_OBJERR): Likewise.
8661 (BUS_MCEERR_AR): Likewise.
8662 (BUS_MCEERR_AO): Likewise.
8663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8664 (TRAP_TRACE): Likewise.
8665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8667 (CLD_KILLED): Likewise.
8668 (CLD_DUMPED): Likewise.
8669 (CLD_TRAPPED): Likewise.
8670 (CLD_STOPPED): Likewise.
8671 (CLD_CONTINUED): Likewise.
8672 (POLL_IN): Likewise.
8673 (POLL_OUT): Likewise.
8674 (POLL_MSG): Likewise.
8675 (POLL_ERR): Likewise.
8676 (POLL_PRI): Likewise.
8677 (POLL_HUP): Likewise.
8678 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8679 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8682 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8683 before #include of <time.h>.
8684 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8685 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8686 (test-xfail-UNIX98/sched.h/conform): Likewise.
8688 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8690 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8691 error absence of trapping exception support.
8692 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8694 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8696 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8697 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8698 * timezone/Makefile (testdata): Move definition above include of
8700 (test-zones): New variable.
8701 (tests-special): Add zone files.
8702 (build-testdata): Use $(evaluate-test).
8704 * elf/Makefile (tests-special): Rename tests to end with .out.
8705 ($(objpfx)noload-mem): Likewise.
8706 ($(objpfx)tst-leaks1-mem): Likewise.
8707 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8708 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8709 $(objpfx)test-iconvconfig.out.
8710 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8711 set -e inside subshell and redirect output to file.
8712 * iconvdata/Makefile (generated): Rename tests to end with .out.
8714 (tests-special): Rename tests to end with .out.
8715 ($(objpfx)mtrace-tst-loading): Likewise.
8716 * intl/Makefile (generated): Likewise.
8717 (tests-special): Likewise.
8718 ($(objpfx)mtrace-tst-gettext): Likewise.
8719 * misc/Makefile (generated): Likewise.
8720 (tests-special): Likewise.
8721 ($(objpfx)tst-error1-mem): Likewise.
8722 * nptl/Makefile (tests-special): Likewise.
8723 ($(objpfx)tst-stack3-mem): Likewise.
8724 (generated): Likewise.
8725 * posix/Makefile (generated): Likewise.
8726 (tests-special): Likewise.
8727 (xtests-special): Likewise.
8728 ($(objpfx)tst-fnmatch-mem): Likewise.
8729 ($(objpfx)bug-regex2-mem): Likewise.
8730 ($(objpfx)bug-regex14-mem): Likewise.
8731 ($(objpfx)bug-regex21-mem): Likewise.
8732 ($(objpfx)bug-regex31-mem): Likewise.
8733 ($(objpfx)tst-vfork3-mem): Likewise.
8734 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8735 ($(objpfx)tst-pcre-mem): Likewise.
8736 ($(objpfx)tst-boost-mem): Likewise.
8737 ($(objpfx)bug-ga2-mem): Likewise.
8738 ($(objpfx)bug-glob2-mem): Likewise.
8739 * resolv/Makefile (generate): Likewise.
8740 (tests-special): Likewise.
8741 (xtests-special): Likewise.
8742 (generated): Likewise.
8743 ($(objpfx)mtrace-tst-leaks): Likewise.
8744 ($(objpfx)mtrace-tst-leaks2): Likewise.
8746 * scripts/merge-test-results.sh: New file.
8747 * Makefile (tests-special-notdir): New variable.
8748 (tests): Run merge-test-results.sh.
8750 * Rules (tests-special-notdir): New variable.
8751 (xtests-special-notdir): Likewise.
8752 (tests): Run merge-test-results.sh
8755 * Makeconfig (test-xfail-name): New variable.
8756 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8757 compute variable name for expected failures.
8758 * conform/Makefile (conformtest-headers-data): New variable.
8759 (conformtest-standards): Likewise.
8760 (conformtest-headers-ISO): Likewise.
8761 (conformtest-headers-ISO99): Likewise.
8762 (conformtest-headers-ISO11): Likewise.
8763 (conformtest-headers-POSIX): Likewise.
8764 (conformtest-headers-XPG3): Likewise.
8765 (conformtest-headers-XPG4): Likewise.
8766 (conformtest-headers-UNIX98): Likewise.
8767 (conformtest-headers-XOPEN2K): Likewise.
8768 (conformtest-headers-POSIX2008): Likewise.
8769 (conformtest-headers-XOPEN2K8): Likewise.
8770 (conformtest-header-list-base): Likewise.
8771 (conformtest-header-list-tests): Likewise.
8772 (conformtest-header-base): Likewise.
8773 (conformtest-header-tests): Likewise.
8774 (tests-special): Add $(conformtest-header-list-tests). If
8775 [$(fast-check) && !$(cross-compiling)], add
8776 $(conformtest-header-tests) instead of
8777 $(objpfx)run-conformtest.out.
8778 (generated): Add $(conformtest-header-list-base). If
8779 [$(fast-check) && !$(cross-compiling)], add
8780 $(conformtest-header-base). Remove previous setting.
8781 ($(conformtest-header-list-tests)): New target.
8782 (test-xfail-run-conformtest): Remove variable.
8783 ($(objpfx)run-conformtest.out): Remove target.
8784 (test-xfail-ISO11/complex.h/conform): New variable.
8785 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8786 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8787 (test-xfail-XPG3/varargs.h/conform): Likewise.
8788 (test-xfail-XPG4/varargs.h/conform): Likewise.
8789 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8790 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8791 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8792 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8793 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8794 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8795 (test-xfail-XPG3/ftw.h/conform): Likewise.
8796 (test-xfail-XPG3/grp.h/conform): Likewise.
8797 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8798 (test-xfail-XPG3/limits.h/conform): Likewise.
8799 (test-xfail-XPG3/pwd.h/conform): Likewise.
8800 (test-xfail-XPG3/search.h/conform): Likewise.
8801 (test-xfail-XPG3/signal.h/conform): Likewise.
8802 (test-xfail-XPG3/stdio.h/conform): Likewise.
8803 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8804 (test-xfail-XPG3/string.h/conform): Likewise.
8805 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8806 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8807 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8808 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8809 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8810 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8811 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8812 (test-xfail-XPG3/termios.h/conform): Likewise.
8813 (test-xfail-XPG3/time.h/conform): Likewise.
8814 (test-xfail-XPG3/unistd.h/conform): Likewise.
8815 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8816 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8817 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8818 (test-xfail-XPG4/netdb.h/conform): Likewise.
8819 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8820 (test-xfail-XPG4/signal.h/conform): Likewise.
8821 (test-xfail-XPG4/stdio.h/conform): Likewise.
8822 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8823 (test-xfail-XPG4/stropts.h/conform): Likewise.
8824 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8825 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8826 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8827 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8828 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8829 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8830 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8831 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8832 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8833 (test-xfail-XPG4/termios.h/conform): Likewise.
8834 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8835 (test-xfail-XPG4/unistd.h/conform): Likewise.
8836 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8837 (test-xfail-POSIX/sched.h/conform): Likewise.
8838 (test-xfail-POSIX/signal.h/conform): Likewise.
8839 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8840 (test-xfail-POSIX/tar.h/conform): Likewise.
8841 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8842 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8843 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8844 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8845 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8846 (test-xfail-UNIX98/sched.h/conform): Likewise.
8847 (test-xfail-UNIX98/signal.h/conform): Likewise.
8848 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8849 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8850 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8851 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8852 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8853 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8854 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8855 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8856 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8857 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8858 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8859 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8860 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8861 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8862 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8863 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8864 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8865 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8866 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8867 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8868 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8869 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8870 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8871 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8872 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8873 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8874 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8875 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8876 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8877 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8878 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8879 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8880 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8881 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8882 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8883 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8884 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8885 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8886 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8887 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8888 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8889 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8890 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8891 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8892 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8893 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8894 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8895 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8896 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8897 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8898 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8899 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8900 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8901 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8902 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8903 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8904 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8905 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8906 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8907 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8908 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8909 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8910 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8911 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8912 (conformtest-cc-flags): Likewise.
8913 ($(conformtest-header-tests): New target.
8914 * conform/check-header-lists.sh: New file.
8915 * conform/run-conformtest.sh: Remove.
8917 * conform/conformtest.pl: Allow ' and \ in values given for
8919 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8921 [POSIX] (sys/types.h): Likewise.
8922 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8924 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8926 * conform/data/signal.h-data (SIGIO): Remove expectation.
8927 [XPG3] (SIGBUS): Do not expect.
8928 [POSIX || XPG3] (SIGPOLL): Likewise.
8929 [POSIX || XPG3] (SIGPROF): Likewise.
8930 [POSIX || XPG3] (SIGSYS): Likewise.
8931 [XPG3] (SIGTRAP): Likewise.
8932 [POSIX || XPG3] (SIGURG): Likewise.
8933 [POSIX || XPG3] (SIGVTALRM): Likewise.
8934 [POSIX || XPG3] (SIGXCPU): Likewise.
8935 [POSIX || XPG3] (SIGXFSZ): Likewise.
8936 [POSIX] (SA_SIGINFO): Expect.
8937 [XPG3] (siginfo_t): Do not expect type or contents.
8938 [POSIX] (si_pid): Do not expect element.
8939 [POSIX] (si_uid): Likewise.
8940 [POSIX] (si_addr): Likewise.
8941 [POSIX] (si_status): Likewise.
8942 [POSIX] (si_band): Likewise.
8943 [XPG4] (si_value): Likewise.
8944 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8945 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8946 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8947 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8948 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8949 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8950 [POSIX || XPG3] (ILL_COPROC): Likewise.
8951 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8952 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8953 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8954 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8955 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8956 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8957 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8958 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8959 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8960 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8961 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8962 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8963 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8964 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8965 [POSIX || XPG3] (CLD_EXITED): Likewise.
8966 [POSIX || XPG3] (CLD_KILLED): Likewise.
8967 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8968 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8969 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8970 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8971 [POSIX || XPG3] (POLL_IN): Likewise.
8972 [POSIX || XPG3] (POLL_OUT): Likewise.
8973 [POSIX || XPG3] (POLL_MSG): Likewise.
8974 [POSIX || XPG3] (POLL_ERR): Likewise.
8975 [POSIX || XPG3] (POLL_PRI): Likewise.
8976 [POSIX || XPG3] (POLL_HUP): Likewise.
8977 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8978 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8979 (SIG*): Do not allow.
8980 [XPG3] (si_*): Likewise.
8981 [XPG3] (SI_*): Likewise.
8982 [XPG3 || XPG4] (sigev_*): Likewise.
8983 [XPG3 || XPG4] (SIGEV_*): Likewise.
8984 [XPG3 || XPG4] (sival_*): Likewise.
8985 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8986 [POSIX || XPG3] (BUS_*): Likewise.
8987 [POSIX || XPG3] (CLD_*): Likewise.
8988 [POSIX || XPG3] (FPE_*): Likewise.
8989 [POSIX || XPG3] (ILL_*): Likewise.
8990 [POSIX || XPG3] (POLL_*): Likewise.
8991 [POSIX || XPG3] (SEGV_*): Likewise.
8992 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8993 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8994 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8995 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8996 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8997 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8998 Specify type and value.
8999 (TVERSLEN): Likewise.
9000 (REGTYPE): Likewise.
9001 (AREGTYPE): Likewise.
9002 (LNKTYPE): Likewise.
9003 (SYMTYPE): Likewise.
9004 (CHRTYPE): Likewise.
9005 (BLKTYPE): Likewise.
9006 (DIRTYPE): Likewise.
9007 (FIFOTYPE): Likewise.
9008 (CONTTYPE): Likewise.
9013 (TUWRITE): Likewise.
9016 (TGWRITE): Likewise.
9019 (TOWRITE): Likewise.
9021 [POSIX] (TSVTX): Expect constant.
9023 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9025 * Makefile (tests): Change dependencies to ....
9026 (tests-special): ... additions to this variable.
9027 (tests): Depend on $(tests-special).
9028 * Makerules (check-abi-list): New variable.
9029 (check-abi): Depend on $(check-abi-list).
9030 [$(subdir) = elf] (tests-special): Add
9031 $(objpfx)check-abi-libc.out.
9032 [$(build-shared) = yes && subdir] (tests-special): Add
9034 [$(build-shared) = yes && subdir] (tests): Do not depend on
9036 * Rules (tests): Depend on $(tests-special).
9037 (xtests): Depend on $(xtests-special).
9038 * catgets/Makefile (tests): Change dependencies to ....
9039 (tests-special): ... additions to this variable.
9040 * conform/Makefile (tests): Change dependencies to ....
9041 (tests-special): ... additions to this variable.
9042 * elf/Makefile (tests): Change dependencies to ....
9043 (tests-special): ... additions to this variable.
9044 * grp/Makefile (tests): Change dependencies to ....
9045 (tests-special): ... additions to this variable.
9046 * iconv/Makefile (xtests): Change dependencies to ....
9047 (xtests-special): ... additions to this variable.
9048 * iconvdata/Makefile (tests): Change dependencies to ....
9049 (tests-special): ... additions to this variable.
9050 * intl/Makefile (tests): Change dependencies to ....
9051 (tests-special): ... additions to this variable. Also add
9052 $(objpfx)tst-gettext.out.
9053 * io/Makefile (tests): Change dependencies to ....
9054 (tests-special): ... additions to this variable.
9055 * libio/Makefile (tests): Change dependencies to ....
9056 (tests-special): ... additions to this variable.
9057 * malloc/Makefile (tests): Change dependencies to ....
9058 (tests-special): ... additions to this variable.
9059 * misc/Makefile (tests): Change dependencies to ....
9060 (tests-special): ... additions to this variable.
9061 * nptl/Makefile (tests): Change dependencies to ....
9062 (tests-special): ... additions to this variable.
9063 * nptl_db/Makefile (tests): Change dependencies to ....
9064 (tests-special): ... additions to this variable.
9065 * posix/Makefile (tests): Change dependencies to ....
9066 (tests-special): ... additions to this variable.
9067 (xtests): Change dependencies to ....
9068 (xtests-special): ... additions to this variable.
9069 * resolv/Makefile (tests): Change dependencies to ....
9070 (tests-special): ... additions to this variable.
9071 (xtests): Change dependencies to ....
9072 (xtests-special): ... additions to this variable.
9073 * stdio-common/Makefile (tests): Change dependencies to ....
9074 (tests-special): ... additions to this variable.
9075 (do-tst-unbputc): Remove target.
9076 (do-tst-printf): Likewise.
9077 * stdlib/Makefile (tests): Change dependencies to ....
9078 (tests-special): ... additions to this variable.
9079 * string/Makefile (tests): Change dependencies to ....
9080 (tests-special): ... additions to this variable.
9081 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9082 (tests-special): ... additions to this variable.
9084 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9086 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9088 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9089 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9091 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9092 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9093 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9094 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9095 * conform/data/libgen.h-data [XPG3]: Likewise.
9096 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9097 * conform/data/ndbm.h-data [XPG3]: Likewise.
9098 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9099 * conform/data/netdb.h-data [XPG3]: Likewise.
9100 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9101 * conform/data/poll.h-data [XPG3]: Likewise.
9102 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9103 * conform/data/strings.h-data [XPG3]: Likewise.
9104 * conform/data/stropts.h-data [XPG3]: Likewise.
9105 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9106 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9107 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9109 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9110 * conform/data/sys/time.h-data [XPG3]: Likewise.
9111 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9112 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9113 * conform/data/sys/un.h-data [XPG3]: Likewise.
9114 * conform/data/syslog.h-data [XPG3]: Likewise.
9115 * conform/data/ucontext.h-data [XPG3]: Likewise.
9116 * conform/data/utmpx.h-data [XPG3]: Likewise.
9117 * conform/data/varargs.h-data [UNIX98]: Enable file.
9119 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9121 * math/libm-test.inc (struct test_f_f_data): Move expected results
9122 into structure for each rounding mode.
9123 (struct test_ff_f_data): Likewise.
9124 (struct test_ff_f_data_nexttoward): Likewise.
9125 (struct test_fi_f_data): Likewise.
9126 (struct test_fl_f_data): Likewise.
9127 (struct test_if_f_data): Likewise.
9128 (struct test_fff_f_data): Likewise.
9129 (struct test_c_f_data): Likewise.
9130 (struct test_f_f1_data): Likewise.
9131 (struct test_fF_f1_data): Likewise.
9132 (struct test_ffI_f1_data): Likewise.
9133 (struct test_c_c_data): Likewise.
9134 (struct test_cc_c_data): Likewise.
9135 (struct test_f_i_data): Likewise.
9136 (struct test_ff_i_data): Likewise.
9137 (struct test_f_l_data): Likewise.
9138 (struct test_f_L_data): Likewise.
9139 (struct test_fFF_11_data): Likewise.
9141 (RM_FE_DOWNWARD): Likewise.
9142 (RM_FE_TONEAREST): Likewise.
9143 (RM_FE_TOWARDZERO): Likewise.
9144 (RM_FE_UPWARD): Likewise.
9145 (RUN_TEST_LOOP_f_f): Update references to expected results.
9146 (RUN_TEST_LOOP_2_f): Likewise.
9147 (RUN_TEST_LOOP_fff_f): Likewise.
9148 (RUN_TEST_LOOP_c_f): Likewise.
9149 (RUN_TEST_LOOP_f_f1): Likewise.
9150 (RUN_TEST_LOOP_fF_f1): Likewise.
9151 (RUN_TEST_LOOP_fI_f1): Likewise.
9152 (RUN_TEST_LOOP_ffI_f1): Likewise.
9153 (RUN_TEST_LOOP_c_c): Likewise.
9154 (RUN_TEST_LOOP_cc_c): Likewise.
9155 (RUN_TEST_LOOP_f_i): Likewise.
9156 (RUN_TEST_LOOP_f_i_tg): Likewise.
9157 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9158 (RUN_TEST_LOOP_f_b): Likewise.
9159 (RUN_TEST_LOOP_f_b_tg): Likewise.
9160 (RUN_TEST_LOOP_f_l): Likewise.
9161 (RUN_TEST_LOOP_f_L): Likewise.
9162 (RUN_TEST_LOOP_fFF_11): Likewise.
9163 * math/gen-libm-test.pl (parse_args): Output four copies of
9164 expected results for each test.
9166 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9167 (__ASSUME_UTIMES): Remove.
9168 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9169 (__ASSUME_UTIMES): Likewise.
9171 * math/gen-auto-libm-tests.c: Update comment on output format.
9172 (output_for_one_input_case): Generate before-rounding and
9173 after-rounding information as conditions on output flags not
9174 floating-point format.
9175 * math/auto-libm-test-out: Regenerated.
9176 * math/gen-libm-test.pl (cond_value): New function.
9177 (or_cond_value): Use cond_value.
9178 (generate_testfile): Handle conditional exceptions.
9180 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9182 * math/libm-test.inc (max_valid_error): New variable.
9183 (init_max_error): Take new argument specifying whether function
9184 results are exactly determined. Set max_valid_error and bound
9185 other variables for errors based on this argument.
9186 (set_max_error): Do not record results above max_valid_error.
9187 (check_float_internal): Only accept errors of up to 0.5ulps if
9188 also at most max_valid_error.
9189 (START): Take new argument EXACT and pass it to init_max_error.
9190 (acos_test): Update call to START.
9191 (acos_test_tonearest): Likewise.
9192 (acos_test_towardzero): Likewise.
9193 (acos_test_downward): Likewise.
9194 (acos_test_upward): Likewise.
9195 (acosh_test): Likewise.
9196 (asin_test): Likewise.
9197 (asin_test_tonearest): Likewise.
9198 (asin_test_towardzero): Likewise.
9199 (asin_test_downward): Likewise.
9200 (asin_test_upward): Likewise.
9201 (asinh_test): Likewise.
9202 (atan_test): Likewise.
9203 (atanh_test): Likewise.
9204 (atan2_test): Likewise.
9205 (cabs_test): Likewise.
9206 (cacos_test): Likewise.
9207 (cacosh_test): Likewise.
9208 (carg_test): Likewise.
9209 (casin_test): Likewise.
9210 (casinh_test): Likewise.
9211 (catan_test): Likewise.
9212 (catanh_test): Likewise.
9213 (cbrt_test): Likewise.
9214 (ccos_test): Likewise.
9215 (ccosh_test): Likewise.
9216 (ceil_test): Likewise.
9217 (cexp_test): Likewise.
9218 (cimag_test): Likewise.
9219 (clog_test): Likewise.
9220 (clog10_test): Likewise.
9221 (conj_test): Likewise.
9222 (copysign_test): Likewise.
9223 (cos_test): Likewise.
9224 (cos_test_tonearest): Likewise.
9225 (cos_test_towardzero): Likewise.
9226 (cos_test_downward): Likewise.
9227 (cos_test_upward): Likewise.
9228 (cosh_test): Likewise.
9229 (cosh_test_tonearest): Likewise.
9230 (cosh_test_towardzero): Likewise.
9231 (cosh_test_downward): Likewise.
9232 (cosh_test_upward): Likewise.
9233 (cpow_test): Likewise.
9234 (cproj_test): Likewise.
9235 (creal_test): Likewise.
9236 (csin_test): Likewise.
9237 (csinh_test): Likewise.
9238 (csqrt_test): Likewise.
9239 (ctan_test): Likewise.
9240 (ctan_test_tonearest): Likewise.
9241 (ctan_test_towardzero): Likewise.
9242 (ctan_test_downward): Likewise.
9243 (ctan_test_upward): Likewise.
9244 (ctanh_test): Likewise.
9245 (ctanh_test_tonearest): Likewise.
9246 (ctanh_test_towardzero): Likewise.
9247 (ctanh_test_downward): Likewise.
9248 (ctanh_test_upward): Likewise.
9249 (erf_test): Likewise.
9250 (erfc_test): Likewise.
9251 (exp_test): Likewise.
9252 (exp_test_tonearest): Likewise.
9253 (exp_test_towardzero): Likewise.
9254 (exp_test_downward): Likewise.
9255 (exp_test_upward): Likewise.
9256 (exp10_test): Likewise.
9257 (exp10_test_tonearest): Likewise.
9258 (exp10_test_towardzero): Likewise.
9259 (exp10_test_downward): Likewise.
9260 (exp10_test_upward): Likewise.
9261 (pow10_test): Likewise.
9262 (exp2_test): Likewise.
9263 (expm1_test): Likewise.
9264 (expm1_test_tonearest): Likewise.
9265 (expm1_test_towardzero): Likewise.
9266 (expm1_test_downward): Likewise.
9267 (expm1_test_upward): Likewise.
9268 (fabs_test): Likewise.
9269 (fdim_test): Likewise.
9270 (floor_test): Likewise.
9271 (fma_test): Likewise.
9272 (fma_test_towardzero): Likewise.
9273 (fma_test_downward): Likewise.
9274 (fma_test_upward): Likewise.
9275 (fmax_test): Likewise.
9276 (fmin_test): Likewise.
9277 (fmod_test): Likewise.
9278 (fpclassify_test): Likewise.
9279 (frexp_test): Likewise.
9280 (hypot_test): Likewise.
9281 (ilogb_test): Likewise.
9282 (isfinite_test): Likewise.
9283 (finite_test): Likewise.
9284 (isgreater_test): Likewise.
9285 (isgreaterequal_test): Likewise.
9286 (isinf_test): Likewise.
9287 (isless_test): Likewise.
9288 (islessequal_test): Likewise.
9289 (islessgreater_test): Likewise.
9290 (isnan_test): Likewise.
9291 (isnormal_test): Likewise.
9292 (issignaling_test): Likewise.
9293 (isunordered_test): Likewise.
9294 (j0_test): Likewise.
9295 (j1_test): Likewise.
9296 (jn_test): Likewise.
9297 (ldexp_test): Likewise.
9298 (lgamma_test): Likewise.
9299 (gamma_test): Likewise.
9300 (lrint_test): Likewise.
9301 (lrint_test_tonearest): Likewise.
9302 (lrint_test_towardzero): Likewise.
9303 (lrint_test_downward): Likewise.
9304 (lrint_test_upward): Likewise.
9305 (llrint_test): Likewise.
9306 (llrint_test_tonearest): Likewise.
9307 (llrint_test_towardzero): Likewise.
9308 (llrint_test_downward): Likewise.
9309 (llrint_test_upward): Likewise.
9310 (log_test): Likewise.
9311 (log10_test): Likewise.
9312 (log1p_test): Likewise.
9313 (log2_test): Likewise.
9314 (logb_test): Likewise.
9315 (logb_test_downward): Likewise.
9316 (lround_test): Likewise.
9317 (llround_test): Likewise.
9318 (modf_test): Likewise.
9319 (nearbyint_test): Likewise.
9320 (nextafter_test): Likewise.
9321 (nexttoward_test): Likewise.
9322 (pow_test): Likewise.
9323 (pow_test_tonearest): Likewise.
9324 (pow_test_towardzero): Likewise.
9325 (pow_test_downward): Likewise.
9326 (pow_test_upward): Likewise.
9327 (remainder_test): Likewise.
9328 (drem_test): Likewise.
9329 (remainder_test_tonearest): Likewise.
9330 (drem_test_tonearest): Likewise.
9331 (remainder_test_towardzero): Likewise.
9332 (drem_test_towardzero): Likewise.
9333 (remainder_test_downward): Likewise.
9334 (drem_test_downward): Likewise.
9335 (remainder_test_upward): Likewise.
9336 (drem_test_upward): Likewise.
9337 (remquo_test): Likewise.
9338 (rint_test): Likewise.
9339 (rint_test_tonearest): Likewise.
9340 (rint_test_towardzero): Likewise.
9341 (rint_test_downward): Likewise.
9342 (rint_test_upward): Likewise.
9343 (round_test): Likewise.
9344 (scalb_test): Likewise.
9345 (scalbn_test): Likewise.
9346 (scalbln_test): Likewise.
9347 (signbit_test): Likewise.
9348 (sin_test): Likewise.
9349 (sin_test_tonearest): Likewise.
9350 (sin_test_towardzero): Likewise.
9351 (sin_test_downward): Likewise.
9352 (sin_test_upward): Likewise.
9353 (sincos_test): Likewise.
9354 (sinh_test): Likewise.
9355 (sinh_test_tonearest): Likewise.
9356 (sinh_test_towardzero): Likewise.
9357 (sinh_test_downward): Likewise.
9358 (sinh_test_upward): Likewise.
9359 (sqrt_test): Likewise.
9360 (sqrt_test_tonearest): Likewise.
9361 (sqrt_test_towardzero): Likewise.
9362 (sqrt_test_downward): Likewise.
9363 (sqrt_test_upward): Likewise.
9364 (tan_test): Likewise.
9365 (tan_test_tonearest): Likewise.
9366 (tan_test_towardzero): Likewise.
9367 (tan_test_downward): Likewise.
9368 (tan_test_upward): Likewise.
9369 (tanh_test): Likewise.
9370 (tgamma_test): Likewise.
9371 (trunc_test): Likewise.
9372 (y0_test): Likewise.
9373 (y1_test): Likewise.
9374 (yn_test): Likewise.
9375 (significand_test): Likewise.
9377 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9378 individual tests in comment.
9379 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9380 (prev_max_error): New variable.
9381 (prev_real_max_error): Likewise.
9382 (prev_imag_max_error): Likewise.
9383 (compare_ulp_data): Don't refer to test names in comment.
9384 (find_test_ulps): Remove function.
9385 (find_function_ulps): Likewise.
9386 (find_complex_function_ulps): Likewise.
9387 (init_max_error): Take function name as argument. Look up ulps
9389 (print_ulps): Remove function.
9390 (print_max_error): Use prev_max_error instead of calling
9392 (print_complex_max_error): Use prev_real_max_error and
9393 prev_imag_max_error instead of calling find_complex_function_ulps.
9394 (check_float_internal): Take max_ulp parameter instead of calling
9395 find_test_ulps. Don't call print_ulps.
9396 (check_float): Update call to check_float_internal.
9397 (check_complex): Update calls to check_float_internal.
9398 (START): Pass argument to init_max_error.
9399 * math/gen-libm-test.pl (%results): Don't include "kind"
9401 (parse_ulps): Don't handle ulps of individual tests.
9402 (print_ulps_file): Likewise.
9403 (output_ulps): Likewise.
9404 * math/README.libm-test: Update.
9405 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9407 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9408 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9409 * sysdeps/arm/libm-test-ulps: Likewise.
9410 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9411 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9412 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9413 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9414 * sysdeps/microblaze/libm-test-ulps: Likewise.
9415 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9416 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9417 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9418 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9419 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9420 * sysdeps/sh/libm-test-ulps: Likewise.
9421 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9422 * sysdeps/tile/libm-test-ulps: Likewise.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9425 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9427 * math/libm-test.inc (print_complex_max_error): Check separately
9428 whether real and imaginary errors are within allowed range and
9429 pass 0 to print_complex_function_ulps instead of value within
9432 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9434 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9436 (get_handles_fopen): Likewise.
9437 (do_write_test): Likewise.
9439 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9441 * libio/fileops.c (do_ftell): Use cached offset when
9443 * libio/iofwide.c (do_ftell_wide): Likewise.
9444 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9446 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9449 * libio/libioP.h (get_file_offset): New function.
9450 * libio/fileops.c (get_file_offset): Likewise.
9451 (do_ftell): Likewise.
9452 (_IO_new_file_seekoff): Split out ftell logic.
9453 * libio/wfileops.c (do_ftell_wide): Likewise.
9454 (_IO_wfile_seekoff): Split out ftell logic.
9455 * libio/tst-ftell-active-handler.c: New test case.
9456 * libio/Makefile (tests): Add it.
9458 2014-03-03 Roland McGrath <roland@hack.frob.com>
9460 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9461 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9463 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9466 * nscd/connections.c (nscd_init): Call do_exit.
9467 (start_threads): Call do_exit and notify_parent.
9468 (begin_drop_privileges): Call do_exit.
9469 (finish_drop_privileges): Likewise.
9470 * nscd/selinux.c (preserve_capabilities): Likewise.
9471 (install_real_capabilities): Likewise.
9472 (nscd_selinux_enabled): Likewise.
9473 (avc_create_thread): Likewise.
9474 (avc_alloc_lock): Likewise.
9475 (nscd_avc_init): Likewise.
9476 * nscd/nscd.c (parent_fd): New static variable.
9477 (main): Create a pipe between parent and child processes.
9478 Skip closing parent_fd.
9479 (monitor_child): New function.
9480 (do_exit): Likewise.
9481 (notify_parent): Likewise.
9482 * nscd/nscd.h (notify_parent): Likewise.
9483 (do_exit): Likewise.
9485 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9487 * malloc/malloc.c (__libc_calloc): Revert last change.
9489 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9493 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9495 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9499 (__libc_ifunc_impl_list): Likewise.
9500 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9501 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9502 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9503 * string/strrchr.c: Define STRRCHR.
9505 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9507 * benchtest/bench-strtok.c (simple_strtok): Delete.
9508 (strtok_string): Use as benchmark.
9509 * string/strtok (STRTOK): New macro.
9511 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9513 * manual/threads.texi: Add header and standard comments to all
9516 * elf/dl-lookup.c (check_match): New function.
9517 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9518 (do_lookup_x): Remove nested function check_match. Use non-nested
9519 function check_match.
9521 2014-02-28 Roland McGrath <roland@hack.frob.com>
9523 * csu/Makefile (generated, before-compile): Use += rather than =.
9524 * catgets/Makefile (generated, generated-dirs): Likewise.
9525 * debug/Makefile (generated): Likewise.
9526 * dlfcn/Makefile (generated): Likewise.
9527 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9528 * iconvdata/Makefile (before-compile, generated): Likewise.
9529 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9530 * libio/Makefile (generated): Likewise.
9531 * malloc/Makefile (generated): Likewise.
9532 * manual/Makefile (generated, generated-dirs): Likewise.
9533 * misc/Makefile (generated): Likewise.
9534 * posix/Makefile (generated): Likewise.
9535 * resolv/Makefile (generated): Likewise.
9536 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9537 * timezone/Makefile (generated, generated-dirs): Likewise.
9539 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9541 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9544 power8 implementation.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9546 file: POWER8 llround ifunc implementation.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9548 (__lllround): Add POWER8 implementation.
9549 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9550 POWER8 llround implementation.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9553 power8 implementation.
9554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9555 file: POWER8 llrint ifunc implementation.
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9557 Add POWER8 implementation.
9558 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9559 POWER8 llrint implementation.
9561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9562 power8 implementation.
9563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9564 file: POWER8 finite ifunc implementation.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9566 Add POWER8 implementation.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9569 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9570 POWER8 finite implementation.
9571 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9574 power8 implementation.
9575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9576 file: POWER8 isinf ifunc implementation.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9578 POWER8 implementation.
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9581 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9582 isinf implementation.
9583 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9585 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9586 (INIT_ARCH): Add hwcap2 initialization.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9588 power8 implementation.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9590 file: POWER8 isnan ifunc implementation.
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9592 POWER8 implementation.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9596 isnan implementation.
9597 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9599 2014-02-27 Joey Ye <joey.ye@arm.com>
9601 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9602 (_FP_NANFRAC_Q): Set to zero.
9604 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9607 * math/auto-libm-test-in: New test inputs.
9608 * math/auto-libm-test-out: Regenerate.
9609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9612 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9614 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9616 * scripts/evaluate-test.sh: Take new argument indicating whether
9617 failure is expected.
9618 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9619 indicating whether failure is expected.
9620 * conform/Makefile (test-xfail-run-conformtest): New variable.
9621 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9623 * posix/Makefile (test-xfail-annexc): New variable.
9624 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9626 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9628 * argp/Makefile: Include Makeconfig immediately after defining
9630 * assert/Makefile: Likewise.
9631 * benchtests/Makefile: Likewise.
9632 * catgets/Makefile: Likewise.
9633 * conform/Makefile: Likewise.
9634 * crypt/Makefile: Likewise.
9635 * csu/Makefile: Likewise.
9636 (all): Remove target.
9637 * ctype/Makefile: Include Makeconfig immediately after defining
9639 * debug/Makefile: Likewise.
9640 * dirent/Makefile: Likewise.
9641 * dlfcn/Makefile: Likewise.
9642 * gmon/Makefile: Likewise.
9643 * gnulib/Makefile: Likewise.
9644 * grp/Makefile: Likewise.
9645 * gshadow/Makefile: Likewise.
9646 * hesiod/Makefile: Likewise.
9647 * hurd/Makefile: Likewise.
9648 (all): Remove target.
9649 * iconvdata/Makefile: Include Makeconfig immediately after
9651 * inet/Makefile: Likewise.
9652 * intl/Makefile: Likewise.
9653 * io/Makefile: Likewise.
9654 * libio/Makefile: Likewise.
9655 (all): Remove target.
9656 * locale/Makefile: Include Makeconfig immediately after defining
9658 * login/Makefile: Likewise.
9659 * mach/Makefile: Likewise.
9660 (all): Remove target.
9661 * malloc/Makefile: Include Makeconfig immediately after defining
9663 (all): Remove target.
9664 * manual/Makefile: Include Makeconfig immediately after defining
9666 * math/Makefile: Likewise.
9667 * misc/Makefile: Likewise.
9668 * nis/Makefile: Likewise.
9669 * nss/Makefile: Likewise.
9670 * po/Makefile: Likewise.
9671 (all): Remove target.
9672 * posix/Makefile: Include Makeconfig immediately after defining
9674 * pwd/Makefile: Likewise.
9675 * resolv/Makefile: Likewise.
9676 * resource/Makefile: Likewise.
9677 * rt/Makefile: Likewise.
9678 * setjmp/Makefile: Likewise.
9679 * shadow/Makefile: Likewise.
9680 * signal/Makefile: Likewise.
9681 * socket/Makefile: Likewise.
9682 * soft-fp/Makefile: Likewise.
9683 * stdio-common/Makefile: Likewise.
9684 * stdlib/Makefile: Likewise.
9685 * streams/Makefile: Likewise.
9686 * string/Makefile: Likewise.
9687 * sunrpc/Makefile: Likewise.
9688 (all): Remove target.
9689 * sysvipc/Makefile: Include Makeconfig immediately after defining
9691 * termios/Makefile: Likewise.
9692 * time/Makefile: Likewise.
9693 * timezone/Makefile: Likewise.
9694 (all): Remove target.
9695 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9697 * wctype/Makefile: Likewise.
9699 2014-02-26 Steve Ellcey <sellcey@mips.com>
9701 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9702 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9703 (libc_feholdexcept_setround_mips): Ditto.
9704 (libc_feholdsetround): New.
9705 (libc_feholdsetroundf): New.
9706 (libc_feholdsetroundl): New.
9707 (libc_feupdateenv_test_mips): New.
9708 (libc_feupdateenv_test): New.
9709 (libc_feupdateenv_testf): New.
9710 (libc_feupdateenv_testl): New.
9711 (libc_feresetround): New.
9712 (libc_feresetroundf): New.
9713 (libc_feresetroundl): New.
9714 (libc_fetestexcept_mips): New.
9715 (libc_fetestexcept): New.
9716 (libc_fetestexceptf): New.
9717 (libc_fetestexceptl): New.
9719 (libc_feholdexcept_setround_mips_ctx): New.
9720 (libc_feholdexcept_setround_ctx): New.
9721 (libc_feholdexcept_setroundf_ctx): New.
9722 (libc_feholdexcept_setroundl_ctx): New.
9723 (libc_fesetenv_mips_ctx): New.
9724 (libc_fesetenv_ctx): New.
9725 (libc_fesetenv_ctxf): New.
9726 (libc_fesetenv_ctxl): New.
9727 (libc_feupdateenv_mips_ctx): New.
9728 (libc_feupdateenv_ctx): New.
9729 (libc_feupdateenvf_ctx): New.
9730 (libc_feupdateenvl_ctx): New.
9731 (libc_feholdsetround_mips_ctx): New.
9732 (libc_feholdsetround_ctx): New.
9733 (libc_feholdsetroundf_ctx): New.
9734 (libc_feholdsetroundl_ctx): New.
9735 (libc_feresetround_mips_ctx): New.
9736 (libc_feresetround_ctx): New.
9737 (libc_feresetroundf_ctx): New.
9738 (libc_feresetroundl_ctx): New.
9740 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9742 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9744 * manual/ipc.texi: New file.
9745 * manual/Makefile (chapters): Add ipc.
9746 * manual/job.texi: Add "Inter-Process Communication" to next.
9747 * manual/process.texi: Add "Inter-Process Communication" to prev.
9749 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9753 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9755 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9757 * manual/arith.texi: Fix spaces after sentences.
9758 * manual/charset.texi: Likewise.
9759 * manual/errno.texi: Likewise.
9760 * manual/install.texi: Likewise.
9761 * manual/llio.texi: Likewise.
9762 * manual/locale.texi: Likewise.
9763 * manual/maint.texi: Likewise.
9764 * manual/math.texi: Likewise.
9765 * manual/memory.texi: Likewise.
9766 * manual/message.texi: Likewise.
9767 * manual/probes.texi: Likewise.
9768 * manual/resource.texi: Likewise.
9769 * manual/signal.texi: Likewise.
9770 * manual/socket.texi: Likewise.
9771 * manual/stdio.texi: Likewise.
9772 * manual/string.texi: Likewise.
9773 * manual/time.texi: Likewise.
9774 * manual/users.texi: Likewise.
9776 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9779 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9780 _DEFAULT_SOURCE is defined.
9782 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9783 Carlos O'Donell <carlos@redhat.com>
9786 * elf/dl-tls.c (_dl_count_modids): New function.
9787 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9788 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9789 audit library and increment generation counter.
9790 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9791 * elf/tst-audit9.c: New file.
9792 * elf/tst-auditmod9a.c: New file.
9793 * elf/tst-auditmod9b.c: New file.
9794 * elf/Makefile: Add rules to build and run tst-audit9.
9796 2014-02-25 Florian Weimer <fweimer@redhat.com>
9799 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9801 2014-02-25 Will Newton <will.newton@linaro.org>
9803 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9804 (__longjmp): Restore sp and lr before restoring callee
9805 saved registers. Add longjmp and longjmp_target
9806 SystemTap probe point.
9807 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9808 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9809 Define to zero to match jmpbuf layout.
9810 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9811 (__sigsetjmp): Save sp and lr before saving callee
9812 saved registers. Add setjmp SystemTap probe point.
9814 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9816 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9818 2014-02-24 Andreas Schwab <schwab@suse.de>
9821 * elf/pldd.c (wait_for_ptrace_stop): New function.
9822 (main): Call it after attaching.
9824 2014-02-22 Roland McGrath <roland@hack.frob.com>
9826 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9827 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9828 Versions files is now verboten.
9829 * hurd/Versions (libc: GLIBC_2.0):
9830 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9831 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9832 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9833 * mach/Versions: Likewise.
9835 * csu/Versions: Remove unused %include.
9836 * resolv/Versions: Likewise.
9838 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9840 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9841 ($(objpfx)check-local-headers.out): Likewise.
9842 ($(objpfx)begin-end-check.out): Likewise.
9843 * Makerules (check-abi-%.out): Likewise.
9844 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9845 ($(objpfx)test2.cat): Likewise.
9846 ($(objpfx)de/libc.cat): Likewise.
9847 ($(objpfx)test-gencat.out): Likewise.
9848 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9849 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9850 ($(objpfx)noload-mem): Likewise.
9851 ($(objpfx)tst-pathopt.out): Likewise.
9852 ($(objpfx)tst-rtld-load-self.out): Likewise.
9853 ($(objpfx)tst-array1-cmp.out): Likewise.
9854 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9855 ($(objpfx)tst-array2-cmp.out): Likewise.
9856 ($(objpfx)tst-array3-cmp.out): Likewise.
9857 ($(objpfx)tst-array4-cmp.out): Likewise.
9858 ($(objpfx)tst-array5-cmp.out): Likewise.
9859 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9860 ($(objpfx)check-textrel.out): Likewise.
9861 ($(objpfx)check-execstack.out): Likewise.
9862 ($(objpfx)check-localplt.out): Likewise.
9863 ($(objpfx)order2-cmp.out): Likewise.
9864 ($(objpfx)tst-leaks1-mem): Likewise.
9865 ($(objpfx)tst-leaks1-static-mem): Likewise.
9866 ($(objpfx)tst-initorder-cmp.out): Likewise.
9867 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9868 ($(objpfx)tst-unused-dep.out): Likewise.
9869 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9870 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9871 * iconv/Makefile (test-iconvconfig): Likewise.
9872 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9873 ($(objpfx)iconv-test.out): Likewise.
9874 ($(objpfx)tst-tables.out): Likewise.
9875 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9876 ($(objpfx)tst-gettext.out): Likewise.
9877 ($(objpfx)tst-translit.out): Likewise.
9878 ($(objpfx)tst-gettext2.out): Likewise.
9879 ($(objpfx)tst-gettext4.out): Likewise.
9880 ($(objpfx)tst-gettext6.out): Likewise.
9881 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9882 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9883 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9884 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9885 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9886 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9887 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9888 ($(objpfx)wordexp-tst.out): Likewise.
9889 ($(objpfx)annexc.out): Likewise.
9890 ($(objpfx)tst-fnmatch-mem): Likewise.
9891 ($(objpfx)bug-regex2-mem): Likewise.
9892 ($(objpfx)bug-regex14-mem): Likewise.
9893 ($(objpfx)bug-regex21-mem): Likewise.
9894 ($(objpfx)bug-regex31-mem): Likewise.
9895 ($(objpfx)tst-vfork3-mem): Likewise.
9896 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9897 ($(objpfx)tst-pcre-mem): Likewise.
9898 ($(objpfx)tst-boost-mem): Likewise.
9899 ($(objpfx)tst-getconf.out): Likewise.
9900 ($(objpfx)bug-ga2-mem): Likewise.
9901 ($(objpfx)bug-glob2-mem): Likewise.
9902 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9903 ($(objpfx)mtrace-tst-leaks2): Likewise.
9904 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9905 ($(objpfx)tst-printf.out): Likewise.
9906 ($(objpfx)tst-setvbuf1.out): Likewise.
9907 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9908 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9909 ($(objpfx)tst-fmtmsg.out): Likewise.
9910 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9911 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9913 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9914 * bits/sigaction.h [__USE_MISC]: Likewise.
9915 * bits/waitstatus.h: Update #endif comments.
9916 * ctype/ctype.h: Likewise.
9917 * dirent/dirent.h: Likewise.
9918 [__USE_MISC]: Remove redundant conditionals.
9919 * grp/grp.h: Update #endif comments.
9920 [__USE_GNU]: Remove redundant conditionals.
9921 [__USE_MISC]: Likewise.
9922 * inet/netinet/in.h [__USE_GNU]: Likewise.
9923 * io/sys/stat.h [__USE_MISC]: Likewise.
9924 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9925 * libio/bits/stdio.h: Update #endif comments.
9926 [__USE_MISC]: Remove redundant conditionals.
9927 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9928 * libio/stdio.h: Update #endif comments.
9929 [__USE_MISC]: Remove redundant conditionals.
9930 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9931 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9932 * math/math.h: Update #else and #endif comments.
9933 [__USE_MISC]: Remove redundant conditionals.
9934 * misc/sys/uio.h: Update #endif comments.
9935 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9936 * posix/glob.h [__USE_MISC]: Likewise.
9937 * posix/sys/types.h: Update #endif comments.
9938 [__USE_MISC]: Remove redundant conditionals.
9939 * posix/sys/wait.h: Update #endif comments.
9940 [__USE_MISC]: Remove redundant conditionals.
9941 * posix/unistd.h: Update #endif comments.
9942 [__USE_MISC]: Remove redundant conditionals.
9943 * pwd/pwd.h [__USE_GNU]: Likewise.
9944 [__USE_MISC]: Likewise.
9945 * resolv/netdb.h [__USE_GNU]: Likewise.
9946 * signal/signal.h: Update #endif comments.
9947 [__USE_MISC]: Remove redundant conditionals.
9948 * stdlib/stdlib.h: Update #else and #endif comments.
9949 [__USE_MISC]: Remove redundant conditionals.
9950 [__USE_GNU]: Likewise.
9951 * string/bits/string2.h [__USE_MISC]: Likewise.
9952 * string/string.h: Update #endif comments.
9953 [__USE_MISC]: Remove redundant conditionals.
9954 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9956 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9957 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9958 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9960 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9964 [__USE_MISC]: Remove redundant conditionals.
9965 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9966 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9967 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9968 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9969 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9971 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9972 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9974 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9975 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9977 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9979 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9980 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9982 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9984 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9985 * sysdeps/x86/bits/string.h: Update #endif comments.
9986 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9988 * time/sys/time.h: Update #endif comments.
9989 * time/time.h: Likewise.
9990 [__USE_MISC]: Remove redundant conditionals.
9992 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9995 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9997 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9999 * Versions.def (librt): Add GLIBC_2.17.
10001 2014-02-21 Adam Conrad <adconrad@0c3.net>
10003 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10004 synonym for _SYS_AUXV_H to allow direct inclusion.
10005 * sysdeps/sparc/bits/hwcap.h: Likewise.
10006 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10007 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10008 * sysdeps/sparc/sysdep.h: Likewise.
10010 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10012 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10014 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10016 * benchtests/bench-strrchr.c: Print length instead of position.
10018 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10021 * sysdeps/unix/sysv/linux/kernel-features.h
10022 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10023 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10024 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10025 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10027 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10028 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10029 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10030 (__ASSUME_SENDMMSG): Define instead of using previous
10031 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10032 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10033 (__ASSUME_SENDMMSG_SYSCALL): Define.
10034 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10035 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10037 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10038 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10040 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10041 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10043 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10044 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10045 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10046 [__ASSUME_SENDMMSG]: Change conditionals to
10047 [__ASSUME_SENDMMSG_SOCKETCALL].
10048 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10049 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10051 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10052 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10054 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10055 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10056 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10057 [!__ASSUME_SENDMMSG]: Change conditional to
10058 [!__ASSUME_SENDMMSG_SOCKETCALL].
10059 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10060 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10064 * sysdeps/unix/sysv/linux/kernel-features.h
10065 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10066 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10067 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10068 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10069 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10070 [__i386__ || __sparc__]
10071 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10072 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10073 (__ASSUME_RECVMMSG): Define instead of using previous
10074 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10075 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10076 (__ASSUME_RECVMMSG_SYSCALL): Define.
10077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10078 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10081 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10083 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10084 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10086 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10087 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10088 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10089 [__ASSUME_RECVMMSG]: Change condition to
10090 [__ASSUME_RECVMMSG_SOCKETCALL].
10091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10092 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10094 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10095 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10096 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10098 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10099 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10100 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10101 [!__ASSUME_RECVMMSG]: Change condition to
10102 [!__ASSUME_RECVMMSG_SOCKETCALL].
10103 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10104 (__ASSUME_RECVMMSG_SYSCALL): Define.
10107 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10108 __powerpc__ || __s390__ || __sh__ || __sparc__]
10109 (__ASSUME_SOCKETCALL): Define.
10110 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10111 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10112 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10113 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10114 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10115 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10116 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10117 (__ASSUME_ACCEPT4): Define instead of using previous
10118 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10119 __powerpc__ || __sparc__ || __s390__)] condition.
10120 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10121 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10122 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10123 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10124 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10125 [!__ASSUME_ACCEPT4]: Change condition to
10126 [!__ASSUME_ACCEPT4_SOCKETCALL].
10127 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10128 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10129 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10130 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10131 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10132 __ASSUME_ACCEPT4_SYSCALL.
10133 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10134 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10135 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10136 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10137 __ASSUME_ACCEPT4_SYSCALL.
10138 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10139 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10140 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10141 [__ASSUME_ACCEPT4]: Change condition to
10142 [__ASSUME_ACCEPT4_SOCKETCALL].
10143 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10144 (__ASSUME_SOCKETCALL): Define.
10145 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10146 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10147 (__ASSUME_SOCKETCALL): Define.
10148 (__ASSUME_ACCEPT4): Remove.
10149 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10151 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10152 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10154 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10155 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10157 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10159 (HWCAP_ARM_LPAE): Likewise.
10160 (HWCAP_ARM_EVTSTRM): Likewise.
10161 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10162 Add vpfd32, lpae and evtstrm.
10163 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10166 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10168 * math/auto-libm-test-in: Add tests of clog10.
10169 * math/auto-libm-test-out: Regenerated.
10170 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10171 * sysdeps/i386/fpu/libm-test-ulps: Update.
10172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10174 2014-02-18 Andreas Schwab <schwab@suse.de>
10177 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10178 Store non-zero if the second buffer was newly allocated.
10179 (send_dg): Likewise.
10180 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10181 to send_vc and send_dg.
10182 (res_nsend): Pass NULL for ansp2_malloced.
10183 * resolv/res_query.c (__libc_res_nquery): Add parameter
10184 answerp2_malloced and pass it down to __libc_res_nsend.
10185 (res_nquery): Pass additional NULL to __libc_res_nquery.
10186 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10187 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10188 second answer buffer if answerp2_malloced was set.
10189 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10190 (__libc_res_nquerydomain): Add parameter
10191 answerp2_malloced and pass it down to __libc_res_nquery.
10192 (res_nquerydomain): Pass additional NULL to
10193 __libc_res_nquerydomain.
10194 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10195 additional NULL to __libc_res_nsend and __libc_res_nquery.
10196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10197 additional NULL to __libc_res_nsearch.
10198 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10199 parameter of __libc_res_nsearch to check for separately allocated
10201 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10203 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10204 additional NULL to __libc_res_nquery.
10205 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10206 __libc_res_nsearch.
10207 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10208 * include/resolv.h: Update prototypes of __libc_res_nquery,
10209 __libc_res_nsearch, __libc_res_nsend.
10211 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10213 * math/auto-libm-test-in: Add tests of fma.
10214 * math/auto-libm-test-out: Regenerated.
10215 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10216 (fma_towardzero_test_data): Likewise.
10217 (fma_downward_test_data): Likewise.
10218 (fma_upward_test_data): Likewise.
10219 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10221 (rounding_modes): Add values for new field.
10222 (func_calc_method): Add value mpfr_fff_f.
10223 (func_calc_desc): Add mpfr_fff_f union field.
10224 (test_function): Add field exact_args.
10225 (FUNC): Add macro argument EXACT_ARGS.
10226 (FUNC_mpfr_f_f): Update call to FUNC.
10227 (FUNC_mpfr_f_f): Likewise.
10228 (FUNC_mpfr_ff_f): Likewise.
10229 (FUNC_mpfr_if_f): Likewise.
10230 (FUNC_mpc_c_f): Likewise.
10231 (FUNC_mpc_c_c): Likewise.
10232 (test_functions): Add fma. Update calls to FUNC.
10233 (handle_input_arg): Add argument exact_args.
10234 (add_test): Update call to handle_input_arg.
10235 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10236 (output_for_one_input_case): Update call to calc_generic_results.
10237 Recalculate exact zero results in each rounding mode.
10239 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10240 non-negative before setting low bit.
10241 * math/auto-libm-test-in: Mark one asin test possibly having
10242 spurious underflow.
10243 * math/auto-libm-test-out: Regenerated.
10244 * sysdeps/i386/fpu/libm-test-ulps: Update.
10245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10247 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10249 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10250 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10251 ports/sysdeps/unix/sysv/linux/microblaze.
10252 * README: Add missing listing for microblaze*-*-linux-gnu.
10254 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10256 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10259 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10261 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10262 * sysdeps/unix/sysv/linux/ia64: Move directory from
10263 ports/sysdeps/unix/sysv/linux/ia64.
10264 * README: Update listing for ia64-*-linux-gnu.
10266 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10267 Joseph Myers <joseph@codesourcery.com>
10269 * Makeconfig (test-name): New variable.
10270 (evaluate-test): Likewise.
10271 * Makerules (do-test-clean): Remove .test-result files.
10272 (common-mostlyclean): Likewise.
10273 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10274 * scripts/evaluate-test.sh: New file.
10276 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10278 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10279 separate $(objpfx)tst-fopenloc-cmp.out and
10280 $(objpfx)tst-fopenloc-mem.out targets.
10281 (tests): Update dependencies.
10282 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10283 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10284 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10285 (tst-rxspencer-no-utf8-ARGS): New variable.
10286 (tst-rxspencer-no-utf8-ENV): Likewise.
10287 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10288 instead of $(objpfx)tst-rxspencer-mem.
10289 ($(objpfx)tst-rxspencer-mem): Change target to
10290 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10291 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10292 * posix/tst-rxspencer-no-utf8.c: New file.
10294 * elf/Makefile ($(objpfx)order.out): Remove rule.
10295 [$(run-built-tests) = yes] (tests): Depend on
10296 $(objpfx)order-cmp.out.
10297 ($(objpfx)order-cmp.out): New rule.
10298 [$(run-built-tests) = yes] (tests): Depend on
10299 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10300 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10301 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10302 $(objpfx)tst-array5-static-cmp.out.
10303 ($(objpfx)tst-array1.out): Remove rule.
10304 ($(objpfx)tst-array1-cmp.out): New rule.
10305 ($(objpfx)tst-array1-static.out): Remove rule.
10306 ($(objpfx)tst-array1-static-cmp.out): New rule.
10307 ($(objpfx)tst-array2.out): Remove rule.
10308 ($(objpfx)tst-array2-cmp.out): New rule.
10309 ($(objpfx)tst-array3.out): Remove rule.
10310 ($(objpfx)tst-array3-cmp.out): New rule.
10311 ($(objpfx)tst-array4.out): Remove rule.
10312 ($(objpfx)tst-array4-cmp.out): New rule.
10313 ($(objpfx)tst-array5.out): Remove rule.
10314 ($(objpfx)tst-array5-cmp.out): New rule.
10315 ($(objpfx)tst-array5-static.out): Remove rule.
10316 ($(objpfx)tst-array5-static-cmp.out): New rule.
10317 [$(run-built-tests) = yes] (tests): Depend on
10318 $(objpfx)order2-cmp.out.
10319 ($(objpfx)order2.out): Remove rule.
10320 ($(objpfx)order2-cmp.out): New rule.
10321 ($(objpfx)tst-initorder.out): Remove rule.
10322 [$(run-built-tests) = yes] (tests): Depend on
10323 $(objpfx)tst-initorder-cmp.out.
10324 ($(objpfx)tst-initorder-cmp.out): New rule.
10325 ($(objpfx)tst-initorder2.out): Remove rule.
10326 [$(run-built-tests) = yes] (tests): Depend on
10327 $(objpfx)tst-initorder2-cmp.out.
10328 ($(objpfx)tst-initorder2-cmp.out): New rule.
10329 [$(run-built-tests) = yes] (tests): Depend on
10330 $(objpfx)tst-unused-dep-cmp.out.
10331 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10332 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10333 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10334 on $(objpfx)tst-setvbuf1-cmp.out.
10335 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10336 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10337 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10338 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10339 ($(objpfx)tst-svc.out): Remove rule.
10340 ($(objpfx)tst-svc-cmp.out): New rule.
10342 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10344 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10345 * ctype/ctype.h [__USE_MISC]: Likewise.
10346 * dirent/dirent.h [__USE_MISC]: Likewise.
10347 * grp/grp.h [__USE_MISC]: Likewise.
10348 * io/fcntl.h [__USE_MISC]: Likewise.
10349 * io/sys/stat.h [__USE_MISC]: Likewise.
10350 * libio/stdio.h [__USE_MISC]: Likewise.
10351 * posix/unistd.h [__USE_MISC]: Likewise.
10352 * pwd/pwd.h [__USE_MISC]: Likewise.
10353 * stdlib.h [__USE_MISC]: Likewise.
10354 * string/bits/string2.h [__USE_MISC]: Likewise.
10355 * string/string.h [__USE_MISC]: Likewise.
10356 * time/time.h [__USE_MISC]: Likewise.
10358 2014-02-13 Andreas Schwab <schwab@suse.de>
10361 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10362 second answer buffer if it was separately allocated.
10364 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10366 * sysdeps/mips/math-tests.h: Include <features.h>.
10367 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10368 (ROUNDING_TESTS_long_double): Do not define.
10369 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10370 (EXCEPTION_TESTS_long_double): Likewise.
10371 * sysdeps/mips/mips64/libm-test-ulps: Update.
10373 * include/features.h (__USE_BSD): Remove macro definitions.
10374 (__USE_SVID): Likewise.
10375 (_BSD_SOURCE): Likewise.
10376 (_SVID_SOURCE): Likewise.
10377 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10378 from definition of _DEFAULT_SOURCE.
10379 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10381 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10382 * bits/mman.h [__USE_BSD]: Likewise.
10383 * bits/termios.h [__USE_BSD]: Likewise.
10384 * bits/waitstatus.h [__USE_BSD]: Likewise.
10385 * ctype/ctype.h [__USE_SVID]: Likewise.
10386 * dirent/dirent.h [__USE_BSD]: Likewise.
10387 * grp/grp.h [__USE_SVID]: Likewise.
10388 [__USE_BSD]: Likewise.
10389 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10390 * io/fcntl.h [__USE_BSD]: Likewise.
10391 * io/ftw.h [__USE_BSD]: Likewise.
10392 * io/sys/stat.h [__USE_BSD]: Likewise.
10393 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10394 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10395 * libio/stdio.h [__USE_SVID]: Likewise.
10396 [__USE_BSD]: Likewise.
10397 * math/math.h [__USE_SVID]: Likewise.
10398 [__USE_BSD]: Likewise.
10399 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10400 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10401 * misc/search.h [__USE_SVID]: Likewise.
10402 * misc/sys/mman.h [__USE_BSD]: Likewise.
10403 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10404 * misc/sys/uio.h [__USE_BSD]: Likewise.
10405 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10406 * posix/glob.h [__USE_BSD]: Likewise.
10407 * posix/regex.h [__USE_BSD]: Likewise.
10408 * posix/sys/types.h [__USE_BSD]: Likewise.
10409 [__USE_SVID]: Likewise.
10410 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10411 * posix/sys/wait.h [__USE_BSD]: Likewise.
10412 [__USE_SVID]: Likewise.
10413 * posix/unistd.h [__USE_BSD]: Likewise.
10414 [__USE_SVID]: Likewise.
10415 * pwd/pwd.h [__USE_SVID]: Likewise.
10416 * resolv/netdb.h [__USE_BSD]: Likewise.
10417 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10418 * signal/signal.h [__USE_BSD]: Likewise.
10419 [__USE_SVID]: Likewise.
10420 * socket/sys/socket.h [__USE_BSD]: Likewise.
10421 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10422 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10423 [__USE_SVID]: Likewise.
10424 * string/bits/string2.h [__USE_BSD]: Likewise.
10425 [__USE_SVID]: Likewise.
10426 * string/bits/string3.h [__USE_BSD]: Likewise.
10427 * string/endian.h [__USE_BSD]: Likewise.
10428 * string/string.h [__USE_SVID]: Likewise.
10429 [__USE_BSD]: Likewise.
10430 * string/strings.h [__USE_BSD]: Likewise.
10431 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10432 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10433 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10434 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10435 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10436 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10438 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10440 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10441 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10443 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10444 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10446 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10448 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10449 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10450 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10452 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10454 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10455 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10456 * termios/termios.h [__USE_BSD]: Likewise.
10457 * time/sys/time.h [__USE_BSD]: Likewise.
10458 * time/time.h [__USE_BSD]: Likewise.
10459 [__USE_SVID]: Likewise.
10461 * Makefile (subdir_targets): Remove subdir_lint.out.
10463 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10464 (do-tst-printf): Likewise.
10465 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10466 $(objpfx)tst-printf.out.
10468 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10470 * Makerules (check-abi-%): Change target to
10471 $(objpfx)check-abi-%.out.
10472 (check-abi target): Update dependencies.
10473 (check-abi-pattern variable): Redirect output of diff to $@.
10474 (check-abi variable): Likewise.
10475 * elf/Makefile (check-abi): Update dependencies.
10477 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10479 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10480 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10482 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10483 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10484 value has largest subnormal exponent.
10485 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10486 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10487 * sysdeps/aarch64/soft-fp/sfp-machine.h
10488 (_FP_TININESS_AFTER_ROUNDING): New macro.
10489 * sysdeps/alpha/soft-fp/sfp-machine.h
10490 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10491 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10493 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10494 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10495 * sysdeps/mips/soft-fp/sfp-machine.h
10496 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10497 * sysdeps/powerpc/soft-fp/sfp-machine.h
10498 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10499 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10502 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10504 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10505 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10508 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10514 2014-02-12 Richard Henderson <rth@redhat.com>
10516 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10517 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10518 * sysdeps/unix/sysv/linux/alpha: Move directory from
10519 ports/sysdeps/unix/sysv/linux/alpha.
10520 * README: Update listing for alpha-*-linux-gnu.
10522 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10524 * include/features.h: Update comment documenting feature test
10526 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10528 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10529 (_SVID_SOURCE): Likewise.
10530 (_DEFAULT_SOURCE): Update description of default features.
10531 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10533 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10534 (S_ISVTX): Likewise.
10535 * manual/math.texi (Mathematical Constants): Likewise.
10536 * manual/signal.texi (Interrupted Primitives): Likewise.
10537 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10538 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10539 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10540 Don't refer to _SVID_SOURCE in warning text.
10542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10544 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10546 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10547 * sysdeps/mips/dl-lookup.c: Remove.
10548 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10550 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10553 * math/auto-libm-test-in: Add testcase for expl.
10554 * math/auto-libm-test-out: Regenerate.
10555 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10556 calculation of unsafe.
10557 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10559 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10561 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10562 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10563 ports/sysdeps/unix/sysv/linux/aarch64.
10564 * README: Update listing for aarch64*-*-linux-gnu.
10566 2014-02-11 Will Newton <will.newton@linaro.org>
10568 * manual/probes.texi (Mathematical Function Probes): Use
10569 "triggered" instead of "hit".
10571 * manual/probes.texi (Internal Probes): Add documentation
10572 of setjmp, longjmp and longjmp_target probes.
10574 * include/stap-probe.h: Add comment about probe argument
10577 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10578 definition. (tr_where, tr_freehook, tr_mallochook,
10579 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10581 2014-02-11 David S. Miller <davem@davemloft.net>
10583 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10584 processing int_tests.
10586 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10588 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10589 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10590 * sysdeps/unix/sysv/linux/mips: Move directory from
10591 ports/sysdeps/unix/sysv/linux/mips.
10592 * README: Update listing for mips-*-linux-gnu and
10593 mips64-*-linux-gnu.
10595 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10597 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10598 * sysdeps/unix/sysv/linux/m68k: Move directory from
10599 ports/sysdeps/unix/sysv/linux/m68k.
10600 * README: Update listing for m68k-*-linux-gnu.
10602 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10604 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10605 * sysdeps/unix/sysv/linux/generic: Move directory from
10606 ports/sysdeps/unix/sysv/linux/generic.
10607 * sysdeps/unix/sysv/linux/tile: Move directory from
10608 ports/sysdeps/unix/sysv/linux/tile.
10609 * README: Update listing for tile*-*-linux-gnu.
10611 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10613 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10615 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10616 * catgets/open_catalog.c (__open_catalog): Likewise.
10617 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10618 * debug/confstr_chk.c: Likewise.
10619 * debug/fread_chk.c (__fread_chk): Likewise.
10620 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10621 * debug/getgroups_chk.c: Likewise.
10622 * debug/mbsnrtowcs_chk.c: Likewise.
10623 * debug/mbsrtowcs_chk.c: Likewise.
10624 * debug/mbstowcs_chk.c: Likewise.
10625 * debug/memcpy_chk.c: Likewise.
10626 * debug/memmove_chk.c: Likewise.
10627 * debug/mempcpy_chk.c: Likewise.
10628 * debug/memset_chk.c: Likewise.
10629 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10630 * debug/strcat_chk.c (__strcat_chk): Likewise.
10631 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10632 * debug/strncat_chk.c (__strncat_chk): Likewise.
10633 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10634 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10635 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10636 * debug/wcpncpy_chk.c: Likewise.
10637 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10638 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10639 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10640 * debug/wcsncpy_chk.c: Likewise.
10641 * debug/wcsnrtombs_chk.c: Likewise.
10642 * debug/wcsrtombs_chk.c: Likewise.
10643 * debug/wcstombs_chk.c: Likewise.
10644 * debug/wmemcpy_chk.c: Likewise.
10645 * debug/wmemmove_chk.c: Likewise.
10646 * debug/wmempcpy_chk.c: Likewise.
10647 * debug/wmemset_chk.c: Likewise.
10648 * dirent/scandirat.c (SCANDIRAT): Likewise.
10649 * dlfcn/dladdr1.c (dladdr1): Likewise.
10650 * dlfcn/dladdr.c (dladdr): Likewise.
10651 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10652 * dlfcn/dlerror.c (__dlerror): Likewise.
10653 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10654 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10655 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10656 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10657 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10658 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10659 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10660 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10662 * elf/dl-conflict.c: Likewise.
10663 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10664 * elf/dl-dst.h: Likewise.
10665 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10666 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10667 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10668 * elf/dl-init.c (call_init, _dl_init): Likewise.
10669 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10670 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10671 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10673 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10675 * elf/dl-minimal.c (__libc_memalign): Likewise.
10676 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10677 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10678 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10679 * elf/dl-sym.c (do_sym): Likewise.
10680 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10681 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10682 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10683 * elf/dl-writev.h (_dl_writev): Likewise.
10684 * elf/ldconfig.c (search_dir): Likewise.
10685 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10686 (dl_main): Likewise.
10687 * elf/setup-vdso.h (setup_vdso): Likewise.
10688 * grp/compat-initgroups.c (compat_call): Likewise.
10689 * grp/fgetgrent.c (fgetgrent): Likewise.
10690 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10691 * grp/putgrent.c (putgrent): Likewise.
10692 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10694 * hurd/hurdinit.c: Likewise.
10695 * iconvdata/8bit-gap.c (struct): Likewise.
10696 * iconvdata/ansi_x3.110.c : Likewise.
10697 * iconvdata/big5.c : Likewise.
10698 * iconvdata/big5hkscs.c : Likewise.
10699 * iconvdata/cp1255.c: Likewise.
10700 * iconvdata/cp1258.c : Likewise.
10701 * iconvdata/cp932.c : Likewise.
10702 * iconvdata/euc-cn.c: Likewise.
10703 * iconvdata/euc-jisx0213.c : Likewise.
10704 * iconvdata/euc-jp.c: Likewise.
10705 * iconvdata/euc-jp-ms.c : Likewise.
10706 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10707 * iconvdata/gb18030.c : Likewise.
10708 * iconvdata/gbbig5.c (const): Likewise.
10709 * iconvdata/gbgbk.c: Likewise.
10710 * iconvdata/gbk.c : Likewise.
10711 * iconvdata/ibm1364.c : Likewise.
10712 * iconvdata/ibm930.c : Likewise.
10713 * iconvdata/ibm932.c: Likewise.
10714 * iconvdata/ibm933.c : Likewise.
10715 * iconvdata/ibm935.c : Likewise.
10716 * iconvdata/ibm937.c : Likewise.
10717 * iconvdata/ibm939.c : Likewise.
10718 * iconvdata/ibm943.c: Likewise.
10719 * iconvdata/iso_11548-1.c: Likewise.
10720 * iconvdata/iso-2022-cn.c : Likewise.
10721 * iconvdata/iso-2022-cn-ext.c : Likewise.
10722 * iconvdata/iso-2022-jp-3.c: Likewise.
10723 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10724 * iconvdata/iso-2022-kr.c : Likewise.
10725 * iconvdata/iso646.c (gconv_end): Likewise.
10726 * iconvdata/iso_6937-2.c : Likewise.
10727 * iconvdata/iso_6937.c : Likewise.
10728 * iconvdata/iso8859-1.c: Likewise.
10729 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10730 * iconvdata/shift_jisx0213.c : Likewise.
10731 * iconvdata/sjis.c : Likewise.
10732 * iconvdata/t.61.c : Likewise.
10733 * iconvdata/tcvn5712-1.c : Likewise.
10734 * iconvdata/tscii.c: Likewise.
10735 * iconvdata/uhc.c : Likewise.
10736 * iconvdata/unicode.c (gconv_end): Likewise.
10737 * iconvdata/utf-16.c (gconv_end): Likewise.
10738 * iconvdata/utf-32.c (gconv_end): Likewise.
10739 * iconvdata/utf-7.c (base64): Likewise.
10740 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10741 * iconv/gconv_close.c (__gconv_close): Likewise.
10742 * iconv/gconv_open.c (__gconv_open): Likewise.
10743 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10744 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10745 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10746 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10747 (ucs4le_internal_loop_single): Likewise.
10748 * iconv/iconv.c (iconv): Likewise.
10749 * iconv/iconv_close.c: Likewise.
10750 * iconv/loop.c (SINGLE): Likewise.
10751 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10752 * include/atomic.h: Likewise.
10753 * inet/inet6_option.c (option_alloc): Likewise.
10754 * intl/bindtextdom.c (set_binding_values): Likewise.
10755 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10756 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10757 * intl/localealias.c (read_alias_file): Likewise.
10758 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10759 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10760 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10761 * libio/fmemopen.c (fmemopen): Likewise.
10762 * libio/iofgets.c (_IO_fgets): Likewise.
10763 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10764 * libio/iofgetws.c (fgetws): Likewise.
10765 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10766 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10767 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10768 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10769 * locale/findlocale.c (_nl_find_locale): Likewise.
10770 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10771 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10773 * locale/setlocale.c (setlocale): Likewise.
10774 * login/programs/pt_chown.c (main): Likewise.
10775 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10776 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10777 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10778 (mmap, mmap64, mremap, munmap): Likewise.
10779 * math/e_exp2l.c: Likewise.
10780 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10781 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10782 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10783 * math/s_catan.c (__catan): Likewise.
10784 * math/s_catanf.c (__catanf): Likewise.
10785 * math/s_catanh.c (__catanh): Likewise.
10786 * math/s_catanhf.c (__catanhf): Likewise.
10787 * math/s_catanhl.c (__catanhl): Likewise.
10788 * math/s_catanl.c (__catanl): Likewise.
10789 * math/s_ccosh.c (__ccosh): Likewise.
10790 * math/s_ccoshf.c (__ccoshf): Likewise.
10791 * math/s_ccoshl.c (__ccoshl): Likewise.
10792 * math/s_cexp.c (__cexp): Likewise.
10793 * math/s_cexpf.c (__cexpf): Likewise.
10794 * math/s_cexpl.c (__cexpl): Likewise.
10795 * math/s_clog10.c (__clog10): Likewise.
10796 * math/s_clog10f.c (__clog10f): Likewise.
10797 * math/s_clog10l.c (__clog10l): Likewise.
10798 * math/s_clog.c (__clog): Likewise.
10799 * math/s_clogf.c (__clogf): Likewise.
10800 * math/s_clogl.c (__clogl): Likewise.
10801 * math/s_csin.c (__csin): Likewise.
10802 * math/s_csinf.c (__csinf): Likewise.
10803 * math/s_csinh.c (__csinh): Likewise.
10804 * math/s_csinhf.c (__csinhf): Likewise.
10805 * math/s_csinhl.c (__csinhl): Likewise.
10806 * math/s_csinl.c (__csinl): Likewise.
10807 * math/s_csqrt.c (__csqrt): Likewise.
10808 * math/s_csqrtf.c (__csqrtf): Likewise.
10809 * math/s_csqrtl.c (__csqrtl): Likewise.
10810 * math/s_ctan.c (__ctan): Likewise.
10811 * math/s_ctanf.c (__ctanf): Likewise.
10812 * math/s_ctanh.c (__ctanh): Likewise.
10813 * math/s_ctanhf.c (__ctanhf): Likewise.
10814 * math/s_ctanhl.c (__ctanhl): Likewise.
10815 * math/s_ctanl.c (__ctanl): Likewise.
10816 * math/w_pow.c: Likewise.
10817 * math/w_powf.c: Likewise.
10818 * math/w_powl.c: Likewise.
10819 * math/w_scalb.c (sysv_scalb): Likewise.
10820 * math/w_scalbf.c (sysv_scalbf): Likewise.
10821 * math/w_scalbl.c (sysv_scalbl): Likewise.
10822 * misc/error.c (error_tail): Likewise.
10823 * misc/pselect.c (__pselect): Likewise.
10824 * nis/nis_callback.c (__nis_create_callback): Likewise.
10825 * nis/nis_call.c (__nisfind_server): Likewise.
10826 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10827 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10828 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10829 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10830 * nis/nis_lookup.c (nis_lookup): Likewise.
10831 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10832 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10833 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10834 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10835 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10836 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10837 * nis/nss_compat/compat-initgroups.c (add_group)
10838 (internal_getgrent_r): Likewise.
10839 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10840 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10841 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10842 (internal_getspnam_r): Likewise.
10843 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10844 (_nss_nis_getaliasbyname_r): Likewise.
10845 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10846 (_nss_nis_getntohost_r): Likewise.
10847 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10848 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10849 (_nss_nis_getgrgid_r): Likewise.
10850 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10851 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10852 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10853 (_nss_nis_gethostbyname4_r): Likewise.
10854 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10855 (initgroups_netid): Likewise.
10856 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10857 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10858 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10859 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10860 (_nss_nis_getprotobynumber_r): Likewise.
10861 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10862 (_nss_nis_getsecretkey): Likewise.
10863 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10864 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10865 (_nss_nis_getpwuid_r): Likewise.
10866 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10867 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10868 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10869 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10870 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10871 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10872 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10874 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10875 (_nss_nisplus_getntohost_r): Likewise.
10876 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10877 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10878 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10879 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10881 * nis/nss_nisplus/nisplus-initgroups.c
10882 (_nss_nisplus_initgroups_dyn): Likewise.
10883 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10884 (_nss_nisplus_getnetbyaddr_r): Likewise.
10885 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10886 (_nss_nisplus_getprotobynumber_r): Likewise.
10887 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10888 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10889 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10891 * nis/nss_nisplus/nisplus-service.c
10892 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10893 (_nss_nisplus_getservbyport_r): Likewise.
10894 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10895 (_nss_nisplus_getspnam_r): Likewise.
10896 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10898 * nscd/aicache.c (addhstaiX): Likewise.
10899 * nscd/cache.c (cache_search, prune_cache): Likewise.
10900 * nscd/connections.c (register_traced_file, send_ro_fd)
10901 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10902 (main_loop_epoll): Likewise.
10903 * nscd/grpcache.c (addgrbyX): Likewise.
10904 * nscd/hstcache.c (addhstbyX): Likewise.
10905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10906 * nscd/mem.c (gc, mempool_alloc): Likewise.
10907 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10908 (addinnetgrX): Likewise.
10909 * nscd/nscd-client.h (__nscd_acquire_maplock)
10910 (__nscd_drop_map_ref): Likewise.
10911 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10912 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10913 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10915 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10916 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10917 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10918 (__nscd_get_map_ref): Likewise.
10919 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10920 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10922 * nscd/pwdcache.c (addpwbyX): Likewise.
10923 * nscd/selinux.c (preserve_capabilities): Likewise.
10924 * nscd/servicescache.c (addservbyX): Likewise.
10925 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10926 * posix/fnmatch.c (fnmatch): Likewise.
10927 * posix/getopt.c (_getopt_internal_r): Likewise.
10928 * posix/glob.c (glob, glob_in_dir): Likewise.
10929 * posix/wordexp.c (exec_comm_child): Likewise.
10930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10931 (getanswer_r, gaih_getanswer_slice): Likewise.
10932 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10933 * resolv/res_init.c: Likewise.
10934 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10935 * resolv/res_query.c (__libc_res_nquery): Likewise.
10936 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10938 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10939 * stdio-common/perror.c (perror): Likewise.
10940 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10941 * stdio-common/tmpnam.c (tmpnam): Likewise.
10942 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10943 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10944 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10946 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10947 * stdlib/putenv.c (putenv): Likewise.
10948 * stdlib/setenv.c (__add_to_environ): Likewise.
10949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10950 * stdlib/strtol_l.c (INTERNAL): Likewise.
10951 * string/memmem.c (memmem): Likewise.
10952 * string/strerror.c (strerror): Likewise.
10953 * string/strnlen.c (__strnlen): Likewise.
10954 * string/test-memmem.c (simple_memmem): Likewise.
10955 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10956 * sunrpc/pm_getport.c (__get_socket): Likewise.
10957 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10958 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10959 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10960 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10962 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10963 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10964 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10965 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10966 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10967 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10969 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10971 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10972 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10974 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10975 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10977 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10978 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10979 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10980 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10981 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10982 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10984 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10988 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10990 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10992 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10993 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10994 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10996 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10997 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10998 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11003 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11005 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11007 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11009 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11011 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11012 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11013 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11015 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11016 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11017 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11018 * sysdeps/posix/sleep.c: Likewise.
11019 * sysdeps/posix/tempname.c: Likewise.
11020 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11021 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11023 * sysdeps/powerpc/powerpc32/dl-machine.h
11024 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11025 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11026 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11027 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11028 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11030 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11031 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11032 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11033 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11034 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11035 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11036 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11037 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11038 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11039 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11041 (elf_machine_lazy_rel): Likewise.
11042 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11044 (elf_machine_lazy_rel): Likewise.
11045 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11046 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11047 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11048 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11049 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11050 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11051 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11054 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11055 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11056 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11057 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11058 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11059 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11060 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11061 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11063 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11064 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11066 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11067 (__posix_fallocate64_l64): Likewise.
11068 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11069 (posix_fallocate): Likewise.
11070 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11073 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11074 (getifaddrs_internal): Likewise.
11075 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11076 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11077 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11078 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11079 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11080 (__posix_fallocate64_l64): Likewise.
11081 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11083 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11084 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11085 (__get_clockfreq): Likewise.
11086 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11087 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11088 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11091 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11092 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11093 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11095 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11096 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11097 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11099 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11100 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11101 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11103 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11104 (posix_fallocate): Likewise.
11105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11106 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11107 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11108 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11109 (elf_machine_rela, elf_machine_rela_relative)
11110 (elf_machine_lazy_rel): Likewise.
11111 * time/asctime.c (asctime_internal): Likewise.
11112 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11113 * time/tzset.c (__tzset_parse_tz): Likewise.
11114 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11115 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11116 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11117 * wcsmbs/wcsmbsload.h: Likewise.
11120 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11122 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11123 (arena_get2): Remove THREAD_STATS conditionals.
11124 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11125 (__malloc_stats, int): Likewise.
11127 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11129 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11130 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11132 * manual/setjmp.texi: Fix typos/grammar errors.
11134 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11135 Only return early when n is <= 0. Delete unused return statement.
11137 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11138 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11139 * debug/tst-longjmp_chk3.c: New file.
11141 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11142 (test_main): Replace code with set_fortify_handler call.
11143 * debug/test-strcpy_chk.c: Likewise.
11144 * debug/tst-chk1.c: Likewise.
11145 * debug/tst-longjmp_chk.c: Likewise.
11146 * test-skeleton.c: Include fcntl.h & paths.h
11147 (set_fortify_handler): Define.
11149 * debug/tst-longjmp_chk.c: Add header comment and include
11150 ../test-skeleton.c.
11151 (do_test): Mark static.
11152 (TEST_FUNCTION): Define.
11154 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11155 (IP_PMTUDISC_INTERFACE): Likewise.
11156 (IP_MULTICAST_IF): Likewise.
11157 (IP_MULTICAST_TTL): Likewise.
11158 (IP_MULTICAST_LOOP): Likewise.
11159 (IP_ADD_MEMBERSHIP): Likewise.
11160 (IP_DROP_MEMBERSHIP): Likewise.
11161 (IP_UNBLOCK_SOURCE): Likewise.
11162 (IP_BLOCK_SOURCE): Likewise.
11163 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11164 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11165 (IP_MSFILTER): Likewise.
11166 (MCAST_JOIN_GROUP): Likewise.
11167 (MCAST_BLOCK_SOURCE): Likewise.
11168 (MCAST_UNBLOCK_SOURCE): Likewise.
11169 (MCAST_LEAVE_GROUP): Likewise.
11170 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11171 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11172 (MCAST_MSFILTER): Likewise.
11173 (IP_MULTICAST_ALL): Likewise.
11174 (IP_UNICAST_IF): Likewise.
11176 * timezone/Makefile: Delete $(have-ksh) check.
11177 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11178 * timezone/tzselect.ksh: Add +x mode bits.
11180 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11181 (ANON_INODE_FS_MAGIC): Likewise.
11182 (BDEVFS_MAGIC): Likewise.
11183 (BINFMTFS_MAGIC): Likewise.
11184 (BTRFS_TEST_MAGIC): Likewise.
11185 (CRAMFS_MAGIC_WEND): Likewise.
11186 (DEBUGFS_MAGIC): Likewise.
11187 (ECRYPTFS_SUPER_MAGIC): Likewise.
11188 (EXT3_SUPER_MAGIC): Likewise.
11189 (EXT4_SUPER_MAGIC): Likewise.
11190 (FUTEXFS_SUPER_MAGIC): Likewise.
11191 (HOSTFS_SUPER_MAGIC): Likewise.
11192 (HUGETLBFS_MAGIC): Likewise.
11193 (MINIX3_SUPER_MAGIC): Likewise.
11194 (MTD_INODE_FS_MAGIC): Likewise.
11195 (NILFS_SUPER_MAGIC): Likewise.
11196 (OPENPROM_SUPER_MAGIC): Likewise.
11197 (PIPEFS_MAGIC): Likewise.
11198 (PSTOREFS_MAGIC): Likewise.
11199 (QNX6_SUPER_MAGIC): Likewise.
11200 (RAMFS_MAGIC): Likewise.
11201 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11202 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11203 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11204 (SECURITYFS_MAGIC): Likewise.
11205 (SELINUX_MAGIC): Likewise.
11206 (SMACK_MAGIC): Likewise.
11207 (SOCKFS_MAGIC): Likewise.
11208 (SQUASHFS_MAGIC): Likewise.
11209 (STACK_END_MAGIC): Likewise.
11210 (TMPFS_MAGIC): Likewise.
11211 (USBDEVICE_SUPER_MAGIC): Likewise.
11212 (V9FS_MAGIC): Likewise.
11213 (XENFS_SUPER_MAGIC): Likewise.
11214 (CRAMFS_MAGIC): Fix typo in comment.
11215 (EXT2_SUPER_MAGIC): Update comment.
11216 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11218 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11220 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11221 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11222 * sysdeps/unix/sysv/linux/arm: Move directory from
11223 ports/sysdeps/unix/sysv/linux/arm.
11224 * README: Update listing for arm-*-linux-gnueabi.
11226 * README: Remove mention of am33.
11228 2014-02-07 Roland McGrath <roland@hack.frob.com>
11230 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11231 than the comma operator, to avoid "rhs of comma has no effect"
11233 (__sigfillset, __sigandset, __sigorset): Likewise.
11234 * include/signal.h (__sigemptyset): Likewise.
11235 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11237 2014-02-07 Allan McRae <allan@archlinux.org>
11239 * version.h (RELEASE): Set to "development".
11240 (VERSION): Set to "2.19.90"
11241 * NEWS: Add 2.20 section.
11243 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11246 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11248 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11250 * manual/contrib.texi: Update entry for Carlos O'Donell,
11251 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11253 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11255 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11257 * sysdeps/unix/sysv/linux/kernel-features.h
11258 [__LINUX_KERNEL_VERSION >= 0x020621]
11259 (__ASSUME_PROC_PID_TASK_COMM): Define.
11261 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11264 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11265 conversion when destination buffer does not have enough space.
11266 * libio/tst-ftell-partial-wide.c: New test case.
11267 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11269 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11270 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11271 Leonard and Allan McRae.
11273 2014-02-04 David S. Miller <davem@davemloft.net>
11275 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11278 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11307 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11309 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11310 * shlib-versions: Likewise.
11312 2014-02-04 Roland McGrath <roland@hack.frob.com>
11313 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11315 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11316 (abilist-pattern): New variable, set to %-le.abilist.
11318 * Makerules (abilist-pattern): New variable.
11319 (vpath): Use $(abilist-pattern) in place of %.abilist.
11320 (check-abi-% pattern rule): Likewise.
11321 (check-abi, update-abi): Likewise.
11323 2014-02-04 Eric Wong <normalperson@yhbt.net>
11325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11327 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11329 * manual/startup.texi: Add next, previous, and top entries for
11330 the `Program Arguments' and `Environment Variables' nodes.
11332 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11334 * manual/macros.texi: Add comments before MTASC-safety macros.
11336 * manual/users.texi: Document MTASC-safety properties.
11338 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11339 (pthread_getspecific, pthread_setspecific): Format with
11340 @deftypefun, and add @safety note.
11341 * manual/signal.texi: Move comments that analyze the above
11342 functions to their home place.
11344 2014-02-03 Allan McRae <allan@archlinux.org>
11346 * po/sl.po: Update Slovenian translation from translation project.
11348 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11350 * manual/time.texi (timegm): Add missing blank after @c.
11351 Reported by Joseph Myers <joseph@codesourcery.com>.
11353 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11355 * manual/check-safety.sh: New.
11356 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11358 * manual/terminal.texi: Document MTASC-safety properties.
11360 * manual/filesys.texi: Document MTASC-safety properties.
11362 * manual/errno.texi: Document MTASC-safety properties.
11364 * manual/intro.texi: Document safety identifiers and
11367 * manual/string.texi (wcstok): Fix prototype.
11368 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11370 * manual/time.texi: Document MTASC-safety properties.
11372 * manual/string.texi: Document MTASC-safety properties.
11374 * manual/threads.texi: Document MTASC-safety properties.
11376 * manual/stdio.texi: Document MTASC-safety properties.
11378 * manual/syslog.texi: Document MTASC-safety properties.
11380 * manual/sysinfo.texi: Document MTASC-safety properties.
11382 * manual/startup.texi: Document MTASC-safety properties.
11384 * manual/socket.texi: Document MTASC-safety properties.
11386 * manual/signal.texi: Document MTASC-safety properties.
11388 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11390 * manual/setjmp.texi: Document MTASC-safety properties.
11392 * manual/search.texi: Document MTASC-safety properties.
11394 * manual/resource.texi: Document MTASC-safety properties.
11396 * manual/process.texi: Document MTASC-safety properties.
11398 * manual/platform.texi: Document MTASC-safety properties.
11400 * manual/pipe.texi: Document MTASC-safety properties.
11402 * manual/pattern.texi: Document MTASC-safety properties.
11404 * manual/message.texi: Document MTASC-safety properties.
11407 * manual/memory.texi: Document MTASC-safety properties.
11409 * manual/math.texi: Document MTASC-safety properties.
11411 * manual/locale.texi: Document MTASC-safety properties.
11413 * manual/llio.texi: Document MTASC-safety properties.
11415 * manual/libdl.texi: New.
11417 * manual/lang.texi: Document MTASC-safety properties.
11419 * manual/job.texi: Document MTASC-safety properties.
11421 * manual/getopt.texi: Document MTASC-safety properties.
11423 * manual/ctype.texi: Document MTASC-safety properties.
11425 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11428 * csu/libc-tls.c (static_map): Remove variable.
11429 (__libc_setup_tls): Use main executable's link map for TLS data.
11430 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11431 casing for LM_ID_BASE and GL(dl_nns).
11432 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11433 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11434 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11435 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11436 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11438 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11441 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11443 * manual/debug.texi: Document MTASC-safety properties.
11445 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11448 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11449 of __x86_64__ when disabling x87 inline functions.
11451 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11453 * manual/charset.texi: Document MTASC-safety properties.
11455 * manual/crypt.texi: Document MTASC-safety properties.
11457 * manual/conf.texi: Document MTASC-safety properties.
11459 * manual/arith.texi: Document MTASC-safety properties.
11461 * manual/argp.texi: Document MTASC-safety properties.
11463 * manual/macros.texi: Introduce macros to document multi
11464 thread, asynchronous signal and asynchronous cancellation
11466 * manual/intro.texi: Introduce the properties themselves.
11468 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11470 * sysdeps/sh/sh4/Makefile: New file.
11472 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11474 * math/gen-libm-test.pl ($srcdir): New variable.
11475 ($auto_input): Use it.
11477 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11480 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11481 access beyond array bounds when parsing netgroups file.
11483 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11484 the old buffer before realloc.
11486 2014-01-27 Allan McRae <allan@archlinux.org>
11488 * po/fr.po: Update French translation from translation project.
11490 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11492 * sysdeps/sh/libm-test-ulps: Regenerate.
11494 2014-01-24 David S. Miller <davem@davemloft.net>
11496 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11498 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11500 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11501 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11503 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11506 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11507 string pointers after reallocation.
11509 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11511 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11512 __SH4A__ instead of __SH_FPU_ANY__.
11514 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11516 * sysdeps/sh/fpu_control.h: New file.
11517 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11518 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11519 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11520 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11521 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11522 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11523 * sysdeps/sh/sys/ucontext.h: Remove.
11524 * sysdeps/sh/sys: Remove directory.
11526 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11528 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11529 s390/sys/ucontext.h.
11530 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11531 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11533 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11536 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11538 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11542 Adjust the vDSO correctly for internal calls.
11543 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11545 2014-01-20 Allan McRae <allan@archlinux.org>
11547 * po/ca.po: Update Catalan translation from translation project.
11549 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11551 * sysdeps/s390/sotruss-lib.c: New file.
11553 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11556 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11557 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11558 local calls issues by not having a PLT stub required for IFUNC calls.
11559 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11561 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11563 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11564 * math/test-fpucw-static.c: Likewise.
11566 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11569 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11571 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11573 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11574 implementation for powerpc.
11576 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11579 * sysdeps/posix/system.c (__libc_system): Do not enable
11580 asynchronous cancellation.
11582 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11585 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11586 handling only for numbers special also in the IEEE case.
11588 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11590 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11592 2014-01-11 Allan McRae <allan@archlinux.org>
11594 * po/bg.po: Update Bulgarian translation from translation project.
11596 * po/de.po: Update German translation from translation project.
11598 2014-01-10 Roland McGrath <roland@hack.frob.com>
11600 * sysdeps/generic/gcc-compat.h: New file.
11602 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11604 * benchtests/asin-inputs: Correct slow inputs.
11605 * benchtests/acos-inputs: Likewise.
11607 2014-01-10 Allan McRae <allan@archlinux.org>
11609 * po:sv.po: Update Swedish translation from translation project.
11611 * po/vi.po: Update Vietnamese translation from translation project.
11613 * po/eo.po: Update Esperanto translation from translation project.
11615 * po/cs.po: Update Czech translation from translation project.
11617 * po/nl.po: Update Dutch translation from translation project.
11619 * po/pl.po: Update Polish translation from translation project.
11621 * po/ru.po: Update Russian translation from translation project.
11623 * po/uk.po: Update Ukrainian translation from translation project.
11625 2014-01-08 Brooks Moses <bmoses@google.com>
11627 * elf/dl-load.c: Fix comment typo.
11629 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11631 * po/header.pot: Rename to...
11632 * po/pot.header: ... this.
11633 * po/Makefile: Use pot.header.
11635 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11636 Maxim Kuvyrkov <maxim@kugelworks.com>
11639 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11640 SRC and DEST against LEN.
11642 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11645 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11647 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11649 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11653 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11656 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11657 for large positive arguments.
11659 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11661 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11663 * math/auto-libm-test-in: Mark various tests with
11664 xfail-rounding:ldbl-128ibm.
11665 * math/auto-libm-test-out: Regenerated.
11668 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11669 Increase overflow threshold.
11671 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11674 * stdio-common/vfprintf.c: Check for integer overflow.
11676 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11678 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11679 the first argument and return value of __tls_get_addr_internal.
11681 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11683 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11684 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11686 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11688 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11689 * sysdeps/s390/rtld-global-offsets.sym: New file.
11690 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11692 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11694 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11696 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11697 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11703 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11704 halfs of GPRs for high_gprs contexts.
11705 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11706 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11708 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11710 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11712 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11713 for high GPRs (uc_high_gprs) and for future extensions
11715 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11716 for future extensions (__reserved).
11717 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11719 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11720 SC_HIGHGPRS offset definition.
11721 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11722 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11724 * Versions.def: Add GLIBC_2.19 for libpthread.
11725 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11726 siglongjmp for libpthread with GLIBC_2.19 symver.
11727 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11728 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11729 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11730 * sysdeps/s390/__longjmp.c: New file.
11731 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11732 * sysdeps/s390/longjmp.c: New file.
11733 * sysdeps/s390/setjmp.S: New file.
11734 * sysdeps/s390/sigjmp.S: New file.
11735 * sysdeps/s390/v1-longjmp.c: New file.
11736 * sysdeps/s390/v1-setjmp.h: New file.
11737 * sysdeps/s390/v1-sigjmp.c: New file.
11738 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11739 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11740 GLIBC_2.19 version.
11741 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11742 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11743 versioned symbols for ____longjmp_chk.
11744 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11754 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11755 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11756 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11757 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11758 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11759 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11760 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11761 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11762 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11763 * sysdeps/s390/rtld-__longjmp.c: New file.
11764 * sysdeps/s390/rtld-setjmp.S: New file.
11766 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11769 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11770 Return -__logl (x) for small positive arguments without evaluating
11773 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11775 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11777 (__ptrace_peeksiginfo_args): ... this.
11778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11782 2014-01-06 Allan McRae <allan@archlinux.org>
11784 * inet/netinet/in.h: Fix typo in comment.
11786 2014-01-05 Andreas Jaeger <aj@suse.de>
11788 * sysdeps/i386/fpu/libm-test-ulps: Update.
11790 2014-01-05 Allan McRae <allan@archlinux.org>
11792 * po/libc.pot: Regenerated.
11794 * malloc/memusagestat.c: Fix gettext call formatting.
11796 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11798 * nscd/nscd.c: Improve usage() output.
11800 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11802 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11803 * sysdeps/unix/sysv/linux/configure: Regenerated.
11804 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11805 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11807 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11810 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11811 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11813 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11816 extra tokens at end of #undef directive.
11817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11818 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11819 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11821 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11823 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11825 * math/auto-libm-test-in: Mark various tests with
11826 xfail-rounding:ldbl-128ibm.
11827 * math/auto-libm-test-out: Regenerated.
11829 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11832 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11833 numbers with subnormal high part when calculating exponent.
11836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11842 (__ieee754_acoshl): Use __log1pl not __log1p.
11844 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11846 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11847 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11848 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11849 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11850 (reused_arena, arena_get2): Convert to GNU style.
11851 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11852 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11853 (memalign_check, __malloc_set_state): Likewise.
11854 * malloc/mallocbug.c (main): Likewise.
11855 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11856 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11857 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11858 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11859 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11860 (__posix_memalign, malloc_info): Likewise.
11861 * malloc/malloc.h: Likewise.
11862 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11863 (mallochook, memalignhook, reallochook, mabort): Likewise.
11864 * malloc/mcheck.h: Likewise.
11865 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11866 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11867 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11868 * malloc/morecore.c (__default_morecore): Likewise.
11869 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11870 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11871 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11872 (print_and_abort): Likewise.
11873 * malloc/obstack.h: Likewise.
11874 * malloc/set-freeres.c (__libc_freeres): Likewise.
11875 * malloc/tst-mallocstate.c (main): Likewise.
11876 * malloc/tst-mtrace.c (main): Likewise.
11877 * malloc/tst-realloc.c (do_test): Likewise.
11879 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11882 * nscd/netgroupcache.c (do_notfound): New function.
11883 (addgetnetgrentX): Use it.
11886 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11887 NSS_STATUS_NOTFOUND.
11889 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11891 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11894 2014-01-01 Allan McRae <allan@archlinux.org>
11896 * scripts/update-copyrights: Update configure input file suffix.
11898 * NEWS: Update copyright year.
11899 * catgets/gencat.c: Likewise.
11900 * csu/version.c: Likewise.
11901 * debug/catchsegv.sh: Likewise.
11902 * debug/pcprofiledump.c: Likewise.
11903 * debug/xtrace.sh: Likewise.
11904 * elf/ldconfig.c: Likewise.
11905 * elf/ldd.bash.in: Likewise.
11906 * elf/pldd.c: Likewise.
11907 * elf/sotruss.ksh: Likewise.
11908 * elf/sprof.c: Likewise.
11909 * iconv/iconv_prog.c: Likewise.
11910 * iconv/iconvconfig.c: Likewise.
11911 * locale/programs/locale.c: Likewise.
11912 * locale/programs/localedef.c: Likewise.
11913 * login/programs/pt_chown.c: Likewise.
11914 * malloc/memusage.sh: Likewise.
11915 * malloc/memusagestat.c: Likewise.
11916 * malloc/mtrace.pl: Likewise.
11917 * manual/libc.texinfo: Likewise.
11918 * nscd/nscd.c: Likewise.
11919 * nss/getent.c: Likewise.
11920 * nss/makedb.c: Likewise.
11921 * posix/getconf.c: Likewise.
11922 * scripts/test-installation.pl: Likewise.
11924 * All files with FSF copyright notices: Update copyright dates
11925 using scripts/update-copyrights.
11926 * intl/plural.c: Regenerated.
11927 * locale/programs/charmap-kw.h: Likewise.
11928 * locale/programs/locfile-kw.h: Likewise.
11930 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11932 * sysdeps/unix/sysv/linux/configure: Regenerated.
11933 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11934 the linux/fanotify.h header.
11935 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11936 HAVE_LINUX_FANOTIFY_H is defined.
11938 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11940 * benchtests/cos-inputs: New inputs.
11941 * benchtests/sin-inputs: Likewise.
11943 * benchtests/atan-inputs: New inputs. Fix name of multiple
11944 precision fallback inputs.
11946 * benchtests/atanh-inputs: New inputs.
11947 * benchtests/tanh-inputs: Likewise.
11949 * benchtests/acosh-inputs: New inputs.
11950 * benchtests/asinh-inputs: Likewise.
11952 * benchtests/cosh-inputs: New inputs.
11953 * benchtests/sinh-inputs: Likewise.
11955 * benchtests/acos-inputs: Add more inputs.
11956 * benchtests/asin-inputs: Likewise.
11958 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11961 * manual/arith.texi: Fix spelling.
11962 * manual/charset.texi: Likewise.
11963 * manual/errno.texi: Likewise.
11964 * manual/filesys.texi: Likewise.
11965 * manual/lang.texi: Likewise.
11966 * manual/llio.texi: Likewise.
11967 * manual/locale.texi: Likewise.
11968 * manual/message.texi: Likewise.
11969 * manual/resource.texi: Likewise.
11970 * manual/search.texi: Likewise.
11971 * manual/setjmp.texi: Likewise.
11972 * manual/stdio.texi: Likewise.
11973 * manual/string.texi: Likewise.
11974 * manual/sysinfo.texi: Likewise.
11975 * manual/time.texi: Likewise.
11977 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11979 * po/sl.po: New file.
11981 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11983 * .gitignore: Add core/.gdbinit/.gdb_history.
11985 2013-12-27 Allan McRae <allan@archlinux.org>
11988 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11989 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11991 2013-12-24 Brooks Moses <bmoses@google.com>
11993 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11994 all compilers that claim C++98 compliance, not just GCC.
11995 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11998 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12000 * NEWS: Restore accidentally deleted bug-fix entries.
12002 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12003 Ondřej Bílka <neleai@seznam.cz>
12006 * malloc/malloc.c (_int_free): Perform sanity check only if we
12009 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12012 * manual/stdio.texi (String Input Conversions): Clarify that character
12013 classes are not supported.
12015 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12019 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12023 Calculate results for small negative arguments directly rather
12024 than using reflection formula with special underflow handling.
12026 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12027 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12028 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12029 (fchflags): Likewise.
12030 (revoke): Likewise.
12031 (setlogin): Likewise.
12032 (sigaltstack): Likewise.
12034 (sigblock): Remove.
12035 (sigsetmask): Likewise.
12037 (waitpid): Likewise.
12038 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12039 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12041 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12042 * sysdeps/unix/bsd/Makefile: ... here.
12043 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12044 * sysdeps/unix/bsd/Versions: ... here.
12045 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12046 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12047 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12048 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12049 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12050 * sysdeps/unix/bsd/sigblock.c: ... here.
12051 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12052 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12053 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12054 * sysdeps/unix/bsd/sigvec.c: ... here.
12055 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12056 * sysdeps/unix/bsd/tcdrain.c: ... here.
12057 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12058 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12059 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12060 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12061 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12062 * sysdeps/unix/bsd/wait.c: ... here.
12063 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12064 * sysdeps/unix/bsd/wait3.c: ... here.
12065 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12066 * sysdeps/unix/bsd/waitpid.c: ... here.
12068 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12071 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12072 round-to-nearest for [!USE_AS_EXPM1L].
12073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12074 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12075 more tests of exp and exp10. Expect some exp10 tests to miss
12076 exceptions or fail in directed rounding modes.
12077 * math/auto-libm-test-out: Regenerated.
12078 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12079 (exp10_test_tonearest): New function.
12080 (exp10_towardzero_test_data): New array.
12081 (exp10_test_towardzero): New function.
12082 (exp10_downward_test_data): New array.
12083 (exp10_test_downward): New function.
12084 (exp10_upward_test_data): New array.
12085 (exp10_test_upward): New function.
12086 (main): Call the new functions.
12087 * sysdeps/i386/fpu/libm-test-ulps: Update.
12088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12090 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12092 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12093 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12094 * math/auto-libm-test-out: Regenerated.
12095 * math/libm-test.inc (acosh_test_data): Add more tests.
12096 (atanh_test_data): Likewise.
12097 (ceil_test_data): Likewise.
12098 (copysign_test_data): Likewise.
12099 * sysdeps/i386/fpu/libm-test-ulps: Update.
12100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12102 * timezone/checktab.awk: Update from tzcode 2013i.
12103 * timezone/private.h: Likewise.
12104 * timezone/scheck.c: Likewise.
12105 * timezone/tzfile.h: Likewise.
12106 * timezone/tzselect.ksh: Likewise.
12107 * timezone/zdump.c: Likewise.
12108 * timezone/zic.c: Likewise.
12110 * math/auto-libm-test-in: Add tests of cpow.
12111 * math/auto-libm-test-out: Regenerated.
12112 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12113 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12115 (func_calc_desc): Add mpc_cc_c union field.
12116 (test_functions): Add cpow.
12117 (special_fill_2pi): New function.
12118 (special_real_inputs): Add 2pi.
12119 (calc_generic_results): Handle mpc_cc_c.
12120 * sysdeps/i386/fpu/libm-test-ulps: Update.
12121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12123 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12124 csqrt, ctan and ctanh.
12125 * math/auto-libm-test-out: Regenerated.
12126 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12127 (TEST_COND_x86): Likewise.
12128 (ccos_test_data): Use AUTO_TESTS_c_c.
12129 (ccosh_test_data): Likewise.
12130 (cexp_test_data): Likewise.
12131 (clog_test_data): Likewise.
12132 (csqrt_test_data): Likewise.
12133 (ctan_test_data): Likewise.
12134 (ctan_tonearest_test_data): Likewise.
12135 (ctan_towardzero_test_data): Likewise.
12136 (ctan_downward_test_data): Likewise.
12137 (ctan_upward_test_data): Likewise.
12138 (ctanh_test_data): Likewise.
12139 (ctanh_tonearest_test_data): Likewise.
12140 (ctanh_towardzero_test_data): Likewise.
12141 (ctanh_downward_test_data): Likewise.
12142 (ctanh_upward_test_data): Likewise.
12143 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12145 (func_calc_desc): Add mpc_c_c union field.
12146 (FUNC_mpc_c_c): New macro.
12147 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12148 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12150 (special_fill_min_subnorm_p120): New function.
12151 (special_real_inputs): Add min_subnorm_p120.
12152 (calc_generic_results): Handle mpc_c_c.
12153 * sysdeps/i386/fpu/libm-test-ulps: Update.
12154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12156 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12158 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12159 (do_sin_slow): New functions.
12160 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12161 (cslow2, csloww1, csloww2): Use the new functions.
12163 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12164 Use M to change sign of result instead of X. Assume X is
12166 (csloww1): Likewise.
12170 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12171 arguments A and DA.
12175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12177 (sloww1): Don't adjust sign of DX.
12178 (csloww1): Likewise.
12179 (sloww2): Use X directly and don't adjust sign of DX.
12180 (csloww2): Likewise.
12182 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12184 * math/auto-libm-test-in: Add tests of cabs and carg.
12185 * math/auto-libm-test-out: Regenerated.
12186 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12187 (carg_test_data): Likewise.
12188 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12190 (func_calc_desc): Add mpc_c_f union field.
12191 (test_functions): Add cabs and carg.
12192 (calc_generic_results): Handle mpc_c_f.
12194 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12195 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12196 as a macro and a compat symbol.
12197 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12198 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12199 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12200 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12201 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12202 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12204 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12206 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12208 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12210 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12212 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12214 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12215 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12218 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12222 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12224 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12225 trailing whitespace removed.
12226 * scripts/config.guess: Update to version 2013-11-29.
12227 * scripts/config.sub: Update to version 2013-10-01.
12229 * math/auto-libm-test-in: Add tests of sincos.
12230 * math/auto-libm-test-out: Regenerated.
12231 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12232 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12234 (func_calc_desc): Add mpfr_f_11 union field.
12235 (test_functions): Add sincos.
12236 (calc_generic_results): Handle mpfr_f_11.
12237 * sysdeps/i386/fpu/libm-test-ulps: Update.
12238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12240 2013-12-19 Andreas Schwab <schwab@suse.de>
12242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12244 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12245 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12246 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12248 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12250 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12251 * sysdeps/i386/fpu/libm-test-ulps: Update.
12252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12255 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12256 round-to-nearest mode when using frndint.
12257 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12258 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12261 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12263 * math/auto-libm-test-out: Regenerated.
12264 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12265 (TEST_COND_x86): Likewise.
12266 (expm1_tonearest_test_data): New array.
12267 (expm1_test_tonearest): New function.
12268 (expm1_towardzero_test_data): New array.
12269 (expm1_test_towardzero): New function.
12270 (expm1_downward_test_data): New array.
12271 (expm1_test_downward): New function.
12272 (expm1_upward_test_data): New array.
12273 (expm1_test_upward): New function.
12274 (main): Run the new test functions.
12275 * sysdeps/i386/fpu/libm-test-ulps: Update.
12276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12278 * include/features.h: Update comment documenting feature test
12279 macros. Mention _DEFAULT_SOURCE in comment.
12280 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12281 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12282 _BSD_SOURCE and _SVID_SOURCE.
12283 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12284 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12285 !_SVID_SOURCE]: Likewise.
12286 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12287 (__USE_POSIX_IMPLICITLY): Define.
12288 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12289 (_POSIX_SOURCE): Undefine and redefine.
12290 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12291 (_POSIX_C_SOURCE): Likewise.
12292 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12293 (Feature Test Macros): Update documentation of default features.
12295 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12297 * benchtests/Makefile: Add bench-strtok.
12298 * benchtests/bench-strtok.c: New file: strtok benchtest.
12300 2013-12-19 Allan McRae <allan@archlinux.org>
12302 * manual/install.texi: Suppress menu for plain text output.
12303 * INSTALL: Regenerated.
12305 2013-12-18 Brooks Moses <bmoses@google.com>
12308 * misc/getauxval.c: Include errno.h.
12309 (__getauxval): Set errno to ENOENT if the requested type is not
12311 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12312 don't declare with __attribute_const__.
12313 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12314 * manual/startup.texi: Document that getauxval sets errno.
12316 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12318 * math/auto-libm-test-in: Add tests of jn and yn.
12319 * math/auto-libm-test-out: Regenerated.
12320 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12321 (yn_test_data): Likewise.
12322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12324 (func_calc_desc): Add mpfr_if_f union field.
12325 (FUNC_mpfr_if_f): New macro.
12326 (test_functions): Add jn and yn.
12327 (calc_generic_results): Assert type of second input for
12328 mpfr_ff_f. Handle mpfr_if_f.
12329 (output_for_one_input_case): Disable all checking for arguments
12330 fitting floating-point types in case of an integer argument.
12331 * sysdeps/i386/fpu/libm-test-ulps: Update.
12332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12335 Don't expect fegetround reference in libm.so.
12337 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12339 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12340 $(config-cflags-nofma).
12342 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12344 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12345 * math/auto-libm-test-out: Regenerated.
12348 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12349 to determine exponent and adjust argument to have exponent of -1.
12350 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12352 * math/auto-libm-test-out: Regenerated.
12353 * sysdeps/i386/fpu/libm-test-ulps: Update.
12354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12356 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12358 * manual/probes.texi: Remove cases when per-thread arenas are
12361 2013-12-18 Andreas Schwab <schwab@suse.de>
12363 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12364 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12365 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12366 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12367 * sysdeps/i386/i686/multiarch/Makefile: Update.
12368 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12370 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12372 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12373 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12375 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12378 Support TZ transition times < 00:00:00.
12379 This is needed for version-3 tz-format files; it supports time
12380 stamps past 2037 for America/Godthab (the only entry in the tz
12381 database for which this change is relevant).
12382 * manual/time.texi (TZ Variable): Document transition times
12383 from -167:59:59 through -00:00:01.
12384 * time/tzset.c (tz_rule): Time of day is now signed.
12385 (__tzset_parse_tz): Parse negative time of day.
12387 Document TZ transition times >= 25:00:00.
12388 * manual/time.texi (TZ Variable): Document transition times from
12389 25:00:00 through 167:59:59. These are already supported, and this
12390 support will help with version-3 tz-format files.
12392 * manual/time.texi (TZ Variable): Modernize North America example
12393 to reflect current (i.e., 2007-and-later) daylight saving rules.
12395 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12397 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12399 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12400 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12403 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12404 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12405 * sysdeps/unix/bsd/clock.c: Likewise.
12406 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12407 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12408 * sysdeps/unix/bsd/init-posix.c: Likewise.
12409 * sysdeps/unix/bsd/poll.c: Likewise.
12410 * sysdeps/unix/bsd/ptsname.c: Likewise.
12411 * sysdeps/unix/bsd/seekdir.c: Likewise.
12412 * sysdeps/unix/bsd/setegid.c: Likewise.
12413 * sysdeps/unix/bsd/seteuid.c: Likewise.
12414 * sysdeps/unix/bsd/setgid.c: Likewise.
12415 * sysdeps/unix/bsd/setrgid.c: Likewise.
12416 * sysdeps/unix/bsd/setruid.c: Likewise.
12417 * sysdeps/unix/bsd/setsid.c: Likewise.
12418 * sysdeps/unix/bsd/setuid.c: Likewise.
12419 * sysdeps/unix/bsd/sigaction.c: Likewise.
12420 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12421 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12422 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12423 * sysdeps/unix/bsd/telldir.c: Likewise.
12424 * sysdeps/unix/bsd/times.c: Likewise.
12425 * sysdeps/unix/bsd/usleep.c: Likewise.
12427 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12428 ($(objpfx)libbsd-compat.a): Remove rule.
12430 * include/features.h (__FAVOR_BSD): Do not define.
12431 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12432 features conflicting with POSIX.
12433 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12434 (_BSD_SOURCE): Remove description of not being a subset of other
12435 feature test macros.
12436 * manual/job.texi (getpgrp): Do not document BSD version.
12437 (getpgid): Do not document by reference to BSD getpgrp.
12438 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12439 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12440 * signal/signal.h [__FAVOR_BSD]: Likewise.
12441 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12442 instead of making contents conditional on [__FAVOR_BSD].
12443 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12445 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12449 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12452 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12453 values below 2**-450, not 2**-500.
12454 * math/auto-libm-test-in: Don't allow spurious underflow from
12456 * math/auto-libm-test-out: Regenerated.
12460 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12461 values of ha and hb and sort them after adjusting subnormal
12463 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12465 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12466 values of ea and eb and sort them after adjusting subnormal
12468 * math/auto-libm-test-in: Do not expect some hypot tests of
12469 subnormals to fail. Add more hypot tests.
12470 * math/auto-libm-test-out: Regenerated.
12472 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12475 * sysdeps/sh/s_fma.c: New file.
12476 * sysdeps/sh/s_fmaf.c: New file.
12477 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12479 * sysdeps/sh/Implies: Add sh/soft-fp.
12481 2013-12-16 Roland McGrath <roland@hack.frob.com>
12483 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12484 level of indirection to members `objname', `errstring', `malloced'.
12485 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12486 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12487 it as the __longjmp argument (just pass 1 instead).
12488 (_dl_catch_error): Initialize C with argument pointers and address of
12489 volatile local ERRCODE rather than copying values out of C at return.
12491 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12493 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12494 * math/auto-libm-test-out: Regenerated.
12495 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12496 (hypot_test_data): Likewise.
12497 (pow_test_data): Likewise.
12498 (pow_tonearest_test_data): Likewise.
12499 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12501 (func_calc_desc): Add mpfr_ff_f union field.
12502 (FUNC_mpfr_ff_f): New macro.
12503 (test_functions): Add atan2, hypot and pow.
12504 (special_fill_min): New function.
12505 (special_fill_minus_min): Likewise.
12506 (special_fill_min_subnorm): Likewise.
12507 (special_fill_minus_min_subnorm): Likewise.
12508 (special_real_inputs): Add min, -min, min_subnorm and
12510 (calc_generic_results): Handle mpfr_ff_f.
12511 * sysdeps/i386/fpu/libm-test-ulps: Update.
12512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12514 2013-12-16 Will Newton <will.newton@linaro.org>
12516 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12517 (Aligned Memory Blocks): Add documentation for aligned_alloc
12518 and suggest it as an alternative to posix_memalign.
12519 (Hooks for Malloc): Document __memalign_hook is also called
12520 for aligned_alloc. (Summary of Malloc): Add summary for
12521 aligned alloc. Document __memalign_hook is also called
12524 2013-12-16 Will Newton <will.newton@linaro.org>
12526 * manual/memory.texi (Malloc Examples): Clarify default
12527 alignment documentation. Suggest posix_memalign rather
12528 than memalign or valloc.
12529 (Aligned Memory Blocks): Remove suggestion to use memalign
12530 or valloc. Remove obsolete comment about BSD.
12531 Document memalign errno values and mark the function obsolete.
12532 Document posix_memalign returned error codes. Mark valloc
12533 as obsolete. (Hooks for Malloc): __memalign_hook is also
12534 called for posix_memalign and valloc.
12535 (Summary of Malloc): Add posix_memalign to function summary.
12536 __memalign_hook is also called for posix_memalign and valloc.
12538 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12540 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12544 (sloww): Use mynumber union. Expand ternary operator into
12545 if-else statements.
12546 (cslow): use mynumber union.
12548 2013-12-16 Allan McRae <allan@archlinux.org>
12550 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12551 * configure: Regenerated.
12553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12556 * configure.ac: Added --enable-maintainer-mode. Check for
12557 autoconf when enabled.
12558 * configure: Regenerated.
12560 * nscd/nscd.service: New file.
12561 * nscd/nscd.tmpfiles: New file.
12563 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12566 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12567 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12568 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12569 (strstr): Add __strstr_sse2_unaligned ifunc.
12570 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12571 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12572 (strcasestr): Remove __strcasestr_sse42 ifunc.
12573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12574 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12577 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12579 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12580 * sysdeps/sh/bits/fenv.h: ... here.
12581 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12583 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12588 hypotf multiarch implementations.
12589 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12591 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12592 multiarch hypot for PPC64.
12593 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12596 multiarch hypotf for PPC64.
12598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12599 modff multiarch implementations.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12603 multiarch modf for PPC64.
12604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12607 multiarch modff for PPC64.
12609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12610 and logl multiarch implementations.
12611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12614 multiarch logb for PPC64.
12615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12618 multiarch logb for PPC64.
12619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12622 multiarch logb for PPC64.
12624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12625 isinff multiarch implementation.
12626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12630 multiarch isinf for PPC64.
12631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12634 multiarch isinff for PPC64.
12636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12637 finitef multiarch implementation.
12638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12642 multiarch finite for PPC64.
12643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12646 multiarch finitef for PPC64.
12648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12649 lrint multiarch implementation.
12650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12654 multiarch llrint for PPC64.
12655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12656 multiarch lrint for PPC64.
12658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12659 copysignf multiarch implementation.
12660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12665 multiarch copysign for PPC64.
12666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12667 multiarch copysignf for PPC64.
12669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12670 multiarch implementation.
12671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12679 multiarch llround for PPC64.
12680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12681 multiarch trunc for PPC64.
12682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12683 multiarch truncf for PPC64.
12685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12686 multiarch implementation.
12687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12695 multiarch llround for PPC64.
12696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12697 multiarch round for PPC64.
12698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12699 multiarch roundf for PPC64.
12701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12702 multiarch implementation.
12703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12711 multiarch llround for PPC64.
12712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12713 multiarch floor for PPC64.
12714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12715 multiarch floorf for PPC64.
12717 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12718 multiarch implementation.
12719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12727 multiarch llround for PPC64.
12728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12729 multiarch ceil for PPC64.
12730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12731 multiarch ceilf for PPC64.
12733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12734 multiarch implementation.
12735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12742 multiarch llround for PPC64.
12743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12744 multiarch lround for PPC64.
12746 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12747 multiarch implementation.
12748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12755 multiarch isnan for PPC64.
12756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12757 multiarch isnanf for PPC64.
12759 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12760 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12761 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12762 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12763 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12766 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12767 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12772 multiarch implementations.
12773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12774 (__libc_ifunc_impl_list): Likewise.
12775 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12776 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12777 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12778 multiarch stpcpy for PPC64.
12780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12781 multiarch implementations.
12782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12783 (__libc_ifunc_impl_list): Likewise.
12784 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12785 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12786 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12787 multiarch strcpy for PPC64.
12789 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12790 redefine function name.
12791 (_wordcopy_fwd_dest_aligned): Likewise.
12792 (_wordcopy_bwd_aligned): Likewise.
12793 (_wordcopy_bwd_dest_aligned): Likewise.
12794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12795 multiarch implementations.
12796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12797 (__libc_ifunc_impl_list): Likewise.
12798 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12799 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12800 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12801 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12802 multiarch wcscpy for PPC64.
12804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12805 multiarch implementations.
12806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12807 (__libc_ifunc_impl_list): Likewise.
12808 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12809 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12810 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12811 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12812 multiarch wcscpy for PPC64.
12814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12815 multiarch implementations.
12816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12817 (__libc_ifunc_impl_list): Likewise.
12818 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12819 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12820 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12821 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12822 multiarch wcsrchr for PPC64.
12824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12825 multiarch implementations.
12826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12827 (__libc_ifunc_impl_list): Likewise.
12828 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12829 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12830 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12831 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12832 multiarch wcschr for PPC64.
12834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12835 multiarch implementations.
12836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12837 (__libc_ifunc_impl_list): Likewise.
12838 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12839 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12840 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12841 multiarch strchrnul for PPC64.
12843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12846 (__libc_ifunc_impl_list): Likewise.
12847 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12848 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12849 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12850 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12856 (__libc_ifunc_impl_list): Likewise.
12857 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12858 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12859 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12860 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12864 multiarch implementations.
12865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12866 (__libc_ifunc_impl_list): Likewise.
12867 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12868 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12869 strncasecmp for PPC64.
12870 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12871 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12872 multiarch strncasecmp_l for PPC64.
12874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12875 multiarch implementations.
12876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12877 (__libc_ifunc_impl_list): Likewise.
12878 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12879 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12880 multiarch strcasecmp for PPC64.
12881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12884 multiarch strcasecmp_l for PPC64.
12886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12889 (__libc_ifunc_impl_list): Likewise.
12890 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12891 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12892 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12898 (__libc_ifunc_impl_list): Likewise.
12899 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12900 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12901 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12907 (__libc_ifunc_impl_list): Likewise.
12908 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12909 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12910 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12911 rawmemrchr for PPC64.
12913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12916 (__libc_ifunc_impl_list): Likewise.
12917 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12918 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12919 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12925 (__libc_ifunc_impl_list): Likewise.
12926 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12927 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12928 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12934 (__libc_ifunc_impl_list): Likewise.
12935 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12936 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12937 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12940 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12941 avoid cretion of __bzero symbol.
12942 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12944 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12946 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12949 multiarch implementations.
12950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12951 (__libc_ifunc_impl_list): Likewise.
12952 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12953 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12954 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12955 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12957 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12958 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12959 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12960 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12961 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12963 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12965 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12969 (__libc_ifunc_impl_list): Likewise.
12970 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12971 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12972 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12973 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12977 multiarch for POWER/PPC64.
12978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12979 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12981 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12982 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12984 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12986 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12989 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12990 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12991 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12992 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12993 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12994 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12995 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12996 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12997 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12998 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12999 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13000 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13001 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13002 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13003 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13012 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13014 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13016 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13018 * benchtests/Makefile (bench): Add exp2 and log2.
13019 (LDLIBS-bench-exp2): Add -lm.
13020 (LDLIBS-bench-log2): Likewise.
13021 * benchtests/exp2-inputs: New inputs file.
13022 * benchtests/log2-inputs: New inputs file.
13023 * benchtests/log-inputs: Add new inputs.
13024 * benchtests/tan-inputs: Likewise.
13026 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13028 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13030 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13031 (csloww2): ... from here.
13033 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13034 instead of structures.
13035 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13036 (POLYNOMIAL): Likewise.
13037 (TAYLOR_SLOW): Likewise.
13043 (sloww1); Likewise.
13044 (sloww2): Likewise.
13045 (bsloww1): Likewise.
13046 (bsloww2): Likewise.
13047 (cslow2): Likewise.
13048 (csloww): Likewise.
13049 (csloww1): Likewise.
13050 (csloww2): Likewise.
13052 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13054 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13055 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13056 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13057 * malloc/hooks.c (realloc_check): Likewise.
13059 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13060 * malloc/arena.c: Remove PER_THREAD conditional.
13061 [!PER_THREAD]: Remove code.
13062 (ptmalloc_unlock_all2): Likewise.
13063 (ptmalloc_init): Likewise.
13064 (_int_new_arena): Likewise.
13065 (arena_get2): Likewise.
13066 * malloc/hooks.c (__malloc_get_state): Likewise.
13067 (__malloc_set_state): Likewise.
13068 * malloc/malloc.c: Likewise.
13069 (struct malloc_state): Likewise.
13070 (struct malloc_par): Likewise.
13071 (__libc_realloc): Likewise.
13072 (__libc_mallopt): Likewise.
13074 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13076 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13078 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13080 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13081 macro to a function. Check for zero perturb_byte.
13082 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13084 * malloc/malloc.c: (force_reg): Remove.
13085 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13086 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13087 force_reg by atomic_forced_read.
13088 * malloc/arena.c (ptmalloc_init): Likewise.
13089 * malloc/hooks.c (top_check): Likewise.
13091 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13095 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13099 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13101 * math/auto-libm-test-in: Add tests of lgamma.
13102 * math/auto-libm-test-out: Regenerated.
13103 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13104 (M_LOG_2_SQRT_PIl): Likewise.
13105 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13106 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13108 (func_calc_desc): Add mpfr_f_f1 union field.
13109 (ARGS1): New macro.
13117 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13118 (test_functions): Add lgamma.
13119 (calc_generic_results): Handle mpfr_f_f1.
13120 * sysdeps/i386/fpu/libm-test-ulps: Update.
13121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13123 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13125 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13126 __mpn_add_n for PowerPC64/POWER7.
13127 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13128 __mpn_sub_n for PowerPC64/POWER7.
13130 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13131 __mpn_addmul_1 for PowerPC64.
13132 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13133 __mpn_submul_1 for PowerPC64.
13134 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13136 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13139 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13142 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13144 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13146 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13148 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13149 add multiarch folders.
13150 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13151 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13152 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13153 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13154 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13155 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13159 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13160 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13169 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13175 multiarch __ieee754_hypot for PowerPC32.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13181 multiarch __ieee754_hypotf for PowerPC32.
13183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13184 long_double_symbol only if __logbl is defined.
13185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13186 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13187 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13188 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13189 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13190 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13191 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13192 path for implementation.
13193 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13194 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13196 logb, and logbl multiarch implementations for PowerPC32.
13197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13202 multiarch logb for PowerPC32.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13208 multiarch logbf for PowerPC32.
13209 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13213 multiarch logbl implementation for PowerPC32.
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13216 and modff multiarch implementations.
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13222 multiarch modf for PowerPC32.
13223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13228 multiarch modff for PowerPC32.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13231 and lrintf multiarch implementations.
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13237 multiarch lrint for PowerPC32.
13238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13239 file: multiarch lrintf for PowerPC32.
13241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13242 and lroundf multiarch implementations.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13250 multiarch lround for PowerPC32.
13251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13252 file: multiarch lroundf for PowerPC32.
13254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13255 copysign and copysignf multiarch implementations.
13256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13261 file: multiarch copysign for PowerPC32.
13262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13263 file: multiarch copysignf for PowerPC32.
13265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13266 and truncf multiarch implementations.
13267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13272 multiarch trunc for PowerPC32.
13273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13278 multiarch truncf for PowerPC32.
13280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13281 and roundf multiarch implementations.
13282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13287 multiarch round for PowerPC32.
13288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13293 multiarch roundf for PowerPC32.
13295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13296 and floorf multiarch implementations.
13297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13302 multiarch floor for PowerPC32.
13303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13308 multiarch floorf for PowerPC32.
13310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13311 and ceilf multiarch implementations.
13312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13317 multiarch ceil for PowerPC32.
13318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13323 multiarch ceilf for PowerPC32.
13325 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13327 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13328 FINITEF is defined.
13329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13330 and finitef multiarch implementations.
13331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13336 multiarch finite for PowerPC32.
13337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13340 file: multiarch finitef for PowerPC32.
13342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13343 and isinff multiarch implementations.
13344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13349 multiarch isinf for PowerPC32.
13350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13353 multiarch isinff for PowerPC32.
13355 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13356 alias when __isnan is defined.
13357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13358 and isnanf multiarch implementations.
13359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13368 multiarch isnan for PowerPC32.
13369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13374 multiarch isnanf for PowerPC32.
13376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13377 and sqrtf multiarch implementations.
13378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13383 multiarch sqrt for PowerPC32.
13384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13389 multiarch sqrtf for PowerPC32.
13391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13392 and llroundf multiarch implementations.
13393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13400 file: multiarch llround for PowerPC32.
13401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13402 file: multiarch llroundf for PowerPC32.
13404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13405 multiarch PowerPC32 fpu implementations.
13406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13411 multiarch llrint for PowerPC32.
13412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13421 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13423 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13425 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13427 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13428 multiarch wordcopy for PPC32.
13429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13432 (__libc_ifunc_impl_list): Likewise.
13433 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13434 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13435 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13436 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13437 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13438 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13440 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13448 multiarch wcscpy for PPC32.
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13452 (__libc_ifunc_impl_list): Likewise.
13453 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13454 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13455 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13456 sysdeps/powerpc/power6/wcscpy.c.
13458 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13461 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13466 multiarch wcsrchr for PPC32.
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13470 (__libc_ifunc_impl_list): Likewise.
13471 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13472 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13473 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13474 sysdeps/powerpc/power6/wcsrchr.c.
13476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13482 multiarch wcschr for PPc32.
13483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13486 (__libc_ifunc_impl_list): Likewise.
13487 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13488 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13489 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13490 sysdeps/powerpc/power6/wcschr.c.
13492 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13493 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13495 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13496 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13497 file: multiarch strchr for PPC32.
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13501 (__libc_ifunc_impl_list): Likewise.
13503 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13505 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13507 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13509 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13510 multiarch strchrnul for PPC32.
13511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13514 (__libc_ifunc_impl_list): Likewise.
13516 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13518 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13519 multiarch strncasecmp for PPC32.
13520 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13522 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13523 multiarch strncasecmp_l for PPC32.
13524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13525 strncasecmp multiarch objects.
13526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13527 (__libc_ifunc_impl_list): Likewise.
13529 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13531 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13532 multiarch strncasecmp for PPC32.
13533 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13535 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13536 multiarch strcasecmp_l for PPC32.
13537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13540 (__libc_ifunc_impl_list): Likewise.
13542 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13546 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13547 multiarch strncmp for PPC32.
13548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13551 (__libc_ifunc_impl_list): Likewise.
13553 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13554 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13556 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13557 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13560 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13561 (__libc_ifunc_impl_list): Likewise.
13563 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13565 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13567 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13571 (__libc_ifunc_impl_list): Likewise.
13573 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13575 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13577 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13578 multiarch rawmemchr for PPC32.
13579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13582 (__libc_ifunc_impl_list): Likewise.
13584 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13586 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13588 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13589 file: memrchr multiarch for PPC32.
13590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13593 (__libc_ifunc_impl_list): Likewise.
13595 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13596 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13598 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13599 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13600 multiarch memchr for PPC32.
13601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13604 (__libc_ifunc_impl_list): Likewise.
13606 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13607 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13609 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13611 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13612 file: multiarch mempcpy for PPC32.
13613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13616 (__libc_ifunc_impl_list): Likewise.
13618 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13619 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13620 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13621 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13622 multiarch bzero for PPC32.
13623 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13625 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13627 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13628 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13629 file: multiarch memset for PPC32.
13630 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13632 memset multiarch objects.
13633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13634 (__libc_ifunc_impl_list): Likewise.
13636 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13638 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13639 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13641 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13645 (__libc_ifunc_impl_list): Likewise.
13647 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13648 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13649 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13651 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13653 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13655 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13656 multiarch memcpy for PPC32.
13657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13660 (__libc_ifunc_impl_list): Likewise.
13662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13663 support multiarch for POWER/PPC32.
13664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13666 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13668 Implies file to make multiarch folder appers before the fpu and
13669 default folder for power4 configuration.
13671 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13673 * scripts/bench.pl: Append volatile keyword to type.
13675 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13677 * sysdeps/sh/sotruss-lib.c: New file.
13678 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13680 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13684 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13687 * math/w_tgamma.c: Include <errno.h>.
13688 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13689 * math/w_tgammaf.c: Include <errno.h>.
13690 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13691 * math/w_tgammal.c: Include <errno.h>.
13692 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13693 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13694 underflow. Add more tgamma tests.
13695 * math/auto-libm-test-out: Regenerated.
13696 * sysdeps/i386/fpu/libm-test-ulps: Update.
13697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13699 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13700 sin, sinh, tan, tanh, tgamma, y0 and y1.
13701 * math/auto-libm-test-out: Regenerated.
13702 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13703 (TEST_COND_x86): Likewise.
13704 (M_E2l): Remove macro.
13706 (M_2_SQRT_PIl): Likewise.
13707 (M_SQRT_PIl): Likewise.
13708 (M_1_DIV_El): Likewise.
13709 (log_test_data): Use AUTO_TESTS_f_f.
13710 (log10_test_data): Likewise.
13711 (log1p_test_data): Likewise.
13712 (log2_test_data): Likewise.
13713 (sin_test_data): Likewise.
13714 (sin_tonearest_test_data): Likewise.
13715 (sin_towardzero_test_data): Likewise.
13716 (sin_downward_test_data): Likewise.
13717 (sin_upward_test_data): Likewise.
13718 (sinh_test_data): Likewise.
13719 (sinh_tonearest_test_data): Likewise.
13720 (sinh_towardzero_test_data): Likewise.
13721 (sinh_downward_test_data): Likewise.
13722 (sinh_upward_test_data): Likewise.
13723 (tan_test_data): Likewise.
13724 (tan_tonearest_test_data): Likewise.
13725 (tan_towardzero_test_data): Likewise.
13726 (tan_downward_test_data): Likewise.
13727 (tan_upward_test_data): Likewise.
13728 (tanh_test_data): Likewise.
13729 (tgamma_test_data): Likewise.
13730 (y0_test_data): Likewise.
13731 (y1_test_data): Likewise.
13732 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13733 (special_real_inputs): Add pi/4.
13734 * sysdeps/i386/fpu/libm-test-ulps: Update.
13735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13737 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13739 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13740 "longjmp_target" static probes.
13741 (__longjmp): Rename to __longjmp_symbol.
13742 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13743 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13744 on which longjmp to generate.
13745 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13746 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13748 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13749 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13750 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13751 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13752 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13753 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13755 __longjmp_symbol based on which __longjmp to generate.
13756 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13758 (setjmp): Rename to setjmp_symbol.
13759 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13760 (_setjmp): Rename to _setjmp_symbol.
13761 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13762 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13763 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13764 which setjmp to generate.
13765 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13766 "longjmp_target" static probes.
13768 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13770 * benchtests/README: Add note about output arguments.
13771 * benchtests/bench-sincos.c: Remove file.
13772 * benchtests/sincos-inputs: New file.
13773 * scripts/bench.pl: Identify output arguments and define
13774 static variables for them.
13776 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13779 * Makefile (INSTALL): Add install-plain.texi as the primary
13781 * manual/install-plain.texi: New file.
13782 * manual/install.texi: Include node directive only for
13783 non-plaintext output.
13785 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13787 * stdlib/longlong.h: Update from GCC.
13791 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13792 * math/w_j0f.c (y0f): Likewise.
13793 * math/w_j0l.c (__y0l): Likewise.
13794 * math/w_j1.c (y1): Likewise.
13795 * math/w_j1f.c (y1f): Likewise.
13796 * math/w_j1l.c (__y1l): Likewise
13797 * math/w_jn.c (yn): Likewise.
13798 * math/w_jnf.c (ynf): Likewise.
13799 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13800 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13801 value for Bessel function domain errors outside _SVID_ mode.
13802 Adjust sign of return value for yn (negative integer, 0).
13803 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13804 by zero in return for negative x and set sign appropriately for
13806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13807 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13808 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13809 expectations in error cases.
13810 (y1_test_data): Likewise.
13811 (yn_test_data): Likewise.
13812 * sysdeps/i386/fpu/libm-test-ulps: Update.
13813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13815 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13817 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13818 "64" to "64-v1". Add "64-v2".
13819 (abi-64-options): Rename to ...
13820 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13821 (abi-64-condition): Rename to ...
13822 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13823 (abi-64-ld-soname): Rename to ...
13824 (abi-64-v1-ld-soname): ... this.
13825 (abi-64-v2-options): Define.
13826 (abi-64-v2-condition): Likewise.
13827 (abi-64-v2-ld-soname): Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13829 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13834 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13835 Alan Modra <amodra@gmail.com>
13837 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13838 New versions for use with the ELFv2 ABI.
13839 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13840 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13842 (struct La_ppc64v2_retval): Likewise.
13843 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13844 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13845 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13846 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13847 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13848 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13849 Do not save or restore CR.
13850 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13851 (_dl_profile_resolve): Do no save or restore CR. Support extended
13852 return values for ELFv2 ABI. Fix location of FPR return registers.
13853 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13854 updated values for _CALL_ELF == 2.
13855 (La_regs, La_retval, int_retval): Likewise.
13857 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13859 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13860 (FRAME_MIN_SIZE_PARM): Likewise.
13861 (FRAME_BACKCHAIN): Likewise.
13862 (FRAME_CR_SAVE): Likewise.
13863 (FRAME_LR_SAVE): Likewise.
13864 (FRAME_TOC_SAVE): Likewise.
13865 (FRAME_PARM_SAVE): Likewise.
13866 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13867 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13868 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13869 (call_mcount_parm_offset): New macro.
13870 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13871 (PROF): Use symbolic stack frame offsets.
13872 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13873 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13874 Redefine in terms of FRAME_MIN_SIZE.
13875 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13876 (_dl_profile_resolve): Likewise. Update comment.
13877 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13878 symbols stack frame offsets.
13879 (__sigsetjmp): Likewise.
13880 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13881 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13882 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13883 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13886 (FRAME_BACKCHAIN): Remove.
13887 (FRAME_CR_SAVE): Likewise.
13888 (FRAME_LR_SAVE): Likewise.
13889 (FRAME_COMPILER_DW): Likewise.
13890 (FRAME_LINKER_DW): Likewise.
13891 (FRAME_TOC_SAVE): Likewise.
13892 (FRAME_PARM_SAVE): Likewise.
13893 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13894 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13895 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13897 (CHECK_SP): Use symbolic stack frame offsets.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13899 zone" instead of caller's parameter save area for temp storage.
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13901 Likewise. Also, use symbolic stack frame offsets.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13903 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13904 our own stack frame instead of the caller's.
13905 (__socket): Use symbolic stack frame offsets.
13907 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13908 Alan Modra <amodra@gmail.com>
13910 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13912 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13913 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13914 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13916 (elf_machine_fixup_plt): Call it.
13917 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13919 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13920 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13921 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13922 r2 before calling target.
13924 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13925 Alan Modra <amodra@gmail.com>
13927 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13928 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13929 versions of macros to support ELFv2 ABI.
13930 (LOCALENTRY): New macro.
13931 (ENTRY, EALIGN): Use it.
13932 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13933 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13934 fall through into ENTRY entry point.
13935 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13936 Only define if _CALL_ELF != 2.
13938 (elf_machine_matches_host): Verify ABI version matches.
13939 (RTLD_START): Use LOCALENTRY.
13940 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13941 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13942 (PLT_ENTRY_WORDS): New macro.
13943 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13944 (elf_machine_runtime_setup): Support ELFv2 ABI.
13945 (elf_machine_fixup_plt): Likewise.
13946 (elf_machine_plt_conflict): Likewise.
13947 (resolve_ifunc): Likewise.
13948 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13952 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13954 (makecontext): Support ELFv2 ABI.
13955 * elf/elf.h (EF_PPC64_ABI): Define.
13957 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13959 * sysdeps/powerpc/powerpc64/sysdep.h
13960 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13961 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13962 (ENTRY) [ASSEMBLER]: ... but instead here ...
13963 (EALIGN) [ASSEMBLER]: ... and here.
13964 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13965 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13966 (ENTRY_2) [!ASSEMBLER]: Use it.
13967 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13968 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13969 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13970 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13971 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13973 Use PPC64_LOAD_FUNCPTR.
13975 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13977 2013-12-04 Alan Modra <amodra@gmail.com>
13979 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13980 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13981 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13982 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13984 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13985 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13986 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13987 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13988 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13989 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13991 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13994 (__makecontext): Fix incorrect CFI when backtracing out of
13995 context created via makecontext.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13997 (__setcontext): Fix incorrect CFI during switch to new context.
13998 (__novec_setcontext): Likewise.
14000 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14003 * time/strptime_l.c (__strptime_internal): Allow modifiers
14005 * time/tst-strptime.c (day_tests): Add testcase.
14007 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14009 * scripts/bench.pl: Skip over blank lines.
14011 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14014 * manual/time.texi (Calendar Time): Clarify what timezone functions
14017 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14021 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14023 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14025 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14026 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14027 * debug/memset_chk.c (__memset_chk): Likewise.
14028 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14029 * debug/strncpy_chk.c: Likewise.
14031 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14035 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14036 (__ieee754_exp): For possibly underflowing results, check size of
14037 result and force underflow exception if required.
14038 * math/auto-libm-test-in: Add more tests of exp.
14039 * math/auto-libm-test-out: Regenerated.
14040 * sysdeps/i386/fpu/libm-test-ulps: Update.
14041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14044 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14045 * math/w_exp2f.c (__exp2f): Likewise.
14046 * math/w_exp2l.c (__exp2l): Likewise.
14047 * math/auto-libm-test-in: Do not allow missing errno on exp2
14049 * math/auto-libm-test-out: Regenerated.
14051 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14054 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14055 handle filename validation.
14056 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14059 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14062 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14063 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14064 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14066 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14067 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14068 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14070 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14071 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14072 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14073 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14074 Add more erfc tests.
14075 * math/auto-libm-test-out: Regenerated.
14076 * sysdeps/i386/fpu/libm-test-ulps: Update.
14077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14079 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14080 exp2, expm1, j0 and j1.
14081 * math/auto-libm-test-out: Regenerated.
14082 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14083 (erfc_test_data): Likewise.
14084 (exp_test_data): Likewise.
14085 (exp_tonearest_test_data): Likewise.
14086 (exp_towardzero_test_data): Likewise.
14087 (exp_downward_test_data): Likewise.
14088 (exp_upward_test_data): Likewise.
14089 (exp10_test_data): Likewise.
14090 (exp2_test_data): Likewise.
14091 (expm1_test_data): Likewise.
14092 (j0_test_data): Likewise.
14093 (j1_test_data): Likewise.
14094 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14095 (input_flag_type): Add flag_xfail_rounding.
14096 (input_flags): Add xfail-rounding.
14097 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14098 (output_for_one_input_case): Handle flag_xfail_rounding.
14099 * sysdeps/i386/fpu/libm-test-ulps: Update.
14100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14102 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14105 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14108 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14111 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14112 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14113 (STAP_PROBE0): New macro.
14114 (STAP_PROBE1): Likewise.
14115 (STAP_PROBE2): Likewise.
14116 (STAP_PROBE3): Likewise.
14117 (STAP_PROBE4): Likewise.
14119 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14121 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14123 2013-12-02 Steve Ellcey <sellcey@mips.com>
14125 * benchtests/Makefile (bench): Add sqrt.
14126 (LDLIBS-bench-sqrt): New.
14127 * benchtests/sqrt-input: New.
14129 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14131 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14132 (GAIH_EAI): Likewise.
14133 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14134 (gaih_inet): Likewise.
14135 (getaddrinfo): Don't use GAIH_EAI.
14137 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14138 (struct gaih): Remove definition.
14140 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14142 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14143 Use HERRNOP directly.
14145 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14149 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14151 * math/gen-auto-libm-tests.c (test_functions): Add more
14152 single-argument functions.
14153 (special_fill_pi_2): New function.
14154 (special_fill_minus_pi_2): Likewise.
14155 (special_fill_pi_6): Likewise.
14156 (special_fill_minus_pi_6): Likewise.
14157 (special_fill_pi_3): Likewise.
14158 (special_fill_2pi_3): Likewise.
14159 (special_fill_e): Likewise.
14160 (special_fill_1_e): Likewise.
14161 (special_fill_e_minus_1): Likewise.
14162 (special_real_inputs): Add more special inputs.
14163 (output_for_one_input_case): Do not require ERANGE on underflow to
14164 zero if round-to-nearest result does not underflow to zero, unless
14165 exact results required.
14166 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14167 atan, atanh, cbrt, cos and cosh.
14168 * math/auto-libm-test-out: Regenerated.
14169 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14170 (acos_tonearest_test_data): Likewise.
14171 (acos_towardzero_test_data): Likewise.
14172 (acos_downward_test_data): Likewise.
14173 (acos_upward_test_data): Likewise.
14174 (acosh_test_data): Likewise.
14175 (asin_test_data): Likewise.
14176 (asin_tonearest_test_data): Likewise.
14177 (asin_towardzero_test_data): Likewise.
14178 (asin_upward_test_data): Likewise.
14179 (asinh_test_data): Likewise.
14180 (atan_test_data): Likewise.
14181 (atanh_test_data): Likewise.
14182 (cbrt_test_data): Likewise.
14183 (cos_test_data): Likewise.
14184 (cos_tonearest_test_data): Likewise.
14185 (cos_towardzero_test_data): Likewise.
14186 (cos_downward_test_data): Likewise.
14187 (cos_upward_test_data): Likewise.
14188 (cosh_test_data): Likewise.
14189 (cosh_tonearest_test_data): Likewise.
14190 (cosh_towardzero_test_data): Likewise.
14191 (cosh_downward_test_data): Likewise.
14192 (cosh_upward_test_data): Likewise.
14193 * sysdeps/i386/fpu/libm-test-ulps: Update.
14194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14196 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14199 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14200 * math/w_exp10f.c (__exp10f): Likewise.
14201 * math/w_exp10l.c (__exp10l): Likewise.
14202 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14203 errno settings in existing tests.
14206 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14207 precision control set to double precision.
14208 * sysdeps/i386/fpu/w_sqrt.c: New file.
14209 * math/auto-libm-test-in: Add more tests.
14210 * math/auto-libm-test-out: Update.
14212 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14213 (sqrt_test_tonearest): New function.
14214 (sqrt_towardzero_test_data): New variable.
14215 (sqrt_test_towardzero): New function.
14216 (sqrt_downward_test_data): New variable.
14217 (sqrt_test_downward): New function.
14218 (sqrt_upward_test_data): New variable.
14219 (sqrt_test_upward): New function.
14220 (main): Call the new functions.
14222 * math/gen-auto-libm-tests.c: New file.
14223 * math/auto-libm-test-in: Likewise.
14224 * math/auto-libm-test-out: New generated file.
14225 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14227 (%beautify): Add generated representations of zero.
14228 (top level): Set $auto_input and call parse_auto_input.
14229 (beautify): Remove trailing "f" from hex float constants.
14230 (parse_args): Handle XFAIL_TEST.
14231 (convert_condition): New function.
14232 (or_value): Likewise.
14233 (or_cond_value): Likewise.
14234 (generate_testfile): Handle AUTO_TESTS_* lines.
14235 (parse_auto_input): New function.
14236 * math/libm-test.inc (XFAIL_TEST): New macro.
14237 (ERRNO_UNCHANGED): Update value.
14238 (ERRNO_EDOM): Likewise.
14239 (ERRNO_ERANGE): Likewise.
14240 (IGNORE_RESULT): Likewise.
14241 (TEST_COND_flt_32): New macro.
14242 (TEST_COND_dbl_64): Likewise.
14243 (TEST_COND_ldbl_96_intel): Likewise.
14244 (TEST_COND_ldbl_96_m68k): Likewise.
14245 (TEST_COND_ldbl_128): Likewise.
14246 (TEST_COND_ldbl_128ibm): Likewise.
14247 (TEST_COND_long32): Likewise.
14248 (TEST_COND_long64): Likewise.
14249 (TEST_COND_before_rounding): Likewise.
14250 (TEST_COND_after_rounding): Likewise.
14251 (enable_test): Handle XFAIL_TEST flag.
14252 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14253 with finite results.
14254 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14255 auto-libm-test-out.
14257 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14258 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14261 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14262 __tls_get_addr_internal instead of __tls_get_offset in order to
14263 avoid GOT pointer dependency. Make rtld export
14264 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14265 __tls_get_addr since we are a __tls_get_offset platform.
14266 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14267 GOT pointer being set up before.
14268 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14270 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14272 * manual/math.texi (Errors in Math Functions): Document accuracy
14276 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14277 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14280 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14282 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14293 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14294 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14295 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14296 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14297 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14299 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14301 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14303 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14304 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14305 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14306 atomic-feupdateenv and flt-rounds.
14307 * sysdeps/powerpc/nofpu/Versions (libc): Add
14308 __atomic_feholdexcept, __atomic_feclearexcept,
14309 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14310 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14311 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14312 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14313 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14318 * manual/arith.texi (FP Exceptions): Document that exceptions may
14319 not be raised when matherr is used.
14320 (Math Error Reporting): Document overflow in directed rounding
14321 modes. Document that errno may not be set when finite values are
14322 returned on overflow. Document intent to set errno on underflow
14323 only for underflow to zero.
14326 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14327 round-to-nearest then adjust result for other rounding modes.
14328 * include/fenv.h (fegetround): Use libm_hidden_proto.
14329 * math/fegetround.c (fegetround): Use libm_hidden_def.
14330 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14331 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14332 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14333 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14335 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14336 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14337 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14338 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14340 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14343 * nss/Versions (libnss_files): Add
14344 _nss_files_gethostbyname3_r.
14345 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14347 (HOST_DB_LOOKUP): Remove macro.
14348 (_nss_files_gethostbyname_r): Implement function without the
14349 HOST_DB_LOOKUP macro.
14350 (_nss_files_gethostbyname2_r): Likewise.
14352 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14354 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14356 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14358 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14359 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14362 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14364 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14365 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14366 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14367 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14368 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14369 __fe_nomask_env_priv and attribute_hidden.
14370 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14371 (libc_feupdateenv_test_ppc): Likewise.
14372 (libc_feresetround_ppc): Likewise.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14374 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14375 compat_symbol macro.
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14377 (__fe_nomask_env): Likewise.
14378 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14380 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14382 * string/Makefile: Remove ifunc tests.
14383 * string/test-string.h: Define TEST_IFUNC.
14384 * string/test-bcopy-ifunc.c: Remove.
14385 * string/test-bzero-ifunc.c: Likewise.
14386 * string/test-memccpy-ifunc.c: Likewise.
14387 * string/test-memchr-ifunc.c: Likewise.
14388 * string/test-memcmp-ifunc.c: Likewise.
14389 * string/test-memcpy-ifunc.c: Likewise.
14390 * string/test-memmem-ifunc.c: Likewise.
14391 * string/test-memmove-ifunc.c: Likewise.
14392 * string/test-mempcpy-ifunc.c: Likewise.
14393 * string/test-memrchr-ifunc.c: Likewise.
14394 * string/test-memset-ifunc.c: Likewise.
14395 * string/test-rawmemchr-ifunc.c: Likewise.
14396 * string/test-stpcpy-ifunc.c: Likewise.
14397 * string/test-stpncpy-ifunc.c: Likewise.
14398 * string/test-strcasecmp-ifunc.c: Likewise.
14399 * string/test-strcasestr-ifunc.c: Likewise.
14400 * string/test-strcat-ifunc.c: Likewise.
14401 * string/test-strchr-ifunc.c: Likewise.
14402 * string/test-strchrnul-ifunc.c: Likewise.
14403 * string/test-strcmp-ifunc.c: Likewise.
14404 * string/test-strcpy-ifunc.c: Likewise.
14405 * string/test-strcspn-ifunc.c: Likewise.
14406 * string/test-strlen-ifunc.c: Likewise.
14407 * string/test-strncasecmp-ifunc.c: Likewise.
14408 * string/test-strncat-ifunc.c: Likewise.
14409 * string/test-strncmp-ifunc.c: Likewise.
14410 * string/test-strncpy-ifunc.c: Likewise.
14411 * string/test-strnlen-ifunc.c: Likewise.
14412 * string/test-strpbrk-ifunc.c: Likewise.
14413 * string/test-strrchr-ifunc.c: Likewise.
14414 * string/test-strspn-ifunc.c: Likewise.
14415 * string/test-strstr-ifunc.c: Likewise.
14417 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14419 * benchtests/Makefile: Remove ifunc tests.
14420 * benchtests/bench-string.h: Define TEST_IFUNC.
14421 * benchtests/bench-bcopy-ifunc.c: Remove.
14422 * benchtests/bench-bzero-ifunc.c: Likewise.
14423 * benchtests/bench-memccpy-ifunc.c: Likewise.
14424 * benchtests/bench-memchr-ifunc.c: Likewise.
14425 * benchtests/bench-memcmp-ifunc.c: Likewise.
14426 * benchtests/bench-memcpy-ifunc.c: Likewise.
14427 * benchtests/bench-memmem-ifunc.c: Likewise.
14428 * benchtests/bench-memmove-ifunc.c: Likewise.
14429 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14430 * benchtests/bench-memrchr-ifunc.c: Likewise.
14431 * benchtests/bench-memset-ifunc.c: Likewise.
14432 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14433 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14434 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14435 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14436 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14437 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14438 * benchtests/bench-strcat-ifunc.c: Likewise.
14439 * benchtests/bench-strchr-ifunc.c: Likewise.
14440 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14441 * benchtests/bench-strcmp-ifunc.c: Likewise.
14442 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14443 * benchtests/bench-strcpy-ifunc.c: Likewise.
14444 * benchtests/bench-strcspn-ifunc.c: Likewise.
14445 * benchtests/bench-strlen-ifunc.c: Likewise.
14446 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14447 * benchtests/bench-strncat-ifunc.c: Likewise.
14448 * benchtests/bench-strncmp-ifunc.c: Likewise.
14449 * benchtests/bench-strncpy-ifunc.c: Likewise.
14450 * benchtests/bench-strnlen-ifunc.c: Likewise.
14451 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14452 * benchtests/bench-strrchr-ifunc.c: Likewise.
14453 * benchtests/bench-strsep-ifunc.c: Likewise.
14454 * benchtests/bench-strspn-ifunc.c: Likewise.
14455 * benchtests/bench-strstr-ifunc.c: Likewise.
14457 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14459 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14461 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14463 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14464 * rt/aio.h: Likewise.
14465 * sysdeps/gnu/bits/utmp.h: Likewise.
14466 * sysdeps/gnu/bits/utmpx.h: Likewise.
14467 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14468 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14469 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14470 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14471 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14472 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14473 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14474 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14475 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14476 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14478 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14479 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14481 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14482 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14483 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14484 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14485 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14486 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14487 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14488 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14489 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14490 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14491 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14493 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14494 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14495 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14496 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14497 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14498 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14499 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14501 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14502 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14503 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14504 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14505 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14506 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14507 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14508 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14510 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14513 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14514 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14516 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14518 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14519 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14522 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14525 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14526 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14527 (__fesetround): Remove define.
14528 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14529 rounding and exceptions handling.
14530 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14531 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14532 (__fe_nomask_env): Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14534 __fegetround instead of fegetround.
14535 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14538 2013-11-21 Roland McGrath <roland@hack.frob.com>
14540 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14543 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14545 2013-11-21 Meador Inge <meadori@codesourcery.com>
14548 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14549 (encrypt_r): Likewise.
14550 * malloc/obstack.h (obstack_free): Likewise.
14551 * posix/unistd.h (encrypt): Likewise.
14553 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14555 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14556 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14557 DL_CALL_DT_FINI() that call the functions directly.
14558 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14559 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14560 * elf/dl-fini.c: Likewise.
14562 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14564 * malloc/hooks.c (memalign_check): Add alignment rounding.
14565 * malloc/malloc.c (_mid_memalign): New function.
14566 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14567 Implement by calling _mid_memalign.
14568 * manual/probes.texi (Memory Allocation Probes): Remove
14569 memory_valloc_retry and memory_pvalloc_retry.
14571 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14573 * locale/programs/locarchive.c (open_archive): Add const
14574 qualifier to ARCHIVEFNAME and copy default fname to
14578 * libio/tst-widetext.input: Rename Oriya to Odia.
14579 * locale/iso-639.def: Likewise.
14581 * manual/probes.texi (Mathematical Function Probes): Add
14582 documentation for sin, cos, asin and acos probes.
14583 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14584 (__sin32): Add slowasin probe.
14585 (__cos32): Add slowacos probe.
14586 (__mpsin): Add slowsin probe.
14587 (__mpcos): Add slowcos probe.
14589 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14592 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14593 thread-local __sim_exceptions_thread and global
14594 __sim_exceptions_global.
14595 (__sim_disabled_exceptions): Change to thread-local
14596 __sim_disabled_exceptions_thread and global
14597 __sim_disabled_exceptions_global.
14598 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14599 and global __sim_round_mode_global.
14600 (__simulate_exceptions): Use thread-local floating-point state and
14601 set global state from it as needed.
14602 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14603 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14604 __sim_round_mode_thread.
14605 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14606 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14607 and global __sim_exceptions_global.
14608 (__sim_disabled_exceptions): Change to thread-local
14609 __sim_disabled_exceptions_thread and global
14610 __sim_disabled_exceptions_global.
14611 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14612 and global __sim_round_mode_global.
14613 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14614 (SIM_SET_GLOBAL): Likewise.
14615 * sysdeps/powerpc/soft-fp/sfp-machine.h
14616 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14617 __sim_round_mode_thread.
14618 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14619 __sim_disabled_exceptions_thread.
14620 (__sim_exceptions): Change to __sim_exceptions_thread.
14621 (__sim_disabled_exceptions): Change to
14622 __sim_disabled_exceptions_thread.
14623 (__sim_round_mode): Change to __sim_round_mode_thread.
14624 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14625 thread-local floating-point state and set global state from it as
14627 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14628 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14629 (__sim_disabled_exceptions): Remove extern declaration.
14630 (feenableexcept): Use thread-local floating-point state and set
14631 global state from it as needed.
14632 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14633 extern declaration.
14634 (__sim_disabled_exceptions): Likewise.
14635 (__sim_round_mode): Likewise.
14636 (__fegetenv): Use thread-local floating-point state.
14637 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14638 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14639 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14640 floating-point state and set global state from it as needed.
14641 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14642 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14643 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14645 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14646 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14648 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14649 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14650 Use __sim_round_mode_thread.
14651 * math/test-fenv-tls.c: New file.
14652 * math/Makefile (tests): Add test-fenv-tls.
14653 ($(objpfx)test-fenv-tls): Depend on
14654 $(common-objpfx)nptl/libpthread.so.
14656 2013-11-19 Andreas Schwab <schwab@suse.de>
14658 * locale/programs/locale.c (show_info): Decode wordarray elements.
14659 * locale/categories.def (LC_MONETARY): Add element for
14660 _NL_MONETARY_CRNCYSTR.
14661 * locale/C-monetary.c (conversion_rate): New variable.
14662 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14665 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14667 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14668 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14670 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14672 * elf/Makefile (tst-auxv): New test.
14673 * elf/tst-auxv.c: New
14674 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14676 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14678 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14679 (hidden_proto): Caller changed.
14680 (hidden_tls_proto): New macro.
14681 (libc_hidden_tls_proto): Likewise.
14682 (rtld_hidden_tls_proto): Likewise.
14683 (libm_hidden_tls_proto): Likewise.
14684 (libresolv_hidden_tls_proto): Likewise.
14685 (librt_hidden_tls_proto): Likewise.
14686 (libdl_hidden_tls_proto): Likewise.
14687 (libnss_files_hidden_tls_proto): Likewise.
14688 (libnsl_hidden_tls_proto): Likewise.
14689 (libnss_nisplus_hidden_tls_proto): Likewise.
14690 (libutil_hidden_tls_proto): Likewise.
14692 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14695 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14696 (decompose_rpath): Defer expansion to fillin_rpath.
14697 (_dl_init_paths): Pass linkmap to fillin_rpath.
14699 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14701 * benchtests/Makefile: Add strsep.
14702 * benchtests/bench-strsep.c: New file: strsep benchtest.
14703 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14705 2013-11-18 Andreas Schwab <schwab@suse.de>
14707 * locale/programs/locale.c (show_info) [case byte]: Check for
14708 '\377' instead of '\177'.
14709 * locale/C-monetary.c (not_available): Always use "\377".
14710 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14711 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14712 detect unavailable sign_posn locale elements.
14713 * locale/localeconv.c (__localeconv): For grouping and
14714 mon_grouping handle "\177" and "\377" like no grouping.
14715 (INT_ELEM): New macro. Use it to set all numeric members.
14716 * locale/programs/ld-monetary.c (monetary_read)
14717 <tok_mon_grouping>: Normalize single -1 to the empty string.
14718 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14721 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14724 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14725 when we match (nil).
14726 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14728 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14730 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14731 (NO_TEST_INLINE): Update value.
14732 (ERRNO_UNCHANGED): Likewise.
14733 (ERRNO_EDOM): Likewise.
14734 (ERRNO_ERANGE): Likewise.
14735 (IGNORE_RESULT): Likewise.
14736 (check_float_internal): Check signs of NaN results if
14737 TEST_NAN_SIGN used.
14738 (check_complex): Pass TEST_NAN_SIGN flag through to second
14739 check_float_internal call.
14740 (copysign_test_data): Add tests with quiet NaNs as second
14741 argument. Use TEST_NAN_SIGN.
14742 (fabs_test_data): Add test of negative quiet NaN argument. Use
14744 (signbit_test_data): Add tests of quiet NaN argument.
14745 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14747 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14749 (parse_args): Handle function results specified as IGNORE.
14750 * math/libm-test.inc (IGNORE_RESULT): New macro.
14751 (check_float_internal): Do not check numerical result if flag
14753 (check_complex): Pass through IGNORE_RESULT to second
14754 check_float_internal call.
14755 (check_int): Do not check numerical result if flag IGNORE_RESULT
14757 (check_long): Likewise.
14758 (check_bool): Likewise.
14759 (check_longlong): Likewise.
14760 (lrint_test_data): Add tests of infinite and NaN arguments.
14761 (lrint_tonearest_test_data): Likewise.
14762 (lrint_towardzero_test_data): Likewise.
14763 (lrint_downward_test_data): Likewise.
14764 (lrint_upward_test_data): Likewise.
14765 (llrint_test_data): Likewise.
14766 (llrint_tonearest_test_data): Likewise.
14767 (llrint_towardzero_test_data): Likewise.
14768 (llrint_downward_test_data): Likewise.
14769 (llrint_upward_test_data): Likewise.
14770 (lround_test_data): Likewise.
14771 (llround_test_data): Likewise.
14773 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14774 (ERRNO_UNCHANGED): Update value.
14775 (ERRNO_EDOM): Likewise.
14776 (ERRNO_ERANGE): Likewise.
14777 (NO_TEST_INLINE_FLOAT): New macro.
14778 (NO_TEST_INLINE_DOUBLE): Likewise.
14779 (enable_test): New function.
14780 (RUN_TEST_f_f): Check enable_test before running test.
14781 (RUN_TEST_2_f): Likewise.
14782 (RUN_TEST_fff_f): Likewise.
14783 (RUN_TEST_c_f): Likewise.
14784 (RUN_TEST_f_f1): Likewise.
14785 (RUN_TEST_fF_f1): Likewise.
14786 (RUN_TEST_fI_f1): Likewise.
14787 (RUN_TEST_ffI_f1): Likewise.
14788 (RUN_TEST_c_c): Likewise.
14789 (RUN_TEST_cc_c): Likewise.
14790 (RUN_TEST_f_i): Likewise.
14791 (RUN_TEST_f_i_tg): Likewise.
14792 (RUN_TEST_ff_i_tg): Likewise.
14793 (RUN_TEST_f_b): Likewise.
14794 (RUN_TEST_f_b_tg): Likewise.
14795 (RUN_TEST_f_l): Likewise.
14796 (RUN_TEST_f_L): Likewise.
14797 (RUN_TEST_fFF_11): Likewise.
14798 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14800 (cosh_test_data): Likewise.
14801 (exp_test_data): Likewise.
14802 (expm1_test_data): Likewise.
14803 (hypot_test_data): Likewise.
14804 (pow_test_data): Likewise.
14805 (sinh_test_data): Likewise.
14806 (tanh_test_data): Likewise.
14807 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14810 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14811 tests with quiet NaN input and output.
14812 (acosh_test_data): Likewise.
14813 (asin_test_data): Likewise.
14814 (asinh_test_data): Likewise.
14815 (atan_test_data): Likewise.
14816 (atanh_test_data): Likewise.
14817 (atan2_test_data): Likewise.
14818 (cbrt_test_data): Likewise.
14819 (cos_test_data): Likewise.
14820 (cosh_test_data): Likewise.
14821 (erf_test_data): Likewise.
14822 (erfc_test_data): Likewise.
14823 (exp_test_data): Likewise.
14824 (exp10_test_data): Likewise.
14825 (exp2_test_data): Likewise.
14826 (expm1_test_data): Likewise.
14827 (hypot_test_data): Likewise.
14828 (j0_test_data): Likewise.
14829 (j1_test_data): Likewise.
14830 (jn_test_data): Likewise.
14831 (lgamma_test_data): Likewise.
14832 (log_test_data): Likewise.
14833 (log10_test_data): Likewise.
14834 (log1p_test_data): Likewise.
14835 (log2_test_data): Likewise.
14836 (pow_test_data): Likewise.
14837 (scalb_test_data): Likewise.
14838 (sin_test_data): Likewise.
14839 (sincos_test_data): Likewise.
14840 (sinh_test_data): Likewise.
14841 (tan_test_data): Likewise.
14842 (tanh_test_data): Likewise.
14843 (tgamma_test_data): Likewise.
14844 (y0_test_data): Likewise.
14845 (y1_test_data): Likewise.
14846 (yn_test_data): Likewise.
14849 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14850 argument being NaN and avoid computations with second argument in
14852 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14853 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14854 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14856 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14858 * locale/iso-639.def: Add Chitwani Tharu (the).
14860 2013-11-14 Andreas Schwab <schwab@suse.de>
14862 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14863 word instead of empty string.
14865 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14868 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14870 (__fe_nomask_env): Likewise.
14872 2013-11-13 Steve Ellcey <sellcey@mips.com>
14874 * benchtests/bench-timing.h: Include time.h.
14876 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14879 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14881 * sysdeps/unix/sysv/linux/configure: Regenerated.
14883 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14886 * stdlib/strtod_l.c (round_and_return): Do not consider
14887 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14888 exponent one less than half the least subnormal exponent.
14889 * stdlib/test-strtod-round-data: Add more tests.
14890 * stdlib/tst-strtod-round.c (tests): Regenerated.
14892 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14895 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14896 (__fe_mask_env): Likewise.
14897 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14898 libm_hidden_proto and add function prototype.
14899 (__fe_mask_env): Add function prototype.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14901 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14903 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14905 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14907 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14909 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14910 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14912 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14914 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14915 of htab_find_slot().
14917 2013-11-11 David S. Miller <davem@davemloft.net>
14920 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14921 symbol in the non-vis3 case in static builds.
14922 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14923 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14924 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14925 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14927 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14930 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14933 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14935 * benchtests/Makefile: Add bench-strtod.
14936 * benchtests/bench-strtod.c: New file: strtod benchtest
14938 2013-11-11 Andreas Schwab <schwab@suse.de>
14941 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14942 terminating NUL in key length.
14944 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14946 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14947 Add artificial ODP entry for vDSO symbol for PPC64.
14948 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14949 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14951 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14954 * nss/getent.c (services_keys): Recognize services starting with digit.
14956 2013-11-06 David S. Miller <davem@davemloft.net>
14959 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14960 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14962 2013-11-06 Will Newton <will.newton@linaro.org>
14964 * manual/memory.texi (Malloc Examples): Remove register
14965 keyword from examples.
14967 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14969 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14971 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14974 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14975 depending on [__GCC_IEC_559 > 0].
14976 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14977 depending on [__GCC_IEC_559_COMPLEX > 0].
14979 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14981 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14984 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14986 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14988 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14991 * malloc/malloc (malloc_info): Do not handle first bin as
14994 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14996 * locale/iso-639.def: Add Central Nahuatl (nhn).
14998 2013-11-01 Bruno Haible <bruno@clisp.org>
15001 * manual/math.texi (BSD Random): Specify range upper bound as
15004 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15006 * locale/iso-639.def: Add Meadow Mari (mhr).
15008 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15010 [BZ #14752], [BZ #15763]
15011 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15013 * rt/tst_shm.c: Add test for escaping directory.
15015 2013-10-31 Andreas Schwab <schwab@suse.de>
15018 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15019 followed by 'x' as part of digit sequence.
15020 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15022 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15025 * configure.ac: allow GNU Make 4.0 and greater.
15026 * configure: Regenerated.
15028 2013-10-30 Will Newton <will.newton@linaro.org>
15031 * malloc/hooks.c (memalign_check): Limit alignment to the
15032 maximum representable power of two.
15033 * malloc/malloc.c (__libc_memalign): Likewise.
15034 * malloc/tst-memalign.c (do_test): Add test for very
15035 large alignment values.
15036 * malloc/tst-posix_memalign.c (do_test): Likewise.
15038 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15041 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15042 (munmap_chunk): Likewise.
15043 (mremap_chunk): Likewise.
15045 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15048 * stdlib/div.c (div): Remove obsolete code.
15049 * stdlib/ldiv.c (ldiv): Likewise.
15050 * stdlib/lldiv.c (lldiv): Likewise.
15052 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15055 * nss/nss_files/files-XXX.c (get_contents_ret): New
15057 (get_contents): New function.
15058 (internal_getent): Use it. Expand size of LINEBUFLEN.
15060 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15062 * configure.in: Moved to ...
15063 * configure.ac: ... here. Change reference to configure.in
15065 * sysdeps/arm/preconfigure.ac: ... here.
15066 configure.in to configure.ac.
15067 * sysdeps/gnu/configure.in: Moved to ...
15068 * sysdeps/gnu/configure.ac: ... here.
15069 * sysdeps/i386/configure.in: Moved to ...
15070 * sysdeps/i386/configure.ac: ... here.
15071 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15072 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15073 * sysdeps/mach/configure.in: Moved to ...
15074 * sysdeps/mach/configure.ac: ... here.
15075 * sysdeps/mach/hurd/configure.in: Moved to ...
15076 * sysdeps/mach/hurd/configure.ac: ... here.
15077 * sysdeps/powerpc/configure.in: Moved to ...
15078 * sysdeps/powerpc/configure.ac: ... here.
15079 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15080 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15081 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15082 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15083 * sysdeps/s390/s390-32/configure.in: Moved to ...
15084 * sysdeps/s390/s390-32/configure.ac: ... here.
15085 * sysdeps/s390/s390-64/configure.in: Moved to ...
15086 * sysdeps/s390/s390-64/configure.ac: ... here.
15087 * sysdeps/sh/configure.in: Moved to ...
15088 * sysdeps/sh/configure.ac: ... here.
15089 * sysdeps/sparc/configure.in: Moved to ...
15090 * sysdeps/sparc/configure.ac: ... here.
15091 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15092 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15093 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15094 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15095 * sysdeps/x86_64/configure.in: Moved to ...
15096 * sysdeps/x86_64/configure.ac: ... here.
15097 * sysdeps/x86_64/preconfigure.in: Moved to ...
15098 * sysdeps/x86_64/preconfigure.ac: ... here.
15099 * aclocal.m4: Change reference to configure.in to configure.ac.
15100 * config.h.in: Likewise.
15101 * manual/install.texi: Likewise.
15102 * manual/maint.texi: Likewise.
15103 * Makefile: Likewise.
15104 * malloc/Makefile: Likewise.
15105 * nscd/Makefile: Likewise.
15106 * Makeconfig: Change reference to configure.in and
15107 preconfigure.in to configure.ac and preconfigure.ac
15109 * INSTALL: Regenerated.
15110 * configure: Likewise.
15111 * sysdeps/gnu/configure: Likewise.
15112 * sysdeps/i386/configure: Likewise.
15113 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15114 * sysdeps/mach/configure: Likewise.
15115 * sysdeps/mach/hurd/configure: Likewise.
15116 * sysdeps/powerpc/configure: Likewise.
15117 * sysdeps/powerpc/powerpc32/configure: Likewise.
15118 * sysdeps/powerpc/powerpc64/configure: Likewise.
15119 * sysdeps/s390/s390-32/configure: Likewise.
15120 * sysdeps/s390/s390-64/configure: Likewise.
15121 * sysdeps/sh/configure: Likewise.
15122 * sysdeps/sparc/configure: Likewise.
15123 * sysdeps/unix/sysv/linux/configure: Likewise.
15124 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15125 * sysdeps/x86_64/configure: Likewise.
15126 * sysdeps/x86_64/preconfigure: Likewise.
15128 2013-10-29 Andreas Schwab <schwab@suse.de>
15130 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15132 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15134 * benchtests/pow-inputs: Add new inputs.
15136 * benchtests/exp-inputs: Add new inputs.
15138 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15139 conditional check for return value.
15140 (__cos32): Likewise.
15142 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15144 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15145 to provide a boost for large inputs with word alignment.
15146 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15147 implementation based on optimized PPC64 strcpy.
15148 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15149 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15150 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15151 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15153 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15156 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15158 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15161 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15162 * time/tst-strptime.c (day_tests): Add testcase.
15164 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15167 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15169 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15172 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15173 MAP_FAILED on error.
15175 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15178 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15179 heap for large requests.
15181 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15184 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15185 result if the result has no associated interface.
15186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15187 interface for all 127.X.Y.Z addresses.
15189 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15191 * locale/iso-639.def: Add Ligurian (lij)
15193 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15196 * sunrpc/rpc_main.c: Document rpcgen -5.
15198 2013-10-19 Michael Stahl <mstahl@redhat.com>
15200 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15202 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15205 * posix/glob.c: Match only directories when trailing slash is present.
15206 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15207 (main): Add testcase.
15209 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15212 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15214 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15216 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15217 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15218 AUTH_DES and cindex for FIPS 140-2.
15219 (DES Encryption): Add cindex FIPS 46-3.
15221 * locale/locarchive.h (struct locarhandle): Add fname.
15222 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15223 if an optional argument was specified to --list-archive,
15225 * locale/programs/locarchive.c (show_archive_content): Take new
15226 argument fname and pass it via ah.fname to open_archive.
15227 * locale/programs/localedef.h: Update decl.
15228 (open_archive): If AH->fname is non-null, open that file
15229 rather than the default file name, and don't ignore ENOENT.
15230 (create_archive): Set AH.fname to NULL.
15231 (delete_locales_from_archive): Likewise.
15232 (add_locales_to_archive): Likewise.
15233 * locale/programs/locfile.c (write_all_categories): Likewise.
15235 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15236 Aldy Hernandez <aldyh@redhat.com>
15238 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15239 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15240 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15241 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15242 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15243 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15244 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15245 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15246 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15247 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15248 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15249 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15250 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15251 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15252 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15254 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15256 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15258 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15260 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15261 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15263 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15264 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15265 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15266 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15268 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15269 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15270 * sysdeps/powerpc/preconfigure: Likewise.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15273 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15274 Replace contents of file by #include of <fenv_libc.h>.
15275 * sysdeps/powerpc/soft-fp/sfp-machine.h
15276 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15278 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15279 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15280 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15281 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15282 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15283 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15285 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15287 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15291 Allow copysignl PLT reference to be missing.
15293 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15294 Joseph Myers <joseph@codesourcery.com
15297 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15299 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15301 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15303 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15304 * elf/tst-tls1.c: Likewise.
15305 * elf/tst-tls10.h: Likewise.
15306 * elf/tst-tls14.c: Likewise.
15307 * elf/tst-tls2.c: Likewise.
15308 * elf/tst-tls3.c: Likewise.
15309 * elf/tst-tls4.c: Likewise.
15310 * elf/tst-tls5.c: Likewise.
15311 * elf/tst-tls6.c: Likewise.
15312 * elf/tst-tls7.c: Likewise.
15313 * elf/tst-tls8.c: Likewise.
15314 * elf/tst-tls9.c: Likewise.
15315 * elf/tst-tlsmod1.c: Likewise.
15316 * elf/tst-tlsmod13.c: Likewise.
15317 * elf/tst-tlsmod13a.c: Likewise.
15318 * elf/tst-tlsmod14a.c: Likewise.
15319 * elf/tst-tlsmod16a.c: Likewise.
15320 * elf/tst-tlsmod16b.c: Likewise.
15321 * elf/tst-tlsmod2.c: Likewise.
15322 * elf/tst-tlsmod3.c: Likewise.
15323 * elf/tst-tlsmod4.c: Likewise.
15324 * elf/tst-tlsmod5.c: Likewise.
15325 * elf/tst-tlsmod6.c: Likewise.
15327 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15330 * malloc/malloc.c: remove checks for statistics.
15332 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15335 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15336 * inet/tst-network.c: Add testcase.
15338 2013-10-17 Andreas Schwab <schwab@suse.de>
15341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15342 to determine canonical name.
15344 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15346 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15347 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15370 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15371 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15376 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15381 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15405 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15408 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15409 make result into a quiet NaN.
15411 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15413 * soft-fp/adddf3.c: Fix horizontal whitespace.
15414 * soft-fp/addsf3.c: Likewise.
15415 * soft-fp/addtf3.c: Likewise.
15416 * soft-fp/divdf3.c: Likewise.
15417 * soft-fp/divsf3.c: Likewise.
15418 * soft-fp/divtf3.c: Likewise.
15419 * soft-fp/double.h: Likewise.
15420 * soft-fp/eqdf2.c: Likewise.
15421 * soft-fp/eqsf2.c: Likewise.
15422 * soft-fp/eqtf2.c: Likewise.
15423 * soft-fp/extenddftf2.c: Likewise.
15424 * soft-fp/extended.h: Likewise.
15425 * soft-fp/extendsfdf2.c: Likewise.
15426 * soft-fp/extendsftf2.c: Likewise.
15427 * soft-fp/extendxftf2.c: Likewise.
15428 * soft-fp/fixdfdi.c: Likewise.
15429 * soft-fp/fixdfsi.c: Likewise.
15430 * soft-fp/fixdfti.c: Likewise.
15431 * soft-fp/fixsfdi.c: Likewise.
15432 * soft-fp/fixsfsi.c: Likewise.
15433 * soft-fp/fixsfti.c: Likewise.
15434 * soft-fp/fixtfdi.c: Likewise.
15435 * soft-fp/fixtfsi.c: Likewise.
15436 * soft-fp/fixtfti.c: Likewise.
15437 * soft-fp/fixunsdfdi.c: Likewise.
15438 * soft-fp/fixunsdfsi.c: Likewise.
15439 * soft-fp/fixunsdfti.c: Likewise.
15440 * soft-fp/fixunssfdi.c: Likewise.
15441 * soft-fp/fixunssfsi.c: Likewise.
15442 * soft-fp/fixunssfti.c: Likewise.
15443 * soft-fp/fixunstfdi.c: Likewise.
15444 * soft-fp/fixunstfsi.c: Likewise.
15445 * soft-fp/fixunstfti.c: Likewise.
15446 * soft-fp/floatdidf.c: Likewise.
15447 * soft-fp/floatdisf.c: Likewise.
15448 * soft-fp/floatditf.c: Likewise.
15449 * soft-fp/floatsidf.c: Likewise.
15450 * soft-fp/floatsisf.c: Likewise.
15451 * soft-fp/floatsitf.c: Likewise.
15452 * soft-fp/floattidf.c: Likewise.
15453 * soft-fp/floattisf.c: Likewise.
15454 * soft-fp/floattitf.c: Likewise.
15455 * soft-fp/floatundidf.c: Likewise.
15456 * soft-fp/floatundisf.c: Likewise.
15457 * soft-fp/floatunditf.c: Likewise.
15458 * soft-fp/floatunsidf.c: Likewise.
15459 * soft-fp/floatunsisf.c: Likewise.
15460 * soft-fp/floatunsitf.c: Likewise.
15461 * soft-fp/floatuntidf.c: Likewise.
15462 * soft-fp/floatuntisf.c: Likewise.
15463 * soft-fp/floatuntitf.c: Likewise.
15464 * soft-fp/fmadf4.c: Likewise.
15465 * soft-fp/fmasf4.c: Likewise.
15466 * soft-fp/fmatf4.c: Likewise.
15467 * soft-fp/gedf2.c: Likewise.
15468 * soft-fp/gesf2.c: Likewise.
15469 * soft-fp/getf2.c: Likewise.
15470 * soft-fp/ledf2.c: Likewise.
15471 * soft-fp/lesf2.c: Likewise.
15472 * soft-fp/letf2.c: Likewise.
15473 * soft-fp/muldf3.c: Likewise.
15474 * soft-fp/mulsf3.c: Likewise.
15475 * soft-fp/multf3.c: Likewise.
15476 * soft-fp/negdf2.c: Likewise.
15477 * soft-fp/negsf2.c: Likewise.
15478 * soft-fp/negtf2.c: Likewise.
15479 * soft-fp/op-1.h: Likewise.
15480 * soft-fp/op-2.h: Likewise.
15481 * soft-fp/op-4.h: Likewise.
15482 * soft-fp/op-8.h: Likewise.
15483 * soft-fp/op-common.h: Likewise.
15484 * soft-fp/quad.h: Likewise.
15485 * soft-fp/single.h: Likewise.
15486 * soft-fp/soft-fp.h: Likewise.
15487 * soft-fp/sqrtdf2.c: Likewise.
15488 * soft-fp/sqrtsf2.c: Likewise.
15489 * soft-fp/sqrttf2.c: Likewise.
15490 * soft-fp/subdf3.c: Likewise.
15491 * soft-fp/subsf3.c: Likewise.
15492 * soft-fp/subtf3.c: Likewise.
15493 * soft-fp/truncdfsf2.c: Likewise.
15494 * soft-fp/trunctfdf2.c: Likewise.
15495 * soft-fp/trunctfsf2.c: Likewise.
15496 * soft-fp/trunctfxf2.c: Likewise.
15497 * soft-fp/unorddf2.c: Likewise.
15498 * soft-fp/unordsf2.c: Likewise.
15499 * soft-fp/unordtf2.c: Likewise.
15501 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15503 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15504 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15506 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15508 * elf/dl-libc.c: Clear initfini list after freeing.
15510 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15512 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15513 * soft-fp/addsf3.c: Likewise.
15514 * soft-fp/addtf3.c: Likewise.
15515 * soft-fp/divdf3.c: Likewise.
15516 * soft-fp/divsf3.c: Likewise.
15517 * soft-fp/divtf3.c: Likewise.
15518 * soft-fp/double.h: Likewise.
15519 * soft-fp/eqdf2.c: Likewise.
15520 * soft-fp/eqsf2.c: Likewise.
15521 * soft-fp/eqtf2.c: Likewise.
15522 * soft-fp/extenddftf2.c: Likewise.
15523 * soft-fp/extended.h: Likewise.
15524 * soft-fp/extendsfdf2.c: Likewise.
15525 * soft-fp/extendsftf2.c: Likewise.
15526 * soft-fp/extendxftf2.c: Likewise.
15527 * soft-fp/fixdfdi.c: Likewise.
15528 * soft-fp/fixdfsi.c: Likewise.
15529 * soft-fp/fixdfti.c: Likewise.
15530 * soft-fp/fixsfdi.c: Likewise.
15531 * soft-fp/fixsfsi.c: Likewise.
15532 * soft-fp/fixsfti.c: Likewise.
15533 * soft-fp/fixtfdi.c: Likewise.
15534 * soft-fp/fixtfsi.c: Likewise.
15535 * soft-fp/fixtfti.c: Likewise.
15536 * soft-fp/fixunsdfdi.c: Likewise.
15537 * soft-fp/fixunsdfsi.c: Likewise.
15538 * soft-fp/fixunsdfti.c: Likewise.
15539 * soft-fp/fixunssfdi.c: Likewise.
15540 * soft-fp/fixunssfsi.c: Likewise.
15541 * soft-fp/fixunssfti.c: Likewise.
15542 * soft-fp/fixunstfdi.c: Likewise.
15543 * soft-fp/fixunstfsi.c: Likewise.
15544 * soft-fp/fixunstfti.c: Likewise.
15545 * soft-fp/floatdidf.c: Likewise.
15546 * soft-fp/floatdisf.c: Likewise.
15547 * soft-fp/floatditf.c: Likewise.
15548 * soft-fp/floatsidf.c: Likewise.
15549 * soft-fp/floatsisf.c: Likewise.
15550 * soft-fp/floatsitf.c: Likewise.
15551 * soft-fp/floattidf.c: Likewise.
15552 * soft-fp/floattisf.c: Likewise.
15553 * soft-fp/floattitf.c: Likewise.
15554 * soft-fp/floatundidf.c: Likewise.
15555 * soft-fp/floatundisf.c: Likewise.
15556 * soft-fp/floatunsidf.c: Likewise.
15557 * soft-fp/floatunsisf.c: Likewise.
15558 * soft-fp/floatuntidf.c: Likewise.
15559 * soft-fp/floatuntisf.c: Likewise.
15560 * soft-fp/floatuntitf.c: Likewise.
15561 * soft-fp/fmadf4.c: Likewise.
15562 * soft-fp/fmasf4.c: Likewise.
15563 * soft-fp/fmatf4.c: Likewise.
15564 * soft-fp/gedf2.c: Likewise.
15565 * soft-fp/gesf2.c: Likewise.
15566 * soft-fp/getf2.c: Likewise.
15567 * soft-fp/ledf2.c: Likewise.
15568 * soft-fp/lesf2.c: Likewise.
15569 * soft-fp/letf2.c: Likewise.
15570 * soft-fp/muldf3.c: Likewise.
15571 * soft-fp/mulsf3.c: Likewise.
15572 * soft-fp/multf3.c: Likewise.
15573 * soft-fp/negdf2.c: Likewise.
15574 * soft-fp/negsf2.c: Likewise.
15575 * soft-fp/negtf2.c: Likewise.
15576 * soft-fp/op-1.h: Likewise.
15577 * soft-fp/op-2.h: Likewise.
15578 * soft-fp/op-4.h: Likewise.
15579 * soft-fp/op-8.h: Likewise.
15580 * soft-fp/op-common.h: Likewise.
15581 * soft-fp/quad.h: Likewise.
15582 * soft-fp/single.h: Likewise.
15583 * soft-fp/soft-fp.h: Likewise.
15584 * soft-fp/sqrtdf2.c: Likewise.
15585 * soft-fp/sqrtsf2.c: Likewise.
15586 * soft-fp/sqrttf2.c: Likewise.
15587 * soft-fp/subdf3.c: Likewise.
15588 * soft-fp/subsf3.c: Likewise.
15589 * soft-fp/subtf3.c: Likewise.
15590 * soft-fp/truncdfsf2.c: Likewise.
15591 * soft-fp/trunctfdf2.c: Likewise.
15592 * soft-fp/trunctfsf2.c: Likewise.
15593 * soft-fp/trunctfxf2.c: Likewise.
15594 * soft-fp/unorddf2.c: Likewise.
15595 * soft-fp/unordsf2.c: Likewise.
15596 * soft-fp/unordtf2.c: Likewise.
15598 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15601 * misc/error.c (error_tail): Fix possible buffer overflow.
15603 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15606 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15609 2013-10-14 P. J. McDermott <pj@pehjota.net>
15612 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15613 testing pipefail option.
15615 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15617 * soft-fp/double.h: Indent preprocessor directives inside #if.
15618 * soft-fp/extended.h: Likewise.
15619 * soft-fp/op-2.h: Likewise.
15620 * soft-fp/op-4.h: Likewise.
15621 * soft-fp/op-common.h: Likewise.
15622 * soft-fp/quad.h: Likewise.
15623 * soft-fp/single.h: Likewise.
15624 * soft-fp/soft-fp.h: Likewise.
15626 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15628 * iconv/iconv_prog.c: Fix typos.
15629 * stdio-common/psiginfo-data.h: Likewise.
15631 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15634 * locale/setlocale.c: Fix typo.
15636 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15639 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15640 signaling NaN arguments.
15641 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15642 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15645 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15646 unordered operands.
15647 * soft-fp/gesf2.c (__gesf2): Likewise.
15648 * soft-fp/getf2.c (__getf2): Likewise.
15649 * soft-fp/ledf2.c (__ledf2): Likewise.
15650 * soft-fp/lesf2.c (__lesf2): Likewise.
15651 * soft-fp/letf2.c (__letf2): Likewise.
15653 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15654 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15655 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15656 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15657 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15658 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15659 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15660 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15661 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15662 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15663 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15664 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15665 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15666 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15667 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15668 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15669 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15670 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15671 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15672 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15673 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15674 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15675 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15676 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15677 * soft-fp/floattidf.c (__floattidf): Likewise.
15678 * soft-fp/floattisf.c (__floattisf): Likewise.
15679 * soft-fp/floattitf.c (__floattitf): Likewise.
15680 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15681 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15682 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15683 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15684 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15685 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15686 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15687 * soft-fp/gesf2.c (__gesf2): Likewise.
15688 * soft-fp/getf2.c (__getf2): Likewise.
15689 * soft-fp/ledf2.c (__ledf2): Likewise.
15690 * soft-fp/lesf2.c (__lesf2): Likewise.
15691 * soft-fp/letf2.c (__letf2): Likewise.
15693 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15694 Undefine and redefine.
15695 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15696 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15697 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15698 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15699 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15700 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15701 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15702 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15703 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15704 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15705 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15706 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15707 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15708 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15709 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15712 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15713 without decrementing exponent if mantissa >= that for the
15714 denominator, not >.
15715 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15716 denominator, not >. Decrement exponent in < case instead of
15717 incrementing in >= case.
15718 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15719 without decrementing exponent if mantissa >= that for the
15720 denominator, not >.
15722 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15723 computing saturated result for unsigned overflow.
15725 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15726 Jeff Law <law@redhat.com>
15728 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15729 (atan2Mp): Add systemtap probe marker.
15730 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15731 (__ieee754_log): Add systemtap probe marker.
15732 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15733 (atanMp): Add systemtap probe marker.
15734 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15735 (tanMp): Add systemtap probe marker.
15736 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15737 (__slowexp): Add systemtap probe marker.
15738 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15739 (__slowpow): Add systemtap probe marker.
15740 * manual/probes.texi: Document probes.
15742 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15745 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15747 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15749 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15750 written to buffer but not flushed.
15751 * libio/iofwrite_u.c: Likewise.
15752 * libio/iopadn.c: Return bytes returned even if EOF was
15754 * libio/iowpadn.c: Likewise.
15755 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15756 if _IO_padn does not write the whole buffer.
15757 [!COMPILE_WPRINTF] (PAD): Likewise.
15759 2013-10-10 David S. Miller <davem@davemloft.net>
15761 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15764 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15766 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15767 instead of FSF address.
15768 * soft-fp/fixdfti.c: Likewise.
15769 * soft-fp/fixsfti.c: Likewise.
15770 * soft-fp/fixtfti.c: Likewise.
15771 * soft-fp/fixunsdfti.c: Likewise.
15772 * soft-fp/fixunssfti.c: Likewise.
15773 * soft-fp/fixunstfti.c: Likewise.
15774 * soft-fp/floattidf.c: Likewise.
15775 * soft-fp/floattisf.c: Likewise.
15776 * soft-fp/floattitf.c: Likewise.
15777 * soft-fp/floatuntidf.c: Likewise.
15778 * soft-fp/floatuntisf.c: Likewise.
15779 * soft-fp/floatuntitf.c: Likewise.
15780 * soft-fp/trunctfxf2.c: Likewise.
15782 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15783 * soft-fp/fixdfti.c: Likewise.
15784 * soft-fp/fixsfti.c: Likewise.
15785 * soft-fp/fixtfti.c: Likewise.
15786 * soft-fp/fixunsdfti.c: Likewise.
15787 * soft-fp/fixunssfti.c: Likewise.
15788 * soft-fp/fixunstfti.c: Likewise.
15789 * soft-fp/floattidf.c: Likewise.
15790 * soft-fp/floattisf.c: Likewise.
15791 * soft-fp/floattitf.c: Likewise.
15792 * soft-fp/floatuntidf.c: Likewise.
15793 * soft-fp/floatuntisf.c: Likewise.
15794 * soft-fp/floatuntitf.c: Likewise.
15795 * soft-fp/trunctfxf2.c: Likewise.
15797 2013-10-10 David S. Miller <davem@davemloft.net>
15799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15801 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15803 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15804 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15805 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15806 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15807 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15808 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15809 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15811 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15812 for NaNs before doing comparisons on argument.
15813 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15816 2013-10-10 Will Newton <will.newton@linaro.org>
15818 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15819 passed to _int_memalign does not overflow.
15821 2013-10-10 Torvald Riegel <triegel@redhat.com>
15823 * scripts/bench.pl: Add include-sources directive.
15824 * benchtests/README: Update documentation.
15826 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15828 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15829 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15830 instead of FP_INIT_ROUNDMODE.
15831 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15832 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15835 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15836 copy class of input value.
15837 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15838 not handle exceptions.
15839 * soft-fp/negsf2.c (__negsf2): Likewise.
15840 * soft-fp/negtf2.c (__negtf2): Likewise.
15841 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15843 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15845 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15846 semicolon. From Linux kernel.
15848 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15850 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15852 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15855 * manual/socket.texi: Added statement about buffer
15856 for gethostbyname2_r.
15858 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15860 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15861 Use .p2align directive instead, throughout.
15862 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15863 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15864 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15865 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15866 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15867 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15868 * sysdeps/x86_64/strchr.S: Likewise.
15869 * sysdeps/x86_64/strrchr.S: Likewise.
15871 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15873 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15875 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15877 * sysdeps/generic/math_private.h (__mpsin1): Remove
15879 (__mpcos1): Likewise.
15880 (__mpsin): New argument __range_reduce.
15881 (__mpcos): Likewise.
15882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15883 (slow): Use __mpsin and __mpcos.
15887 (sloww1): Likewise.
15888 (sloww2): Likewise.
15889 (bsloww): Likewise.
15890 (bsloww1): Likewise.
15891 (bsloww2): Likewise.
15892 (cslow2): Likewise.
15893 (csloww): Likewise.
15894 (csloww1): Likewise.
15895 (csloww2): Likewise.
15896 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15897 range_reduce. Merge in __mpsin1.
15898 (__mpcos): Likewise.
15899 (__mpsin1): Remove.
15900 (__mpcos1): Likewise.
15902 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15904 * locale/loadlocale.c (_nl_intern_locale_data): Use
15906 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15907 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15908 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15909 obstack data is appropriately aligned.
15910 (obstack_int32_grow_fast): Likewise.
15911 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15912 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15913 (add_locale_uint32_array): Likewise.
15915 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15917 * benchtests/Makefile: Remove ARGLIST and RET variables.
15918 ($(objpfx)bench-%.c): Pass only function name to the script.
15919 * benchtests/README: Update documentation.
15920 * benchtests/acos-inputs: Add new directives.
15921 * benchtests/acosh-inputs: Likewise.
15922 * benchtests/asin-inputs: Likewise.
15923 * benchtests/asinh-inputs: Likewise.
15924 * benchtests/atan-inputs: Likewise.
15925 * benchtests/atanh-inputs: Likewise.
15926 * benchtests/cos-inputs: Likewise.
15927 * benchtests/cosh-inputs: Likewise.
15928 * benchtests/exp-inputs: Likewise.
15929 * benchtests/log-inputs: Likewise.
15930 * benchtests/pow-inputs: Likewise.
15931 * benchtests/rint-inputs: Likewise.
15932 * benchtests/sin-inputs: Likewise.
15933 * benchtests/sinh-inputs: Likewise.
15934 * benchtests/tan-inputs: Likewise.
15935 * benchtests/tanh-inputs: Likewise.
15936 * scripts/bench.pl: Add support for new directives.
15938 2013-10-07 Alan Modra <amodra@gmail.com>
15940 * README: Fix careless merge.
15942 2013-10-05 Alan Modra <amodra@gmail.com>
15944 * NEWS: Mention powerpc64le support and bugs fixed.
15945 * README: Both big-endian and little-endian powerpc64 supported.
15947 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15949 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15950 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15951 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15952 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15954 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15956 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15959 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15961 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15962 Move -mhard-float appending from
15963 ports/sysdeps/powerpc/powerpc32/Makefile.
15964 [$(with-fp) = yes] (ASFLAGS): Likewise.
15965 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15966 * sysdeps/powerpc/nofpu: Move directory from
15967 ports/sysdeps/powerpc/nofpu.
15968 * sysdeps/powerpc/soft-fp: Move directory from
15969 ports/sysdeps/powerpc/soft-fp.
15970 * sysdeps/powerpc/powerpc32/405: Move directory from
15971 ports/sysdeps/powerpc/powerpc32/405.
15972 * sysdeps/powerpc/powerpc32/440: Move directory from
15973 ports/sysdeps/powerpc/powerpc32/440.
15974 * sysdeps/powerpc/powerpc32/464: Move directory from
15975 ports/sysdeps/powerpc/powerpc32/464.
15976 * sysdeps/powerpc/powerpc32/476: Move directory from
15977 ports/sysdeps/powerpc/powerpc32/476.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15979 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15981 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15983 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15985 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15987 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15988 * README: Update for powerpc-*-linux-gnu software floating point
15991 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15992 case to powerpc/powerpc32*.
15993 * sysdeps/unix/sysv/linux/configure: Regenerated.
15995 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15996 (_FPU_MASK_OM): Define as 0x04.
15997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16005 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16008 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16011 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16012 and setcontext_e500.
16014 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16016 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16018 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16020 * manual/threads.texi (Default Thread Attributes): Fix typo.
16022 2013-10-04 Will Newton <will.newton@linaro.org>
16024 * malloc/Makefile: Add tst-memalign.
16025 * malloc/tst-memalign.c: New file.
16027 * malloc/tst-posix_memalign.c: Add comments.
16028 (do_test): Add comments and call free on all potentially
16029 allocated pointers. Add space after cast.
16031 * malloc/tst-pvalloc.c: Add comments.
16032 (do_test): Add comments and call free on all potentially
16033 allocated pointers. Remove duplicate check for NULL pointer.
16034 Add space after cast.
16036 * malloc/tst-valloc.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 2013-10-04 Alan Modra <amodra@gmail.com>
16043 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16044 Use stdint types in rather than __attribute__((mode())).
16045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16047 2013-10-04 Alan Modra <amodra@gmail.com>
16049 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16050 Correct handling of unaligned relocs for little-endian.
16051 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16053 2013-10-04 Alan Modra <amodra@gmail.com>
16055 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16056 * configure: Regenerate.
16057 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16058 * shlib-versions: Likewise.
16060 2013-10-04 Alan Modra <amodra@gmail.com>
16062 * string/tester.c (test_memrchr): Increment reported test cycle.
16064 2013-10-04 Alan Modra <amodra@gmail.com>
16066 * string/test-memcpy.c (do_one_test): When reporting errors, print
16067 string address and don't overrun end of string.
16069 2013-10-04 Alan Modra <amodra@gmail.com>
16071 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16072 insrdi. Make better use of reg selection to speed exit slightly.
16073 Schedule entry path a little better. Remove useless "are we done"
16074 checks on entry to main loop. Handle wrapping around zero address.
16075 Correct main loop count. Handle single left-over word from main
16076 loop inline rather than by using loop_small. Remove extra word
16077 case in loop_small caused by wrong loop count. Add little-endian
16079 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16080 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16082 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16083 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16084 support. Avoid rlwimi.
16085 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16087 2013-10-04 Alan Modra <amodra@gmail.com>
16089 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16090 insrdi. Formatting.
16091 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16092 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16093 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16094 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16095 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16096 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16098 2013-10-04 Alan Modra <amodra@gmail.com>
16100 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16101 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16103 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16104 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16105 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16106 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16107 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16108 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16109 use of regs. Use power7 mtocrf. Tidy function tails.
16111 2013-10-04 Alan Modra <amodra@gmail.com>
16113 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16114 Formatting. Consistently use rXXX register defines or rN defines.
16115 Use early exit labels that avoid restoring unused non-volatile regs.
16116 Make cr field use more consistent with rWORDn compares. Rename
16117 regs used as shift registers for unaligned loop, using rN defines
16118 for short lifetime/multiple use regs.
16119 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16120 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16121 addi 1,1,64 to pop stack frame. Simplify return value code.
16122 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16124 2013-10-04 Alan Modra <amodra@gmail.com>
16126 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16127 support. Correct typos, formatting. Optimize tail. Use insrdi
16128 rather than rlwimi.
16129 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16130 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16131 little-endian support. Correct typos.
16132 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16133 rather than rlwimi.
16134 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16135 in loop and entry code to keep "and." results.
16136 (strchr): Add little-endian support. Comment. Move cntlzd
16138 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16140 2013-10-04 Alan Modra <amodra@gmail.com>
16142 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16143 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16144 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16145 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16147 2013-10-04 Alan Modra <amodra@gmail.com>
16149 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16150 (rTMP): Define as r11.
16151 (strcmp): Add little-endian support. Optimise tail.
16152 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16153 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16154 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16155 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16156 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16160 2013-10-04 Alan Modra <amodra@gmail.com>
16162 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16163 little-endian support. Remove unnecessary "are we done" tests.
16164 Handle "s" wrapping around zero and extremely large "size".
16165 Correct main loop count. Handle single left-over word from main
16166 loop inline rather than by using small_loop. Correct comments.
16167 Delete "zero" tail, use "end_max" instead.
16168 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16170 2013-10-04 Alan Modra <amodra@gmail.com>
16172 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16173 support. Don't branch over align.
16174 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16175 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16176 support. Rearrange tmp reg use to suit. Comment.
16177 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16179 2013-10-04 Alan Modra <amodra@gmail.com>
16181 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16183 2013-10-04 Alan Modra <amodra@gmail.com>
16185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16186 conditional form of branch and link when obtaining pc.
16187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16189 2013-10-04 Alan Modra <amodra@gmail.com>
16191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16196 2013-10-04 Alan Modra <amodra@gmail.com>
16198 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16199 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16200 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16201 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16202 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16203 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16204 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16205 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16206 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16207 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16209 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16210 Alistair Popple <alistair@ozlabs.au.ibm.com>
16211 Alan Modra <amodra@gmail.com>
16214 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16215 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16216 _dl_hwcap access for little-endian.
16217 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16218 destroy vmx regs when saving unaligned.
16219 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16220 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16221 destroy vmx regs when saving unaligned.
16223 2013-10-04 Alan Modra <amodra@gmail.com>
16225 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16226 Don't use a union to pack hi/low value.
16228 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16230 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16232 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16233 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16234 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16235 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16236 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16238 2013-10-04 Alan Modra <amodra@gmail.com>
16240 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16241 constants to usual value for .cst8 section, and remove redundant
16243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16244 constant for 0x1p52. Load little-endian words of double from
16245 correct stack offsets.
16247 2013-10-04 Alan Modra <amodra@gmail.com>
16249 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16250 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16251 words of double from correct stack offsets.
16252 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16253 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16254 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16255 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16256 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16259 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16260 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16261 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16262 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16263 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16264 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16265 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16266 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16267 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16268 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16270 2013-10-04 Alan Modra <amodra@gmail.com>
16272 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16273 64-bit int/double union.
16274 (_FPU_SETCW): Likewise.
16275 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16276 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16278 2013-10-04 Alan Modra <amodra@gmail.com>
16280 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16281 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16283 2013-10-04 Alan Modra <amodra@gmail.com>
16285 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16286 use vector int constants.
16287 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16289 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16291 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16292 array with long long.
16293 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16294 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16295 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16296 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16297 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16298 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16299 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16300 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16301 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16302 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16303 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16304 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16305 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16307 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16309 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16310 (__signbit): Likewise. Correct for little-endian.
16311 (__signbitl): Call __signbit.
16312 (lrint): Correct for little-endian.
16313 (lrintf): Call lrint.
16315 2013-10-04 Alan Modra <amodra@gmail.com>
16317 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16318 union 32-bit int array member with 64-bit int array.
16319 (t515, tm256): Double rather than long double.
16320 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16322 2013-10-04 Alan Modra <amodra@gmail.com>
16324 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16326 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16328 version of math_ldbl.h.
16330 2013-10-04 Alan Modra <amodra@gmail.com>
16332 [BZ #15734], [BZ #15735]
16333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16334 all uses of ieee875 long double macros and unions. Simplify test
16335 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16336 ldbl_extract_mantissa value for ix,iy exponents. Properly
16337 normalize after ldbl_extract_mantissa, and don't add hidden bit
16338 already handled. Don't treat low word of ieee854 mantissa like
16339 low word of IBM long double and mask off bit when testing for
16341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16342 all uses of ieee875 long double macros and unions. Simplify tests
16343 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16344 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16345 two1022, instead use their values. Recognise that tests for large
16346 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16348 Rewrite all uses of ieee875 long double macros and unions. Simplify
16349 test for 0.0L and nan. Correct negation.
16350 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16351 ieee875 long double macros and unions. Correct output for large
16352 magnitude x. Correct absolute value calculation.
16353 (__erfcl): Likewise.
16354 * math/libm-test.inc: Add tests for errors discovered in IBM long
16355 double versions of fmodl, remainderl, erfl and erfcl.
16357 2013-10-04 Alan Modra <amodra@gmail.com>
16359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16360 all uses of ieee854 long double macros and unions. Simplify tests
16361 for long doubles that are fully specified by the high double.
16362 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16364 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16365 Remove dead code too.
16366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16367 (__ieee754_ynl): Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16371 Remove dead code too.
16372 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16377 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16379 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16380 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16381 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16382 Comment on variable precision.
16383 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16384 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16386 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16387 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16388 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16390 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16392 2013-10-04 Alan Modra <amodra@gmail.com>
16394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16395 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16396 all uses of ieee854 long double macros and unions.
16397 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16399 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16401 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16402 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16404 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16405 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16406 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16408 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16409 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16410 Simplify sign and nan test too.
16411 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16416 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16417 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16419 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16421 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16422 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16426 2013-10-04 Alan Modra <amodra@gmail.com>
16428 * stdio-common/printf_size.c (__printf_size): Don't use
16429 union ieee854_long_double in fpnum union.
16430 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16431 signbit macro to retrieve sign from long double.
16432 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16433 retrieve sign from long double.
16434 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16435 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16436 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16437 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16438 * math/test-misc.c (main): Don't use union ieee854_long_double.
16440 2013-10-04 Alan Modra <amodra@gmail.com>
16443 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16444 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16445 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16446 calculation. Remove unnecessary test for denormal exponent.
16447 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16448 Correct handling of denormals. Avoid undefined shift behaviour.
16449 Correct normalisation of low mantissa when low double is denormal.
16450 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16451 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16452 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16453 Correct normalisation of low mantissa. Test for overflow of high
16454 mantissa and normalise.
16455 (ldbl_nearbyint): Use more readable constant for two52.
16456 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16457 (__mpn_construct_long_double): Fix test for overflow of high
16458 mantissa and correct normalisation. Avoid undefined shift.
16460 2013-10-04 Alan Modra <amodra@gmail.com>
16462 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16463 (union ibm_extended_long_double): Define as an array of ieee754_double.
16464 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16465 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16466 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16467 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16469 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16471 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16472 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16473 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16474 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16476 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16478 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16479 page size instead of calling getpagesize.
16481 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16482 (LOCFILE_ALIGN_MASK): Likewise.
16483 (LOCFILE_ALIGN_UP): Likewise.
16484 (LOCFILE_ALIGNED_P): Likewise.
16485 * locale/programs/ld-collate.c (collate_output): Use the new
16486 macros instead of __alignof__ (int32_t).
16487 * locale/weight.h (findidx): Likewise.
16489 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16492 * manual/string.texi: Fix strncat and wcsncat.
16494 2013-10-03 Brooks Moses <bmoses@google.com>
16497 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16498 * Makerules: ...here, and adjust associated comments.
16500 2013-10-02 Will Newton <will.newton@linaro.org>
16502 * malloc/Makefile: Add tst-pvalloc.
16503 * malloc/tst-pvalloc.c: New file.
16505 2013-10-02 Will Newton <will.newton@linaro.org>
16507 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16508 improve test coverage.
16510 2013-10-02 Will Newton <will.newton@linaro.org>
16512 * malloc/Makefile: Add tst-posix_memalign.
16513 * malloc/tst-posix_memalign.c: New file.
16515 2013-10-01 Eric Blake <eblake@redhat.com>
16517 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16518 Use __THROWNL rather than __THROW on static functions.
16520 2013-09-30 Petr Machata <pmachata@redhat.com>
16522 * elf/elf.h (R_AARCH64_ABS16): New macro.
16523 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16524 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16525 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16526 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16527 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16528 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16529 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16530 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16531 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16532 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16533 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16534 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16535 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16536 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16537 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16538 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16539 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16540 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16541 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16542 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16543 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16544 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16545 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16546 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16547 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16548 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16549 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16550 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16551 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16552 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16553 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16554 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16555 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16556 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16557 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16558 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16559 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16560 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16561 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16562 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16563 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16564 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16565 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16566 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16567 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16568 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16569 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16570 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16571 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16572 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16573 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16574 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16575 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16576 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16577 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16578 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16579 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16580 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16581 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16582 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16583 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16584 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16585 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16586 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16587 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16588 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16589 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16590 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16591 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16592 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16593 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16594 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16595 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16596 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16597 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16598 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16599 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16600 (R_AARCH64_TLSDESC_LDR): Likewise.
16601 (R_AARCH64_TLSDESC_ADD): Likewise.
16602 (R_AARCH64_TLSDESC_CALL): Likewise.
16604 2013-09-30 Andreas Schwab <schwab@suse.de>
16607 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16608 the nss database lookup.
16609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16612 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16614 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16616 2013-09-28 P. J. McDermott <pj@pehjota.net>
16618 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16619 ${Bash-specific parameter/pattern/string} parameter expansion.
16620 * sysdeps/unix/make-syscalls.sh: Likewise.
16622 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16624 * sysdeps/sh/stackguard-macros.h: New file.
16626 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16630 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16631 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16632 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16633 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16635 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16637 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16638 Fix thread ID register.
16640 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16642 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16643 [POSIX || UNIX98]: Require rather than permitting all symbols from
16645 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16646 element of struct sched_param.
16647 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16648 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16649 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16650 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16653 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16655 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16656 argument calculation.
16658 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16660 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16662 [POSIX] (pthread_attr_t): Do not require type.
16663 [POSIX] (pthread_cond_t): Likewise.
16664 [POSIX] (pthread_condattr_t): Likewise.
16665 [POSIX] (pthread_key_t): Likewise.
16666 [POSIX] (pthread_mutex_t): Likewise.
16667 [POSIX] (pthread_mutexattr_t): Likewise.
16668 [POSIX] (pthread_once_t): Likewise.
16669 [POSIX] (pthread_t): Likewise.
16670 [POSIX-based standards] (pthread_atfork): Expect function.
16672 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16673 Richard Sandiford <richard@codesourcery.com>
16675 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16676 (swap_endianness_p): New extern variable.
16677 (set_big_endian): New inline function.
16678 (maybe_swap_uint32): Likewise.
16679 (maybe_swap_uint32_array): Likewise.
16680 (maybe_swap_uint32_obstack): Likewise.
16681 * locale/programs/locfile.c: Include <stdbool.h>.
16682 (swap_endianness_p): New variable.
16683 (add_locale_uint32): Call maybe_swap_uint32.
16684 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16685 (write_locale_data): Call maybe_swap_uint32_array.
16686 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16688 (obstack_int32_grow_fast): Likewise.
16689 (output_weightwc): Call maybe_swap_uint32_obstack.
16690 (collate_output): Likewise.
16691 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16692 (OPT_LITTLE_ENDIAN): Likewise.
16693 (options): Add --little-endian and --big-endian options.
16694 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16695 * locale/programs/locarchive.c: Include "locfile.h".
16699 (create_archive): Use the new macros to access fields of
16700 structures directly mapped from or written to locale archives.
16701 (oldlocrecentcmp): Likewise.
16702 (enlarge_archive): Likewise.
16703 (insert_name): Likewise.
16704 (add_alias): Likewise.
16705 (add_locale): Likewise.
16706 (delete_locales_from_archive): Likewise.
16707 (show_archive_content): Likewise.
16708 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16711 2013-09-24 Roland McGrath <roland@hack.frob.com>
16713 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16714 http://www.gnu.org/doc/freemanuals.texi.
16715 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16717 2013-09-24 Will Newton <will.newton@linaro.org>
16719 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16722 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16724 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16727 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16729 * manual/threads.texi (POSIX Threads): Fix a typo.
16731 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16734 * string/tst-strcoll-overflow.c: New test case.
16735 * string/Makefile (xtests): Add tst-strcoll-overflow.
16736 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16737 cache if string sizes may cause integer overflow.
16740 * string/strcoll_l.c (coll_seq): New members rule, idx,
16741 save_idx and back_us.
16742 (get_next_seq_nocache): New function.
16743 (do_compare_nocache): New function.
16744 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16747 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16750 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16751 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16752 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16755 * elf/Makefile (tests): Add tst-ptrguard1.
16756 (tests-static): Add tst-ptrguard1-static.
16757 (tst-ptrguard1-ARGS): Define.
16758 (tst-ptrguard1-static-ARGS): Define.
16759 * elf/tst-ptrguard1.c: New file.
16760 * elf/tst-ptrguard1-static.c: New file.
16761 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16762 * sysdeps/i386/stackguard-macros.h: Likewise.
16763 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16764 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16765 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16766 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16767 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16768 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16770 2013-09-23 Hector Marco <hecmargi@upv.es>
16771 Ismael Ripoll <iripoll@disca.upv.es>
16772 Carlos O'Donell <carlos@redhat.com>
16775 * sysdeps/generic/stackguard-macros.h: Define
16776 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16777 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16778 Define __pointer_chk_guard_local.
16779 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16780 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16782 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16785 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16787 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16789 * include/string.h (__ffs): Declare as hidden.
16790 * string/ffs.c (__ffs): Define as hidden.
16791 * sysdeps/i386/ffs.c (__ffs): Likewise.
16792 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16793 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16794 * sysdeps/s390/ffs.c (__ffs): Likewise.
16795 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16797 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16799 * NEWS: Mention malloc probes.
16801 * malloc/arena.c (new_heap): New memory_heap_new probe.
16802 (grow_heap): New memory_heap_more probe.
16803 (shrink_heap): New memory_heap_less probe.
16804 (heap_trim): New memory_heap_free probe.
16805 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16806 (systrim): New memory_sbrk_less probe.
16807 * manual/probes.texi: Document them.
16809 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16810 * manual/probes.texi: Document it.
16812 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16813 (__libc_realloc): Add memory_realloc_retry probe.
16814 (__libc_memalign): Add memory_memalign_retry probe.
16815 (__libc_valloc): Add memory_valloc_retry probe.
16816 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16817 (__libc_calloc): Add memory_calloc_retry probe.
16818 * manual/probes.texi: Document them.
16820 * malloc/arena.c (get_free_list): Add probe
16821 memory_arena_reuse_free_list.
16822 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16823 and memory_arena_reuse.
16824 (arena_get2) [!PER_THREAD]: Likewise.
16825 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16826 memory_arena_reuse_realloc.
16827 * manual/probes.texi: Document them.
16829 * malloc/malloc.c (__libc_free): Add
16830 memory_mallopt_free_dyn_thresholds probe.
16831 (__libc_mallopt): Add multiple memory_mallopt probes.
16832 * manual/probes.texi: Document them.
16834 * malloc/malloc.c: Include stap-probe.h.
16835 (__libc_mallopt): Add memory_mallopt probe.
16836 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16837 * manual/probes.texi: New.
16838 * manual/Makefile (chapters): Add probes.
16839 * manual/threads.texi: Set next node.
16841 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16843 [BZ #15963, #13985]
16844 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16845 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16846 Add `Chinese' to `nan' entry name.
16848 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16850 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16851 (POLYNOMIAL): Likewise.
16852 (TAYLOR_SINCOS): Likewise.
16853 (TAYLOR_SLOW): Likewise.
16854 (__sin): Use TAYLOR_SINCOS.
16856 (slow): Use TAYLOR_SLOW.
16858 (bsloww): Likewise.
16859 (csloww): Likewise.
16861 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16863 * stdlib/strtod_l.c: Fix buffer overrun.
16865 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16867 * benchtests/Makefile (bench): Add sincos.
16868 * benchtests/bench-sincos.c: New file.
16870 * math/libm-test.inc (cos_test_data): New test inputs.
16871 (sin_test_data): Likewise.
16873 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16879 (sloww1): Likewise.
16880 (sloww2): Likewise.
16881 (bsloww1): Likewise.
16882 (bsloww2): Likewise.
16883 (cslow2): Likewise.
16884 (csloww1): Likewise.
16885 (csloww2): Likewise.
16887 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16896 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16898 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16899 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16900 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16901 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16902 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16903 * elf/cache.c (print_entry): Handle the new cache flags.
16905 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16906 Aldy Hernandez <aldyh@redhat.com>
16908 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16909 Change condition to [_SOFT_FLOAT].
16910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16922 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16925 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16928 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16930 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16931 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16932 (__longjmp): Use LOAD_GP to load saved GPRs.
16933 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16934 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16935 (__sigsetjmp): Use SAVE_GP to save GPRs.
16937 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16938 Do not append -msoft-float.
16939 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16941 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16943 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16945 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16948 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16949 (_FPU_GETCW): Use initial "__" on variable and field names but not
16950 on macro parameter name.
16951 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16952 parentheses around reference to macro parameter.
16954 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16956 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16958 (ctype_startup): Use uint32_t in cast and sizeof for
16961 2013-09-11 Jia Liu <proljc@gmail.com>
16963 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16965 [__FreeBSD__]: Likewise.
16967 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16970 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16971 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16972 (strchr): Remove __strchr_sse42 ifunc selection.
16973 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16974 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16976 2013-09-11 Will Newton <will.newton@linaro.org>
16978 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16979 parameter to RES. Remove hardcoded 1000 value.
16980 * benchtests/bench-skeleton.c (main): Pass RES parameter
16981 to TIMING_INIT and multiply result by 1000.
16983 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16987 2013-09-11 Andreas Schwab <schwab@suse.de>
16989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16991 (O_TMPFILE) [__USE_GNU]: Define.
16992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16995 2013-09-11 Will Newton <will.newton@linaro.org>
16998 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17001 2013-09-11 Will Newton <will.newton@linaro.org>
17004 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17007 2013-09-11 Will Newton <will.newton@linaro.org>
17010 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17013 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17015 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17017 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17018 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17019 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17021 2013-09-10 Allan McRae <allan@archlinux.org>
17024 * manual/arith.texi (Parsing of Floats): Clarify
17028 * manual/install.texi (Running make install): Mention
17030 * INSTALL: Regenerated.
17032 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17034 * csu/init-first.c (_init): Remove the !SHARED condition around
17035 FPU control word initialization.
17036 * elf/dl-support.c (_dl_fpu_control): New variable.
17037 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17038 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17039 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17040 * math/test-fpucw-static.c: New file.
17041 * math/test-fpucw-ieee.c: New file.
17042 * math/test-fpucw-ieee-static.c: New file.
17043 * math/Makefile (tests): Add `test-fpucw-ieee' and
17045 (tests-static): New variable.
17046 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17048 [($(build-shared),yes)]
17049 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17051 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17054 2013-09-09 Allan McRae <allan@archlinux.org>
17057 * manual/string.texi (Collation Functions): Fix typo in
17059 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17062 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17065 * libio/memstream.c (open_memstream): Fix memory leak.
17066 * libio/wmemstream.c (open_wmemstream): Likewise.
17069 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17071 2013-09-09 Will Newton <will.newton@linaro.org>
17073 * malloc/Makefile: Add tst-realloc to tests.
17074 * malloc/tst-realloc.c: New file.
17076 2013-09-09 Allan McRae <allan@archlinux.org>
17079 * COPYING: Update from GNU website to fix FSF address.
17080 * COPYING.LIB: Likewise.
17082 2013-09-06 David S. Miller <davem@davemloft.net>
17084 * po/zh_TW.po: Update Chinese (traditional) translation from
17085 translation project.
17087 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17088 Joseph Myers <joseph@codesourcery.com>
17090 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17092 (obstack_chunk_alloc): New macro.
17093 (obstack_chunk_free): Likewise.
17094 (record_offset): New function.
17095 (init_locale_data): Likewise.
17096 (align_locale_data): Likewise.
17097 (add_locale_empty): Likewise.
17098 (add_locale_raw_data): Likewise.
17099 (add_locale_raw_obstack): Likewise.
17100 (add_locale_string): Likewise.
17101 (add_locale_wstring): Likewise.
17102 (add_locale_uint32): Likewise.
17103 (add_locale_uint32_array): Likewise.
17104 (add_locale_char): Likewise.
17105 (start_locale_structure): Likewise.
17106 (end_locale_structure): Likewise.
17107 (start_locale_prelude): Likewise.
17108 (end_locale_prelude): Likewise.
17109 (write_locale_data): Take locale_file structure rather than an
17111 * locale/programs/locfile.h: Include "obstack.h".
17112 (struct locale_file): Change to store locale file contents instead
17114 (init_locale_data): New prototype.
17115 (align_locale_data): Likewise.
17116 (add_locale_empty): Likewise.
17117 (add_locale_raw_data): Likewise.
17118 (add_locale_raw_obstack): Likewise.
17119 (add_locale_string): Likewise.
17120 (add_locale_wstring): Likewise.
17121 (add_locale_uint32): Likewise.
17122 (add_locale_uint32_array): Likewise.
17123 (add_locale_char): Likewise.
17124 (start_locale_structure): Likewise.
17125 (end_locale_structure): Likewise.
17126 (start_locale_prelude): Likewise.
17127 (end_locale_prelude): Likewise.
17128 (write_locale_data): Update prototype.
17129 * locale/programs/3level.h (struct TABLE): Remove result field.
17130 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17131 Use new locale_file interface.
17132 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17133 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17134 * locale/programs/ld-address.c (address_output): Use new
17135 locale_file interface.
17136 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17138 (collate_finish): Don't call collseq_table_finalize.
17139 (collate_output): Use new locale_file interface.
17140 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17142 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17143 (TABLE): Move defines earlier in file.
17144 (ELEMENT): Likewise.
17145 (DEFAULT): Likewise.
17146 (wctrans_table_add): Move macro and inline function earlier in
17148 (struct wctype_table): Move type earlier in file.
17149 (add_locale_wctype_table): New static prototype.
17150 (struct locale_ctype_t): Use logical types instead of struct iovec
17151 pointers for members.
17152 (ctype_output): Use new locale_file interface.
17153 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17154 new locale_file interface.
17155 (allocate_arrays): Update for use of new locale_file interface.
17156 * locale/programs/ld-identification.c (identification_output): Use
17157 new locale_file interface.
17158 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17159 * locale/programs/ld-messages.c (messages_output): Likewise.
17160 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17161 * locale/programs/ld-name.c (name_output): Likewise.
17162 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17163 * locale/programs/ld-paper.c (paper_output): Likewise.
17164 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17165 * locale/programs/ld-time.c (time_output): Likewise.
17167 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17169 * benchtests/Makefile: Add memrchr benchmark.
17170 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17171 benchmark as memrchr.
17172 * benchtests/bench-memrchr-ifunc.c: New file.
17173 * benchtests/bench-memrchr.c: New file.
17175 2013-09-06 Will Newton <will.newton@linaro.org>
17177 * benchtests/Makefile (string-bench): Add memcpy.
17179 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17180 Cong Wang <amwang@redhat.com>
17183 * sysdeps/unix/sysv/linux/bits/in.h
17184 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17185 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17186 before __USE_KERNEL_IPV6_DEFS uses.
17187 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17189 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17190 sockaddr_in6, or ipv6_mreq.
17192 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17194 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17195 memory access for final bytes in some large inputs.
17196 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17198 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17200 * string/test-memrchr.c: New file.
17201 * string/test-memrchr-ifunc.c: New file.
17202 * string/Makefile: Add new memrchr testcase.
17204 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17206 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17207 fanotify_init returns EPERM.
17209 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17211 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17213 (top level): Treat second token from macro or constant entries for
17214 allowed headers as allowed.
17215 * include/complex.h: Condition internal declarations on
17217 * include/fenv.h: Condition include of <stdbool.h> and internal
17218 declarations on [!_ISOMAC].
17220 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17223 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17225 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17227 * configure.in (--enable-versioning): Remove configure option.
17228 (libc_cv_asm_symver_directive): Remove configure test.
17229 (libc_cv_ld_version_script_option): Likewise.
17230 (VERSIONING): Remove variable and AC_SUBST.
17231 (DO_VERSIONING): Remove AC_DEFINE.
17232 * configure: Regenerated.
17233 * config.h.in (DO_VERSIONING): Remove macro.
17234 * Makerules [$(versioning) = yes]: Change conditionals to
17235 [$(build-shared) = yes].
17236 * config.make.in (versioning): Remove variable.
17237 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17238 [$(build-shared) = yes].
17239 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17240 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17241 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17242 [$(build-shared) = yes].
17243 * extra-lib.mk [$(versioning) = yes]: Likewise.
17244 * hurd/Makefile [$(versioning) = yes]: Likewise.
17245 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17247 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17249 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17250 [SHARED && !NO_HIDDEN].
17251 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17253 [SHARED && DO_VERSIONING]: Likewise..
17254 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17255 [$(build-shared) = yes].
17256 * manual/install.texi (--disable-versioning): Remove
17258 * INSTALL: Regenerated.
17259 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17261 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17262 [$(build-shared) = yes].
17263 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17264 * sysdeps/i386/i686/multiarch/strstr-c.c
17265 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17266 [SHARED && !NO_HIDDEN].
17267 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17268 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17269 * sysdeps/powerpc/powerpc32/dl-machine.c
17270 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17271 * sysdeps/powerpc/powerpc32/sysdep.h
17272 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17273 to [SHARED && PIC && !NO_HIDDEN].
17274 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17275 conditional to [SHARED].
17277 2013-09-04 Will Newton <will.newton@linaro.org>
17279 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17280 * benchtests/bench-string.h: Include bench-timing.h instead
17281 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17282 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17283 call to HP_TIMING_DIFF_INIT.
17284 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17285 instead of hp-timing.h macros.
17286 * benchtests/bench-memchr.c: Likewise.
17287 * benchtests/bench-memcmp.c: Likewise.
17288 * benchtests/bench-memcpy.c: Likewise.
17289 * benchtests/bench-memmem.c: Likewise.
17290 * benchtests/bench-memmove.c: Likewise.
17291 * benchtests/bench-memset.c: Likewise.
17292 * benchtests/bench-rawmemchr.c: Likewise.
17293 * benchtests/bench-strcasecmp.c: Likewise.
17294 * benchtests/bench-strcasestr.c: Likewise.
17295 * benchtests/bench-strcat.c: Likewise.
17296 * benchtests/bench-strchr.c: Likewise.
17297 * benchtests/bench-strcmp.c: Likewise.
17298 * benchtests/bench-strcpy.c: Likewise.
17299 * benchtests/bench-strcpy_chk.c: Likewise.
17300 * benchtests/bench-strlen.c: Likewise.
17301 * benchtests/bench-strncasecmp.c: Likewise.
17302 * benchtests/bench-strncat.c: Likewise.
17303 * benchtests/bench-strncmp.c: Likewise.
17304 * benchtests/bench-strncpy.c: Likewise.
17305 * benchtests/bench-strnlen.c: Likewise.
17306 * benchtests/bench-strpbrk.c: Likewise.
17307 * benchtests/bench-strrchr.c: Likewise.
17308 * benchtests/bench-strspn.c: Likewise.
17309 * benchtests/bench-strstr.c: Likewise.
17311 2013-09-04 Will Newton <will.newton@linaro.org>
17313 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17315 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17318 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17319 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17320 * math/libm-test.inc (lgamma_test_data): Add more tests.
17321 * sysdeps/i386/fpu/libm-test-ulps: Update.
17322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17326 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17330 Add strcmp-sse2-unaligned
17331 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17333 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17335 * Versions.def (libc): Add GLIBC_2.19.
17337 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17339 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17340 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17342 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17345 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17346 intermediate calculations in recurrence.
17347 (__ieee754_ynf): Likewise.
17348 * math/libm-test.inc (jn_test_data): Do not allow spurious
17349 underflow exception. Add more tests.
17350 (yn_test_data): Add more tests.
17351 * sysdeps/i386/fpu/libm-test-ulps: Update.
17352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17354 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17356 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17358 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17360 * csu/init-first.c: Fix then/than typos.
17361 * locale/programs/ld-collate.c: Likewise.
17362 * locale/programs/linereader.h: Likewise.
17363 * manual/charset.texi: Likewise.
17364 * manual/filesys.texi: Likewise.
17365 * manual/stdio.texi: Likewise.
17366 * manual/string.texi: Likewise.
17367 * stdlib/fmtmsg.c: Likewise.
17368 * sysdeps/i386/stpncpy.S: Likewise.
17369 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17370 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17371 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17372 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17374 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17376 * elf/dl-open.c: Fix typos.
17377 * iconvdata/gbbig5.c: Likewise.
17378 * iconvdata/iso-2022-jp.c: Likewise.
17379 * iconv/gconv_int.h: Likewise.
17380 * iconv/loop.c: Likewise.
17381 * nis/rpcsvc/nis.h: Likewise.
17382 * resolv/ns_name.c: Likewise.
17383 * stdio-common/vfscanf.c: Likewise.
17384 * streams/stropts.h: Likewise.
17385 * sunrpc/rpc_thread.c: Likewise.
17386 * sysdeps/i386/strpbrk.S: Likewise.
17387 * sysdeps/ieee754/k_standard.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17390 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17391 * sysdeps/mach/hurd/profil.c: Likewise.
17392 * sysdeps/s390/dl-procinfo.h: Likewise.
17393 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17394 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17395 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17396 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17397 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17399 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17401 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17404 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17406 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17407 aix specific files.
17408 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17409 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17410 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17411 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17412 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17413 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17414 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17415 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17417 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17418 Roland McGrath <roland@hack.frob.com>
17420 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17421 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17423 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17425 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17426 __executable_start symbol instead of _start.
17428 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17430 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17431 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17433 * sysdeps/gnu/ldsodefs.h: ... this new file.
17435 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17436 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17437 instead of ELFOSABI_LINUX.
17439 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17440 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17441 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17442 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17444 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17445 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17446 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17448 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17449 (ibm_extended_long_double): Add ieee_nan member.
17450 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17451 (do_test): New function.
17453 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17455 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17456 functions, renamed from truncdfsf_test, trunctfsf_test,
17458 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17460 (do_test): Run all these.
17462 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17464 * argp/argp-help.c: Fix typos.
17465 * argp/argp-parse.c: Likewise.
17466 * debug/backtracesyms.c: Likewise.
17467 * elf/elf.h: Likewise.
17468 * malloc/malloc.c: Likewise.
17469 * nis/nis_print.c: Likewise.
17470 * resolv/res_comp.c: Likewise.
17471 * stdlib/stdlib.h: Likewise.
17472 * sunrpc/clnt_tcp.c: Likewise.
17473 * sunrpc/clnt_udp.c: Likewise.
17474 * sunrpc/clnt_unix.c: Likewise.
17475 * sysdeps/unix/bsd/ptsname.c: Likewise.
17476 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17484 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17486 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17488 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17491 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17494 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17495 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17496 ($(objpfx)bug-dl-leaf): New rule.
17497 ($(objpfx)bug-dl-leaf.so): Likewise.
17498 ($(objpfx)bug-dl-leaf.out): Likewise.
17499 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17500 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17501 * dlfcn/bug-dl-leaf.c: New test.
17502 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17503 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17504 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17505 (dlclose): Likewise.
17506 (dlmopen): Likewise.
17508 2013-08-27 Roland McGrath <roland@hack.frob.com>
17510 * include/netdb.h [!_ISOMAC]:
17511 Don't include <tls.h>.
17512 (h_errno, __libc_h_errno): Move declaration and macros out of
17515 * include/resolv.h [_RESOLV_H_]:
17516 Don't include <tls.h>.
17517 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17518 * resolv/res_libc.c: Don't include <tls.h>.
17519 (_res): Use __attribute__ ((nocommon)) in place of
17520 __attribute__ ((section (".bss"))).
17522 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17523 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17525 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17527 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17528 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17530 * resolv/res_mkquery.c: Include <sys/time.h>.
17532 * inet/ifreq.c: Moved to ...
17533 * sysdeps/unix/ifreq.c: ... here.
17534 * inet/ifreq.c: New file, true stub version.
17536 * socket/sa_len.c: New file.
17537 * socket/Makefile (aux): Add it.
17538 * sysdeps/unix/sysv/linux/Makefile
17539 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17540 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17541 and #include <socket/sa_len.c>.
17542 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17543 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17545 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17546 * bits/socket.h: ... here.
17548 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17549 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17550 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17552 2013-08-27 Andreas Schwab <schwab@suse.de>
17555 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17556 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17557 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17558 * string/test-strcasecmp.c (test_main): Run tests in several
17560 * string/test-strncasecmp.c (test_main): Likewise.
17562 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17563 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17564 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17566 (__strncasecmp_ssse3) [PIC]: Likewise.
17568 2013-08-26 Roland McGrath <roland@hack.frob.com>
17570 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17572 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17573 instead of explicitly declaring xdecrypt.
17574 * nis/nss_nis/nis-publickey.c: Likewise.
17576 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17579 * nscd/aicache.c: Include res_hconf.h.
17580 (addhstaiX): Initialize res_hconf.
17582 2013-08-26 Andreas Schwab <schwab@suse.de>
17584 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17585 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17587 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17589 * nscd/aicache.c (addhstaiX): Fix indentation.
17591 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17593 * configure.ac: Quote $build_pt_chown test.
17594 * configure: Regenerated.
17596 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17599 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17600 * math/s_cexpf.c (__cexpf): Likewise.
17601 * math/s_cexpl.c (__cexpl): Likewise.
17602 * math/libm-test.inc (cexp_test_data): Correct expected return
17603 value for NaN + i0. Add another test.
17605 2013-08-22 David S. Miller <davem@davemloft.net>
17607 * po/ca.po: Update Catalan translation from translation project.
17608 * po/uk.po: Add Ukrainian translations from translation project.
17610 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17613 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17614 is infinite, not alongside NaN test.
17615 * math/s_fdimf.c (__fdimf): Likewise.
17616 * math/s_fdiml.c (__fdiml): Likewise.
17617 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17618 errno is unchanged.
17620 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17622 * argp/argp-help.c: Fix typos.
17623 * crypt/speeds.c: Likewise.
17624 * csu/check_fds.c: Likewise.
17625 * elf/dl-load.c: Likewise.
17626 * elf/dl-open.c: Likewise.
17627 * elf/reldep3.c: Likewise.
17628 * elf/reldep.c: Likewise.
17629 * elf/sprof.c: Likewise.
17630 * iconv/iconv_charmap.c: Likewise.
17631 * iconv/skeleton.c: Likewise.
17632 * iconv/strtab.c: Likewise.
17633 * io/lockf64.c: Likewise.
17634 * libio/libioP.h: Likewise.
17635 * resolv/gai_notify.c: Likewise.
17636 * resolv/ns_name.c: Likewise.
17637 * resolv/ns_samedomain.c: Likewise.
17638 * resolv/res_send.c: Likewise.
17639 * stdlib/random.c: Likewise.
17640 * sunrpc/rpc/xdr.h: Likewise.
17641 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17642 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17643 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17644 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17645 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17649 * sysdeps/mach/hurd/check_fds.c: Likewise.
17650 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17651 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17652 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17653 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17654 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17655 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17656 * sysdeps/pthread/aio_notify.c: Likewise.
17657 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17658 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17659 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17660 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17661 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17663 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17665 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17666 version if bit_Slow_SSE4_2 is set.
17667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17668 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17670 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17673 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17674 trampoline stack frame information.
17675 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17676 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17677 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17678 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17679 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17680 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17681 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17682 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17684 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17685 interrupting a syscall and set with option SA_SIGINFO.
17687 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17690 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17691 argument is infinite.
17692 * math/s_cprojf.c (__cprojf): Likewise.
17693 * math/s_cprojl.c (__cprojl): Likewise.
17694 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17695 * math/libm-test.inc (cproj_test_data): Add more tests.
17697 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17699 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17700 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17701 size. Use __ffs to determine corresponding shift.
17703 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17704 Roland McGrath <roland@hack.frob.com>
17706 * Makefile (INSTALL): Remove trailing blank lines from output of
17709 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17711 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17712 Align 32 bit compat elf_greg to 8 bytes.
17714 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17716 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17718 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17720 * string/strcoll_l.c (coll_seq): New structure.
17721 (get_next_seq_cached): New function.
17722 (get_next_seq): New function.
17723 (do_compare): New function.
17724 (STRCOLL): Use GNU style definition. Simplify implementation
17725 by using get_next_seq, get_next_seq_cached and do_compare.
17727 2013-08-16 Florian Weimer <fweimer@redhat.com>
17731 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17733 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17735 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17736 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17737 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17739 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17740 GETDENTS_64BIT_ALIGNED.
17741 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17742 * manual/filesys.texi (Reading/Closing Directory): Document
17743 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17745 * manual/conf.texi (Limits for Files): Add portability note to
17746 NAME_MAX, PATH_MAX.
17747 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17749 2013-08-13 Andreas Schwab <schwab@suse.de>
17752 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17754 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17755 LDBL_MAX_EXP >= 16384]: Add tests for it.
17757 2013-08-12 David S. Miller <davem@davemloft.net>
17759 * version.h (RELEASE): Set to "development".
17760 (VERSION): Set to "2.18.90".
17761 * NEWS: Add 2.19 section.
17763 2013-08-03 David S. Miller <davem@davemloft.net>
17765 * po/ko.po: Update Korean translation from translation project.
17767 2013-08-01 David S. Miller <davem@davemloft.net>
17769 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17770 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17773 2013-07-30 David S. Miller <davem@davemloft.net>
17775 * po/fr.po: Update French translation from translation project.
17777 2013-07-28 David S. Miller <davem@davemloft.net>
17779 * po/cs.po: Update Czech translation from translation project.
17781 * po/sv.po: Update Swedish translation from translation project.
17783 2013-07-27 David S. Miller <davem@davemloft.net>
17785 * po/eo.po: Update Esperanto translation from translation project.
17787 * po/vi.po: Update Vietnamese translation from translation project.
17789 * po/de.po: Update German translation from translation project.
17791 2013-07-26 David S. Miller <davem@davemloft.net>
17793 * po/bg.po: Update Bulgarian translation from translation project.
17795 * po/nl.po: Update Dutch translation from translation project.
17796 * po/pl.po: Update Polish translation from translation project.
17797 * po/ru.po: Update Russian translation from translation project.
17799 2013-07-24 David S. Miller <davem@davemloft.net>
17801 * po/libc.pot: Update.
17803 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17805 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17806 variable page size.
17807 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17809 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17811 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17813 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17815 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17816 Andreas Schwab <schwab@suse.de>
17817 Roland McGrath <roland@hack.frob.com>
17818 Joseph Myers <joseph@codesourcery.com>
17819 Carlos O'Donell <carlos@redhat.com>
17822 * config.h.in: Define HAVE_PT_CHOWN.
17823 * config.make.in (build-pt-chown): New variable.
17824 * configure.in (--enable-pt_chown): New configure option.
17825 * configure: Regenerate.
17826 * login/Makefile: Include Makeconfig. Build pt_chown only if
17827 build-pt-chown is enabled.
17828 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17829 pt_chown to fix pty ownership.
17830 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17832 * manual/install.texi (Configuring and compiling): Mention
17833 --enable-pt_chown. Add @findex for grantpt.
17834 * INSTALL: Regenerate.
17836 2013-07-20 David S. Miller <davem@davemloft.net>
17838 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17839 difference between 32-bit and 64-bit.
17841 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17844 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17845 Avoid system header dependency with -ffreestanding.
17846 ($(objpfx)bits/syscall%d): Likewise.
17848 2013-07-13 David S. Miller <davem@davemloft.net>
17850 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17851 underflows from atanl/atan2l due to bug 15319.
17852 (casinh_test_data): Likewise.
17854 2013-07-07 David S. Miller <davem@davemloft.net>
17856 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17858 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17860 * sysdeps/i386/fpu/libm-test-ulps: Update.
17861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17863 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17865 * configure.in (--enable-lock-elision): Fix message text.
17866 * INSTALL: Regenerate.
17867 * configure: Regenerate.
17869 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17873 2013-07-03 Andreas Jaeger <aj@suse.de>
17875 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17877 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17878 (ptrace_peeksiginfo_args): Add.
17879 (__ptrace_peeksiginfo_flags): Add.
17880 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17882 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17884 2013-07-03 Allan McRae <allan@archlinux.org>
17886 * sysdeps/i386/fpu/libm-test-ulps: Update.
17888 2013-07-02 David S. Miller <davem@davemloft.net>
17890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17892 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17896 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17898 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17901 2013-07-02 Andi Kleen <ak@linux.intel.com>
17903 * config.h.in (ENABLE_LOCK_ELISION): Add.
17904 * configure.in (--enable-lock-elision): Add option.
17905 * manual/install.texi: Document --enable lock elision.
17906 * configure: Regenerate
17907 * INSTALL: Regenerate.
17909 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17911 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17912 SSE4.2 strcasecmp for libc.a.
17913 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17915 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17918 * soft-fp/op-common.h (_FP_FMA): New macro.
17919 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17920 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17921 (_FP_MUL_MEAT_1_imm): ... here.
17922 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17923 (_FP_MUL_MEAT_1_wide): ... here.
17924 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17925 (_FP_MUL_MEAT_1_hard): ... here.
17926 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17927 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17928 (_FP_MUL_MEAT_2_wide): ... here.
17929 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17930 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17931 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17932 (_FP_MUL_MEAT_2_gmp): ... here.
17933 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17934 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17935 (_FP_MUL_MEAT_4_wide): ... here.
17936 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17937 (_FP_MUL_MEAT_4_gmp): ... here.
17938 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17939 (_FP_WFRACBITS_DW_S): Likewise.
17940 (_FP_WFRACXBITS_DW_S): Likewise.
17941 (_FP_HIGHBIT_DW_S): Likewise.
17942 (FP_FMA_S): Likewise.
17943 (_FP_FRAC_HIGH_DW_S): Likewise.
17944 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17945 (_FP_WFRACBITS_DW_D): Likewise.
17946 (_FP_WFRACXBITS_DW_D): Likewise.
17947 (_FP_HIGHBIT_DW_D): Likewise.
17948 (FP_FMA_D): Likewise.
17949 (_FP_FRAC_HIGH_DW_D): Likewise.
17950 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17951 (_FP_WFRACBITS_DW_E): Likewise.
17952 (_FP_WFRACXBITS_DW_E): Likewise.
17953 (_FP_HIGHBIT_DW_E): Likewise.
17954 (FP_FMA_E): Likewise.
17955 (_FP_FRAC_HIGH_DW_E): Likewise.
17956 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17957 (_FP_WFRACBITS_DW_Q): Likewise.
17958 (_FP_WFRACXBITS_DW_Q): Likewise.
17959 (_FP_HIGHBIT_DW_Q): Likewise.
17960 (FP_FMA_Q): Likewise.
17961 (_FP_FRAC_HIGH_DW_Q): Likewise.
17962 * soft-fp/fmasf4.c: New file.
17963 * soft-fp/fmadf4.c: Likewise.
17964 * soft-fp/fmatf4.c: Likewise.
17966 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17969 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17973 (index_Slow_SSE4_2): Likewise.
17974 (index_Prefer_PMINUB_for_stringop): Likewise.
17975 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17976 bit_Slow_SSE4_2 is set.
17977 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17978 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17980 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17982 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17983 rtld_global._dl_hwcap2.
17984 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17986 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17987 POWER8 feature descriptions defined in _dl_hwcap2.
17988 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17989 string handling for POWER8 feature bits.
17990 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17991 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17992 _dl_powerpc_cap_flags.
17993 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17994 * sysdeps/powerpc/rtld-global-offsets.sym
17995 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17996 _dl_hwcap2 in the rtld_global_ro structure.
17998 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18000 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18001 hardware capabilities in support of AT_HWCAP2.
18002 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18003 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18005 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18006 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18007 explicitly the unknown a_type display mechanism is used.
18008 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18009 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18011 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18012 to macro prototype for AT_HWCAP2 support.
18013 * sysdeps/i386/dl-procinfo.h: Likewise.
18014 * sysdeps/s390/dl-procinfo.h: Likewise.
18015 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18016 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18017 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18018 return -1 for unknown a_type display fallback.
18019 * sysdeps/sparc/dl-procinfo.h: Likewise.
18020 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18021 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18023 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18025 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18026 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18028 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18031 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18032 mprotect making __stack_prot writable.
18034 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18035 Joseph Myers <joseph@codesourcery.com>
18037 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18038 as being properly aligned.
18040 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18042 * dlfcn/modstatic5.c: New file.
18043 * dlfcn/tststatic5.c: New file.
18044 * dlfcn/Makefile (tests): Add tststatic5.
18045 (tests-static): Likewise.
18046 (modules-names): Add modstatic5.
18047 (tststatic5-ENV): New variable.
18048 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18051 * elf/dl-support.c (_dl_main_map): New variable.
18052 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18053 (_dl_nns, _dl_load_adds): Set to 1.
18054 (_dl_initial_searchlist): Refer to _dl_main_map.
18055 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18056 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18057 call to _dl_get_origin.
18058 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18060 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18061 * dlfcn/modstatic3.c: New file.
18062 * dlfcn/tststatic3.c: New file.
18063 * dlfcn/tststatic4.c: New file.
18064 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18065 (tests-static): Likewise.
18066 (modules-names): Add modstatic3.
18067 (tststatic3-ENV, tststatic4-ENV): New variables.
18068 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18069 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18071 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18073 * configure.in (CC): Require GCC version 4.4 or later.
18074 * configure: Regenerated.
18075 * manual/install.texi (Tools for Compilation): Update GCC version
18077 * INSTALL: Regenerated.
18079 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18082 * string/test-memcmp.c (check2): New.
18083 (main): Call check2.
18085 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18087 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18090 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18092 (dl_open_worker) [!SHARED]: ... here.
18094 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18096 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18098 2013-06-25 Richard Henderson <rth@redhat.com>
18100 * locale/programs/locarchive.c: Include <libc-internal.h>
18102 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18104 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18105 trailing whitespace removed.
18107 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18110 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18111 * locale/programs/locarchive.c: Include libc-mmap.h.
18112 (prepare_address_space): Take two new outputs (the mmap base and len).
18113 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18115 (create_archive): Declare new mmap base and len values for
18116 prepare_address_space, and store the result in ah.
18117 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18118 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18119 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18120 Declare new mmap base and len values for
18121 prepare_address_space, and store the result in new_ah.
18122 (open_archive): Declare new mmap base and len values for
18123 prepare_address_space, and store the result in ah.
18124 (close_archive): If ah->mmap_base is not NULL, use that and
18125 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18126 * sysdeps/generic/libc-mmap.h: New file.
18128 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18130 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18131 (ALIGN_UP): Likewise.
18132 (PTR_ALIGN_DOWN): Likewise.
18133 (PTR_ALIGN_UP): Likewise.
18135 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18137 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18138 entry mapped to PPC_PLATFORM_POWER8.
18139 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18141 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18142 (_dl_string_platform): Add case for exporting platform position for
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18145 search path to sysdeps/powerpc/powerpc32/power8 directory.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18147 search path to sysdeps/powerpc/powerpc64/power8 directory.
18148 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18149 power7 directories.
18150 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18151 power7 directories.
18153 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18155 * INSTALL: Regenerate.
18157 * nscd/connections.c (nscd_init): Fix comment.
18159 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18161 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18164 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18165 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18167 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18169 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18171 (DL_DST_REQ_STATIC): Remove macro.
18173 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18176 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18177 with a shift of 0 bits.
18179 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18181 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18184 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18187 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18189 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18191 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18192 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18193 accepts -fno-tree-loop-distribute-patterns.
18194 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18195 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18197 * string/memset.c (memset): Likewise.
18198 * string/test-memmove.c (simple_memmove): Disable loop transformation
18200 * string/test-memset.c (simple_memset): Likewise.
18201 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18202 * benchtests/bench-memset.c (simple_memset): Likewise.
18203 * configure: Regenerated.
18205 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18207 * math/test-misc.c (main): Ignore fesetround failure when failures
18208 of subsequent rounding tests would be ignored.
18211 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18212 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18213 * math/fegetenv.c (__fegetenv): Return 0.
18214 * math/fegetexcept.c (fegetexcept): Return 0.
18215 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18217 * math/feholdexcpt.c (feholdexcept): Return 0.
18218 * math/fesetenv.c (__fesetenv): Return 0.
18219 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18220 argument FE_TONEAREST.
18221 * math/feupdateenv.c (__feupdateenv): Return 0.
18222 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18224 2013-06-18 Roland McGrath <roland@hack.frob.com>
18226 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18227 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18228 ($(objpfx)rtld-%.os rules): Use them.
18230 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18232 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18235 2013-06-17 Roland McGrath <roland@hack.frob.com>
18237 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18238 length of target pattern, then descending length of dependency pattern.
18239 * configure.in (AWK): Require gawk 3.1.2 or newer.
18240 * manual/install.texi (Tools for Compilation): Say that we do.
18241 * configure: Regenerated.
18243 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18244 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18245 * scripts/sysd-rules.awk: ... this new script.
18246 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18247 than a glob-style pattern.
18249 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18251 * math/test-misc.c (main): Do not treat incorrectly rounded
18252 conversions as failure unless ROUNDING_TESTS passes.
18254 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18257 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18258 restore exception state around main square root computation, then
18259 check for inexactness explicitly.
18261 * math/libm-test.inc (fma_test_data): Add another test.
18263 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18265 * manual/threads.texi (Non-POSIX Extensions): New document
18266 node. Document pthread_getattr_default_np and
18267 pthread_setattr_default_np.
18269 * Versions.def (libpthread): Add GLIBC_2.18.
18270 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18279 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18290 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18293 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18295 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18296 H.J. Lu <hjl.tools@gmail.com>
18299 * sysdeps/x86_64/rtld-memset.c: Remove file.
18300 * sysdeps/x86_64/rtld-memset.S: New file.
18302 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18304 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18305 (test_in_one_mode): Take arguments for whether the rounding mode
18306 is supported for each floating-point type.
18307 (do_test): Pass new arguments to test_in_one_mode using
18310 2013-06-13 Roland McGrath <roland@hack.frob.com>
18312 * posix/tst-waitid.c (do_test): Distinguish different instances of
18313 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18314 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18315 before entering the kernel for waitpid.
18317 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18319 * NEWS: Fix note on clock function precision. Text by Roland
18322 2013-06-13 Roland McGrath <roland@hack.frob.com>
18324 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18325 it into place only when and if the sanity check passes.
18327 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18329 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18330 output for whether conversion result is exact. Take argument
18331 indicating whether type is IBM long double.
18332 (round_for_all): Change need_exact field to ibm_ld.
18333 * stdlib/tst-strtod-round.c (struct exactness): New type.
18334 (struct test): Change bool ld_ok field to struct exactness exact.
18335 (TEST): Update all definitions for change to field.
18336 (tests): Regenerate array contents.
18337 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18338 field value. Check for IBM long double here.
18339 (do_test): Update calls to test_in_one_mode.
18341 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18344 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18345 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18347 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18350 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18351 generated by the compiler on loop optimizations.
18352 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18353 general definitions.
18355 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18357 * math/bug-nextafter.c: Include <math-tests.h>.
18358 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18360 * math/bug-nexttoward.c: Include <math-tests.h>.
18361 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18363 * math/test-misc.c: Include <math-tests.h>.
18364 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18367 2013-06-12 Andreas Jaeger <aj@suse.de>
18369 * po/ia.po: Update Interlingua translation from translation
18372 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18374 * include/fenv.h: Include stdbool.h.
18375 (struct rm_ctx): New structure.
18376 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18378 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18379 (SET_RESTORE_ROUNDF): Likewise.
18380 (SET_RESTORE_ROUNDL): Likewise.
18381 (SET_RESTORE_ROUND_NOEX): Likewise.
18382 (SET_RESTORE_ROUND_NOEXF): Likewise.
18383 (SET_RESTORE_ROUND_NOEXL): Likewise.
18384 (SET_RESTORE_ROUND_53BIT): Likewise.
18385 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18386 (libc_feresetround_noexf_ctx): Likewise.
18387 (libc_feresetround_noexl_ctx): Likewise.
18388 (libc_feholdsetround_53bit_ctx): Likewise.
18389 (libc_feresetround_53bit_ctx): Likewise.
18390 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18391 (libc_feholdexcept_setround_sse_ctx): New function.
18392 (libc_fesetenv_sse_ctx): Likewise.
18393 (libc_feupdateenv_sse_ctx): Likewise.
18394 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18395 (libc_feholdexcept_setround_387_ctx): Likewise.
18396 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18397 (libc_feholdsetround_387_prec_ctx): Likewise.
18398 (libc_feholdsetround_387_ctx): Likewise.
18399 (libc_feholdsetround_387_53bit_ctx): Likewise.
18400 (libc_feholdsetround_sse_ctx): Likewise.
18401 (libc_feresetround_sse_ctx): Likewise.
18402 (libc_feresetround_387_ctx): Likewise.
18403 (libc_feupdateenv_387_ctx): Likewise.
18404 (libc_feholdexcept_setroundf_ctx): Define macro.
18405 (libc_fesetenvf_ctx): Likewise.
18406 (libc_feupdateenvf_ctx): Likewise.
18407 (libc_feholdsetroundf_ctx): Likewise.
18408 (libc_feresetroundf_ctx): Likewise.
18409 (libc_feholdexcept_setround_ctx): Likewise.
18410 (libc_fesetenv_ctx): Likewise.
18411 (libc_feupdateenv_ctx): Likewise.
18412 (libc_feholdsetround_ctx): Likewise.
18413 (libc_feresetround_ctx): Likewise.
18414 (libc_feholdexcept_setroundl_ctx): Likewise.
18415 (libc_feupdateenvl_ctx): Likewise.
18416 (libc_feholdsetroundl_ctx): Likewise.
18417 (libc_feresetroundl_ctx): Likewise.
18418 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18419 (libc_feresetround_53bit_ctx): Likewise.
18421 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18423 * locale/iso-639.def: Convert to UTF-8.
18425 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18427 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18428 (EXCEPTION_TESTS_double): Likewise.
18429 (EXCEPTION_TESTS_long_double): Likewise.
18430 (EXCEPTION_TESTS): Likewise.
18431 * math/libm-test.inc (test_exceptions): Only test exceptions if
18432 EXCEPTION_TESTS (FLOAT).
18434 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18436 * benchtests/Makefile (string-bench): Add strcpy_chk and
18438 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18439 * benchtests/bench-stpcpy_chk.c: New file.
18440 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18441 * benchtests/bench-strcpy_chk.c: New file.
18442 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18444 (do_test): Likewise.
18446 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18448 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18449 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18450 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18451 with tabs where appropriate.
18452 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18454 [PPC_PLATFORM_PPC440]: Likewise.
18455 [PPC_PLATFORM_PPC464]: Likewise.
18456 [PPC_PLATFORM_PPC476]: Likewise.
18457 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18458 ppc464, and ppc476 platform strings merging from ports/
18461 2013-06-11 Andreas Schwab <schwab@suse.de>
18464 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18465 (from_ucs4_idx): Regenerate.
18466 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18467 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18468 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18469 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18470 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18471 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18472 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18473 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18474 from FROM_LOOP and TO_LOOP specific macros.
18475 (BODY): Handle combining characters.
18476 * iconvdata/BIG5HKSCS.irreversible: Update.
18477 * iconvdata/BIG5HKSCS.precomposed: New file.
18478 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18480 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18482 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18484 * include/sys/time.h: Fix indentation and add copyright header.
18486 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18487 (do_test): Likewise.
18488 * string/test-memchr.c (do_one_test): Likewise.
18489 (do_test): Likewise.
18490 * string/test-memcmp.c (do_one_test): Likewise.
18491 (do_test): Likewise.
18492 * string/test-memcpy.c (do_one_test): Likewise.
18493 (do_test): Likewise.
18494 * string/test-memmem.c (do_one_test): Likewise.
18495 (do_test): Likewise.
18496 (do_random_tests): Likewise.
18497 * string/test-memmove.c (do_one_test): Likewise.
18498 (do_test): Likewise.
18499 * string/test-memset.c (do_one_test): Likewise.
18500 (do_test): Likewise.
18501 * string/test-rawmemchr.c (do_one_test): Likewise.
18502 (do_test): Likewise.
18503 * string/test-strcasecmp.c (do_one_test): Likewise.
18504 (do_test): Likewise.
18505 * string/test-strcasestr.c (do_one_test): Likewise.
18506 (do_test): Likewise.
18507 * string/test-strcat.c (do_one_test): Likewise.
18508 (do_test): Likewise.
18509 * string/test-strchr.c (do_one_test): Likewise.
18510 (do_test): Likewise.
18511 * string/test-strcmp.c (do_one_test): Likewise.
18512 (do_test): Likewise.
18513 * string/test-strcpy.c (do_one_test): Likewise.
18514 (do_test): Likewise.
18515 * string/test-string.h: Likewise.
18516 (test_init): Likewise.
18517 * string/test-strlen.c (do_one_test): Likewise.
18518 (do_test): Likewise.
18519 * string/test-strncasecmp.c (do_one_test): Likewise.
18520 (do_test): Likewise.
18521 * string/test-strncat.c (do_one_test): Likewise.
18522 (do_test): Likewise.
18523 * string/test-strncmp.c (do_one_test): Likewise.
18524 (do_test_limit): Likewise.
18525 (do_test): Likewise.
18526 * string/test-strncpy.c (do_one_test): Likewise.
18527 (do_test): Likewise.
18528 * string/test-strnlen.c (do_one_test): Likewise.
18529 (do_test): Likewise.
18530 * string/test-strpbrk.c (do_one_test): Likewise.
18531 (do_test): Likewise.
18532 * string/test-strrchr.c (do_one_test): Likewise.
18533 (do_test): Likewise.
18534 * string/test-strspn.c (do_one_test): Likewise.
18535 (do_test): Likewise.
18536 * string/test-strstr.c (do_one_test): Likewise.
18537 (do_test): Likewise.
18539 * benchtests/Makefile (string-bench): Add string benchmarks.
18540 * benchtests/bench-bcopy-ifunc.c: New file.
18541 * benchtests/bench-bcopy.c: New file.
18542 * benchtests/bench-bzero-ifunc.c: New file.
18543 * benchtests/bench-bzero.c: New file.
18544 * benchtests/bench-memccpy-ifunc.c: New file.
18545 * benchtests/bench-memccpy.c: New file.
18546 * benchtests/bench-memchr-ifunc.c: New file.
18547 * benchtests/bench-memchr.c: New file.
18548 * benchtests/bench-memcmp-ifunc.c: New file.
18549 * benchtests/bench-memcmp.c: New file.
18550 * benchtests/bench-memmem-ifunc.c: New file.
18551 * benchtests/bench-memmem.c: New file.
18552 * benchtests/bench-memmove-ifunc.c: New file.
18553 * benchtests/bench-memmove.c: New file.
18554 * benchtests/bench-mempcpy-ifunc.c: New file.
18555 * benchtests/bench-mempcpy.c: New file.
18556 * benchtests/bench-memset-ifunc.c: New file.
18557 * benchtests/bench-memset.c: New file.
18558 * benchtests/bench-rawmemchr-ifunc.c: New file.
18559 * benchtests/bench-rawmemchr.c: New file.
18560 * benchtests/bench-stpcpy-ifunc.c: New file.
18561 * benchtests/bench-stpcpy.c: New file.
18562 * benchtests/bench-stpncpy-ifunc.c: New file.
18563 * benchtests/bench-stpncpy.c: New file.
18564 * benchtests/bench-strcasecmp-ifunc.c: New file.
18565 * benchtests/bench-strcasecmp.c: New file.
18566 * benchtests/bench-strcasestr-ifunc.c: New file.
18567 * benchtests/bench-strcasestr.c: New file.
18568 * benchtests/bench-strcat-ifunc.c: New file.
18569 * benchtests/bench-strcat.c: New file.
18570 * benchtests/bench-strchr-ifunc.c: New file.
18571 * benchtests/bench-strchr.c: New file.
18572 * benchtests/bench-strchrnul-ifunc.c: New file.
18573 * benchtests/bench-strchrnul.c: New file.
18574 * benchtests/bench-strcmp-ifunc.c: New file.
18575 * benchtests/bench-strcmp.c: New file.
18576 * benchtests/bench-strcpy-ifunc.c: New file.
18577 * benchtests/bench-strcpy.c: New file.
18578 * benchtests/bench-strcspn-ifunc.c: New file.
18579 * benchtests/bench-strcspn.c: New file.
18580 * benchtests/bench-strlen-ifunc.c: New file.
18581 * benchtests/bench-strlen.c: New file.
18582 * benchtests/bench-strncasecmp-ifunc.c: New file.
18583 * benchtests/bench-strncasecmp.c: New file.
18584 * benchtests/bench-strncat-ifunc.c: New file.
18585 * benchtests/bench-strncat.c: New file.
18586 * benchtests/bench-strncmp-ifunc.c: New file.
18587 * benchtests/bench-strncmp.c: New file.
18588 * benchtests/bench-strncpy-ifunc.c: New file.
18589 * benchtests/bench-strncpy.c: New file.
18590 * benchtests/bench-strnlen-ifunc.c: New file.
18591 * benchtests/bench-strnlen.c: New file.
18592 * benchtests/bench-strpbrk-ifunc.c: New file.
18593 * benchtests/bench-strpbrk.c: New file.
18594 * benchtests/bench-strrchr-ifunc.c: New file.
18595 * benchtests/bench-strrchr.c: New file.
18596 * benchtests/bench-strspn-ifunc.c: New file.
18597 * benchtests/bench-strspn.c: New file.
18598 * benchtests/bench-strstr-ifunc.c: New file.
18599 * benchtests/bench-strstr.c: New file.
18601 * benchtests/Makefile: Disable parallel execution of targets.
18602 (string-bench): Add memcpy.
18603 (benchset): New variable to store a list of benchmark sets.
18604 (bench-func): Renamed from bench.
18605 (bench-set): New target.
18606 (bench): Depend on bench-func and bench-set.
18607 * benchtests/README: Add section on benchmark sets.
18608 * benchtests/bench-memcpy-ifunc.c: New file.
18609 * benchtests/bench-memcpy.c: New file.
18610 * benchtests/bench-string.h: New file.
18612 2013-06-11 Andreas Schwab <schwab@suse.de>
18615 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18616 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18617 values in the triple.
18618 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18619 terminator in the group key.
18621 2013-06-11 Andreas Jaeger <aj@suse.de>
18623 * po/zh_TW.po: Update Chinese (traditional) translation from
18624 translation project.
18626 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18628 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18629 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18630 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18632 (clock_getcpuclockid): Likewise.
18633 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18634 Add weak_alias and libc_hidden_def.
18635 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18636 * rt/clock_gettime.c (clock_gettime): Rename to
18637 __clock_gettime. Add weak_alias and libc_hidden_def.
18638 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18639 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18640 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18641 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18642 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18644 * rt/clock_settime.c (clock_settime): Rename to
18645 __clock_settime. Add weak_alias and libc_hidden_def.
18646 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18648 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18650 * mach/err_boot.sub: Remove trailing whitespace.
18651 * mach/err_ipc.sub: Likewise.
18652 * mach/err_mach.sub: Likewise.
18654 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18655 (ROUNDING_TESTS_double): Likewise.
18656 (ROUNDING_TESTS_long_double): Likewise.
18657 (ROUNDING_TESTS): Likewise.
18658 * math/libm-test.inc: Include <math-tests.h>.
18659 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18660 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18661 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18662 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18664 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18666 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18669 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18671 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18672 otherwise empty TRANS lines.
18673 * sysdeps/gnu/errlist.c: Regenerated.
18675 * catgets/gencat.c (error_print): Use (void) in function
18677 * crypt/crypt_util.c (__init_des): Likewise.
18678 * crypt/speeds.c (Stop): Likewise.
18680 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18681 * inet/ruserpass.c (token): Likewise.
18682 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18683 * intl/localealias.c (extend_alias_table): Likewise.
18684 * intl/plural-exp.c (init_germanic_plural): Likewise.
18685 * libio/fcloseall.c (__fcloseall): Likewise.
18686 * libio/genops.c (_IO_flush_all): Likewise.
18687 (_IO_flush_all_linebuffered): Likewise.
18688 (_IO_cleanup): Likewise.
18689 (_IO_iter_begin): Likewise.
18690 (_IO_iter_end): Likewise.
18691 (_IO_list_lock): Likewise.
18692 (_IO_list_unlock): Likewise.
18693 (_IO_list_resetlock): Likewise.
18694 * libio/getchar.c (getchar): Likewise.
18695 * libio/getchar_u.c (getchar_unlocked): Likewise.
18696 * libio/getwchar.c (getwchar): Likewise.
18697 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18698 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18699 * login/getpt.c (__getpt): Likewise.
18700 * login/tst-utmp.c (main): Likewise.
18701 * malloc/hooks.c (__malloc_check_init): Likewise.
18702 * malloc/malloc.c (__malloc_stats): Likewise.
18703 * malloc/mtrace.c (tr_break): Likewise.
18704 (mtrace): Likewise.
18705 (muntrace): Likewise.
18706 * misc/fstab.c (endfsent): Likewise.
18707 * misc/getclktck.c (__getclktck): Likewise.
18708 * misc/getdtsz.c (__getdtablesize): Likewise.
18709 * misc/gethostid.c (gethostid): Likewise.
18710 * misc/getpagesize.c (__getpagesize): Likewise.
18711 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18712 (__get_nprocs): Likewise.
18713 (__get_phys_pages): Likewise.
18714 (__get_avphys_pages): Likewise.
18715 * misc/getttyent.c (getttyent): Likewise.
18716 (setttyent): Likewise.
18717 (endttyent): Likewise.
18718 * misc/getusershell.c (getusershell): Likewise.
18719 (endusershell): Likewise.
18720 (setusershell): Likewise.
18721 (initshells): Likewise.
18722 * misc/hsearch.c (__hdestroy): Likewise.
18723 * misc/sync.c (sync): Likewise.
18724 * misc/syslog.c (closelog_internal): Likewise.
18725 (closelog): Likewise.
18726 * misc/ttyslot.c (ttyslot): Likewise.
18727 * misc/vhangup.c (vhangup): Likewise.
18728 * posix/fork.c (__fork): Likewise.
18729 * posix/getegid.c (__getegid): Likewise.
18730 * posix/geteuid.c (__geteuid): Likewise.
18731 * posix/getgid.c (__getgid): Likewise.
18732 * posix/getpid.c (__getpid): Likewise.
18733 * posix/getppid.c (__getppid): Likewise.
18734 * posix/getuid.c (__getuid): Likewise.
18735 * posix/pause.c (pause): Likewise.
18736 * posix/setpgrp.c (setpgrp): Likewise.
18737 * posix/setsid.c (__setsid): Likewise.
18738 * posix/test-vfork.c (noop): Likewise.
18739 * resolv/gethnamaddr.c (_endhtent): Likewise.
18740 (_gethtent): Likewise.
18741 (ht_endhostent): Likewise.
18742 (gethostent): Likewise.
18743 (dns_service): Likewise.
18744 * stdlib/drand48.c (drand48): Likewise.
18745 * stdlib/lrand48.c (lrand48): Likewise.
18746 * stdlib/mrand48.c (mrand48): Likewise.
18747 * stdlib/rand.c (rand): Likewise.
18748 * stdlib/random.c (__random): Likewise.
18749 * stdlib/setenv.c (clearenv): Likewise.
18750 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18751 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18752 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18753 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18754 (__get_nprocs): Likewise.
18755 (__get_phys_pages): Likewise.
18756 (__get_avphys_pages): Likewise.
18757 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18758 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18759 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18760 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18761 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18762 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18763 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18764 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18765 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18766 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18767 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18768 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18769 * sysdeps/posix/clock.c (clock): Likewise.
18770 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18771 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18772 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18773 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18774 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18776 (__get_nprocs_conf): Likewise.
18777 (__get_phys_pages): Likewise.
18778 (__get_avphys_pages): Likewise.
18779 * time/clock.c (clock): Likewise.
18780 * time/tzset.c (__tzname_max): Likewise.
18782 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18784 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18785 (__bswap_32): Do not use "register".
18786 * crypt/crypt.c (_ufc_doit_r): Likewise.
18787 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18788 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18789 * gmon/gmon.c (__monstartup): Likewise.
18790 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18791 * hurd/hurdmalloc.c (more_memory): Likewise.
18792 (malloc): Likewise.
18794 (realloc): Likewise.
18795 (malloc_fork_prepare): Likewise.
18796 (malloc_fork_parent): Likewise.
18797 (malloc_fork_child): Likewise.
18798 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18799 (_svcauth_des): Likewise.
18800 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18801 * inet/inet_net.c (inet_network): Likewise.
18802 * inet/inet_netof.c (inet_netof): Likewise.
18803 * inet/rcmd.c (__validuser2_sa): Likewise.
18804 * io/fts.c (fts_open): Likewise.
18805 (fts_load): Likewise.
18806 (fts_close): Likewise.
18807 (fts_read): Likewise.
18808 (fts_children): Likewise.
18809 (fts_build): Likewise.
18810 (fts_stat): Likewise.
18811 (fts_sort): Likewise.
18812 (fts_alloc): Likewise.
18813 (fts_lfree): Likewise.
18814 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18815 (_IO_file_xsgetn): Likewise.
18816 (_IO_file_xsgetn_mmap): Likewise.
18817 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18818 (_IO_cookie_write): Likewise.
18819 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18820 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18821 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18822 * malloc/obstack.c (_obstack_begin): Likewise.
18823 (_obstack_begin_1): Likewise.
18824 (_obstack_newchunk): Likewise.
18825 (_obstack_allocated_p): Likewise.
18826 (obstack_free): Likewise.
18827 (_obstack_memory_used): Likewise.
18828 * misc/getttyent.c (getttynam): Likewise.
18829 (getttyent): Likewise.
18832 * misc/getusershell.c (initshells): Likewise.
18833 * misc/syslog.c (__vsyslog_chk): Likewise.
18834 * misc/ttyslot.c (ttyslot): Likewise.
18835 * nis/nis_hash.c (__nis_hash): Likewise.
18836 * posix/fnmatch_loop.c (FCT): Likewise.
18837 * posix/getconf.c (print_all): Likewise.
18839 * posix/getopt.c (exchange): Likewise.
18840 * posix/glob.c (globfree): Likewise.
18841 (prefix_array): Likewise.
18842 (__glob_pattern_type): Likewise.
18843 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18844 (NS_GET32): Likewise.
18845 (NS_PUT16): Likewise.
18846 (NS_PUT32): Likewise.
18847 * resolv/gethnamaddr.c (getanswer): Likewise.
18848 (gethostbyname2): Likewise.
18849 (gethostbyaddr): Likewise.
18850 (_gethtent): Likewise.
18851 (_gethtbyname2): Likewise.
18852 (_gethtbyaddr): Likewise.
18853 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18854 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18855 * resolv/res_init.c (__res_vinit): Likewise.
18856 (net_mask): Likewise.
18857 * resolv/res_mkquery.c (outchar): Likewise.
18859 * stdio-common/printf_fp.c (outchar): Likewise.
18861 * stdio-common/printf_fphex.c (outchar): Likewise.
18863 * stdio-common/printf_size.c (outchar): Likewise.
18865 * stdio-common/test_rdwr.c (main): Likewise.
18866 * stdio-common/tfformat.c (matches): Likewise.
18867 * stdio-common/vfprintf.c (outchar): Likewise.
18868 (printf_unknown): Likewise.
18869 (buffered_vfprintf): Likewise.
18870 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18871 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18872 (ReadFile): Likewise.
18873 * stdlib/qsort.c (SWAP): Likewise.
18874 (_quicksort): Likewise.
18875 * stdlib/setenv.c (__add_to_environ): Likewise.
18876 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18877 * stdlib/strtol_l.c (__strtol_l): Likewise.
18878 * stdlib/tst-strtod.c (main): Likewise.
18879 * stdlib/tst-strtol.c (main): Likewise.
18880 * stdlib/tst-strtoll.c (main): Likewise.
18881 * string/bits/string2.h (__strcmp_cc): Likewise.
18882 (__strcmp_cg): Likewise.
18883 (__strcspn_c1): Likewise.
18884 (__strcspn_c2): Likewise.
18885 (__strcspn_c3): Likewise.
18886 (__strspn_c1): Likewise.
18887 (__strspn_c2): Likewise.
18888 (__strspn_c3): Likewise.
18889 (__strsep_1c): Likewise.
18890 (__strsep_2c): Likewise.
18891 (__strsep_3c): Likewise.
18892 * string/memccpy.c (__memccpy): Likewise.
18893 * string/stpcpy.c (__stpcpy): Likewise.
18894 * string/strcmp.c (strcmp): Likewise.
18895 * string/strrchr.c (strrchr): Likewise.
18896 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18898 * sysdeps/mach/hurd/getcwd.c
18899 (_hurd_canonicalize_directory_name_internal): Likewise.
18900 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18901 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18902 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18903 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18904 Likewise, in both definitions.
18905 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18907 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18908 64] (__bswap_64): Likewise.
18909 * time/test_time.c (main): Likewise.
18910 * time/tzfile.c (__tzfile_read): Likewise.
18911 (__tzfile_compute): Likewise.
18912 * time/tzset.c (__tzset_parse_tz): Likewise.
18913 (tzset_internal): Likewise.
18914 (compute_change): Likewise.
18915 * wcsmbs/wcscat.c (__wcscat): Likewise.
18916 * wcsmbs/wcschr.c (wcschr): Likewise.
18917 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18918 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18919 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18920 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18921 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18922 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18923 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18924 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18925 * wcsmbs/wmemset.c (wmemset): Likewise.
18927 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18929 * scripts/config.guess: Update to version 2013-05-16.
18930 * scripts/config.sub: Update to version 2013-04-24.
18931 * scripts/install-sh: Update to version 2011-11-20.07.
18932 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18933 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18935 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18937 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18938 * elf/sln.c: Likewise.
18939 * hurd/hurd/ioctl.h: Likewise.
18940 * hurd/hurdmalloc.c: Likewise.
18941 * hurd/xattr.c: Likewise.
18942 * include/shlib-compat.h: Likewise.
18943 * inet/ruserpass.c: Likewise.
18944 * libio/iofgets_u.c: Likewise.
18945 * libio/iofgetws_u.c: Likewise.
18946 * locale/programs/ld-identification.c: Likewise.
18947 * locale/programs/ld-time.c: Likewise.
18948 * mach/msg-destroy.c: Likewise.
18949 * nss/nss_files/files-netgrp.c: Likewise.
18950 * resolv/res_data.c: Likewise.
18951 * soft-fp/op-1.h: Likewise.
18952 * soft-fp/op-2.h: Likewise.
18953 * soft-fp/op-4.h: Likewise.
18954 * soft-fp/op-common.h: Likewise.
18955 * stdio-common/printf_fphex.c: Likewise.
18956 * stdlib/strtod_l.c: Likewise.
18957 * sunrpc/rpc/clnt.h: Likewise.
18958 * sysdeps/generic/framestate.c: Likewise.
18959 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18960 * sysdeps/i386/bsd-setjmp.S: Likewise.
18961 * sysdeps/i386/__longjmp.S: Likewise.
18962 * sysdeps/i386/setjmp.S: Likewise.
18963 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18964 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18980 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18981 * sysdeps/ieee754/support.c: Likewise.
18982 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18983 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18984 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18985 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18986 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18987 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18988 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18989 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18990 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18991 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18992 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18993 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18994 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18995 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18996 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18997 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18998 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19001 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19003 * posix/transbug.c: Remove executable mode.
19005 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19007 * crypt/speeds.c: Remove trailing whitespace.
19008 * dlfcn/default.c: Likewise.
19009 * elf/ifuncdep2.c: Likewise.
19010 * elf/ifuncmain1.c: Likewise.
19011 * elf/ifuncmain1vis.c: Likewise.
19012 * elf/testobj.h: Likewise.
19013 * elf/tst-stackguard1.c: Likewise.
19014 * gmon/sys/gmon.h: Likewise.
19015 * hurd/hurdmsg.c: Likewise.
19016 * hurd/new-fd.c: Likewise.
19017 * hurd/ports-get.c: Likewise.
19018 * iconvdata/ibm1008_420.c: Likewise.
19019 * inet/tst-getni1.c: Likewise.
19020 * inet/tst-getni2.c: Likewise.
19021 * libio/ioungetc.c: Likewise.
19022 * libio/wfiledoalloc.c: Likewise.
19023 * manual/libm-err-tab.pl: Likewise.
19024 * math/w_dremf.c: Likewise.
19025 * misc/ftruncate.c: Likewise.
19026 * posix/bug-glob2.c: Likewise.
19027 * posix/tst-pcre.c: Likewise.
19028 * posix/wait4.c: Likewise.
19029 * resolv/README: Likewise.
19030 * resolv/res_debug.h: Likewise.
19031 * resolv/tst-inet_ntop.c: Likewise.
19032 * setjmp/bug269-setjmp.c: Likewise.
19033 * soft-fp/extended.h: Likewise.
19034 * soft-fp/op-1.h: Likewise.
19035 * soft-fp/op-2.h: Likewise.
19036 * soft-fp/op-4.h: Likewise.
19037 * soft-fp/op-8.h: Likewise.
19038 * soft-fp/testit.c: Likewise.
19039 * stdio-common/bug16.c: Likewise.
19040 * stdlib/random.c: Likewise.
19041 * sunrpc/rpcsvc/rquota.x: Likewise.
19042 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19043 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19045 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19046 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19047 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19048 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19049 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19050 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19051 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19052 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19069 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19071 * sysdeps/ieee754/s_lib_version.c: Likewise.
19072 * sysdeps/mach/hurd/check_fds.c: Likewise.
19073 * sysdeps/mach/hurd/getsockname.c: Likewise.
19074 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19075 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19076 * sysdeps/powerpc/bits/link.h: Likewise.
19077 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19078 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19079 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19080 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19081 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19082 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19083 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19084 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19085 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19086 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19087 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19088 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19089 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19090 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19091 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19092 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19095 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19096 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19097 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19098 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19099 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19100 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19101 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19104 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19105 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19111 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19112 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19113 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19114 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19115 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19116 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19117 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19118 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19119 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19120 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19121 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19122 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19123 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19124 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19125 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19126 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19129 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19130 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19131 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19132 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19133 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19134 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19135 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19136 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19137 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19138 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19140 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19141 * sysdeps/powerpc/sysdep.h: Likewise.
19142 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19143 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19144 * sysdeps/sh/dl-trampoline.S: Likewise.
19145 * sysdeps/sh/memset.S: Likewise.
19146 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19147 * sysdeps/sh/strlen.S: Likewise.
19148 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19149 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19150 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19151 * sysdeps/sparc/sparc32/rem.S: Likewise.
19152 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19153 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19154 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19155 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19156 * sysdeps/sparc/sparc32/urem.S: Likewise.
19157 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19158 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19159 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19160 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19162 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19163 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19164 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19165 * sysdeps/unix/bsd/times.c: Likewise.
19166 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19167 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19171 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19173 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19174 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19175 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19176 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19177 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19178 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19179 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19180 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19181 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19182 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19183 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19184 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19185 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19186 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19187 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19188 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19189 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19190 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19191 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19192 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19194 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19195 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19196 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19197 * sysdeps/x86_64/strcspn.S: Likewise.
19199 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19201 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19202 generated file. Regenerate properly from gen-translit.pl.
19203 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19204 locale/C-translit.h.
19206 2013-06-05 Andreas Schwab <schwab@suse.de>
19209 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19210 week as 6 instead of -1.
19211 * time/tst-strptime.c (day_tests): Add test case.
19213 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19215 * sysdeps/generic/math_private.h
19216 (libc_feholdexcept_setround_53bit): Replace with
19217 libc_feholdsetround_53bit.
19218 (libc_feupdateenv_53bit): Replace with
19219 libc_feresetround_53bit.
19220 (SET_RESTORE_ROUND_53BIT): Adjust.
19222 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19224 * string/test-strchrnul.c: Add copyright header.
19226 * posix/tst-getaddrinfo4.c: Increase test timeout.
19228 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19231 * math/libm-test.inc (MAX_EXP): Remove
19233 (ulp): Use MIN_EXP - MANT_DIG.
19234 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19236 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19238 * po/be.po: Revert last change.
19239 * po/zh_CN.po: Likewise.
19240 * po/header.pot: Likewise.
19242 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19244 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19245 link-libc-deps to empty as target-specific variable.
19246 * Makerules (link-libc-args): New variable.
19247 (libc-for-link): Likewise.
19248 (link-libc-deps): Likewise.
19249 (lib%.so): Depend on $(link-libc-deps). Link with
19251 (build-module): Link with $(link-libc-args).
19252 (build-module-asneeded): Likewise.
19253 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19255 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19256 target-specific variable.
19257 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19258 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19259 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19261 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19263 ($(objpfx)libpcprofile.so): Likewise.
19264 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19266 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19267 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19268 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19270 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19271 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19272 * login/Makefile ($(objpfx)libutil.so): Likewise.
19273 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19274 * math/Makefile ($(objpfx)libm.so): Likewise.
19275 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19276 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19277 variable instead of depending directly on libc.
19278 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19279 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19281 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19283 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19284 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19285 ($(objpfx)libanl.so): Likewise.
19286 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19288 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19290 * sysdeps/i386/fpu/Makefile: Remove file.
19291 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19292 ($(objpfx)libm.so): Remove dependency on ld.so.
19294 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19297 * nis/yp_xdr.c (XDRMAXNAME): Define.
19298 (XDRMAXRECORD): Define.
19299 (xdr_domainname): Use XDRMAXNAME.
19300 (xdr_mapname): Likewise.
19301 (xdr_peername): Likewise.
19302 (xdr_keydat): Use XDRMAXRECORD.
19303 (xdr_valdat): Likewise.
19305 2013-05-30 Jeff Law <law@redhat.com>
19308 * manual/errno.texi (ESTALE): Update to account for more than
19309 just NFS file systems.
19310 * sysdeps/gnu/errlist.c: Regenerated.
19312 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19315 * elf/Makefile (tests): Add tst-null-argv.
19316 (modules-names): Add tst-null-argv-lib.
19317 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19318 (tst-null-argv-ENV): Set environment for tst-null-argv.
19319 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19320 (RTLD_PROGNAME): New macro.
19321 * elf/tst-null-argv.c: New test case.
19322 * elf/tst-null-argv-lib.c: Library for test case.
19323 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19324 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19325 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19326 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19327 * elf/dl-init.c (call_init): Likewise.
19328 (_dl_init): Likewise.
19329 * elf/dl-load.c (print_search_path): Likewise.
19330 (_dl_map_object): Likewise.
19331 * elf/dl-lookup.c (do_lookup_x): Likewise.
19332 (add_dependency): Likewise.
19333 (_dl_lookup_symbol_x): Likewise.
19334 (_dl_debug_bindings): Likewise.
19335 * elf/dl-open.c (_dl_show_scope): Likewise.
19336 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19337 * elf/dl-version.c (match_symbol): Likewise.
19338 (_dl_check_map_versions): Likewise.
19339 * elf/rtld.c (dl_main): Likewise.
19340 (print_unresolved): Use RTLD_PROGNAME.
19341 (print_missing_version): Likewise.
19342 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19343 (elf_machine_rela): Likewise.
19344 * sysdeps/powerpc/powerpc32/dl-machine.c
19345 (__process_machine_rela): Likewise.
19346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19350 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19352 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19359 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19361 * po/be.po: Add descriptive title.
19362 * po/zh_CN.po: Likewise.
19363 * po/header.pot: Likewise.
19365 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19367 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19369 (enlarge_archive): Likewise.
19371 2013-05-28 Ben North <ben@redfrontdoor.org>
19373 * manual/arith.texi (frexp): It is the magnitude of the return
19374 value which lies in [0.5, 1), not the return value itself.
19376 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19380 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19382 * stdio-common/bug26.c (main): Correct fscanf template.
19384 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19385 declare _dl_skip_args.
19387 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19390 * manual/platform.texi: Add missing @end deftypefun.
19392 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19396 bit of mantissa of 2^16382.
19397 * math/libm-test.inc (hypot_test_data): Add more tests.
19399 * math/libm-test.inc: Add drem and pow10 to list of tested
19401 (pow10_test): New function.
19402 (drem_test): Likewise.
19403 (drem_test_tonearest): Likewise.
19404 (drem_test_towardzero): Likewise.
19405 (drem_test_downward): Likewise.
19406 (drem_test_upward): Likewise.
19407 (main): Call the new functions.
19409 * math/libm-test.inc (finite_test_data): Remove.
19410 (finite_test): Run tests from isfinite_test_data.
19411 (gamma_test_data): Remove.
19412 (gamma_test): Run tests from lgamma_test_data.
19413 * sysdeps/i386/fpu/libm-test-ulps: Update.
19414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19416 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19418 * manual/platform.texi: Add PowerPC PPR function set documentation.
19419 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19422 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19424 * math/libm-test.inc (MAX_EXP): Define.
19426 (ulp): New function.
19427 (check_float_internal): Use ULPDIFF.
19428 (cpow_test): Disable failing test.
19429 (check_ulp): Test ulp() implemetnation.
19430 (main): Call check_ulp before starting tests.
19432 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19434 * math/gen-libm-test.pl (generate_testfile): Do not handle
19435 START_DATA and END_DATA.
19436 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19438 (acos_tonearest_test_data): Likewise.
19439 (acos_towardzero_test_data): Likewise.
19440 (acos_downward_test_data): Likewise.
19441 (acos_upward_test_data): Likewise.
19442 (acosh_test_data): Likewise.
19443 (asin_test_data): Likewise.
19444 (asin_tonearest_test_data): Likewise.
19445 (asin_towardzero_test_data): Likewise.
19446 (asin_downward_test_data): Likewise.
19447 (asin_upward_test_data): Likewise.
19448 (asinh_test_data): Likewise.
19449 (atan_test_data): Likewise.
19450 (atanh_test_data): Likewise.
19451 (atan2_test_data): Likewise.
19452 (cabs_test_data): Likewise.
19453 (cacos_test_data): Likewise.
19454 (cacosh_test_data): Likewise.
19455 (carg_test_data): Likewise.
19456 (casin_test_data): Likewise.
19457 (casinh_test_data): Likewise.
19458 (catan_test_data): Likewise.
19459 (catanh_test_data): Likewise.
19460 (cbrt_test_data): Likewise.
19461 (ccos_test_data): Likewise.
19462 (ccosh_test_data): Likewise.
19463 (ceil_test_data): Likewise.
19464 (cexp_test_data): Likewise.
19465 (cimag_test_data): Likewise.
19466 (clog_test_data): Likewise.
19467 (clog10_test_data): Likewise.
19468 (conj_test_data): Likewise.
19469 (copysign_test_data): Likewise.
19470 (cos_test_data): Likewise.
19471 (cos_tonearest_test_data): Likewise.
19472 (cos_towardzero_test_data): Likewise.
19473 (cos_downward_test_data): Likewise.
19474 (cos_upward_test_data): Likewise.
19475 (cosh_test_data): Likewise.
19476 (cosh_tonearest_test_data): Likewise.
19477 (cosh_towardzero_test_data): Likewise.
19478 (cosh_downward_test_data): Likewise.
19479 (cosh_upward_test_data): Likewise.
19480 (cpow_test_data): Likewise.
19481 (cproj_test_data): Likewise.
19482 (creal_test_data): Likewise.
19483 (csin_test_data): Likewise.
19484 (csinh_test_data): Likewise.
19485 (csqrt_test_data): Likewise.
19486 (ctan_test_data): Likewise.
19487 (ctan_tonearest_test_data): Likewise.
19488 (ctan_towardzero_test_data): Likewise.
19489 (ctan_downward_test_data): Likewise.
19490 (ctan_upward_test_data): Likewise.
19491 (ctanh_test_data): Likewise.
19492 (ctanh_tonearest_test_data): Likewise.
19493 (ctanh_towardzero_test_data): Likewise.
19494 (ctanh_downward_test_data): Likewise.
19495 (ctanh_upward_test_data): Likewise.
19496 (erf_test_data): Likewise.
19497 (erfc_test_data): Likewise.
19498 (exp_test_data): Likewise.
19499 (exp_tonearest_test_data): Likewise.
19500 (exp_towardzero_test_data): Likewise.
19501 (exp_downward_test_data): Likewise.
19502 (exp_upward_test_data): Likewise.
19503 (exp10_test_data): Likewise.
19504 (exp2_test_data): Likewise.
19505 (expm1_test_data): Likewise.
19506 (fabs_test_data): Likewise.
19507 (fdim_test_data): Likewise.
19508 (finite_test_data): Likewise.
19509 (floor_test_data): Likewise.
19510 (fma_test_data): Likewise.
19511 (fma_towardzero_test_data): Likewise.
19512 (fma_downward_test_data): Likewise.
19513 (fma_upward_test_data): Likewise.
19514 (fmax_test_data): Likewise.
19515 (fmin_test_data): Likewise.
19516 (fmod_test_data): Likewise.
19517 (fpclassify_test_data): Likewise.
19518 (frexp_test_data): Likewise.
19519 (gamma_test_data): Likewise.
19520 (hypot_test_data): Likewise.
19521 (ilogb_test_data): Likewise.
19522 (isfinite_test_data): Likewise.
19523 (isgreater_test_data): Likewise.
19524 (isgreaterequal_test_data): Likewise.
19525 (isinf_test_data): Likewise.
19526 (isless_test_data): Likewise.
19527 (islessequal_test_data): Likewise.
19528 (islessgreater_test_data): Likewise.
19529 (isnan_test_data): Likewise.
19530 (isnormal_test_data): Likewise.
19531 (issignaling_test_data): Likewise.
19532 (isunordered_test_data): Likewise.
19533 (j0_test_data): Likewise.
19534 (j1_test_data): Likewise.
19535 (jn_test_data): Likewise.
19536 (ldexp_test_data): Likewise.
19537 (lgamma_test_data): Likewise.
19538 (lrint_test_data): Likewise.
19539 (lrint_tonearest_test_data): Likewise.
19540 (lrint_towardzero_test_data): Likewise.
19541 (lrint_downward_test_data): Likewise.
19542 (lrint_upward_test_data): Likewise.
19543 (llrint_test_data): Likewise.
19544 (llrint_tonearest_test_data): Likewise.
19545 (llrint_towardzero_test_data): Likewise.
19546 (llrint_downward_test_data): Likewise.
19547 (llrint_upward_test_data): Likewise.
19548 (log_test_data): Likewise.
19549 (log10_test_data): Likewise.
19550 (log1p_test_data): Likewise.
19551 (log2_test_data): Likewise.
19552 (logb_test_data): Likewise.
19553 (logb_downward_test_data): Likewise.
19554 (lround_test_data): Likewise.
19555 (llround_test_data): Likewise.
19556 (modf_test_data): Likewise.
19557 (nearbyint_test_data): Likewise.
19558 (nextafter_test_data): Likewise.
19559 (nexttoward_test_data): Likewise.
19560 (pow_test_data): Likewise.
19561 (pow_tonearest_test_data): Likewise.
19562 (pow_towardzero_test_data): Likewise.
19563 (pow_downward_test_data): Likewise.
19564 (pow_upward_test_data): Likewise.
19565 (remainder_test_data): Likewise.
19566 (remainder_tonearest_test_data): Likewise.
19567 (remainder_towardzero_test_data): Likewise.
19568 (remainder_downward_test_data): Likewise.
19569 (remainder_upward_test_data): Likewise.
19570 (remquo_test_data): Likewise.
19571 (rint_test_data): Likewise.
19572 (rint_tonearest_test_data): Likewise.
19573 (rint_towardzero_test_data): Likewise.
19574 (rint_downward_test_data): Likewise.
19575 (rint_upward_test_data): Likewise.
19576 (round_test_data): Likewise.
19577 (scalb_test_data): Likewise.
19578 (scalbn_test_data): Likewise.
19579 (scalbln_test_data): Likewise.
19580 (signbit_test_data): Likewise.
19581 (sin_test_data): Likewise.
19582 (sin_tonearest_test_data): Likewise.
19583 (sin_towardzero_test_data): Likewise.
19584 (sin_downward_test_data): Likewise.
19585 (sin_upward_test_data): Likewise.
19586 (sincos_test_data): Likewise.
19587 (sinh_test_data): Likewise.
19588 (sinh_tonearest_test_data): Likewise.
19589 (sinh_towardzero_test_data): Likewise.
19590 (sinh_downward_test_data): Likewise.
19591 (sinh_upward_test_data): Likewise.
19592 (sqrt_test_data): Likewise.
19593 (tan_test_data): Likewise.
19594 (tan_tonearest_test_data): Likewise.
19595 (tan_towardzero_test_data): Likewise.
19596 (tan_downward_test_data): Likewise.
19597 (tan_upward_test_data): Likewise.
19598 (tanh_test_data): Likewise.
19599 (tgamma_test_data): Likewise.
19600 (trunc_test_data): Likewise.
19601 (y0_test_data): Likewise.
19602 (y1_test_data): Likewise.
19603 (yn_test_data): Likewise.
19604 (significand_test_data): Likewise.
19606 * math/gen-libm-test.pl (@functions): Remove variable.
19607 (generate_testfile): Don't handle START and END lines.
19608 * math/libm-test.inc (START): New macro.
19610 (END_COMPLEX): Likewise.
19611 (acos_test): Use END macro without arguments.
19612 (acos_test_tonearest): Likewise.
19613 (acos_test_towardzero): Likewise.
19614 (acos_test_downward): Likewise.
19615 (acos_test_upward): Likewise.
19616 (acosh_test): Likewise.
19617 (asin_test): Likewise.
19618 (asin_test_tonearest): Likewise.
19619 (asin_test_towardzero): Likewise.
19620 (asin_test_downward): Likewise.
19621 (asin_test_upward): Likewise.
19622 (asinh_test): Likewise.
19623 (atan_test): Likewise.
19624 (atanh_test): Likewise.
19625 (atan2_test): Likewise.
19626 (cabs_test): Likewise.
19627 (cacos_test): Use END_COMPLEX macro without arguments.
19628 (cacosh_test): Likewise.
19629 (carg_test): Use END macro without arguments.
19630 (casin_test): Use END_COMPLEX macro without arguments.
19631 (casinh_test): Likewise.
19632 (catan_test): Likewise.
19633 (catanh_test): Likewise.
19634 (cbrt_test): Use END macro without arguments.
19635 (ccos_test): Use END_COMPLEX macro without arguments.
19636 (ccosh_test): Likewise.
19637 (ceil_test): Use END macro without arguments.
19638 (cexp_test): Use END_COMPLEX macro without arguments.
19639 (cimag_test): Use END macro without arguments.
19640 (clog_test): Use END_COMPLEX macro without arguments.
19641 (clog10_test): Likewise.
19642 (conj_test): Likewise.
19643 (copysign_test): Use END macro without arguments.
19644 (cos_test): Likewise.
19645 (cos_test_tonearest): Likewise.
19646 (cos_test_towardzero): Likewise.
19647 (cos_test_downward): Likewise.
19648 (cos_test_upward): Likewise.
19649 (cosh_test): Likewise.
19650 (cosh_test_tonearest): Likewise.
19651 (cosh_test_towardzero): Likewise.
19652 (cosh_test_downward): Likewise.
19653 (cosh_test_upward): Likewise.
19654 (cpow_test): Use END_COMPLEX macro without arguments.
19655 (cproj_test): Likewise.
19656 (creal_test): Use END macro without arguments.
19657 (csin_test): Use END_COMPLEX macro without arguments.
19658 (csinh_test): Likewise.
19659 (csqrt_test): Likewise.
19660 (ctan_test): Likewise.
19661 (ctan_test_tonearest): Likewise.
19662 (ctan_test_towardzero): Likewise.
19663 (ctan_test_downward): Likewise.
19664 (ctan_test_upward): Likewise.
19665 (ctanh_test): Likewise.
19666 (ctanh_test_tonearest): Likewise.
19667 (ctanh_test_towardzero): Likewise.
19668 (ctanh_test_downward): Likewise.
19669 (ctanh_test_upward): Likewise.
19670 (erf_test): Use END macro without arguments.
19671 (erfc_test): Likewise.
19672 (exp_test): Likewise.
19673 (exp_test_tonearest): Likewise.
19674 (exp_test_towardzero): Likewise.
19675 (exp_test_downward): Likewise.
19676 (exp_test_upward): Likewise.
19677 (exp10_test): Likewise.
19678 (exp2_test): Likewise.
19679 (expm1_test): Likewise.
19680 (fabs_test): Likewise.
19681 (fdim_test): Likewise.
19682 (finite_test): Likewise.
19683 (floor_test): Likewise.
19684 (fma_test): Likewise.
19685 (fma_test_towardzero): Likewise.
19686 (fma_test_downward): Likewise.
19687 (fma_test_upward): Likewise.
19688 (fmax_test): Likewise.
19689 (fmin_test): Likewise.
19690 (fmod_test): Likewise.
19691 (fpclassify_test): Likewise.
19692 (frexp_test): Likewise.
19693 (gamma_test): Likewise.
19694 (hypot_test): Likewise.
19695 (ilogb_test): Likewise.
19696 (isfinite_test): Likewise.
19697 (isgreater_test): Likewise.
19698 (isgreaterequal_test): Likewise.
19699 (isinf_test): Likewise.
19700 (isless_test): Likewise.
19701 (islessequal_test): Likewise.
19702 (islessgreater_test): Likewise.
19703 (isnan_test): Likewise.
19704 (isnormal_test): Likewise.
19705 (issignaling_test): Likewise.
19706 (isunordered_test): Likewise.
19707 (j0_test): Likewise.
19708 (j1_test): Likewise.
19709 (jn_test): Likewise.
19710 (ldexp_test): Likewise.
19711 (lgamma_test): Likewise.
19712 (lrint_test): Likewise.
19713 (lrint_test_tonearest): Likewise.
19714 (lrint_test_towardzero): Likewise.
19715 (lrint_test_downward): Likewise.
19716 (lrint_test_upward): Likewise.
19717 (llrint_test): Likewise.
19718 (llrint_test_tonearest): Likewise.
19719 (llrint_test_towardzero): Likewise.
19720 (llrint_test_downward): Likewise.
19721 (llrint_test_upward): Likewise.
19722 (log_test): Likewise.
19723 (log10_test): Likewise.
19724 (log1p_test): Likewise.
19725 (log2_test): Likewise.
19726 (logb_test): Likewise.
19727 (logb_test_downward): Likewise.
19728 (lround_test): Likewise.
19729 (llround_test): Likewise.
19730 (modf_test): Likewise.
19731 (nearbyint_test): Likewise.
19732 (nextafter_test): Likewise.
19733 (nexttoward_test): Likewise.
19734 (pow_test): Likewise.
19735 (pow_test_tonearest): Likewise.
19736 (pow_test_towardzero): Likewise.
19737 (pow_test_downward): Likewise.
19738 (pow_test_upward): Likewise.
19739 (remainder_test): Likewise.
19740 (remainder_test_tonearest): Likewise.
19741 (remainder_test_towardzero): Likewise.
19742 (remainder_test_downward): Likewise.
19743 (remainder_test_upward): Likewise.
19744 (remquo_test): Likewise.
19745 (rint_test): Likewise.
19746 (rint_test_tonearest): Likewise.
19747 (rint_test_towardzero): Likewise.
19748 (rint_test_downward): Likewise.
19749 (rint_test_upward): Likewise.
19750 (round_test): Likewise.
19751 (scalb_test): Likewise.
19752 (scalbn_test): Likewise.
19753 (scalbln_test): Likewise.
19754 (signbit_test): Likewise.
19755 (sin_test): Likewise.
19756 (sin_test_tonearest): Likewise.
19757 (sin_test_towardzero): Likewise.
19758 (sin_test_downward): Likewise.
19759 (sin_test_upward): Likewise.
19760 (sincos_test): Likewise.
19761 (sinh_test): Likewise.
19762 (sinh_test_tonearest): Likewise.
19763 (sinh_test_towardzero): Likewise.
19764 (sinh_test_downward): Likewise.
19765 (sinh_test_upward): Likewise.
19766 (sqrt_test): Likewise.
19767 (tan_test): Likewise.
19768 (tan_test_tonearest): Likewise.
19769 (tan_test_towardzero): Likewise.
19770 (tan_test_downward): Likewise.
19771 (tan_test_upward): Likewise.
19772 (tanh_test): Likewise.
19773 (tgamma_test): Likewise.
19774 (trunc_test): Likewise.
19775 (y0_test): Likewise.
19776 (y1_test): Likewise.
19777 (yn_test): Likewise.
19778 (significand_test): Likewise.
19780 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19783 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19785 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19788 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19789 __ppc_mdoio and __ppc_mdoom.
19790 * manual/platform.texi: Document new functions __ppc_yield,
19791 __ppc_mdoio and __ppc_mdoom.
19793 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19795 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19796 (main): Mention "tls" pseudo-hwcap is legacy.
19797 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19799 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19801 * math/gen-libm-test.pl (parse_args): Output only string of
19802 arguments as text for test name, not full call or descriptions of
19803 tests for extra outputs.
19804 (generate_testfile): Do not pass function name to parse_args.
19805 Generate this_func variable from START.
19806 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19808 (struct test_ff_f_data): Likewise.
19809 (test_ff_f_data_nexttoward): Likewise.
19810 (struct test_fi_f_data): Likewise.
19811 (struct test_fl_f_data): Likewise.
19812 (struct test_if_f_data): Likewise.
19813 (struct test_fff_f_data): Likewise.
19814 (struct test_c_f_data): Likewise.
19815 (struct test_f_f1_data): Likewise. Remove field extra_name.
19816 (struct test_fF_f1_data): Likewise.
19817 (struct test_ffI_f1_data): Likewise.
19818 (struct test_c_c_data): Rename test_name field to arg_str.
19819 (struct test_cc_c_data): Likewise.
19820 (struct test_f_i_data): Likewise.
19821 (struct test_ff_i_data): Likewise.
19822 (struct test_f_l_data): Likewise.
19823 (struct test_f_L_data): Likewise.
19824 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19826 (COMMON_TEST_SETUP): New macro.
19827 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19828 (COMMON_TEST_CLEANUP): Likewise.
19829 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19830 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19832 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19833 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19835 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19836 (RUN_TEST_fff_f): Take argument string. Call new setup and
19838 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19839 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19841 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19842 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19844 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19845 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19847 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19848 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19850 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19851 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19853 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19854 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19856 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19857 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19859 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19860 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19862 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19863 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19865 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19866 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19868 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19869 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19871 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19872 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19874 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19875 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19877 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19878 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19880 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19881 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19883 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19885 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19887 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19888 to _sifields.sigfault.
19889 (si_addr_lsb): Define new macro.
19890 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19892 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19894 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19897 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19899 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19901 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19902 loading the domain.
19904 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19906 * math/gen-libm-test.pl (parse_args): Do not include expected
19907 result in test name.
19908 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19909 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19910 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19911 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19912 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19915 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19917 * benchtests/Makefile: Sort function entries.
19919 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19920 tanh, asinh, acosh, atanh.
19921 * benchtests/acos-inputs: New file.
19922 * benchtests/acosh-inputs: New file.
19923 * benchtests/asin-inputs: New file.
19924 * benchtests/asinh-inputs: New file.
19925 * benchtests/atanh-inputs: New file.
19926 * benchtests/cosh-inputs: New file.
19927 * benchtests/log-inputs: New file.
19928 * benchtests/sinh-inputs: New file.
19929 * benchtests/tanh-inputs: New file.
19931 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19934 * posix/tst-getaddrinfo4.c: New test.
19935 * posix/Makefile (tests): Add it.
19937 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19940 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19941 when no services were used.
19942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19943 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19945 2013-05-21 Andreas Schwab <schwab@suse.de>
19948 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19949 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19951 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19952 redundant variable declarations and reallocation of buffer when
19953 parsing as IPv6 address. Always set NSS status when called from
19954 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19955 buffer too small. Correct computation of needed size.
19956 * nss/Makefile (tests): Add test-digits-dots.
19957 * nss/test-digits-dots.c: New test.
19959 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19961 * benchtests/Makefile: Remove instructions for adding
19963 * benchtests/README: New file to explain how to execute and
19964 enhance the benchmark tests.
19966 2013-05-21 Andreas Schwab <schwab@suse.de>
19969 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19970 * setjmp/tst-sigsetjmp.c: New test.
19972 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19974 * sysdeps/x86_64/memset.S (memset): New implementation.
19975 (__bzero): Likewise.
19976 (__memset_tail): New function.
19978 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19980 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19981 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19982 __memcpy_sse2_unaligned ifunc selection.
19983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19984 Add memcpy-sse2-unaligned.S.
19985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19986 Add: __memcpy_sse2_unaligned.
19988 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19991 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19992 math_force_eval before restoring floating-point envrionment.
19993 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19994 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19996 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19998 (__nearbyintl): Use math_force_eval before restoring
19999 floating-point environment.
20000 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20002 * math/gen-libm-test.pl (special_functions): Remove.
20003 (parse_args): Don't handle TEST_extra. Handle functions with no
20005 * math/libm-test.inc (struct test_sincos_data): Replace with
20006 struct test_fFF_11_data.
20007 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20008 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20009 (sincos_test_data): Change element type to struct
20010 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20011 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20012 RUN_TEST_LOOP_sincos.
20013 * math/README.libm-test: Don't mention special handling of
20014 individual functions.
20015 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20017 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20018 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20019 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20022 * math/gen-libm-test.pl (get_variable): Remove function.
20023 (parse_args): Don't show pointer parameters to call in test
20024 names. Use "extra output N" in test names for extra outputs
20025 rather than naming variables.
20027 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20030 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20031 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20032 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20034 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20036 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20039 * math/gen-libm-test.pl (@tests): Remove variable.
20040 ($count): Likewise.
20041 (new_test): Remove function.
20042 (show_exceptions): New function.
20043 (special_functions): Use show_exceptions instead of new_test.
20044 (parse_args): Likewise.
20045 (generate_testfile): Pass only function name in generated call to
20046 print_max_error or print_complex_max_error.
20047 (get_ulps): Do not handle complex tests specially.
20048 (output_test): Rename to ...
20049 (get_all_ulps_for_test): ... this. Return a string rather than
20050 printing to a file. Require ulps to be present.
20051 (output_ulps): Generate arrays rather than #defines.
20052 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20053 (struct ulp_data): New type.
20054 (BUILD_COMPLEX_ULP): Remove macro.
20055 (compare_ulp_data): New function.
20056 (find_ulps): Likewise.
20057 (find_test_ulps): Likewise.
20058 (find_function_ulps): Likewise.
20059 (find_complex_function_ulps): Likewise.
20060 (print_max_error): Determine allowed ulps using
20061 find_function_ulps.
20062 (print_complex_max_error): Determine allowed ulps using
20063 find_complex_function_ulps.
20064 (check_float_internal): Determine max ulps using find_test_ulps.
20065 (check_float): Do not take max_ulp parameter. Update call to
20066 check_float_internal.
20067 (check_complex): Likewise.
20068 (check_int): Do not take max_ulp parameter.
20069 (check_long): Likewise.
20070 (check_bool): Likewise.
20071 (check_longlong): Likewise.
20072 (struct test_f_f_data): Remove max_ulp field.
20073 (struct test_ff_f_data): Likewise.
20074 (struct test_ff_f_data_nexttoward): Likewise.
20075 (struct test_fi_f_data): Likewise.
20076 (struct test_fl_f_data): Likewise.
20077 (struct test_if_f_data): Likewise.
20078 (struct test_fff_f_data): Likewise.
20079 (struct test_c_f_data): Likewise.
20080 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20081 (struct test_fF_f1_data): Likewise.
20082 (struct test_ffI_f1_data): Likewise.
20083 (struct test_c_c_data): Remove max_ulp field.
20084 (struct test_cc_c_data): Likewise.
20085 (struct test_f_i_data): Likewise.
20086 (struct test_ff_i_data): Likewise.
20087 (struct test_f_l_data): Likewise.
20088 (struct test_f_L_data): Likewise.
20089 (struct test_sincos_data): Likewise.
20090 (RUN_TEST_f_f): Do not handle ulps.
20091 (RUN_TEST_LOOP_f_f): Likewise.
20092 (RUN_TEST_2_f): Likewise.
20093 (RUN_TEST_LOOP_2_f): Likewise.
20094 (RUN_TEST_fff_f): Likewise.
20095 (RUN_TEST_LOOP_fff_f): Likewise.
20096 (RUN_TEST_c_f): Likewise.
20097 (RUN_TEST_LOOP_c_f): Likewise.
20098 (RUN_TEST_f_f1): Likewise.
20099 (RUN_TEST_LOOP_f_f1): Likewise.
20100 (RUN_TEST_fF_f1): Likewise.
20101 (RUN_TEST_LOOP_fF_f1): Likewise.
20102 (RUN_TEST_fI_f1): Likewise.
20103 (RUN_TEST_LOOP_fI_f1): Likewise.
20104 (RUN_TEST_ffI_f1): Likewise.
20105 (RUN_TEST_LOOP_ffI_f1): Likewise.
20106 (RUN_TEST_c_c): Likewise.
20107 (RUN_TEST_LOOP_c_c): Likewise.
20108 (RUN_TEST_cc_c): Likewise.
20109 (RUN_TEST_LOOP_cc_c): Likewise.
20110 (RUN_TEST_f_i): Likewise.
20111 (RUN_TEST_LOOP_f_i): Likewise.
20112 (RUN_TEST_f_i_tg): Likewise.
20113 (RUN_TEST_LOOP_f_i_tg): Likewise.
20114 (RUN_TEST_ff_i_tg): Likewise.
20115 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20116 (RUN_TEST_f_b): Likewise.
20117 (RUN_TEST_LOOP_f_b): Likewise.
20118 (RUN_TEST_f_b_tg): Likewise.
20119 (RUN_TEST_LOOP_f_b_tg): Likewise.
20120 (RUN_TEST_f_l): Likewise.
20121 (RUN_TEST_LOOP_f_l): Likewise.
20122 (RUN_TEST_f_L): Likewise.
20123 (RUN_TEST_LOOP_f_L): Likewise.
20124 (RUN_TEST_sincos): Likewise.
20125 (RUN_TEST_LOOP_sincos): Likewise.
20127 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20131 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20132 main case of finite arguments, set rounding mode to FE_TONEAREST
20133 and discard exceptions.
20134 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20136 (remainder_tonearest_test_data): New variable.
20137 (remainder_test_tonearest): New function.
20138 (remainder_towardzero_test_data): New variable.
20139 (remainder_test_towardzero): New function.
20140 (remainder_downward_test_data): New variable.
20141 (remainder_test_downward): New function.
20142 (remainder_upward_test_data): New variable.
20143 (remainder_test_upward): New function.
20144 (main): Call the new test functions.
20146 * math/libm-test.inc (struct test_f_f1_data): Remove field
20148 (struct test_fF_f1_data): Likewise.
20149 (struct test_ffI_f1_data): Likewise.
20150 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20151 based on value of EXTRA_EXPECTED.
20152 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20153 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20154 EXTRA_VAR based on value of EXTRA_EXPECTED.
20155 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20156 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20157 EXTRA_VAR based on value of EXTRA_EXPECTED.
20158 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20159 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20160 EXTRA_VAR based on value of EXTRA_EXPECTED.
20161 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20162 * math/gen-libm-test.pl (parse_args): Don't output initializers
20163 for extra output values.
20165 * math/libm-test.inc (check_int): Expect result to be exactly
20166 equal to expected value and do not handle ulps.
20167 (check_long): Likewise.
20168 (check_longlong): Likewise.
20170 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20172 (cimag_test_data): Likewise.
20173 (conj_test_data): Likewise.
20174 (copysign_test_data): Likewise.
20175 (cproj_test_data): Likewise.
20176 (creal_test_data): Likewise.
20177 (fabs_test_data): Likewise.
20178 (fdim_test_data): Likewise.
20179 (finite_test_data): Likewise.
20180 (floor_test_data): Likewise.
20181 (fmax_test_data): Likewise.
20182 (fmin_test_data): Likewise.
20183 (fmod_test_data): Likewise.
20184 (fpclassify_test_data): Likewise.
20185 (frexp_test_data): Likewise.
20186 (ilogb_test_data): Likewise.
20187 (isfinite_test_data): Likewise.
20188 (isgreater_test_data): Likewise.
20189 (isgreaterequal_test_data): Likewise.
20190 (isinf_test_data): Likewise.
20191 (isless_test_data): Likewise.
20192 (islessequal_test_data): Likewise.
20193 (islessgreater_test_data): Likewise.
20194 (isnan_test_data): Likewise.
20195 (isnormal_test_data): Likewise.
20196 (issignaling_test_data): Likewise.
20197 (isunordered_test_data): Likewise.
20198 (ldexp_test_data): Likewise.
20199 (lrint_test_data): Likewise.
20200 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20201 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20202 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20203 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20204 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20205 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20207 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20208 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20209 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20210 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20212 (lrint_downward_test_data): Test for "inexact" exceptions.
20213 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20214 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20215 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20217 (lrint_upward_test_data): Test for "inexact" exceptions.
20218 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20220 (llrint_test_data): Test for "inexact" exceptions.
20221 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20222 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20223 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20224 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20225 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20226 (llrint_downward_test_data): Test for "inexact" exceptions.
20227 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20228 (llrint_upward_test_data): Test for "inexact" exceptions.
20229 (logb_test_data): Likewise.
20230 (logb_downward_test_data): Likewise.
20231 (nextafter_test_data): Likewise.
20232 (nexttoward_test_data): Likewise.
20233 (remainder_test_data): Likewise.
20234 (remquo_test_data): Likewise.
20235 (scalbn_test_data): Likewise.
20236 (scalbln_test_data): Likewise.
20237 (signbit_test_data): Likewise.
20238 (sqrt_test_data): Likewise.
20239 (significand_test_data): Likewise.
20241 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20244 * benchtests/bench-modf.c (struct args): Mark arg0 as
20246 * scripts/bench.pl: Mark members of struct args as volatile.
20248 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20251 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20252 negative infinity on POWER6 or lower.
20253 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20255 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20258 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20259 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20260 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20261 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20262 (_FP_SETQNAN): New macro.
20263 (_FP_SETQNAN_SEMIRAW): Likewise.
20264 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20265 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20266 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20267 (FP_EXTEND): Use _FP_FRAC_SNANP.
20268 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20269 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20271 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20273 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20276 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20278 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20279 with DIVIDE_BY_ZERO_EXCEPTION.
20280 (gamma_test_data): Likewise.
20281 (lgamma_test_data): Likewise.
20282 (log_test_data): Likewise.
20283 (log10_test_data): Likewise.
20284 (log2_test_data): Likewise.
20285 (tgamma_test_data): Likewise.
20287 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20288 (acos_test_tonearest): Likewise.
20289 (acos_test_towardzero): Likewise.
20290 (acos_test_downward): Likewise.
20291 (acos_test_upward): Likewise.
20292 (acosh_test): Likewise.
20293 (asin_test): Likewise.
20294 (asin_test_tonearest): Likewise.
20295 (asin_test_towardzero): Likewise.
20296 (asin_test_downward): Likewise.
20297 (asin_test_upward): Likewise.
20298 (asinh_test): Likewise.
20299 (atan_test): Likewise.
20300 (atanh_test): Likewise.
20301 (atan2_test): Likewise.
20302 (cabs_test): Likewise.
20303 (cacos_test): Likewise.
20304 (cacosh_test): Likewise.
20305 (casin_test): Likewise.
20306 (casinh_test): Likewise.
20307 (catan_test): Likewise.
20308 (catanh_test): Likewise.
20309 (cbrt_test): Likewise.
20310 (ccos_test): Likewise.
20311 (ccosh_test): Likewise.
20312 (cexp_test): Likewise.
20313 (clog_test): Likewise.
20314 (clog10_test): Likewise.
20315 (cos_test): Likewise.
20316 (cos_test_tonearest): Likewise.
20317 (cos_test_towardzero): Likewise.
20318 (cos_test_downward): Likewise.
20319 (cos_test_upward): Likewise.
20320 (cosh_test): Likewise.
20321 (cosh_test_tonearest): Likewise.
20322 (cosh_test_towardzero): Likewise.
20323 (cosh_test_downward): Likewise.
20324 (cosh_test_upward): Likewise.
20325 (cpow_test): Likewise.
20326 (csin_test): Likewise.
20327 (csinh_test): Likewise.
20328 (csqrt_test): Likewise.
20329 (ctan_test): Likewise.
20330 (ctan_test_tonearest): Likewise.
20331 (ctan_test_towardzero): Likewise.
20332 (ctan_test_downward): Likewise.
20333 (ctan_test_upward): Likewise.
20334 (ctanh_test): Likewise.
20335 (ctanh_test_tonearest): Likewise.
20336 (ctanh_test_towardzero): Likewise.
20337 (ctanh_test_downward): Likewise.
20338 (ctanh_test_upward): Likewise.
20339 (erf_test): Likewise.
20340 (erfc_test): Likewise.
20341 (exp_test): Likewise.
20342 (exp_test_tonearest): Likewise.
20343 (exp_test_towardzero): Likewise.
20344 (exp_test_downward): Likewise.
20345 (exp_test_upward): Likewise.
20346 (exp10_test): Likewise.
20347 (exp2_test): Likewise.
20348 (expm1_test): Likewise.
20349 (fmod_test): Likewise.
20350 (gamma_test): Likewise.
20351 (hypot_test): Likewise.
20352 (j0_test): Likewise.
20353 (j1_test): Likewise.
20354 (jn_test): Likewise.
20355 (lgamma_test): Likewise.
20356 (log_test): Likewise.
20357 (log10_test): Likewise.
20358 (log1p_test): Likewise.
20359 (log2_test): Likewise.
20360 (logb_test_downward): Likewise.
20361 (pow_test): Likewise.
20362 (pow_test_tonearest): Likewise.
20363 (pow_test_towardzero): Likewise.
20364 (pow_test_downward): Likewise.
20365 (pow_test_upward): Likewise.
20366 (remainder_test): Likewise.
20367 (remquo_test): Likewise.
20368 (sin_test): Likewise.
20369 (sin_test_tonearest): Likewise.
20370 (sin_test_towardzero): Likewise.
20371 (sin_test_downward): Likewise.
20372 (sin_test_upward): Likewise.
20373 (sincos_test): Likewise.
20374 (sinh_test): Likewise.
20375 (sinh_test_tonearest): Likewise.
20376 (sinh_test_towardzero): Likewise.
20377 (sinh_test_downward): Likewise.
20378 (sinh_test_upward): Likewise.
20379 (sqrt_test): Likewise.
20380 (tan_test): Likewise.
20381 (tan_test_tonearest): Likewise.
20382 (tan_test_towardzero): Likewise.
20383 (tan_test_downward): Likewise.
20384 (tan_test_upward): Likewise.
20385 (tanh_test): Likewise.
20386 (tgamma_test): Likewise.
20387 (y0_test): Likewise.
20388 (y1_test): Likewise.
20389 (yn_test): Likewise.
20391 * math/gen-libm-test.pl (adjust_arg): Remove function.
20392 (special_function): Remove argument $in_func. Only handle
20393 generating output for tables of tests, not inside functions.
20394 (parse_args): Likewise.
20395 (generate_testfile): Remove variable $in_func. Update call to
20397 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20398 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20399 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20400 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20401 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20402 (MAX_VALUE_INIT): Rename macro to max_value.
20403 (MIN_VALUE_INIT): Rename macro to min_value.
20404 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20405 (plus_zero): Remove variable.
20406 (minus_zero): Likewise.
20407 (plus_infty): Likewise.
20408 (minus_infty): Likewise.
20409 (qnan_value): Likewise.
20410 (max_value): Likewise.
20411 (min_value): Likewise.
20412 (min_subnorm_value): Likewise.
20414 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20416 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20417 uint64_t or uint32_t usage.
20418 * crypt/sha256-block.c: Likewise.
20419 * crypt/sha256-crypt.c: Likewise.
20420 * crypt/sha256.c: Likewise.
20421 * crypt/sha512-block.c: Likewise.
20422 * crypt/sha512-crypt.c: Likewise.
20423 * crypt/sha512.c: Likewise.
20424 * debug/backtrace-tst.c: Likewise.
20425 * debug/pcprofiledump.c: Likewise.
20426 * elf/cache.c: Likewise.
20427 * elf/dl-cache.c: Likewise.
20428 * elf/dl-misc.c: Likewise.
20429 * elf/dl-profile.c: Likewise.
20430 * elf/dl-support.c: Likewise.
20431 * elf/ldconfig.c: Likewise.
20432 * elf/sprof.c: Likewise.
20433 * iconv/dummy-repertoire.c: Likewise.
20434 * iconv/iconv_charmap.c: Likewise.
20435 * iconv/skeleton.c: Likewise.
20436 * iconvdata/8bit-generic.c: Likewise.
20437 * iconvdata/cp737.h: Likewise.
20438 * iconvdata/cp775.h: Likewise.
20439 * iconvdata/ibm1008.h: Likewise.
20440 * iconvdata/ibm1025.h: Likewise.
20441 * iconvdata/ibm1046.h: Likewise.
20442 * iconvdata/ibm1097.h: Likewise.
20443 * iconvdata/ibm1112.h: Likewise.
20444 * iconvdata/ibm1122.h: Likewise.
20445 * iconvdata/ibm1123.h: Likewise.
20446 * iconvdata/ibm1124.h: Likewise.
20447 * iconvdata/ibm1129.h: Likewise.
20448 * iconvdata/ibm1130.h: Likewise.
20449 * iconvdata/ibm1132.h: Likewise.
20450 * iconvdata/ibm1133.h: Likewise.
20451 * iconvdata/ibm1137.h: Likewise.
20452 * iconvdata/ibm1140.h: Likewise.
20453 * iconvdata/ibm1141.h: Likewise.
20454 * iconvdata/ibm1142.h: Likewise.
20455 * iconvdata/ibm1143.h: Likewise.
20456 * iconvdata/ibm1144.h: Likewise.
20457 * iconvdata/ibm1145.h: Likewise.
20458 * iconvdata/ibm1146.h: Likewise.
20459 * iconvdata/ibm1147.h: Likewise.
20460 * iconvdata/ibm1148.h: Likewise.
20461 * iconvdata/ibm1149.h: Likewise.
20462 * iconvdata/ibm1153.h: Likewise.
20463 * iconvdata/ibm1154.h: Likewise.
20464 * iconvdata/ibm1155.h: Likewise.
20465 * iconvdata/ibm1156.h: Likewise.
20466 * iconvdata/ibm1157.h: Likewise.
20467 * iconvdata/ibm1158.h: Likewise.
20468 * iconvdata/ibm1160.h: Likewise.
20469 * iconvdata/ibm1161.h: Likewise.
20470 * iconvdata/ibm1162.h: Likewise.
20471 * iconvdata/ibm1163.h: Likewise.
20472 * iconvdata/ibm1164.h: Likewise.
20473 * iconvdata/ibm1166.h: Likewise.
20474 * iconvdata/ibm1167.h: Likewise.
20475 * iconvdata/ibm12712.h: Likewise.
20476 * iconvdata/ibm1390.h: Likewise.
20477 * iconvdata/ibm1399.h: Likewise.
20478 * iconvdata/ibm16804.h: Likewise.
20479 * iconvdata/ibm4517.h: Likewise.
20480 * iconvdata/ibm4899.h: Likewise.
20481 * iconvdata/ibm4909.h: Likewise.
20482 * iconvdata/ibm4971.h: Likewise.
20483 * iconvdata/ibm5347.h: Likewise.
20484 * iconvdata/ibm803.h: Likewise.
20485 * iconvdata/ibm856.h: Likewise.
20486 * iconvdata/ibm901.h: Likewise.
20487 * iconvdata/ibm902.h: Likewise.
20488 * iconvdata/ibm9030.h: Likewise.
20489 * iconvdata/ibm9066.h: Likewise.
20490 * iconvdata/ibm921.h: Likewise.
20491 * iconvdata/ibm922.h: Likewise.
20492 * iconvdata/ibm9448.h: Likewise.
20493 * iconvdata/isiri-3342.h: Likewise.
20494 * iconvdata/jis0201.h: Likewise.
20495 * include/link.h: Likewise.
20496 * include/netdb.h: Likewise.
20497 * inet/check_native.c: Likewise.
20498 * inet/check_pf.c: Likewise.
20499 * inet/getipv4sourcefilter.c: Likewise.
20500 * inet/getnameinfo.c: Likewise.
20501 * inet/getsourcefilter.c: Likewise.
20502 * inet/htonl.c: Likewise.
20503 * inet/setipv4sourcefilter.c: Likewise.
20504 * inet/setsourcefilter.c: Likewise.
20505 * inet/test-inet6_opt.c: Likewise.
20506 * inet/tst-network.c: Likewise.
20507 * locale/C-collate.c: Likewise.
20508 * locale/C-ctype.c: Likewise.
20509 * locale/C-time.c: Likewise.
20510 * locale/C-translit.h: Likewise.
20511 * locale/loadarchive.c: Likewise.
20512 * locale/programs/3level.h: Likewise.
20513 * locale/programs/charmap.c: Likewise.
20514 * locale/programs/charmap.h: Likewise.
20515 * locale/programs/ld-address.c: Likewise.
20516 * locale/programs/ld-collate.c: Likewise.
20517 * locale/programs/ld-ctype.c: Likewise.
20518 * locale/programs/ld-identification.c: Likewise.
20519 * locale/programs/ld-measurement.c: Likewise.
20520 * locale/programs/ld-messages.c: Likewise.
20521 * locale/programs/ld-monetary.c: Likewise.
20522 * locale/programs/ld-name.c: Likewise.
20523 * locale/programs/ld-numeric.c: Likewise.
20524 * locale/programs/ld-paper.c: Likewise.
20525 * locale/programs/ld-telephone.c: Likewise.
20526 * locale/programs/ld-time.c: Likewise.
20527 * locale/programs/linereader.c: Likewise.
20528 * locale/programs/locale.c: Likewise.
20529 * locale/programs/locarchive.c: Likewise.
20530 * locale/programs/locfile.h: Likewise.
20531 * locale/programs/repertoire.c: Likewise.
20532 * locale/programs/simple-hash.c: Likewise.
20533 * locale/programs/simple-hash.h: Likewise.
20534 * malloc/memusage.c: Likewise.
20535 * malloc/memusagestat.c: Likewise.
20536 * nis/nis_defaults.c: Likewise.
20537 * nis/nis_hash.c: Likewise.
20538 * nis/nis_print.c: Likewise.
20539 * nis/nis_xdr.c: Likewise.
20540 * nscd/connections.c: Likewise.
20541 * nscd/hstcache.c: Likewise.
20542 * nscd/nscd_gethst_r.c: Likewise.
20543 * nscd/nscd_getserv_r.c: Likewise.
20544 * nscd/nscd_helper.c: Likewise.
20545 * nscd/servicescache.c: Likewise.
20546 * nss/makedb.c: Likewise.
20547 * nss/nss_db/db-XXX.c: Likewise.
20548 * nss/nss_db/db-initgroups.c: Likewise.
20549 * nss/nss_db/db-netgrp.c: Likewise.
20550 * nss/nss_files/files-network.c: Likewise.
20551 * nss/nss_files/files-parse.c: Likewise.
20552 * posix/bug-regex5.c: Likewise.
20553 * posix/fnmatch_loop.c: Likewise.
20554 * posix/regcomp.c: Likewise.
20555 * posix/regexec.c: Likewise.
20556 * posix/tst-rfc3484-2.c: Likewise.
20557 * posix/tst-rfc3484-3.c: Likewise.
20558 * posix/tst-rfc3484.c: Likewise.
20559 * resolv/nss_dns/dns-canon.c: Likewise.
20560 * resolv/nss_dns/dns-network.c: Likewise.
20561 * resolv/res_init.c: Likewise.
20562 * resolv/res_mkquery.c: Likewise.
20563 * resolv/tst-aton.c: Likewise.
20564 * stdlib/cxa_atexit.c: Likewise.
20565 * stdlib/cxa_finalize.c: Likewise.
20566 * stdlib/gen-fpioconst.c: Likewise.
20567 * stdlib/strtol_l.c: Likewise.
20568 * string/tst-endian.c: Likewise.
20569 * sunrpc/auth_des.c: Likewise.
20570 * sunrpc/clnt_udp.c: Likewise.
20571 * sunrpc/rtime.c: Likewise.
20572 * sunrpc/svcauth_des.c: Likewise.
20573 * sunrpc/xdr.c: Likewise.
20574 * sunrpc/xdr_intXX_t.c: Likewise.
20575 * sunrpc/xdr_rec.c: Likewise.
20576 * sysdeps/generic/ldconfig.h: Likewise.
20577 * sysdeps/generic/ldsodefs.h: Likewise.
20578 * sysdeps/generic/memusage.h: Likewise.
20579 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20580 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20581 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20582 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20585 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20587 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20589 * sysdeps/posix/getaddrinfo.c: Likewise.
20590 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20591 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20592 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20593 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20594 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20595 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20596 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20597 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20598 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20599 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20600 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20601 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20602 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20603 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20604 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20605 * sysdeps/x86_64/dl-tls.h: Likewise.
20606 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20607 * time/alt_digit.c: Likewise.
20608 * time/era.c: Likewise.
20609 * wcsmbs/tst-c16c32-1.c: Likewise.
20611 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20613 * math/libm-test.inc (struct test_sincos_data): New type.
20614 (RUN_TEST_LOOP_sincos): New macro.
20615 (sincos_test_data): New variable.
20616 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20618 2013-05-16 Richard Henderson <rth@redhat.com>
20620 * math/atest-exp2.c (LIMB64): New macro.
20621 (CONSTSZ): New macro.
20622 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20624 (print_mpn_fp): ... to function scope.
20625 (read_mpn_hex): Remove.
20626 (get_log2): Remove.
20627 (exp2_mpn): Use mp_log2.
20628 (main): Use mp_exp1.
20630 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20632 * math/libm-test.inc: Remove comment about not testing "inexact"
20634 (INEXACT_EXCEPTION): New macro.
20635 (NO_INEXACT_EXCEPTION): Likewise.
20636 (INVALID_EXCEPTION_OK): Update value.
20637 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20638 (OVERFLOW_EXCEPTION_OK): Likewise.
20639 (UNDERFLOW_EXCEPTION_OK): Likewise.
20640 (IGNORE_ZERO_INF_SIGN): Likewise.
20641 (ERRNO_UNCHANGED): Likewise.
20642 (ERRNO_EDOM): Likewise.
20643 (ERRNO_ERANGE): Likewise.
20644 (test_exceptions): Handle testing "inexact" exceptions.
20645 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20646 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20647 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20648 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20650 (rint_towardzero_test_data): Likewise.
20651 (rint_downward_test_data): Likewise.
20652 (rint_upward_test_data): Likewise.
20654 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20655 with OVERFLOW_EXCEPTION.
20656 (exp10_test_data): Likewise.
20657 (exp2_test_data): Likewise.
20658 (expm1_test_data): Likewise.
20659 (lgamma_test_data): Likewise.
20660 (pow_test_data): Likewise.
20661 (tgamma_test_data): Likewise.
20662 (yn_test_data): Remove duplicate test of overflow.
20664 * math/libm-test.inc (struct test_cc_c_data): New type.
20665 (RUN_TEST_LOOP_cc_c): New macro.
20666 (cpow_test_data): New variable.
20667 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20669 * math/libm-test.inc (struct test_f_L_data): New type.
20670 (RUN_TEST_LOOP_f_L): New macro.
20671 (llrint_test_data): New variable.
20672 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20673 (llrint_tonearest_test_data): New variable.
20674 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20675 (llrint_towardzero_test_data): New variable.
20676 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20677 (llrint_downward_test_data): New variable.
20678 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20679 (llrint_upward_test_data): New variable.
20680 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20681 (llround_test_data): New variable.
20682 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20684 2013-05-13 Peter Collingbourne <pcc@google.com>
20686 * math/atest-exp2.c (get_log2): Remove const attribute.
20688 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20690 * math/libm-test.inc (struct test_f_l_data): New type.
20691 (RUN_TEST_LOOP_f_l): New macro.
20692 (lrint_test_data): New variable.
20693 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20694 (lrint_tonearest_test_data): New variable.
20695 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20696 (lrint_towardzero_test_data): New variable.
20697 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20698 (lrint_downward_test_data): New variable.
20699 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20700 (lrint_upward_test_data): New variable.
20701 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20702 (lround_test_data): New variable.
20703 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20705 2013-05-15 Peter Collingbourne <pcc@google.com>
20707 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20708 (EXTRACT_WORDS64) Use where appropriate.
20709 (INSERT_WORDS64) Likewise.
20711 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20712 constraints with x constraints.
20713 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20715 * malloc/obstack.c (_obstack_compat): Add initializer.
20717 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20720 si_trapno and add si_addr_lsb to _sifields.sigfault.
20721 (si_trapno): Remove macro.
20722 (si_addr_lsb): Define new macro.
20723 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20725 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20727 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20728 instead of TEST_f_l.
20729 (llrint_test_tonearest): Likewise.
20730 (llrint_test_towardzero): Likewise.
20731 (llrint_test_downward): Likewise.
20732 (llrint_test_upward): Likewise.
20733 (llround_test): Likewise.
20735 * math/libm-test.inc (struct test_f_i_data): Add comment.
20736 (RUN_TEST_LOOP_f_b): New macro.
20737 (RUN_TEST_LOOP_f_b_tg): Likewise.
20738 (finite_test_data): New variable.
20739 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20740 (isfinite_test_data): New variable.
20741 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20742 (isinf_test_data): New variable.
20743 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20744 (isnan_test_data): New variable.
20745 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20746 (isnormal_test_data): New variable.
20747 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20748 (issignaling_test_data): New variable.
20749 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20750 (signbit_test_data): New variable.
20751 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20753 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20754 with INVALID_EXCEPTION.
20755 (acosh_test_data): Likewise.
20756 (asin_test_data): Likewise.
20757 (atanh_test_data): Likewise.
20758 (fmod_test_data): Likewise.
20759 (log_test_data): Likewise.
20760 (log10_test_data): Likewise.
20761 (log2_test_data): Likewise.
20762 (pow_test_data): Likewise.
20763 (sqrt_test_data): Likewise.
20764 (y0_test_data): Likewise.
20765 (y1_test_data): Likewise.
20766 (yn_test_data): Likewise.
20768 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20771 * math/libm-test.inc (struct test_ff_i_data): New type.
20772 (RUN_TEST_LOOP_ff_i_tg): New macro.
20773 (isgreater_test_data): New variable.
20774 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20775 (isgreaterequal_test_data): New variable.
20776 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20777 (isless_test_data): New variable.
20778 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20779 (islessequal_test_data): New variable.
20780 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20781 (islessgreater_test_data): New variable.
20782 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20783 (isunordered_test_data): New variable.
20784 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20786 2013-05-14 David S. Miller <davem@davemloft.net>
20788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20790 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20792 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20794 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20796 (struct test_f_i_data): Change type of max_ulp to int.
20798 * math/libm-test.inc (test_ffI_f1_data): New type.
20799 (RUN_TEST_LOOP_ffI_f1): New macro.
20800 (remquo_test_data): New variable.
20801 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20803 * setjmp/tst-setjmp-fp.c: New file.
20804 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20805 (link-libm): New variable.
20806 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20808 * math/libm-test.inc (struct test_f_i_data): New type.
20809 (RUN_TEST_LOOP_f_i): New macro.
20810 (RUN_TEST_LOOP_f_i_tg): Likewise.
20811 (fpclassify_test_data): New variable.
20812 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20813 (ilogb_test_data): New variable.
20814 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20816 * math/libm-test.inc (scalbln_test): Correct function name in END
20819 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20820 (RUN_TEST_LOOP_fI_f1): New macro.
20821 (frexp_test_data): New variable.
20822 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20824 * math/libm-test.inc (struct test_fF_f1_data): New type.
20825 (RUN_TEST_LOOP_fF_f1): New macro.
20826 (modf_test_data): New variable.
20827 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20829 * math/libm-test.inc (struct test_f_f1_data): New type.
20830 (RUN_TEST_LOOP_f_f1): New macro.
20831 (gamma_test_data): New variable.
20832 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20833 (lgamma_test_data): New variable.
20834 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20836 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20838 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20839 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20840 (main): Comment "tls" pseudo-hwcap.
20842 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20844 * math/libm-test.inc (struct test_fl_f_data): New type.
20845 (RUN_TEST_LOOP_fl_f): New variable.
20846 (scalbln_test_data): New variable.
20847 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20849 * math/libm-test.inc (struct test_fi_f_data): New type.
20850 (RUN_TEST_LOOP_fi_f): New macro.
20851 (ldexp_test_data): New variable.
20852 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20853 (scalbn_test_data): New variable.
20854 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20856 * math/libm-test.inc (struct test_c_f_data): New type.
20857 (RUN_TEST_LOOP_c_f): New macro.
20858 (cabs_test_data): New variable.
20859 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20860 (carg_test_data): New variable.
20861 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20862 (cimag_test_data): New variable.
20863 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20864 (creal_test_data): New variable.
20865 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20867 * math/libm-test.inc (struct test_if_f_data): New type.
20868 (RUN_TEST_LOOP_if_f): New macro.
20869 (jn_test_data): New variable.
20870 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20871 (yn_test_data): New variable.
20872 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20874 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20876 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20878 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20879 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20881 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20883 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20884 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20885 (bench-deps): Add bench-timing.h.
20886 * benchtests-bench-skeleton.c: Include bench-timing.h.
20887 (main): Use TIMING_* macros instead of clock_gettime.
20888 * benchtests/bench-timing.h: New file.
20891 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20892 Renamed from _LIB_VERSION.
20893 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20895 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20897 * math/libm-test.inc (struct test_fff_f_data): New type.
20898 (RUN_TEST_LOOP_fff_f): New macro.
20899 (fma_test_data): New variable.
20900 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20901 (fma_towardzero_test_data): New variable.
20902 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20903 (fma_downward_test_data): New variable.
20904 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20905 (fma_upward_test_data): New variable.
20906 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20908 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20909 (struct test_c_c_data): New type.
20910 (RUN_TEST_LOOP_c_c): New macro.
20911 (cacos_test_data): New variable.
20912 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20913 (cacosh_test_data): New variable.
20914 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20915 (casin_test_data): New variable.
20916 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20917 (casinh_test_data): New variable.
20918 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20919 (catan_test_data): New variable.
20920 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20921 (catanh_test_data): New variable.
20922 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20923 (ccos_test_data): New variable.
20924 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20925 (ccosh_test_data): New variable.
20926 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20927 (cexp_test_data): New variable.
20928 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20929 (clog_test_data): New variable.
20930 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20931 (clog10_test_data): New variable.
20932 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20933 (conj_test_data): New variable.
20934 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20935 (cproj_test_data): New variable.
20936 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20937 (csin_test_data): New variable.
20938 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20939 (csinh_test_data): New variable.
20940 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20941 (csqrt_test_data): New variable.
20942 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20943 (ctan_test_data): New variable.
20944 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20945 (ctan_tonearest_test_data): New variable.
20946 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20947 (ctan_towardzero_test_data): New variable.
20948 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20949 (ctan_downward_test_data): New variable.
20950 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20951 (ctan_upward_test_data): New variable.
20952 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20953 (ctanh_test_data): New variable.
20954 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20955 (ctanh_tonearest_test_data): New variable.
20956 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20957 (ctanh_towardzero_test_data): New variable.
20958 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20959 (ctanh_downward_test_data): New variable.
20960 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20961 (ctanh_upward_test_data): New variable.
20962 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20963 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20966 * math/libm-test.inc (struct test_ff_f_data): New type.
20967 (struct test_ff_f_data_nexttoward): Likewise.
20968 (RUN_TEST_LOOP_2_f): New macro.
20969 (RUN_TEST_LOOP_ff_f): Likewise.
20970 (atan2_test_data): New variable.
20971 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20972 (copysign_test_data): New variable.
20973 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20974 (fdim_test_data): New variable.
20975 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20976 (fmax_test_data): New variable.
20977 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20978 (fmin_test_data): New variable.
20979 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20980 (fmod_test_data): New variable.
20981 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20982 (hypot_test_data): New variable.
20983 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20984 (nextafter_test_data): New variable.
20985 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20986 (nexttoward_test_data): New variable.
20987 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20988 (pow_test_data): New variable.
20989 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20990 (pow_tonearest_test_data): New variable.
20991 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20992 (pow_towardzero_test_data): New variable.
20993 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20994 (pow_downward_test_data): New variable.
20995 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20996 (pow_upward_test_data): New variable.
20997 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20998 (remainder_test_data): New variable.
20999 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21000 (scalb_test_data): New variable.
21001 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21002 * sysdeps/i386/fpu/libm-test-ulps: Update.
21004 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21006 * math/libm-test.inc (fma_test): Use max_value instead of local
21008 (nextafter_test): Likewise.
21010 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21011 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21012 (acos_downward_test_data): New variable.
21013 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21014 (acos_upward_test_data): New variable.
21015 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21016 (acosh_test_data): New variable.
21017 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21018 (asin_test_data): New variable.
21019 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21020 (asin_tonearest_test_data): New variable.
21021 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21022 (asin_towardzero_test_data): New variable.
21023 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21024 (asin_downward_test_data): New variable.
21025 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21026 (asin_upward_test_data): New variable.
21027 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21028 (asinh_test_data): New variable.
21029 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21030 (atan_test_data): New variable.
21031 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21032 (atanh_test_data): New variable.
21033 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21034 (cbrt_test_data): New variable.
21035 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21036 (ceil_test_data): New variable.
21037 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21038 (cos_test_data): New variable.
21039 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21040 (cos_tonearest_test_data): New variable.
21041 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21042 (cos_towardzero_test_data): New variable.
21043 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21044 (cos_downward_test_data): New variable.
21045 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21046 (cos_upward_test_data): New variable.
21047 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21048 (cosh_test_data): New variable.
21049 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21050 (cosh_tonearest_test_data): New variable.
21051 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21052 (cosh_towardzero_test_data): New variable.
21053 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21054 (cosh_downward_test_data): New variable.
21055 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21056 (cosh_upward_test_data): New variable.
21057 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21058 (erf_test_data): New variable.
21059 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21060 (erfc_test_data): New variable.
21061 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21062 (exp_test_data): New variable.
21063 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21064 (exp_tonearest_test_data): New variable.
21065 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21066 (exp_towardzero_test_data): New variable.
21067 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21068 (exp_downward_test_data): New variable.
21069 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21070 (exp_upward_test_data): New variable.
21071 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21072 (exp10_test_data): New variable.
21073 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21074 (exp2_test_data): New variable.
21075 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21076 (expm1_test_data): New variable.
21077 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21078 (fabs_test_data): New variable.
21079 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21080 (floor_test_data): New variable.
21081 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21082 (j0_test_data): New variable.
21083 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21084 (j1_test_data): New variable.
21085 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21086 (log_test_data): New variable.
21087 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21088 (log10_test_data): New variable.
21089 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21090 (log1p_test_data): New variable.
21091 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21092 (log2_test_data): New variable.
21093 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21094 (logb_test_data): New variable.
21095 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21096 (logb_downward_test_data): New variable.
21097 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21098 (nearbyint_test_data): New variable.
21099 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21100 (rint_test_data): New variable.
21101 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21102 (rint_tonearest_test_data): New variable.
21103 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21104 (rint_towardzero_test_data): New variable.
21105 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21106 (rint_downward_test_data): New variable.
21107 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21108 (rint_upward_test_data): New variable.
21109 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21110 (round_test_data): New variable.
21111 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21112 (sin_test_data): New variable.
21113 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21114 (sin_tonearest_test_data): New variable.
21115 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21116 (sin_towardzero_test_data): New variable.
21117 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21118 (sin_downward_test_data): New variable.
21119 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21120 (sin_upward_test_data): New variable.
21121 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21122 (sinh_test_data): New variable.
21123 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21124 (sinh_tonearest_test_data): New variable.
21125 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21126 (sinh_towardzero_test_data): New variable.
21127 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21128 (sinh_downward_test_data): New variable.
21129 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21130 (sinh_upward_test_data): New variable.
21131 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21132 (sqrt_test_data): New variable.
21133 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21134 (tan_test_data): New variable.
21135 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21136 (tan_tonearest_test_data): New variable.
21137 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21138 (tan_towardzero_test_data): New variable.
21139 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21140 (tan_downward_test_data): New variable.
21141 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21142 (tan_upward_test_data): New variable.
21143 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21144 (tanh_test_data): New variable.
21145 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21146 (tgamma_test_data): New variable.
21147 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21148 (trunc_test_data): New variable.
21149 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21150 (y0_test_data): New variable.
21151 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21152 (y1_test_data): New variable.
21153 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21154 (significand_test_data): New variable.
21155 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21157 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21160 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21162 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21164 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21166 2013-05-10 Andreas Jaeger <aj@suse.de>
21169 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21170 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21172 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21174 * math/gen-libm-test.pl (adjust_arg): New function.
21175 (special_functions): Handle generating output in both functions
21177 (parse_args): Likewise.
21178 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21179 $in_func argument to parse_args.
21180 * math/libm-test.inc (struct test_f_f_data): New type.
21181 (IF_ROUND_INIT_): New macro.
21182 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21183 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21184 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21185 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21186 (ROUND_RESTORE_): Likewise.
21187 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21188 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21189 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21190 (ROUND_RESTORE_FE_UPWARD): Likewise.
21191 (RUN_TEST_LOOP_f_f): New macro.
21192 (acos_test_data): New variable.
21193 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21194 (acos_tonearest_test_data): New variable.
21195 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21197 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21199 * benchtests/bench-skeleton.c (startup): Fix coding style.
21201 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21204 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21205 negative infinity argument.
21206 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21207 negative infinity argument.
21208 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21209 negative infinity argument.
21210 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21213 2013-05-10 Florian Weimer <fweimer@redhat.com>
21215 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21216 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21217 * iconv/iconv_prog.c (main): Likewise.
21218 * locale/programs/charmap-dir.c (charmap_readdir)
21219 (fopen_uncompressed): Likewise.
21220 * locale/programs/locfile.c (siblings_uncached)
21221 (write_locale_data): Use lstat64 instead of lstat.
21222 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21225 2013-05-10 Andreas Jaeger <aj@suse.de>
21228 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21230 Include <locale.h>.
21232 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21234 * elf/dl-close.c (_dl_close_worker): Add comments.
21236 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21239 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21241 (__ieee754_rem_pio2l): Update comments.
21244 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21246 (__ieee754_rem_pio2l): Update comments.
21248 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21249 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21251 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21254 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21255 (M_PI_34_LOG10El): Likewise.
21256 (M_PI2_LOG10El): Likewise.
21257 (M_PI4_LOG10El): Likewise.
21258 (M_PI_LOG10El): Likewise.
21260 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21264 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21266 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21267 (MINUS_ZERO_INIT): Likewise.
21268 (PLUS_INFTY_INIT): Likewise.
21269 (MINUS_INFTY_INIT): Likewise.
21270 (QNAN_VALUE_INIT): Likewise.
21271 (MAX_VALUE_INIT): Likewise.
21272 (MIN_VALUE_INIT): Likewise.
21273 (MIN_SUBNORM_VALUE_INIT): Likewise.
21274 (plus_zero): Initialize with PLUS_ZERO_INIT.
21275 (minus_zero): Initialize with MINUS_ZERO_INIT.
21276 (plus_infty): Initialize with PLUS_INFTY_INIT.
21277 (minus_infty): Initialize with MINUS_INFTY_INIT.
21278 (qnan_value): Initialize with QNAN_VALUE_INIT.
21279 (max_value): Initialize with MAX_VALUE_INIT.
21280 (min_value): Initialize with MIN_VALUE_INIT.
21281 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21283 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21284 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21285 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21286 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21288 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21289 (RUN_TEST_2_f): Likewise.
21290 (RUN_TEST_ff_f): Likewise.
21291 (RUN_TEST_fi_f): Likewise.
21292 (RUN_TEST_fl_f): Likewise.
21293 (RUN_TEST_fff_f): Likewise.
21294 (RUN_TEST_c_f): Likewise.
21295 (RUN_TEST_f_f1): Likewise.
21296 (RUN_TEST_fF_f1): Likewise.
21297 (RUN_TEST_fI_f1): Likewise.
21298 (RUN_TEST_ffI_f1): Likewise.
21299 (RUN_TEST_c_c): Likewise.
21300 (RUN_TEST_cc_c): Likewise.
21301 (RUN_TEST_f_i): Likewise.
21302 (RUN_TEST_f_i_tg): Likewise.
21303 (RUN_TEST_ff_i_tg): Likewise.
21304 (RUN_TEST_f_b): Likewise.
21305 (RUN_TEST_f_b_tg): Likewise.
21306 (RUN_TEST_f_l): Likewise.
21307 (RUN_TEST_f_L): Likewise.
21308 (RUN_TEST_sincos): Likewise.
21309 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21310 whether to show exceptions. Do not include ");\n" in return
21312 (special_functions): Output call to RUN_TEST_sincos instead of
21313 check_float calls. Update calls to new_test.
21314 (parse_args): Output call to single RUN_TEST_* macro instead of
21315 check_* calls and other assignments. Update calls to new_test.
21321 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21322 input to result for tgamma overflow.
21323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21324 (gamma_coeff): New variable.
21325 (NCOEFF): New macro.
21326 (gamma_positive): New function.
21327 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21328 underflow here. Use gamma_positive instead of exp (lgamma) for
21330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21331 (gamma_coeff): New variable.
21332 (NCOEFF): New macro.
21333 (gammaf_positive): New function.
21334 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21335 underflow here. Use gamma_positive instead of exp (lgamma) for
21337 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21338 (gamma_coeff): New variable.
21339 (NCOEFF): New macro.
21340 (gammal_positive): New function.
21341 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21342 underflow here. Use gamma_positive instead of exp (lgamma) for
21344 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21345 (gamma_coeff): New variable.
21346 (NCOEFF): New macro.
21347 (gammal_positive): New function.
21348 (__ieee754_gammal_r): Handle positive infinity, overflow and
21349 underflow here. Handle NaN the same as positive infinity. Remove
21350 check x < 0xffffffff for negative integers. Use gamma_positive
21351 instead of exp (lgamma) for other arguments.
21352 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21353 (gamma_coeff): New variable.
21354 (NCOEFF): New macro.
21355 (gammal_positive): New function.
21356 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21357 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21358 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21359 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21360 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21361 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21362 * sysdeps/generic/math_private.h (__gamma_productf): New
21364 (__gamma_product): Likewise.
21365 (__gamma_productl): Likewise.
21366 * math/Makefile (libm-calls): Add gamma_product.
21367 * math/libm-test.inc (tgamma_test): Add more tests.
21368 * sysdeps/i386/fpu/libm-test-ulps: Update.
21369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21371 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21373 * benchtests/bench-skeleton.c (main): Preheat CPU.
21375 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21377 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21379 2013-05-07 Roland McGrath <roland@hack.frob.com>
21381 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21382 and _dl_skip_args_internal.
21384 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21386 * manual/message.texi (Message Translation): Talk about users.
21387 Message to key mapping impacts design.
21389 2013-05-06 Roland McGrath <roland@hack.frob.com>
21391 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21393 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21395 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21396 * sysdeps/wordsize-64/glob64.c: ... here.
21398 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21399 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21402 * debug/getlogin_r_chk.c: Moved to ...
21403 * login/getlogin_r_chk.c: ... here.
21404 * debug/Makefile (routines): Move getlogin_r_chk to ...
21405 * login/Makefile (routines): ... here.
21406 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21407 * login/Versions (libc: GLIBC_2.4): ... here.
21409 * io/poll.c (__poll): Renamed from poll.
21410 Add libc_hidden_def.
21411 (poll): Define as weak alias.
21413 * debug/ptsname_r_chk.c: Moved to ...
21414 * login/ptsname_r_chk.c: ... here.
21415 * debug/Makefile (routines): Move ptsname_r_chk to ...
21416 * login/Makefile (routines): ... here.
21417 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21418 * login/Versions (libc: GLIBC_2.4): ... here.
21420 * posix/getlogin.c: Moved to ...
21421 * login/getlogin.c: ... here.
21422 * posix/getlogin_r.c: Moved to ...
21423 * login/getlogin_r.c: ... here.
21424 * posix/getlogin_r.c: Moved to ...
21425 * login/getlogin_r.c: ... here.
21426 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21427 * login/Makefile (routines): ... here.
21428 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21429 * login/Versions (libc: GLIBC_2.0): ... here.
21431 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21432 (setrlimit): Define as weak alias.
21434 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21435 Call __ names for open, ftruncate, and close.
21436 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21437 (truncate): Define as weak alias.
21439 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21441 * math/gen-libm-test.pl (parse_args): Initialize x before each
21442 test of frexp, modf and remquo.
21444 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21445 test signgam value.
21447 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21451 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21453 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21455 2013-05-06 Roland McGrath <roland@hack.frob.com>
21457 * elf/dl-writev.h: New file.
21458 * elf/dl-misc.c: Include it.
21459 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21460 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21462 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21464 * math/libm-test.inc (noXFails): Remove variable.
21465 (noXPasses): Likewise.
21466 (BUILD_COMPLEX_INT): Remove macro.
21467 (print_screen): Remove xfail argument.
21468 (print_screen_max_error): Likewise.
21469 (update_stats): Likewise.
21470 (print_max_error): Likewise. Update calls to other affected
21472 (print_complex_max_error): Likewise.
21473 (test_single_exception): Update calls to print_screen.
21474 (test_single_errno): Likewise.
21475 (check_float_internal): Remove xfail argument. Update calls to
21476 other affected functions.
21477 (check_float): Likewise.
21478 (check_complex): Likewise.
21479 (check_int): Likewise.
21480 (check_long): Likewise.
21481 (check_bool): Likewise.
21482 (check_longlong): Likewise.
21483 (main): Don't print noXFails and noXPasses.
21484 * math/gen-libm-test.pl (top level): Don't mention expected
21485 failure handling in comment.
21486 (new_test): Don't handle expected failures.
21487 (parse_args): Don't mention expected failure handling in comment.
21488 (generate_testfile): Don't handle expected failures.
21489 (parse_ulps): Likewise.
21490 (print_ulps_file): Likewise.
21491 (get_failure): Remove function.
21492 (output_test): Don't handle expected failures.
21493 * make/README.libm-test: Don't mention expected failure handling.
21495 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21496 (minus_zero): Likewise.
21497 (plus_infty): Likewise.
21498 (minus_infty): Likewise.
21499 (qnan_value): Likewise.
21500 (max_value): Likewise.
21501 (min_value): Likewise.
21502 (min_subnorm_value): Likewise.
21503 (initialize): Do not initialize those variables dynamically.
21505 2013-05-03 Roland McGrath <roland@hack.frob.com>
21507 * io/open.c (__open_2): Moved to ...
21508 * io/open_2.c: ... this new file.
21509 * io/open64.c (__open64_2): Moved to ...
21510 * io/open64_2.c: ... this new file.
21511 * io/openat.c (__openat_2): Moved to ...
21512 * io/openat_2.c: ... this new file.
21513 * io/openat64.c (__openat64_2): Moved to ...
21514 * io/openat64_2.c: ... this new file.
21515 * io/Makefile (routines): Add them.
21516 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21517 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21518 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21519 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21520 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21521 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21522 (__openat64): Add hidden_ver.
21523 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21524 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21526 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21527 Separately conditionalize setting of GLRO(dl_sysinfo) so
21528 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21529 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21531 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21533 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21536 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21537 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21538 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21539 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21540 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21542 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21544 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21545 test signgam value.
21547 * math/libm-test.inc (hypot_test): Do not use
21548 IGNORE_ZERO_INF_SIGN.
21550 2013-05-03 Andreas Jaeger <aj@suse.de>
21552 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21555 (PF_MAX): Adjust for VSOCK change.
21557 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21561 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21564 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21565 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21566 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21568 2013-05-02 David S. Miller <davem@davemloft.net>
21570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21572 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21574 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21576 2013-05-01 Roland McGrath <roland@hack.frob.com>
21578 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21580 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21583 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21584 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21585 Use __attribute__ ((__gnu_inline__)).
21586 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21587 Don't use __attribute__ ((__gnu_inline__)).
21589 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21592 * math/s_catan.c (__catan): Handle small real or imaginary part of
21593 input specially to avoid spurious underflow.
21594 * math/s_catanf.c (__catanf): Likewise.
21595 * math/s_catanh.c (__catanh): Likewise.
21596 * math/s_catanhf.c (__catanhf): Likewise.
21597 * math/s_catanhl.c (__catanhl): Likewise.
21598 * math/s_catanl.c (__catanl): Likewise.
21599 * math/libm-test.inc (catan_test): Add more tests.
21600 (catanh_test): Likewise.
21601 * sysdeps/i386/fpu/libm-test-ulps: Update.
21602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21604 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21608 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21611 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21612 accurately for denominator in atan2.
21613 * math/s_catanf.c (__catanf): Likewise.
21614 * math/s_catanh.c (__catanh): Likewise.
21615 * math/s_catanhf.c (__catanhf): Likewise.
21616 * math/s_catanhl.c (__catanhl): Likewise.
21617 * math/s_catanl.c (__catanl): Likewise.
21618 * math/libm-test.inc (catan_test): Add more tests.
21619 (catanh_test): Likewise.
21620 * sysdeps/i386/fpu/libm-test-ulps: Update.
21621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21623 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21625 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21627 * benchtests/Makefile (bench): Remove slow benchmarks.
21628 * benchtests/atan-inputs: Add slow benchmark inputs.
21629 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21630 (BENCH_FUNC): Accept variant offset.
21632 * benchtests/bench-skeleton.c (main): Run benchmark for each
21634 * benchtests/cos-inputs: Add slow benchmark inputs.
21635 * benchtests/exp-inputs: Likewise.
21636 * benchtests/pow-inputs: Likewise.
21637 * benchtests/sin-inputs: Likewise.
21638 * benchtests/slowatan-inputs: Remove.
21639 * benchtests/slowatan.c: Remove.
21640 * benchtests/slowcos-inputs: Remove.
21641 * benchtests/slowcos.c: Remove.
21642 * benchtests/slowexp-inputs: Remove.
21643 * benchtests/slowexp.c: Remove.
21644 * benchtests/slowpow-inputs: Remove.
21645 * benchtests/slowpow.c: Remove.
21646 * benchtests/slowsin-inputs: Remove.
21647 * benchtests/slowsin.c: Remove.
21648 * benchtests/slowtan-inputs: Remove.
21649 * benchtests/slowtan.c: Remove.
21650 * benchtests/tan-inputs: Add slow benchmark inputs.
21651 * scripts/bench.pl: Parse comments and directives.
21653 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21655 ($(objpfx)bench-%.c): Remove *-ITER.
21656 * benchtests/bench-modf.c: Remove definition of ITER.
21657 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21658 (main): Loop for DURATION seconds instead of fixed number of
21660 * scripts/bench.pl: Don't expect iterations in parameters.
21662 2013-04-29 Roland McGrath <roland@hack.frob.com>
21664 * io/fchdir.c (__fchdir): Renamed from fchdir.
21665 (fchdir): Define as weak alias.
21667 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21669 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21670 (ERRNO_EDOM): Likewise.
21671 (ERRNO_ERANGE): Likewise.
21672 (noErrnoTests): New variable.
21673 (init_max_error): Set errno to 0.
21674 (test_single_errno): New function.
21675 (test_errno): Likewise.
21676 (check_float_internal): Call test_errno. Set errno to 0.
21677 (check_complex): Refer to errno tests in comment.
21678 (check_int): Call test_errno. Set errno to 0.
21679 (check_long): Likewise.
21680 (check_bool): Likewise.
21681 (check_longlong): Likewise.
21682 (cos_test): Use ERRNO_* flags for errno tests instead of
21684 (expm1_test): Likewise.
21685 (fmod_test): Likewise.
21686 (ilogb_test): Likewise.
21687 (lgamma_test): Likewise.
21688 (pow_test): Likewise.
21689 (remainder_test): Likewise.
21690 (sin_test): Likewise.
21691 (tan_test): Likewise.
21692 (yn_test): Likewise.
21693 (initialize): Set errno to 0.
21694 (main): Print number of errno tests.
21695 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21697 2013-04-29 Andreas Jaeger <aj@suse.de>
21700 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21704 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21705 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21709 * stdlib/random.c (__initstate): Return NULL if
21713 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21714 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21717 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21721 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21723 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21724 of individual tests.
21725 (casin_test): Likewise.
21726 (casinh_test): Likewise.
21728 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21731 * math/s_catan.c (__catan): Handle arguments with large real or
21732 imaginary part separately without squaring.
21733 * math/s_catanf.c (__catanf): Likewise.
21734 * math/s_catanh.c (__catanh): Likewise.
21735 * math/s_catanhf.c (__catanhf): Likewise.
21736 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21738 (__catanhl): Handle arguments with large real or imaginary part
21739 separately without squaring.
21740 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21742 (__catanl): Handle arguments with large real or imaginary part
21743 separately without squaring.
21744 * math/libm-test.inc (catan_test): Add more tests.
21745 (catanh_test): Likewise.
21746 * sysdeps/i386/fpu/libm-test-ulps: Update.
21747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21749 2013-04-27 Andreas Jaeger <aj@suse.de>
21752 * stdlib/stdlib.h: Update guards for qecvt.
21753 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21756 2013-04-27 Allan McRae <allan@archlinux.org>
21758 * sysdeps/i386/fpu/libm-test-ulps: Update.
21760 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21763 * math/s_catan.c: Include <float.h>.
21764 (__catan): Ensure underflow exception occurs for underflowed
21766 * math/s_catanf.c: Include <float.h>.
21767 (__catanf): Ensure underflow exception occurs for underflowed
21769 * math/s_catanh.c: Include <float.h>.
21770 (__catanh): Ensure underflow exception occurs for underflowed
21772 * math/s_catanhf.c: Include <float.h>.
21773 (__catanhf): Ensure underflow exception occurs for underflowed
21775 * math/s_catanhl.c: Include <float.h>.
21776 (__catanhl): Ensure underflow exception occurs for underflowed
21778 * math/s_catanl.c: Include <float.h>.
21779 (__catanl): Ensure underflow exception occurs for underflowed
21781 * math/libm-test.inc (catan_test): Add more tests.
21782 (catanh_test): Likewise.
21785 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21786 underflowed result.
21787 * math/s_ccoshf.c (__ccoshf): Likewise.
21788 * math/s_ccoshl.c (__ccoshl): Likewise.
21789 * math/s_csin.c (__csin): Likewise.
21790 * math/s_csinf.c (__csinf): Likewise.
21791 * math/s_csinh.c (__csinh): Likewise.
21792 * math/s_csinhf.c (__csinhf): Likewise.
21793 * math/s_csinhl.c (__csinhl): Likewise.
21794 * math/s_csinl.c (__csinl): Likewise.
21795 * math/libm-test.inc (ccos_test): Add more tests.
21796 (ccosh_test): Likewise.
21797 (csin_test): Likewise.
21798 (csinh_test): Likewise.
21800 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21802 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21803 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21804 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21805 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21806 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21807 powerpc/power5+/fpu folders.
21808 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21811 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21815 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21817 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21818 additions to variable.
21819 [$(config-machine) = x86_64] (modules-names): Likewise.
21820 ($(objpfx)tst-audit3): Remove dependency.
21821 ($(objpfx)tst-audit3.out): Likewise.
21822 ($(objpfx)tst-audit4): Likewise.
21823 ($(objpfx)tst-audit4.out): Likewise.
21824 ($(objpfx)tst-audit5): Likewise.
21825 ($(objpfx)tst-audit5.out): Likewise.
21826 ($(objpfx)tst-audit6): Likewise.
21827 ($(objpfx)tst-audit6.out): Likewise.
21828 ($(objpfx)tst-audit7): Likewise.
21829 ($(objpfx)tst-audit7.out): Likewise.
21830 (tst-audit3-ENV): Remove variable.
21831 (tst-audit4-ENV): Likewise.
21832 (tst-audit5-ENV): Likewise.
21833 (tst-audit6-ENV): Likewise.
21834 (tst-audit7-ENV): Likewise.
21835 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21836 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21837 addition to variable.
21838 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21839 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21840 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21841 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21842 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21843 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21844 tst-audit3, tst-audit4 and tst-audit5.
21845 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21846 tst-audit6 and tst-audit7.
21847 [$(subdir) = elf] (modules-names): Add audit modules for those
21849 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21850 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21851 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21852 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21853 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21854 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21855 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21856 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21857 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21858 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21859 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21860 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21861 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21862 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21863 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21864 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21866 [$(subdir) = elf && $(config-cflags-avx) = yes]
21867 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21868 [$(subdir) = elf && $(config-cflags-avx) = yes]
21869 (CFLAGS-tst-auditmod4a.c): Likewise.
21870 [$(subdir) = elf && $(config-cflags-avx) = yes]
21871 (CFLAGS-tst-auditmod4b.c): Likewise.
21872 [$(subdir) = elf && $(config-cflags-avx) = yes]
21873 (CFLAGS-tst-auditmod6b.c): Likewise.
21874 [$(subdir) = elf && $(config-cflags-avx) = yes]
21875 (CFLAGS-tst-auditmod6c.c): Likewise.
21876 [$(subdir) = elf && $(config-cflags-avx) = yes]
21877 (CFLAGS-tst-auditmod7b.c): Likewise.
21878 * elf/tst-audit3.c: Move to ...
21879 * sysdeps/x86_64/tst-audit3.c: ... here.
21880 * elf/tst-audit4.c: Move to ...
21881 * sysdeps/x86_64/tst-audit4.c: ... here.
21882 * elf/tst-audit5.c: Move to ...
21883 * sysdeps/x86_64/tst-audit5.c: ... here.
21884 * elf/tst-audit6.c: Move to ...
21885 * sysdeps/x86_64/tst-audit6.c: ... here.
21886 * elf/tst-audit7.c: Move to ...
21887 * sysdeps/x86_64/tst-audit7.c: ... here.
21888 * elf/tst-auditmod3a.c: Move to ...
21889 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21890 * elf/tst-auditmod3b.c: Move to ...
21891 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21892 * elf/tst-auditmod4a.c: Move to ...
21893 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21894 * elf/tst-auditmod4b.c: Move to ...
21895 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21896 * elf/tst-auditmod5a.c: Move to ...
21897 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21898 * elf/tst-auditmod5b.c: Move to ...
21899 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21900 * elf/tst-auditmod6a.c: Move to ...
21901 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21902 * elf/tst-auditmod6b.c: Move to ...
21903 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21904 * elf/tst-auditmod6c.c: Move to ...
21905 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21906 * elf/tst-auditmod7a.c: Move to ...
21907 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21908 * elf/tst-auditmod7b.c: Move to ...
21909 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21911 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21914 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21915 define unconditionally.
21916 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21917 define unconditionally.
21918 (INT8_C, INT16_C, etc.): Likewise.
21920 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21922 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21923 __ehdr_start with hidden visibility.
21925 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21927 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21929 * math/libm-test.inc (cos_test): Use accurate hex constants.
21930 (sincost_test): Likewise.
21932 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21934 * math/libm-test.inc (catan_test): Add more tests.
21935 (catanh_test): Likewise.
21937 * math/s_catanf.c (__catanf): Use suffixed floating-point
21939 * math/s_catanhf.c (__catanhf): Likewise.
21940 * math/s_catanhl.c (__catanhl): Likewise.
21941 * math/s_catanl.c (__catanl): Likewise.
21944 * math/s_catan.c (__catan): Calculate imaginary part of result
21945 with log1p not log unless computing log of number close to 0.
21946 * math/s_catanf.c (__catanf): Likewise.
21947 * math/s_catanl.c (__catanl): Likewise.
21948 * math/s_catanh.c (__catanh): Calculate real part of result with
21949 log1p not log unless computing log of number close to 0.
21950 * math/s_catanhf.c (__catanhf): Likewise.
21951 * math/s_catanhl.c (__catanhl): Likewise.
21952 * math/libm-test.inc (catan_test): Add more tests.
21953 (catanh_test): Likewise.
21954 * sysdeps/i386/fpu/libm-test-ulps: Update.
21955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21957 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21959 * benchtests/Makefile: Mention files in which fast and slow
21960 paths of math functions are implemented.
21962 2013-04-23 Roland McGrath <roland@hack.frob.com>
21964 * sysdeps/posix/timespec_get.c: New file.
21966 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21968 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21970 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21972 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21973 powerpc/power5/fpu folders.
21974 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21975 * benchtests/Makefile: Add modf testcase.
21976 * benchtests/bench-modf.c: New file: Benchmark test for mo
21978 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21981 * time/Makefile (tests): Add tst-strptime-whitespace.
21982 * time/strptime_l.c (get_number): Use ISSPACE.
21983 (__strptime_internal): Likewise.
21984 * time/tst-strptime-whitespace.c: New test case.
21986 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21988 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21990 (_nss_files_init): Set it here.
21992 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21994 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21995 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21998 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22000 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22002 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22007 2013-04-21 David S. Miller <davem@davemloft.net>
22009 * po/ru.po: Update Russion translation from translation project.
22011 2013-04-17 Adam Conrad <adconrad@0c3.net>
22013 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22016 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22018 * configure.in: Remove i386 configure warning. Remove i386 case.
22019 * configure: Regenerate.
22020 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22021 Add example to error message.
22022 * sysdeps/i386/configure: Regenerate.
22024 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22026 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22028 * benchtests/cos-inputs: New file.
22029 * benchtests/slowcos-inputs: New file.
22030 * benchtests/slowcos.c: New file.
22031 * benchtests/slowtan-inputs: New file.
22032 * benchtests/slowtan.c: New file.
22033 * benchtests/tan-inputs: New file.
22035 2013-04-16 Roland McGrath <roland@hack.frob.com>
22037 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22040 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22042 * benchtests/Makefile: Include cppflags-iterator.mk to add
22043 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22045 * Makefile.in (bench-clean): New target.
22046 * benchtests/Makefile (bench-clean): Likewise.
22048 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22050 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22052 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22054 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22056 2013-04-15 Andreas Schwab <schwab@suse.de>
22058 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22060 * nscd/pwdcache.c (cache_addpw): Likewise.
22061 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22064 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22066 * benchtests/Makefile (bench): Write all output to
22067 bench-out.tmp together.
22069 2013-04-15 Andreas Schwab <schwab@suse.de>
22071 * nscd/nscd.c (main): Don't fork again after closing files.
22073 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22075 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22077 * benchtests/Rules (bench-deps): Collect dependencies into a
22078 single variable. Add Makefile to dependencies.
22079 ($(objpfx)bench-%.c): Depend on bench-deps.
22081 2013-04-12 Roland McGrath <roland@hack.frob.com>
22082 Xavier Roche <roche+kml2@exalead.com>
22085 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22086 just that it's a file descriptor.
22087 * manual/llio.texi (Synchronizing AIO Operations): Update description
22088 for EBADF error from aio_fsync.
22090 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22092 * Rules (bench): Move target definition...
22093 * benchtests/Makefile: ... here.
22095 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22097 * math/libm-test.inc (cos_test): Fix PI/2 test.
22098 (sincos_test): Likewise.
22099 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22100 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22102 2013-04-11 Andreas Schwab <schwab@suse.de>
22105 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22106 accept exponent character only when digits were seen.
22107 * stdio-common/Makefile (tests): Add bug26.
22108 * stdio-common/bug26.c: New file.
22111 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22114 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22116 * Makeconfig (rtld-prefix): Define built linker prefix.
22117 * Rules (run-bench): Use it.
22118 * math/Makefile (run-regen-ulps): Likewise.
22120 * Rules (bench): Remove eval.
22122 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22123 Roland McGrath <roland@hack.frob.com>
22124 Ondrej Bilka <neleai@seznam.cz>
22127 * time/getdate.c: Include ctype.h and alloca.h.
22128 (__getdate_r): Trim leading and trailing spaces of input.
22129 * time/tst-getdate.c (tests): Add tests with leading and
22132 2013-04-08 Roland McGrath <roland@hack.frob.com>
22135 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22136 when computing value.
22138 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22140 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22141 Use testrun.sh to run libm tests.
22144 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22146 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22149 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22151 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22153 * Makefile.in (regen-ulps): New target.
22154 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22155 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22156 [ifneq (no,$(PERL)] (regen-ulps): New target.
22157 [ifeq (no,$(PERL)] (regen-ulps): New target.
22158 * math/libm-test.inc (ulps_file_name): Define.
22159 (output_dir): New variable.
22160 (options): Add "output-dir" option.
22161 (parse_opt): Handle 'o' case.
22162 (main): If output_dir is non-NULL use it as a prefix
22164 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22166 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22168 [BZ #10060, #10062]
22169 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22170 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22171 fail configure if __sync_val_compare_and_swap is not inlined.
22172 * sysdeps/i386/configure: Regenerate.
22173 * configure.in: Build for i686 when configured for i386.
22174 * configure: Regenerate.
22175 * README: Remove i386 reference.
22177 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22179 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22182 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22184 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22185 (lmsnanval): New variables.
22186 (F): Add conversion tests.
22187 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22188 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22190 * stdio-common/tstdiomisc.c (F): Properly collect individual
22193 [BZ #14686, #15336]
22194 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22195 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22196 Instead, use input NaN values or generate a qNaN by arithmetic
22197 operation. Also fix bugs to comply with the standard.
22198 * math/libm-test.inc (remainder_test): Add more tests.
22200 [BZ #15335, #15342]
22201 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22203 input NaN values or generate a qNaN by arithmetic operation.
22205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22208 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22211 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22214 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22215 underflowed result.
22216 * math/s_cexpf.c (__cexpf): Likewise.
22217 * math/s_cexpl.c (__cexpl): Likewise.
22218 * math/libm-test.inc (cexp_test): Add more tests.
22220 2013-04-03 Andreas Schwab <schwab@suse.de>
22223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22224 order arrays from heap if bigger than alloca cutoff.
22226 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22228 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22229 (SNAN_TESTS_double): Refer to GCC PR56831.
22230 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22233 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22235 * Rules (bench): Move bench.out after the run is complete.
22237 * Rules (bench): Echo currently running benchmark.
22239 * benchtests/Makefile (bench): Add atan and slowatan.
22240 * benchtests/atan-inputs: New file.
22241 * benchtests/slowatan-inputs: New file.
22242 * benchtests/slowatan.c: New file.
22244 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22245 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22249 * sysdeps/unix/sysv/linux/kernel-features.h
22250 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22251 __ASSUME_XFS_RESTRICTED_CHOWN.
22252 * sysdeps/unix/sysv/linux/pathconf.c
22253 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22254 Save and restore errno.
22256 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22259 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22260 arguments using __kernel_casinh.
22261 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22262 arguments using __kernel_casinhf.
22263 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22264 arguments using __kernel_casinhl.
22265 * math/libm-test.inc (cacosh_test): Add more tests.
22266 * sysdeps/i386/fpu/libm-test-ulps: Update.
22267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22269 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22271 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22274 * bench/Makefile (bench): Add sin and slowsin.
22275 * benchtests/sin-inputs: New file.
22276 * benchtests/slowsin-inputs: New file.
22277 * benchtests/slowsin.c: New file.
22279 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22280 (bench): Add slowexp and slowpow.
22281 (exp-ITER): Increase iterations.
22282 (pow-ITER): Likewise.
22283 * benchtests/exp-inputs: Change input.
22284 * benchtests/pow-inputs: Likewise.
22285 * benchtests/slowexp-inputs: New file.
22286 * benchtests/slowexp.c: New file.
22287 * benchtests/slowpow-inputs: New file.
22288 * benchtests/slowpow.c: New file.
22290 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22292 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22294 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22295 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22296 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22297 * benchtests/Makefile: Add rint benchtest.
22298 * benchtests/rint-inputs: Input for rint benchtest.
22300 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22302 * Versions.def (libm): Add GLIBC_2.18.
22303 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22304 hidden libm prototypes.
22305 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22306 * math/Makefile (libm-calls): Add s_issignaling.
22307 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22308 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22309 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22311 * math/math.h [__USE_GNU] (issignaling): New macro.
22312 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22313 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22315 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22318 * manual/arith.texi (issignaling): New section.
22319 * manual/libm-err-tab.pl (@all_functions): Update comment.
22320 * math/gen-libm-test.pl (parse_args): Apply special handling for
22322 * math/libm-test.inc (print_float, issignaling_test): New
22324 (check_float_internal): Add issignaling checks.
22325 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22326 default definition.
22327 * sysdeps/powerpc/math-tests.h: New file.
22328 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22330 * math/test-snan.c (TEST_FUNC): Likewise.
22332 2013-03-30 David S. Miller <davem@davemloft.net>
22334 * po/de.po: Update from translation team.
22336 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22339 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22340 imaginary part less than 1.0 and real part less than 0.5
22342 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22343 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22344 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22345 (cacos_test): Add more tests.
22346 (casin_test): Likewise.
22347 (casinh_test): Likewise.
22348 * sysdeps/i386/fpu/libm-test-ulps: Update.
22349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22351 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22353 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22354 ONE with its value.
22356 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22357 (__pow_mp): Replace ONE and MONE with their values.
22358 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22360 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22361 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22362 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22363 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22365 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22367 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22368 (__pow_mp): Replace ZERO and MZERO with their values.
22369 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22370 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22371 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22373 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22374 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22377 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22379 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22381 2013-03-28 Roland McGrath <roland@hack.frob.com>
22383 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22384 Declare with __attribute__ ((weak)).
22385 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22386 Call __call_tls_dtors only if it's not NULL.
22388 2013-03-28 Roland McGrath <roland@hack.frob.com>
22390 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22391 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22392 magic __ehdr_start linker symbol if it's defined.
22393 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22394 them up here if it was already done.
22396 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22397 (_dl_aux_init): Use const in cast when setting it.
22398 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22399 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22400 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22402 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22404 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22405 * csu/libc-tls.c: Nor here.
22406 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22408 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22409 (__libc_message): Never call vsyslog.
22411 2013-03-28 Alan Modra <amodra@gmail.com>
22413 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22415 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22418 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22421 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22425 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22428 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22429 Don't add gid passed as argument.
22431 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22433 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22436 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22437 imaginary part between 1.0 and 1.5 and real part less than 0.5
22439 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22440 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22441 * math/libm-test.inc (cacos_test): Add more tests.
22442 (casin_test): Likewise.
22443 (casinh_test): Likewise.
22444 * sysdeps/i386/fpu/libm-test-ulps: Update.
22445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22447 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22449 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22452 (denorm): Likewise.
22453 (__dbl_mp): Likewise.
22454 (add_magnitudes): Likewise.
22455 (sub_magnitudes): Likewise.
22463 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22465 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22466 (__dubcos): Likewise.
22467 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22468 (__ieee754_acos): Likewise.
22469 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22470 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22471 (__exp1): Likewise.
22472 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22475 (my_log2): Likewise.
22476 (checkint): Likewise.
22477 * sysdeps/ieee754/dbl-64/e_remainder.c
22478 (__ieee754_remainder): Likewise.
22479 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22480 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22481 (bsloww): Likewise.
22482 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22484 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22485 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22486 MANTISSA_STORE_T to store computations on mantissa. Use
22487 macros for rounding and division.
22488 (denorm): Likewise.
22489 (__dbl_mp): Likewise.
22490 (add_magnitudes): Likewise.
22491 (sub_magnitudes): Likewise.
22494 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22495 powers of two in terms of TWOPOW macro.
22496 (mp_no): Make type of mantissa as MANTISSA_T.
22497 [!RADIXI]: Define RADIXI.
22498 [!TWO52]: Define TWO52.
22499 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22501 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22503 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22504 llroundl symbol when building for PPC32.
22506 2013-03-24 Mark H Weaver <mhw@netris.org>
22508 * manual/arith.texi (Normalization Functions): Fix prototypes for
22509 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22511 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22515 high value to check if expl overflow.
22516 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22517 to check for underflow and overflow.
22518 * math/libm-test.inc: Add exp test.
22520 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22523 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22526 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22528 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22531 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22533 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22534 wrap blocks consisting of several statements.
22536 * sysdeps/generic/math-tests.h: New file.
22537 * sysdeps/i386/fpu/math-tests.h: Likewise.
22538 * math/test-snan.c: Include it.
22539 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22541 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22544 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22545 (__ieee754_j0l): Do not improve calculations using cos of twice
22546 input for inputs above LDBL_MAX / 2.0L.
22547 (__ieee754_y0l): Likewise.
22548 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22549 (__ieee754_j1l): Do not improve calculations using cos of twice
22550 input for inputs above LDBL_MAX / 2.0L.
22551 (__ieee754_y1l): Likewise.
22552 * math/libm-test.inc (j0_test): Add another test.
22553 (j1_test): Likewise.
22554 (y0_test): Likewise.
22555 (y1_test): Likewise.
22556 * sysdeps/i386/fpu/libm-test-ulps: Update.
22558 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22560 * Rules ($(objpfx)bench-%.c): Include code from a C source
22563 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22566 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22567 imaginary part 1.0 and real part less than 0.5 specially.
22568 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22569 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22570 * math/libm-test.inc (cacos_test): Add more tests.
22571 (casin_test): Likewise.
22572 (casinh_test): Likewise.
22573 * sysdeps/i386/fpu/libm-test-ulps: Update.
22574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22576 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22578 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22579 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22581 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22583 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22584 * config.make.in (config-cflags-sse4): Remove variable.
22585 (config-cflags-avx): Likewise.
22586 (config-cflags-sse2avx): Likewise.
22587 (config-cflags-novzeroupper): Likewise.
22588 (config-asflags-i686): Likewise.
22589 (have-mfma4): Likewise.
22590 (have-as-vis3): Likewise.
22592 * configure.in (MIG): Do not AC_SUBST.
22593 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22594 (libc_cv_cc_sse4): Do not AC_SUBST.
22595 (libc_cv_cc_avx): Likewise.
22596 (libc_cv_cc_sse2avx): Likewise.
22597 (libc_cv_cc_novzeroupper): Likewise.
22598 (libc_cv_cc_fma4): Likewise.
22599 (libc_cv_as_i686): Likewise.
22600 (libc_cv_sparc_as_vis3): Likewise.
22601 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22603 (config-asflags-i686): Likewise.
22604 (config-cflags-avx): Likewise.
22605 (config-cflags-sse2avx): Likewise.
22606 (have-mfma4): Likewise.
22607 (config-cflags-novzeroupper): Likewise.
22608 * sysdeps/mach/configure.in (MIG): Likewise.
22609 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22610 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22612 (config-cflags-avx): Likewise.
22613 (config-cflags-sse2avx): Likewise.
22614 (have-mfma4): Likewise.
22615 (config-cflags-novzeroupper): Likewise.
22616 * configure: Regenerated.
22617 * sysdeps/i386/configure: Likewise.
22618 * sysdeps/mach/configure: Likewise.
22619 * sysdeps/sparc/configure: Likewise.
22620 * sysdeps/x86_64/configure: Likewise.
22622 2013-03-20 Roland McGrath <roland@hack.frob.com>
22625 * locale/programs/localedef.c (options): Put N_ translation marker
22626 on argument names, not just descriptions.
22628 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22630 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22632 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22635 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22637 2013-03-19 Roland McGrath <roland@hack.frob.com>
22639 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22640 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22641 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22642 [!BEFORE_ABORT] (before_abort): New function.
22643 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22644 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22645 (writev_for_fatal): New function.
22646 (WRITEV_FOR_FATAL): New macro; call that.
22647 (backtrace_and_maps): New function.
22648 (BEFORE_ABORT): New macro; call that.
22649 (struct str_list): Type removed.
22650 (__libc_message, __libc_fatal): Functions removed.
22651 Include <sysdeps/posix/libc_fatal.c> instead.
22653 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22655 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22657 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22660 2013-03-19 Andreas Schwab <schwab@suse.de>
22662 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22663 * sysdeps/gnu/configure: Regenerate.
22665 * configure.in: Substitute libc_cv_rtlddir.
22666 * configure: Regenerate.
22667 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22668 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22669 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22670 * elf/Makefile (install-others, CFLAGS-interp.c)
22671 (ldso_install, common-ldd-rewrite): Likewise.
22672 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22673 $(inst_slibdir)/$(rtld-installed-name).
22674 * scripts/rellns-sh: Add -p option.
22675 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22678 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22680 * manual/nptl.texi: Renamed to ...
22681 * manual/threads.texi: ... this.
22682 * manual/Makefile (chapters): Update.
22684 2013-03-18 Roland McGrath <roland@hack.frob.com>
22687 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22688 on argument names, not just descriptions.
22689 * malloc/memusagestat.c (options): Likewise.
22690 * nss/getent.c (options): Likewise.
22692 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22695 * iconv/iconv_prog.c (options): Put N_ translation marker
22696 on argument names, not just descriptions.
22697 * iconv/iconvconfig.c (options): Likewise.
22699 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22701 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22702 implementation which is faster on all x86_64 architectures.
22703 Tested on AMD, Intel Nehalem, SNB, IVB.
22704 * sysdeps/x86_64/strnlen.S: Likewise.
22706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22707 Remove all multiarch strlen and strnlen versions.
22708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22709 Remove strlen and strnlen related parts.
22711 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22712 Inline strlen part.
22713 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22715 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22716 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22717 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22718 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22719 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22720 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22722 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22724 * manual/memory.texi (Malloc Tunable Parameters):
22725 Sort parameters alphabetically. Add comments for missing entries.
22727 2013-03-17 David S. Miller <davem@davemloft.net>
22729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22731 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22734 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22735 for arguments at most half maximum finite value.
22736 * math/libm-test.inc (j0_test): Add more tests.
22737 (j1_test): Likewise.
22738 (y0_test): Likewise.
22739 (y1_test): Likewise.
22740 * sysdeps/i386/fpu/libm-test-ulps: Update.
22741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22744 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22745 1 / x and functions P and Q for arguments above 0x1p256L.
22746 (__ieee754_y0l): Likewise.
22747 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22748 (__ieee754_y1l): Likewise.
22749 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22750 (j1_test): Likewise.
22751 (y0_test): Likewise.
22752 (y1_test): Likewise.
22754 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22756 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22759 2013-03-15 Roland McGrath <roland@hack.frob.com>
22761 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22762 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22763 zero since it's initialized to EXEC_PAGESIZE.
22765 * sysdeps/unix/sysv/linux/ldsodefs.h
22766 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22767 * sysdeps/generic/ldsodefs.h: ... here.
22769 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22771 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22773 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22775 * math/test-snan.c: Renamed from
22776 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22777 * math/Makefile (tests): Add test-snan.
22778 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22781 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22782 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22784 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22785 __builtin_nan family of functions.
22786 * math/libm-test.inc (initialize): Initialize qnan_value with
22787 __builtin_nan family of functions.
22788 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22790 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22792 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22793 storage class. Initialize qNaN_var and sNaN_var with
22794 __builtin_nan and __builtin_nans families of functions,
22797 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22798 (sqrt_test): Remove duplicate test with qNaN input.
22799 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22800 (round_test, signbit_test, significand_test): Note missing +/-Inf
22801 as well as qNaN tests.
22803 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22804 qNaN_var. Fix a few strings, too.
22805 * math/libm-test.inc (nan_value): Rename to qnan_value.
22806 * math/gen-libm-test.pl (%beautify): Adjust to that.
22807 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22808 * math/test-misc.c (main): Likewise.
22809 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22810 to __qnan_bytes, and __qnan_union, respectively.
22811 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22813 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22814 and lqnanval, respectively.
22815 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22816 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22817 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22818 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22820 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22821 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22824 * math/test-misc.c (main): Fix copy'n'pastos.
22825 * misc/tst-efgcvt.c (special): Likewise.
22827 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22828 Remove declarations.
22830 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22832 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22833 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22834 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22835 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22837 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22840 macro to return vdso values correctly in IFUNC implementations.
22841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22842 Optimization by using IFUNC.
22844 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22845 Richard Henderson <rth@redhat.com>
22846 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22848 * Makefile.in (bench): New target.
22849 * NEWS: Mention the benchmark framework.
22850 * Rules (bench): Likewise.
22851 (binaries-bench): Generate binaries for functions to
22853 * benchtests/Makefile: New makefile for benchmark tests.
22854 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22856 * benchtests/exp-inputs: New input file for EXP function.
22857 * benchtests/pow-inputs: New input file for POW function.
22858 * scripts/bench.pl: New script to generate source files for
22859 benchmark programs.
22861 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22863 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22864 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22865 computations on mantissa. Use macros for rounding and
22867 (denorm): Likewise.
22868 (__dbl_mp): Likewise.
22869 (add_magnitudes): Likewise.
22870 (sub_magnitudes): Likewise.
22873 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22874 powers of two in terms of TWOPOW macro.
22875 (mp_no): Make type of mantissa as MANTISSA_T.
22876 [!RADIXI]: Define RADIXI.
22877 [!TWO52]: Define TWO52.
22878 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22880 * manual/nptl.texi (cindex): Modify threads to pthreads.
22882 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22884 * sysdeps/x86_64/preconfigure: Regenerated.
22886 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22889 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22891 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22892 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22894 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22895 * math/libm-test.inc (j0_test): Do not allow one spurious
22896 underflow exception.
22897 (y1_test): Likewise.
22899 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22901 * manual/Makefile (chapters): Add nptl.
22902 * manual/debug.texi (Debugging Support): Add link to Threads
22904 * manual/nptl.texi: New file.
22906 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22908 2013-03-14 Petr Baudis <pasky@ucw.cz>
22910 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22911 for non-NULL pointer before the memory validity test. Pointed
22912 out by Holger Brunck <holger.brunck@keymile.com>.
22914 2013-03-13 Andreas Schwab <schwab@suse.de>
22916 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22919 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22921 * timezone/zic.c: Update from tzcode 2013b.
22923 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22925 * manual/install.texi (Configuring and compiling):
22926 Mention i686 and i586.
22927 * INSTALL: Regenerate.
22929 2013-03-12 Roland McGrath <roland@hack.frob.com>
22931 * sysdeps/init_array/elf-init.c: New file.
22933 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22934 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22936 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22937 __gmon_start__ as global, but as static with a .preinit_array pointer.
22938 * sysdeps/init_array/gmon-start.c: New file. Use that.
22939 * sysdeps/init_array/crti.S: New file, empty except for comments.
22940 * sysdeps/init_array/crtn.S: Likewise.
22942 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22944 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22947 Remove Prefer_SSE_for_memop.
22948 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22949 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22950 HAS_PREFER_SSE_FOR_MEMOP.
22951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22954 Remove bzero, memset ifunc support.
22955 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22956 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22957 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22958 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22960 2013-03-11 Andreas Schwab <schwab@suse.de>
22963 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22966 (GLIBC_2.16): Remove pthread_atfork.
22968 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22970 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22971 (ptestcases.h): Likewise.
22973 2013-03-08 Roland McGrath <roland@hack.frob.com>
22975 * Makeconfig ($(common-objpfx)config.status): Depend on
22976 sysdeps/*/preconfigure{,.in} too.
22978 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22980 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22981 (__free_hook): Use void * instead of __malloc_ptr_t.
22982 (__malloc_hook): Likewise.
22983 (__realloc_hook): Likewise.
22984 (__memalign_hook): Likewise.
22985 (__after_morecore_hook): Likewise.
22986 * malloc/arena.c (save_malloc_hook): Likewise.
22987 (save_free_hook): Likewise.
22988 * malloc/hooks.c (malloc_hook_ini): Likewise.
22989 (realloc_hook_ini): Likewise.
22990 (memalign_hook_ini): Likewise.
22991 * malloc/malloc.c (malloc_hook_ini): Likewise.
22992 (realloc_hook_ini): Likewise.
22993 (memalign_hook_ini): Likewise.
22994 (__free_hook): Likewise.
22995 (__malloc_hook): Likewise.
22996 (__realloc_hook): Likewise.
22997 (__memalign_hook): Likewise.
22998 (__libc_malloc): Likewise.
22999 (__libc_free): Likewise.
23000 (__libc_realloc): Likewise.
23001 (__libc_memalign): Likewise.
23002 (__libc_valloc): Likewise.
23003 (__libc_pvalloc): Likewise.
23004 (__libc_calloc): Likewise.
23005 (__posix_memalign): Likewise.
23006 * malloc/morecore.c (__sbrk): Likewise.
23007 (__default_morecore): Likewise.
23009 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23011 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23012 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23013 __malloc_ptrdiff_t.
23015 * malloc/malloc.h (__malloc_size_t): Remove macro.
23016 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23018 (old_memalign_hook): Likewise.
23019 (old_realloc_hook): Likewise.
23020 (struct hdr): Likewise.
23022 (mallochook): Likewise.
23023 (memalignhook): Likewise.
23024 (reallochook): Likewise.
23025 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23026 (tr_old_realloc_hook): Likewise.
23027 (tr_old_memalign_hook): Likewise.
23028 (tr_mallochook): Likewise.
23029 (tr_reallochook): Likewise.
23030 (tr_memalignhook): Likewise.
23032 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23034 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23035 default_ldbl_pack and using as default implementation.
23036 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23038 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23039 redundant definition.
23040 (ldbl_insert_mantissa): Likewise.
23041 (ldbl_canonicalize): Likewise.
23042 (ldbl_nearbyint): Likewise.
23043 (ldbl_pack): Rename to ldbl_pack_ppc.
23044 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23045 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23046 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23048 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23051 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23052 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23053 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23055 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23056 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23057 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23059 2013-03-07 Andreas Jaeger <aj@suse.de>
23061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23064 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23066 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23067 Include mpa.h and declare __MPEXP.
23068 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23069 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23070 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23071 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23072 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23073 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23074 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23076 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23077 (__slowpow): Use long double EXPL and LOGL functions to
23079 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23080 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23081 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23082 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23083 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23084 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23087 intermediate variable to calculate exponent.
23089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23093 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23094 [!NO__SQR]: Define __sqr.
23095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23096 and NO__SQR. Remove all code except __mul and __sqr. Include
23097 sysdeps/ieee754/dbl-64/mpa.c.
23098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23101 * posix/Makefile (tests): Add tst-pathconf.
23102 * posix/tst-pathconf.c: New test case.
23103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23105 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23107 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23109 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23111 2013-03-06 Andreas Jaeger <aj@suse.de>
23113 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23114 definition via __MAP_ANONYMOUS.
23116 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23117 it's not part of Linux headers.
23119 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23120 (MAP_HUGE_MASK): Define.
23122 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23128 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23133 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23135 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23136 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23137 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23138 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23139 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23140 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23142 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23146 Handle f2fs and efivarfs.
23148 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23151 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23152 (EFIVARFS_MAGIC): Add.
23153 (F2FS_LINK_MAX): Add.
23155 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23157 * stdio-common/vfprintf.c: Replace __builtin_expect with
23160 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23163 * sysdeps/generic/bp-sym.h: Remove file.
23164 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23165 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23166 <bp-sym.h> and <bp-asm.h>.
23167 (__longjmp): Don't use BP_SYM.
23168 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23170 (memcpy): Don't use BP_SYM.
23171 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23172 <bp-sym.h> and <bp-asm.h>.
23173 (memcpy): Don't use BP_SYM.
23174 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23176 (memcpy): Don't use BP_SYM.
23177 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23179 (memset): Don't use BP_SYM.
23180 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23181 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23182 (__bzero): Don't use BP_SYM.
23183 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23184 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23185 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23186 <bp-sym.h> and <bp-asm.h>.
23187 (memcmp): Don't use BP_SYM. Remove comment about bounded
23189 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23190 <bp-sym.h> and <bp-asm.h>.
23191 (memcpy): Don't use BP_SYM.
23192 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23193 <bp-sym.h> and <bp-asm.h>.
23194 (memset): Don't use BP_SYM.
23195 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23196 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23197 (__bzero): Don't use BP_SYM.
23198 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23199 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23200 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23201 <bp-sym.h> and <bp-asm.h>.
23202 (strncmp): Don't use BP_SYM. Remove comment about bounded
23204 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23205 <bp-sym.h> and <bp-asm.h>.
23206 (memcpy): Don't use BP_SYM.
23207 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23208 <bp-sym.h> and <bp-asm.h>.
23209 (memset): Don't use BP_SYM.
23210 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23211 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23212 (__bzero): Don't use BP_SYM.
23213 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23214 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23216 <bp-sym.h> and <bp-asm.h>.
23217 (__memchr): Don't use BP_SYM.
23218 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23219 <bp-sym.h> and <bp-asm.h>.
23220 (memcmp): Don't use BP_SYM. Remove comment about bounded
23222 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23223 <bp-sym.h> and <bp-asm.h>.
23224 (memcpy): Don't use BP_SYM.
23225 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23226 <bp-sym.h> and <bp-asm.h>.
23227 (__mempcpy): Don't use BP_SYM.
23228 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23229 <bp-sym.h> and <bp-asm.h>.
23230 (__memrchr): Don't use BP_SYM.
23231 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23232 <bp-sym.h> and <bp-asm.h>.
23233 (memset): Don't use BP_SYM.
23234 (__bzero): Likewise.
23235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23236 <bp-sym.h> and <bp-asm.h>.
23237 (__rawmemchr): Don't use BP_SYM.
23238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23239 <bp-sym.h> and <bp-asm.h>.
23240 (__STRCMP): Don't use BP_SYM.
23241 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23242 <bp-sym.h> and <bp-asm.h>.
23243 (strchr): Don't use BP_SYM.
23244 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23245 <bp-sym.h> and <bp-asm.h>.
23246 (__strchrnul): Don't use BP_SYM.
23247 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23248 <bp-sym.h> and <bp-asm.h>.
23249 (strlen): Don't use BP_SYM.
23250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23251 <bp-sym.h> and <bp-asm.h>.
23252 (strncmp): Don't use BP_SYM. Remove comment about bounded
23254 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23255 <bp-sym.h> and <bp-asm.h>.
23256 (__strnlen): Don't use BP_SYM.
23257 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23258 <bp-sym.h> and <bp-asm.h>.
23259 (__GI__setjmp): Don't use BP_SYM.
23260 (_setjmp): Likewise.
23261 (__sigsetjmp): Likewise.
23262 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23263 (L(start_addresses)): Don't use BP_SYM.
23264 (_start): Likewise.
23265 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23267 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23268 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23269 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23270 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23271 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23273 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23274 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23275 about bounded pointers.
23276 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23277 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23278 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23280 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23281 about bounded pointers. Remove GKM FIXME comments.
23282 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23283 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23285 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23286 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23287 Remove GKM FIXME comments.
23288 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23289 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23290 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23292 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23293 about bounded pointers. Remove GKM FIXME comment.
23294 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23296 (strncmp): Don't use BP_SYM. Remove comment about bounded
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23299 <bp-sym.h> and <bp-asm.h>.
23300 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23302 <bp-sym.h> and <bp-asm.h>.
23303 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23306 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23308 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23311 2013-03-05 David S. Miller <davem@davemloft.net>
23313 * po/es.po: Update from translation team.
23315 2013-03-05 Andreas Jaeger <aj@suse.de>
23317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23318 <bits/mman-linux.h>.
23319 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23321 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23322 <bits/mman-linux.h> to end of file.
23323 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23325 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23326 <bits/mman-linux.h> to end of file.
23327 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23330 <bits/mman-linux.h> to end of file.
23332 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23333 (MCL_CURRENT, MCL_FUTURE): Define here.
23335 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23338 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23340 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23342 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23345 fourth parameter needed for rt_sigprocmask syscall.
23346 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23347 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23348 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23349 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23350 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23351 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23353 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23356 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23357 comment about bounded pointers.
23358 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23359 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23361 2013-03-04 Andreas Jaeger <aj@suse.de>
23363 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23364 common definitions.
23366 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23367 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23368 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23370 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23373 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23376 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23377 __ieee754_sqrl instead of __sqrl.
23379 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23381 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23382 * sysdeps/powerpc/fpu_control.h: ... here.
23383 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23384 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23385 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23386 * sysdeps/powerpc/bits/mathinline.h: ... here.
23388 2013-03-01 Roland McGrath <roland@hack.frob.com>
23390 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23391 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23392 to just [NEED_DL_SYSINFO_DSO].
23393 * elf/dl-support.c: Likewise.
23394 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23395 * elf/rtld.c (dl_main): Likewise.
23396 * elf/setup-vdso.h (setup_vdso): Likewise.
23397 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23398 * sysdeps/unix/sysv/linux/dl-sysdep.c
23399 (_dl_discover_osversion): Likewise.
23401 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23403 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23404 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23406 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23408 * NEWS: Mention libm performance improvements and non-x86 PI
23411 * csu/libc-start.c (__pthread_initialize_minimal): Change
23412 function arguments.
23413 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23415 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23418 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23419 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23420 <bp-sym.h> and <bp-asm.h>.
23421 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23422 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23424 (memcpy): Don't use BP_SYM.
23425 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23427 (__mpn_add_n): Don't use BP_SYM.
23428 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23429 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23431 (__mpn_addmul_1): Don't use BP_SYM.
23432 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23433 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23435 (_setjmp): Don't use BP_SYM.
23436 (__novmx_setjmp): Likewise.
23437 (__GI__setjmp): Likewise.
23438 (__vmx_setjmp): Likewise.
23439 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23441 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23442 (__bzero): Don't use BP_SYM.
23443 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23444 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23445 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23446 <bp-sym.h> and <bp-asm.h>.
23447 (memcpy): Don't use BP_SYM.
23448 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23449 <bp-sym.h> and <bp-asm.h>.
23450 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23451 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23452 <bp-sym.h> and <bp-asm.h>.
23453 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23454 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23456 (__mpn_lshift): Don't use BP_SYM.
23457 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23458 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23460 (memset): Don't use BP_SYM.
23461 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23462 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23463 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23465 (__mpn_mul_1): Don't use BP_SYM.
23466 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23467 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23468 <bp-sym.h> and <bp-asm.h>.
23469 (memcmp): Don't use BP_SYM.
23470 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23471 <bp-sym.h> and <bp-asm.h>.
23472 (memcpy): Don't use BP_SYM.
23473 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23474 <bp-sym.h> and <bp-asm.h>.
23475 (memset): Don't use BP_SYM.
23476 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23477 <bp-sym.h> and <bp-asm.h>.
23478 (strncmp): Don't use BP_SYM.
23479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23480 <bp-sym.h> and <bp-asm.h>.
23481 (memcpy): Don't use BP_SYM.
23482 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23483 <bp-sym.h> and <bp-asm.h>.
23484 (memset): Don't use BP_SYM.
23485 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23486 <bp-sym.h> and <bp-asm.h>.
23487 (__memchr): Don't use BP_SYM.
23488 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23489 <bp-sym.h> and <bp-asm.h>.
23490 (memcmp): Don't use BP_SYM.
23491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23492 <bp-sym.h> and <bp-asm.h>.
23493 (memcpy): Don't use BP_SYM.
23494 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23495 <bp-sym.h> and <bp-asm.h>.
23496 (__mempcpy): Don't use BP_SYM.
23497 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23498 <bp-sym.h> and <bp-asm.h>.
23499 (__memrchr): Don't use BP_SYM.
23500 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23501 <bp-sym.h> and <bp-asm.h>.
23502 (memset): Don't use BP_SYM.
23503 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23504 <bp-sym.h> and <bp-asm.h>.
23505 (__rawmemchr): Don't use BP_SYM.
23506 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23507 <bp-sym.h> and <bp-asm.h>.
23508 (__STRCMP): Don't use BP_SYM.
23509 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23510 <bp-sym.h> and <bp-asm.h>.
23511 (strchr): Don't use BP_SYM.
23512 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23513 <bp-sym.h> and <bp-asm.h>.
23514 (__strchrnul): Don't use BP_SYM.
23515 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23516 <bp-sym.h> and <bp-asm.h>.
23517 (strlen): Don't use BP_SYM.
23518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23519 <bp-sym.h> and <bp-asm.h>.
23520 (strncmp): Don't use BP_SYM.
23521 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23522 <bp-sym.h> and <bp-asm.h>.
23523 (__strnlen): Don't use BP_SYM.
23524 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23526 (__mpn_rshift): Don't use BP_SYM.
23527 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23528 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23529 <bp-sym.h> and <bp-asm.h>.
23530 (__sigsetjmp): Don't use BP_SYM.
23531 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23532 (L(start_addresses)): Don't use BP_SYM.
23533 (_start): Likewise.
23534 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23536 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23537 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23538 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23539 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23541 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23542 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23543 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23544 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23546 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23548 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23549 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23551 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23553 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23554 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23555 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23557 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23559 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23561 (strncmp): Don't use BP_SYM,
23562 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23564 (__mpn_sub_n): Don't use BP_SYM.
23565 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23566 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23568 (__mpn_submul_1): Don't use BP_SYM.
23569 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23571 <bp-sym.h> and <bp-asm.h>.
23572 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23574 <bp-sym.h> and <bp-asm.h>.
23575 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23578 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23581 Use ZK to minimize writes to Z.
23582 (sub_magnitudes): Simplify code a bit.
23583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23584 Use ZK to minimize writes to Z.
23585 (sub_magnitudes): Simplify code a bit.
23587 2013-02-27 Roland McGrath <roland@hack.frob.com>
23589 * csu/gmon-start.c: Add special exception to license text.
23591 2013-02-27 Richard Henderson <rth@redhat.com>
23593 * scripts/config.guess: Update from config.git.
23594 * scripts/config.sub: Likewise.
23596 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23598 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23600 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23602 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23604 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23606 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23608 2013-02-26 Roland McGrath <roland@hack.frob.com>
23610 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23611 [$(build-shared = yes].
23613 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23615 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23616 (__mul): Reduce iterations for calculating mantissa.
23618 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23620 (__mpranred): Likewise.
23623 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23624 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23626 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23628 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23629 Define __attribute__.
23631 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23633 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23635 * posix/regex_internal.h (__attribute): Remove.
23636 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23637 (re_string_context_at): Likewise.
23638 (bitset_not): Use __attribute__ and mark function as possibly
23640 (bitset_merge): Likewise.
23641 (bitset_mask): Likewise.
23642 (re_string_char_size_at): Likewise.
23643 (re_string_wchar_at): Likewise.
23644 (re_string_elem_size_at): Likewise.
23646 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23648 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23652 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23656 (denorm): Likewise.
23657 (__dbl_mp): Likewise.
23658 (add_magnitudes): Likewise.
23659 (sub_magnitudes): Likewise.
23663 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23666 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23669 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23673 up changes with default code.
23674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23677 2013-02-24 Allan McRae <allan@archlinux.org>
23679 * manual/socket.texi (The Internet Namespace): Order menu items
23680 to match that in the file.
23682 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23683 node listing of the info page menu.
23685 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23688 * sysdeps/i386/bp-asm.h: Remove file.
23689 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23690 (PARMS): Do not use macros from bp-asm.h.
23694 (__mpn_add_n): Do not use BP_SYM
23695 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23697 (PARMS): Do not use macros from bp-asm.h.
23700 (__mpn_addmul_1): Do not use BP_SYM
23701 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23703 (PARMS): Do not use macros from bp-asm.h.
23704 (SIGMSK): Likewise.
23705 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
23713 (PARMS): Do not use macros from bp-asm.h.
23714 (__frexp): Do not use BP_SYM.
23716 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23718 (PARMS): Do not use macros from bp-asm.h.
23719 (__frexpf): Do not use BP_SYM.
23720 (frexpf): Likewise.
23721 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23723 (PARMS): Do not use macros from bp-asm.h.
23724 (__frexpl): Do not use BP_SYM.
23725 (frexpl): Likewise.
23726 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23728 (PARMS): Do not use macros from bp-asm.h.
23729 (__remquo): Do not use BP_SYM.
23730 (remquo): Likewise.
23731 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23733 (PARMS): Do not use macros from bp-asm.h.
23734 (__remquof): Do not use BP_SYM.
23735 (remquof): Likewise.
23736 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23738 (PARMS): Do not use macros from bp-asm.h.
23739 (__remquol): Do not use BP_SYM.
23740 (remquol): Likewise.
23741 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23743 (PARMS): Do not use macros from bp-asm.h.
23746 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23747 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23749 (PARMS): Do not use macros from bp-asm.h.
23750 (strlen): Do not use BP_SYM.
23751 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23753 (PARMS): Do not use macros from bp-asm.h.
23757 (__mpn_add_n): Do not use BP_SYM.
23758 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23760 (PARMS): Do not use macros from bp-asm.h.
23763 (__mpn_addmul_1): Do not use BP_SYM.
23764 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23767 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23769 (PARMS): Do not use macros from bp-asm.h.
23772 (__mpn_lshift): Do not use BP_SYM.
23773 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23775 (PARMS): Do not use macros from bp-asm.h.
23779 (memcpy): Likewise. Do not use BP_SYM.
23780 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23781 libc_hidden_def and weak_alias.
23782 (mempcpy): Do not use BP_SYM in weak_alias.
23783 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23785 (PARMS): Do not use macros from bp-asm.h.
23788 [!BZERO_P] (CHR): Likewise.
23789 (memset): Likewise. Do not use BP_SYM.
23790 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23792 (PARMS): Do not use macros from bp-asm.h.
23795 (__mpn_mul_1): Do not use BP_SYM.
23796 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23798 (PARMS): Do not use macros from bp-asm.h.
23801 (__mpn_rshift): Do not use BP_SYM.
23802 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23804 (PARMS): Do not use macros from bp-asm.h.
23807 (strchr): Likewise. Do not use BP_SYM.
23808 (index): Do not use BP_SYM in weak_alias.
23809 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23811 (PARMS): Do not use macros from bp-asm.h.
23814 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23815 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23817 (PARMS): Do not use macros from bp-asm.h.
23818 (strlen): Do not use BP_SYM.
23819 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23821 (PARMS): Do not use macros from bp-asm.h.
23825 (__mpn_sub_n): Do not use BP_SYM.
23826 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23828 (PARMS): Do not use macros from bp-asm.h.
23831 (__mpn_submul_1): Do not use BP_SYM.
23832 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23834 (PARMS): Do not use macros from bp-asm.h.
23838 (__mpn_add_n): Do not use BP_SYM.
23839 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23842 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23844 (PARMS): Do not use macros from bp-asm.h.
23847 (memcmp): Do not use BP_SYM.
23848 (bcmp): Do not use BP_SYM in weak_alias.
23849 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23851 (PARMS): Do not use macros from bp-asm.h.
23855 (memcpy): Likewise. Do not use BP_SYM.
23856 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23858 (PARMS): Do not use macros from bp-asm.h.
23862 (memmove): Likewise. Do not use BP_SYM.
23863 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23865 (PARMS): Do not use macros from bp-asm.h.
23869 (__mempcpy): Likewise. Do not use BP_SYM.
23870 (mempcpy): Do not use BP_SYM in weak_alias.
23871 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23873 (PARMS): Do not use macros from bp-asm.h.
23876 [!BZERO_P] (CHR): Likewise.
23877 (memset): Likewise. Do not use BP_SYM.
23878 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23880 (PARMS): Do not use macros from bp-asm.h.
23882 (strcmp): Do not use BP_SYM.
23883 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23885 (PARMS): Do not use macros from bp-asm.h.
23888 [USE_AS_STRTOK_R] (SAVE): Likewise.
23889 (FUNCTION): Likewise. Do not use BP_SYM.
23890 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23892 (strtok_r): Likewise.
23893 (__GI___strtok_r): Likewise.
23894 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23895 (PARMS): Do not use macros from bp-asm.h.
23898 (__mpn_lshift): Do not use BP_SYM.
23899 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23900 (PARMS): Do not use macros from bp-asm.h.
23903 (__memchr): Do not use BP_SYM.
23904 (memchr): Do not use BP_SYM in weak_alias.
23905 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23906 (PARMS): Do not use macros from bp-asm.h.
23909 (memcmp): Do not use BP_SYM.
23910 (bcmp): Do not use BP_SYM in weak_alias.
23911 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23912 (PARMS): Do not use macros from bp-asm.h.
23915 (__mpn_mul_1): Do not use BP_SYM.
23916 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23918 (PARMS): Do not use macros from bp-asm.h.
23921 (__rawmemchr): Do not use BP_SYM.
23922 (rawmemchr): Do not use BP_SYM in weak_alias.
23923 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23924 (PARMS): Do not use macros from bp-asm.h.
23927 (__mpn_rshift): Do not use BP_SYM.
23928 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23929 (PARMS): Do not use macros from bp-asm.h.
23930 (SIGMSK): Likewise.
23931 (__sigsetjmp): Likewise. Do not use BP_SYM.
23932 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23933 (_start): Do not use BP_SYM.
23934 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23935 (PARMS): Do not use macros from bp-asm.h.
23938 (__stpcpy): Likewise. Do not use BP_SYM.
23939 (stpcpy): Do not use BP_SYM in weak_alias.
23940 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23942 (PARMS): Do not use macros from bp-asm.h.
23946 (__stpncpy): Likewise. Do not use BP_SYM.
23947 (stpncpy): Do not use BP_SYM in weak_alias.
23948 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23949 (PARMS): Do not use macros from bp-asm.h.
23952 (strchr): Likewise. Do not use BP_SYM.
23953 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23955 (PARMS): Do not use macros from bp-asm.h.
23958 (__strchrnul): Likewise. Do not use BP_SYM.
23959 (strchrnul): Do not use BP_SYM in weak_alias.
23960 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23962 (PARMS): Do not use macros from bp-asm.h.
23964 (strcspn): Do not use BP_SYM.
23965 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23967 (PARMS): Do not use macros from bp-asm.h.
23970 (strpbrk): Likewise. Do not use BP_SYM.
23971 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23973 (PARMS): Do not use macros from bp-asm.h.
23976 (strrchr): Likewise. Do not use BP_SYM.
23977 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23978 (PARMS): Do not use macros from bp-asm.h.
23980 (strspn): Do not use BP_SYM.
23981 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23982 (PARMS): Do not use macros from bp-asm.h.
23986 (FUNCTION): Likewise. Do not use BP_SYM.
23987 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23989 (strtok_r): Likewise.
23990 (__GI___strtok_r): Likewise.
23991 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23992 (PARMS): Do not use macros from bp-asm.h.
23996 (__mpn_sub_n): Do not use BP_SYM.
23997 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23999 (PARMS): Do not use macros from bp-asm.h.
24002 (__mpn_submul_1): Do not use BP_SYM.
24003 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24005 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24007 (PARMS): Do not use macros from bp-asm.h.
24012 (__clone): Do not use BP_SYM.
24013 (clone): Do not use BP_SYM in weak_alias.
24014 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24016 (PARMS): Do not use macros from bp-asm.h.
24018 (__mmap64): Do not use BP_SYM.
24019 (mmap64): Do not use BP_SYM in weak_alias.
24020 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24021 <bp-sym.h> and <bp-asm.h>.
24022 (PARMS): Do not use macros from bp-asm.h.
24023 (__posix_fadvise64_l64): Do not use BP_SYM.
24024 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24025 (PARMS): Do not use macros from bp-asm.h.
24027 (semtimedop): Do not use BP_SYM.
24028 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24031 2013-02-21 Allan McRae <allan@archlinux.org>
24033 * manual/message.texi (Charset conversion in gettext):
24034 Move @end statement to beginning of line.
24036 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24043 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24044 (denorm): Likewise.
24045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24048 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24050 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24051 tail-call to the resolved function if pltexit isn't needed.
24053 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24056 or Y being zero as being unlikely.
24057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24060 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24062 * manual/nss.texi (System Databases and Name Service Switch):
24063 Remove frobnicate @pxref.
24065 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24067 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24068 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24070 2013-02-20 Petr Machata <pmachata@redhat.com>
24072 * elf/elf.h (R_ARM_TARGET1): New macro.
24073 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24074 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24075 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24076 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24077 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24078 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24079 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24080 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24081 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24082 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24083 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24084 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24085 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24086 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24087 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24088 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24089 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24090 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24091 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24092 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24093 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24094 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24095 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24096 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24097 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24098 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24099 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24100 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24101 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24102 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24103 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24104 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24105 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24106 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24107 (R_ARM_THM_GOT_BREL12): Likewise.
24108 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24109 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24110 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24111 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24112 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24113 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24114 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24115 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24116 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24118 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24120 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24121 __attribute_used__ to __attribute__ ((unused)).
24123 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24125 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24128 comment formatting.
24129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24131 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24134 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24136 (ENTER): Remove both macro definitions.
24138 (CHECK_BOUNDS_LOW): Likewise.
24139 (CHECK_BOUNDS_HIGH): Likewise.
24140 (CHECK_BOUNDS_BOTH): Likewise.
24141 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24142 (RETURN_BOUNDED_POINTER): Likewise.
24143 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24144 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24145 (POP_ERRNO_LOCATION_RETURN): Likewise.
24146 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24147 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24148 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24150 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24151 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24152 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24153 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24154 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24155 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24156 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24157 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24158 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24159 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24160 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24161 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24162 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24163 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24165 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24166 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24168 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24169 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24170 * sysdeps/i386/i586/memset.S (memset): Likewise.
24171 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24172 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24173 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24175 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24176 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24177 Change uses of L(2) to L(out).
24178 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24179 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24180 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24181 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24182 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24184 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24185 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24187 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24188 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24189 (RETURN): Do not use macro LEAVE.
24190 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24191 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24192 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24193 * sysdeps/i386/i686/memset.S (memset): Likewise.
24194 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24195 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24196 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24197 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24199 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24200 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24201 L(1_2) and L(1_3) into L(1).
24202 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24203 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24204 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24205 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24206 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24207 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24208 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24209 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24210 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24212 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24213 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24214 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24215 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24216 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24217 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24218 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24219 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24220 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24221 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24222 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24223 * sysdeps/i386/strspn.S (strspn): Likewise.
24224 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24226 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24227 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24228 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24229 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24230 L(1_3) into L(1_1).
24231 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24232 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24233 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24235 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24237 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24239 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24242 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24244 * math/atest-exp.c (exp_mpn): Remove ROUND.
24245 * math/atest-exp2.c (exp_mpn): Likewise.
24246 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24248 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24249 * stdlib/tst-tls-atexit-lib.c: Likewise.
24250 * stdlib/tst-tls-atexit.c: Likewise.
24252 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24254 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24255 and __attribute_alloc_size__.
24257 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24259 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24260 __attribute_alloc_size__.
24261 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24262 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24264 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24266 * include/programs/xmalloc.h: New file.
24267 * catgets/gencat.c: Include it.
24268 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24269 * elf/pldd.c: Likewise.
24270 * iconv/iconv_charmap.c: Likewise.
24271 * iconv/iconvconfig.c: Likewise.
24272 * iconv/strtab.c: Likewise.
24273 * locale/programs/locale.c: Likewise.
24274 * locale/programs/localedef.h: Likewise.
24275 * locale/programs/simple-hash.c: Likewise.
24276 * nscd/nscd.h: Likewise.
24277 * nss/makedb.c: Likewise.
24278 * sysdeps/generic/ldconfig.h: Likewise.
24280 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24282 * Versions.def: Add GLIBC_2.18.
24283 * include/link.h (struct link_map): New member l_tls_dtor_count.
24284 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24285 (__call_tls_dtors): Likewise.
24286 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24287 __cxa_thread_atexit_impl.
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24304 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24305 (tests): Add test case tst-tls-atexit.
24306 (modules-names): Add shared library for tst-tls-atexit.
24307 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24308 (GLIBC_PRIVATE): Add __call_tls_dtors.
24309 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24311 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24312 * stdlib/tst-tls-atexit.c: New test case.
24313 * stdlib/tst-tls-atexit-lib.c: New test case.
24315 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24317 * elf/Versions (ld): Add _dl_find_dso_for_object.
24318 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24319 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24320 (dl_open_worker): Use _dl_find_dso_for_object.
24321 * elf/dl-sym.c (do_sym): Likewise.
24322 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24324 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24326 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24327 Syntactic changes only.
24328 (_dl_runtime_profile): Do a tail-call to the resolved function.
24330 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24333 * sysdeps/x86_64/bp-asm.h: Remove file.
24334 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24335 <bp-sym.h> and <bp-asm.h>.
24336 (__clone): Do not use BP_SYM.
24337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24338 <bp-sym.h> and <bp-asm.h>.
24339 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24340 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24342 (_setjmp): Do not use BP_SYM.
24343 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24345 (setjmp): Do not use BP_SYM.
24346 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24348 (mempcpy): Do not use BP_SYM in weak_alias.
24349 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24351 (strchr): Do not use BP_SYM.
24352 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24354 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24355 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24356 (_start): Do not use BP_SYM.
24357 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24359 (strcat): Do not use BP_SYM.
24360 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24362 (STRCMP): Do not use BP_SYM.
24363 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24365 (STRCPY): Do not use BP_SYM.
24366 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24368 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24370 (FUNCTION): Do not use BP_SYM.
24371 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24373 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24375 2013-02-17 Andreas Jaeger <aj@suse.de>
24377 * time/Versions: Sort entries.
24378 * string/Versions: Likewise.
24379 * resolv/Versions: Likewise.
24380 * posix/Versions: Likewise.
24381 * iconv/Versions: Likewise.
24382 * elf/Versions: Likewise.
24383 * wcsmbs/Versions: Likewise.
24385 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24388 loop termination condition.
24390 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24391 variable to calculate EZ.
24394 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24395 the lower precision input.
24397 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24400 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24401 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24402 (run-via-rtld-prefix): Do not handle %-bp tests.
24403 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24404 (all-object-suffixes): Remove .ob.
24405 (bppfx): Remove variable.
24406 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24407 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24408 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24409 [$(build-bounded) = yes] (libtype.ob): Likewise.
24410 * Makerules (elide-routines.ob): Remove variable.
24411 (do-tests-clean): Do not handle *-bp.out.
24412 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24413 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24414 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24415 (tests): Do not include $(tests-bp.out).
24416 (xtests): Do not include $(xtests-bp.out).
24417 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24418 [$(build-bounded) = yes] ($(addprefix
24419 $(objpfx),$(binaries-bounded))): Remove rule.
24420 ($(objpfx)%-bp.out): Remove rule.
24421 * config.make.in (build-bounded): Remove variable.
24422 * crypt/Makefile [$(build-bounded) = yes]
24423 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24424 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24425 append to variable.
24426 [$(build-bounded) = yes] (install-lib): Likewise.
24427 [$(build-bounded) = yes] (generated): Likewise.
24428 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24430 * intl/Makefile [$(build-bounded) = yes]
24431 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24432 * math/Makefile [$(build-bounded) = yes]
24433 ($(tests:%=$(objpfx)%-bp): Likewise.
24434 * misc/Makefile [$(build-bounded) = yes]
24435 ($(objpfx)tst-tsearch-bp): Likewise.
24436 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24437 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24439 * string/Makefile (o-objects.ob): Remove variable.
24440 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24441 (CFLAGS-.ob): Remove variable.
24442 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24443 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24444 both definitions of variable.
24445 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24446 (ASFLAGS-.ob): Remove variable.
24448 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24451 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24452 Remove __BOUNDED_POINTERS__ from condition.
24453 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24454 * string/bits/string2.h [!__NO_STRING_INLINES &&
24455 !__BOUNDED_POINTERS__]: Likewise.
24456 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24458 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24459 Remove conditional code.
24460 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24461 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24462 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24466 * csu/libc-start.c: Do not include <bp-sym.h>.
24467 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24468 * elf/dl-open.c: Do not include <bp-sym.h>.
24469 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24470 * math/fegetenv.c: Do not include <bp-sym.h>.
24471 (fegetenv): Do not use BP_SYM in versioned symbols.
24472 * nptl/sysdeps/pthread/bits/libc-lockP.h
24473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24476 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24478 (__pthread_mutex_destroy): Likewise.
24479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24480 (__pthread_mutex_lock): Likewise.
24481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24482 (__pthread_mutex_trylock): Likewise.
24483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24484 (__pthread_mutex_unlock): Likewise.
24485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24486 (__pthread_mutexattr_init): Likewise.
24487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24488 (__pthread_mutexattr_destroy): Likewise.
24489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24490 (__pthread_mutexattr_settype): Likewise.
24491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24492 (__pthread_rwlock_init): Likewise.
24493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24494 (__pthread_rwlock_destroy): Likewise.
24495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24496 (__pthread_rwlock_rdlock): Likewise.
24497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24498 (__pthread_rwlock_tryrdlock): Likewise.
24499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24500 (__pthread_rwlock_wrlock): Likewise.
24501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24502 (__pthread_rwlock_trywrlock): Likewise.
24503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24504 (__pthread_rwlock_unlock): Likewise.
24505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24506 (__pthread_key_create): Likewise.
24507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24508 (__pthread_setspecific): Likewise.
24509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24510 (__pthread_getspecific): Likewise.
24511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24514 (_pthread_cleanup_push_defer): Likewise.
24515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24516 (_pthread_cleanup_pop_restore): Likewise.
24517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24518 (pthread_setcancelstate): Likewise.
24519 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24521 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24522 (memchr): Do not use BP_SYM in weak_alias.
24523 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24524 (fegetenv): Do not use BP_SYM in versioned symbols.
24525 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24526 (fesetenv): Do not use BP_SYM in versioned symbols.
24527 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24528 (feupdateenv): Do not use BP_SYM in versioned symbols.
24529 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24530 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24531 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24532 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24533 (open64): Do not use BP_SYM in weak_alias.
24534 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24535 (fegetenv): Do not use BP_SYM in versioned symbols.
24536 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24537 (fesetenv): Do not use BP_SYM in versioned symbols.
24538 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24539 (feupdateenv): Do not use BP_SYM in versioned symbols.
24540 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24541 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24542 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24543 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24544 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24545 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24546 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24548 (__libc_start_main): Do not use BP_SYM.
24550 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24553 redundant return line.
24555 (denorm): Likewise.
24556 (dbl_mp): Likewise.
24557 (sub_magnitudes): Likewise.
24563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24565 (denorm): Likewise.
24566 (dbl_mp): Likewise.
24567 (sub_magnitudes): Likewise.
24574 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24576 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24577 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24580 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24581 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24583 of __mul for squares.
24584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24588 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24589 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24591 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24594 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24596 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24597 prototype or function definition. Rename ubp_* variables and
24598 parameters. Remove argv definitions conditional on
24599 [__BOUNDED_POINTERS__].
24600 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24601 * elf/dl-runtime.c (_dl_fixup): Likewise.
24602 * include/set-hooks.h (RUN_HOOK): Likewise.
24603 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24605 * string/strcpy.c (strcpy): Do not use __unbounded.
24606 * sysdeps/generic/frame.h (struct layout): Likewise.
24607 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24608 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24609 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24610 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24611 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24612 (__backtrace): Likewise.
24613 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24615 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24616 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24617 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24619 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24620 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24621 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24622 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24623 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24624 Do not use __unbounded.
24625 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24626 Rename __unboundedrlimits parameter to rlimits in prototype.
24627 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24628 Do not use __unbounded.
24629 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24630 not use __ptrvalue.
24631 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24632 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24633 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24634 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24635 __ptrvalue or __unbounded.
24636 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24637 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24639 (__new_msgctl): Do not use __ptrvalue.
24640 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24642 (__libc_msgrcv): Do not use __ptrvalue.
24643 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24644 startup_info): Do not use __unbounded.
24645 (__libc_start_main): Likewise. Rename ubp_* variables and
24646 parameters. Remove argv definitions conditional on
24647 [__BOUNDED_POINTERS__].
24648 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24650 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24652 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24654 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24656 (__new_shmctl): Do not use __ptrvalue.
24657 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24658 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24660 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24661 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24662 (__libc_sigaction): Likewise.
24663 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24664 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24666 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24668 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24670 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24672 * string/mempcpy.c: Implement by calling memcpy.
24674 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24681 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24682 values in the mantissa.
24684 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24685 minimize writes to Z.
24686 (sub_magnitudes): Simplify code a bit.
24688 2013-02-12 Roland McGrath <roland@hack.frob.com>
24690 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24691 from the message. The linker prefixes all warnings with that already.
24693 2013-02-12 Andreas Schwab <schwab@suse.de>
24696 * posix/regexec.c (extend_buffers): Add parameter min_len.
24697 (check_matching): Pass minimum needed length.
24698 (clean_state_log_if_needed): Likewise.
24699 (get_subexp): Likewise.
24700 * posix/Makefile (tests): Add bug-regex34.
24701 (bug-regex34-ENV): Define.
24702 * posix/bug-regex34.c: New file.
24705 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24706 elements compare against the byte sequence of it, not its name.
24707 * posix/Makefile (tests): Add bug-regex35.
24708 (bug-regex35-ENV): Define.
24709 * posix/bug-regex35.c: New file.
24711 2013-02-11 Tom de Vries <tom@codesourcery.com>
24713 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24715 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24716 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24717 (CHECK_EOL): Add undef.
24719 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24721 * bits/stdlib-bsearch.h: New file.
24722 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24723 * stdlib/stdlib.h: Likewise.
24725 2013-02-11 Roland McGrath <roland@hack.frob.com>
24727 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24728 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24730 * manual/search.texi (Array Search Function): Add missing const in
24732 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24733 declaration to use rlim_t.
24734 (Basic Scheduling Functions): Remove erroneous const from
24735 sched_getparam prototype. Remove erroneous * from
24736 sched_get_priority_max and sched_get_priority_min prototypes.
24737 (Resource Usage): Fix summary @comment on vtimes to refer to
24738 sys/vtimes.h rather than vtimes.h.
24739 Add missing *s in vtimes prototype.
24740 (Limits on Resources): Fix ulimit prototype to return long int.
24741 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24742 prototypes to use long int rather than double.
24743 (BSD Random): Fix initstate and setstate to use char *, not void *.
24744 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24745 prototype to make second argument 'struct aiocb64 *const[]'.
24746 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24747 (Status of AIO Operations): Remove erroneous const in aio_return and
24748 aio_return64 prototypes.
24749 (Synchronizing I/O): Fix sync prototype to return void.
24750 * manual/startup.texi (Suboptions): Remove an erroneous const in
24751 getsubopt prototype.
24752 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24753 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24754 use size_t rather than int.
24755 (Scanning All Users): Likewise for getpwent_r.
24756 (Setting Groups): Add missing const to setgroups prototype.
24757 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24758 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24759 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24760 'const void *' rather than 'const char *'.
24761 (Host Address Functions): Likewise for inet_ntop.
24762 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24763 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24764 ssize_t for return value.
24765 (Sending Data): Likewise for send, sendto, sendmsg.
24766 (Socket Option Functions): Add a missing const in setsockopt prototype.
24767 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24768 use wchar_t for the argument.
24769 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24770 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24772 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24773 double/float/long double for second argument.
24774 Fix return types of significand, significandf, significandl.
24775 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24776 argument in fchmod prototype.
24777 (File Owner): Use uid_t and gid_t in fchown prototype.
24778 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24779 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24780 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24781 use 'const struct dirent **' as argument types to CMP function pointer
24783 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24784 (File Times): Fix summary magic @comment for struct utimbuf and utime
24785 to refer to utime.h, not time.h.
24786 * manual/string.texi (Argz Functions): Add missing const in
24787 argz_extract and argz_next prototypes.
24788 (Finding Tokens in a String): Likewise for basename.
24789 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24790 (Copying and Concatenation): Fix typo in wmemmove prototype.
24791 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24792 (Signal Stack): Remove erroneous const in sigstack prototype.
24793 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24795 (Simple Calendar Time): Likewise for stime.
24796 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24798 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24799 say sys/sysctl.h instead.
24800 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24801 and vsyslog prototypes.
24803 2013-02-11 Tom de Vries <tom@codesourcery.com>
24805 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24808 2013-02-11 Roland McGrath <roland@hack.frob.com>
24810 * misc/sys/mman.h: Fix typo in mremap comment.
24812 2013-02-08 Roland McGrath <roland@hack.frob.com>
24814 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24815 the '\0' terminator.
24817 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24820 * debug/segfault.c: Don't include <bp-checks.h>.
24821 * sysdeps/generic/bp-checks.h: Remove file.
24822 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24823 (__GETDENTS): Don't use CHECK_N.
24824 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24825 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24826 (__getgroups): Don't use CHECK_N.
24827 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24828 (setgroups): Don't use CHECK_N.
24829 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24830 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24831 (__libc_msgrcv): Don't use CHECK_N.
24832 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24833 (__libc_msgsnd): Don't use CHECK_N.
24834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24836 (__libc_pread): Don't use CHECK_N.
24837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24838 include <bp-checks.h>.
24839 (__libc_pread64): Don't use CHECK_N.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24841 include <bp-checks.h>.
24842 (__libc_pwrite): Don't use CHECK_N.
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24844 include <bp-checks.h>.
24845 (__libc_pwrite64): Don't use CHECK_N.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24848 (__libc_pread): Don't use CHECK_N.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24850 include <bp-checks.h>.
24851 (__libc_pread64): Don't use CHECK_N.
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24853 include <bp-checks.h>.
24854 (__libc_pwrite): Don't use CHECK_N.
24855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24856 include <bp-checks.h>.
24857 (__libc_pwrite64): Don't use CHECK_N.
24858 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24859 (do_pread): Don't use CHECK_N.
24860 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24861 (do_pread64): Don't use CHECK_N.
24862 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24863 (do_pwrite): Don't use CHECK_N.
24864 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24865 (do_pwrite64): Don't use CHECK_N.
24866 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24867 (__libc_readv): Don't use CHECK_N.
24868 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24869 (semop): Don't use CHECK_N.
24870 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24872 (semtimedop): Don't use CHECK_N.
24873 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24874 (__libc_pread): Don't use CHECK_N.
24875 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24877 (__libc_pread64): Don't use CHECK_N.
24878 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24880 (__libc_pwrite): Don't use CHECK_N.
24881 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24883 (__libc_pwrite64): Don't use CHECK_N.
24884 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24886 (__libc_msgrcv): Don't use CHECK_N.
24887 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24888 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24889 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24890 (__libc_writev): Don't use CHECK_N.
24892 2013-02-08 Roland McGrath <roland@hack.frob.com>
24894 * string/strcpy.c: Removed unused variable.
24896 * Makeconfig (+sysdep-includes): Define with := rather than =.
24897 Use an existing include/ subdir of each sysdeps dir before it.
24899 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24901 * nscd/connection.c (register_traced_file): Comment function.
24902 [HAVE_INOTIFY] (union __inev): Define.
24903 [HAVE_INOTIFY] (inotify_check_files): New function.
24904 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24905 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24907 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24909 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24911 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24912 loaded if not already and that a failure is permanent.
24914 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24917 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24918 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24920 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24923 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24924 (CHECK_1_NULL_OK): Likewise.
24925 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24926 (__fxstat): Do not use CHECK_1.
24927 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24929 (___fxstat64): Do not use CHECK_1.
24930 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24932 (__fxstatat): Do not use CHECK_1.
24933 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24935 (__fxstatat64): Do not use CHECK_1.
24936 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24938 (__fxstat): Do not use CHECK_1.
24939 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24941 (__fxstatat): Do not use CHECK_1.
24942 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24944 (__getresgid): Do not use CHECK_1.
24945 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24947 (__getresuid): Do not use CHECK_1.
24948 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24950 (__lxstat): Do not use CHECK_1.
24951 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24953 (__old_msgctl): Do not use CHECK_1.
24954 (__new_msgctl): Likewise.
24955 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24957 (__new_setrlimit): Do not use CHECK_1.
24958 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24960 (__old_shmctl): Do not use CHECK_1.
24961 (__new_shmctl): Likewise.
24962 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24964 (__xstat): Do not use CHECK_1.
24965 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24966 (__lxstat): Do not use CHECK_1.
24967 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24969 (___lxstat64): Do not use CHECK_1.
24970 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24971 (__old_msgctl): Do not use CHECK_1.
24972 (__new_msgctl): Likewise.
24973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24975 (__gettimeofday): Do not use CHECK_1.
24976 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24977 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24978 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24980 (__gettimeofday): Do not use CHECK_1.
24981 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24982 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24983 (__new_shmctl): Do not use CHECK_1.
24984 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24986 (do_sigtimedwait): Do not use CHECK_1.
24987 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24989 (do_sigwaitinfo): Do not use CHECK_1.
24990 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24992 (msgctl): Do not use CHECK_1.
24993 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24995 (shmctl): Do not use CHECK_1.
24996 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24997 (ustat): Do not use CHECK_1.
24998 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25000 (__fxstat): Do not use CHECK_1.
25001 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25003 (__fxstatat): Do not use CHECK_1.
25004 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25006 (__lxstat): Do not use CHECK_1.
25007 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25009 (__xstat): Do not use CHECK_1.
25010 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25011 (__xstat): Do not use CHECK_1.
25012 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25013 (___xstat64): Do not use CHECK_1.
25016 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25018 (CHECK_BOUNDS_HIGH): Likewise.
25019 * string/strcpy.c: Do not include <bp-checks.h>.
25020 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25022 2013-02-07 Roland McGrath <roland@hack.frob.com>
25024 * nscd/nscd-client.h (__nscd_drop_map_ref):
25025 Add __attribute__ ((unused)).
25026 * nis/nss-nisplus.h (niserr2nss): Likewise.
25028 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25029 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25031 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25032 Remove inline keyword.
25033 * include/rounding-mode.h (round_away): Likewise.
25034 * libio/wfileops.c (adjust_wide_data): Likewise.
25035 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25036 (__m128i_strloadu_tolower): Likewise.
25037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25038 (__m128i_strloadu_tolower): Likewise.
25039 * time/mktime.c (ydhms_diff): Likewise.
25040 * locale/elem-hash.h (elem_hash): Likewise.
25041 * locale/setlocale.c (setdata): Likewise.
25042 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25043 (re_string_wchar_at): Likewise.
25044 (bitset_not, bitset_merge, bitset_mask): Likewise.
25045 [!(__GNUC__ > 3)] (inline): Remove macro.
25046 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25047 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25048 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25049 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25050 * string/memcmp.c (memcmp_bytes): Likewise.
25051 * locale/programs/locarchive.c (compute_hashval): Likewise.
25052 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25053 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25054 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25055 * nss/getent.c (print_rpc, print_protocols): Likewise.
25056 (print_passwd, print_group, print_aliases): Likewise.
25057 * nis/nss-nisplus.h (niserr2nss): Likewise.
25058 * nscd/connections.c (restart_p): Likewise.
25059 Change return type to bool.
25061 2013-02-05 Roland McGrath <roland@hack.frob.com>
25063 * Makeconfig (all-Depend-files): Add existing
25064 $(sorted-subdirs:=/Depend) files.
25065 (all-subdirs): Remove nss.
25066 * sysdeps/unix/inet/Subdirs: Add it here instead.
25067 * hesiod/Depend: New file.
25069 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25070 instead of calling alloca.
25072 * io/lseek.c (__lseek): Rename to __libc_lseek.
25073 Define __lseek as an alias.
25075 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25077 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25079 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25080 else clause and remove check for non-standard endianness.
25082 2013-02-04 David S. Miller <davem@davemloft.net>
25084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25086 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25089 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25090 (__ubp_memchr): Remove prototype.
25091 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25092 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25093 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25094 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25095 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25097 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25098 (__ubp_memchr): Likewise.
25099 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25100 (__ubp_memchr): Likewise.
25101 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25102 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25103 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25104 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25106 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25107 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25108 (__getcwd): Do not use CHECK_STRING.
25109 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25111 (__real_chown): Do not use CHECK_STRING.
25112 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25114 (fchownat): Do not use CHECK_STRING.
25115 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25117 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25119 (__lchown): Do not use CHECK_STRING.
25120 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25121 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25122 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25123 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25125 include <bp-checks.h>.
25126 (truncate64): Do not use CHECK_STRING.
25127 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25129 (__real_chown): Do not use CHECK_STRING.
25130 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25132 (__lchown): Do not use CHECK_STRING.
25133 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25135 (__chown): Do not use CHECK_STRING.
25136 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25138 (truncate64): Do not use CHECK_STRING.
25139 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25141 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25142 (__xmknod): Do not use CHECK_STRING.
25143 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25145 (__xmknodat): Do not use CHECK_STRING.
25146 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25147 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25149 2013-02-04 Andreas Schwab <schwab@suse.de>
25152 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25153 * include/netdb.h: Likewise for h_errno.
25154 * elf/tst-stackguard1.c: Include <tls.h>.
25156 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25158 * elf/link.h (struct link_map): Extend the l_addr comment.
25159 * include/link.h (struct link_map): Likewise.
25161 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25164 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25165 (BOUNDED_1): Remove macro.
25166 * debug/backtrace.c: Don't include <bp-checks.h>.
25167 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25168 (__backtrace): Likewise.
25169 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25171 (__backtrace): Don't use BOUNDED_1.
25172 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25174 (__backtrace): Don't use BOUNDED_1.
25175 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25176 (__backtrace): Don't use BOUNDED_1.
25177 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25178 (shmat): Don't use BOUNDED_N.
25180 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25183 * sysdeps/generic/bp-start.h: Remove file.
25184 * csu/libc-start.c: Don't include <bp-start.h>.
25185 (LIBC_START_MAIN): Set up __environ directly instead of using
25186 INIT_ARGV_and_ENVIRON.
25187 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25191 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25193 (CHECK_FCNTL): Likewise.
25194 (CHECK_N_PAGES): Likewise.
25197 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25199 (CHECK_SIGSET_NULL_OK): Likewise.
25200 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25202 (sigpending): Don't use CHECK_SIGSET.
25203 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25205 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25206 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25208 (do_sigsuspend): Don't use CHECK_SIGSET.
25209 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25211 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25212 (do_sigwait): Don't use CHECK_SIGSET.
25213 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25215 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25216 include <bp-checks.h>.
25217 (sigpending): Don't use CHECK_SIGSET.
25218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25219 include <bp-checks.h>.
25220 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25221 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25223 (sigpending): Don't use CHECK_SIGSET.
25224 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25226 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25229 * sysdeps/generic/bp-semctl.h: Remove file.
25230 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25231 <bp-checks.h> and <bp-semctl.h>.
25232 (__old_semctl): Don't use CHECK_SEMCTL.
25233 (__new_semctl): Likewise.
25234 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25236 (__old_semctl): Don't use CHECK_SEMCTL.
25237 (__new_semctl): Likewise.
25238 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25239 <bp-checks.h> and <bp-semctl.h>.
25240 (__old_semctl): Don't use CHECK_SEMCTL.
25241 (__new_semctl): Likewise.
25242 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25243 <bp-checks.h> and <bp-semctl.h>.
25244 (semctl): Don't use CHECK_SEMCTL.
25247 * Makerules (elide-bp-thunks): Remove variable.
25248 (elide-routines.oS): Don't use $(elide-bp-thunks).
25249 (elide-routines.os): Likewise.
25250 (elide-routines.o): Likewise.
25251 (elide-routines.op): Likewise.
25252 (elide-routines.og): Likewise.
25253 (objects): Don't use $(bp-thunks).
25254 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25256 (common-generated): Do not add s-proto-bp.d.
25257 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25260 Do not generate makefile rules for bounded-pointer thunks.
25261 * sysdeps/generic/bp-thunks.h: Remove file.
25262 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25263 * sysdeps/unix/s-proto-bp.S: Likewise.
25266 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25267 parts of result separately when argument is not close to line from
25268 -i to i and one part of argument is small.
25269 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25270 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25271 * math/libm-test.inc (cacos_test): Add more tests.
25272 (casin_test): Likewise.
25273 (casinh_test): Likewise.
25274 * sysdeps/i386/fpu/libm-test-ulps: Update.
25275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25277 2013-01-31 David S. Miller <davem@davemloft.net>
25279 * po/de.po: Update from translation team.
25281 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25283 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25285 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25287 * configure.in (_AC_PROG_CC_C89): New definition.
25288 * configure: Regenerate.
25290 * configure.in (AC_PROG_CPP): New definition.
25291 * configure: Regenerate.
25293 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25295 * debug/tst-backtrace.h: New file.
25296 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25297 (ret): Remove variable.
25299 (FAIL): Remove macro.
25300 (NO_INLINE): Likewise.
25301 (fn1): Use match function instead of strstr.
25302 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25303 (ret): Remove variable.
25305 (FAIL): Remove macro.
25306 (NO_INLINE): Likewise.
25307 (fn): Use match function instead of strstr.
25308 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25309 (ret): Remove variable.
25311 (FAIL): Remove macro.
25312 (NO_INLINE): Likewise.
25313 (handle_signal): Use match function instead of strstr.
25314 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25315 (ret): Remove variable.
25317 (FAIL): Remove macro.
25318 (NO_INLINE): Likewise.
25319 (handle_signal): Use match function instead of strstr.
25321 2013-01-23 Roland McGrath <roland@hack.frob.com>
25323 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25325 2013-01-23 David S. Miller <davem@davemloft.net>
25327 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25328 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25329 argument of CAS if possible.
25330 * sysdeps/sparc/sparc64/bits/atomic.h
25331 (__arch_compare_and_exchange_val_32_acq): Likewise.
25332 (__arch_compare_and_exchange_val_64_acq): Likewise.
25334 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25336 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25337 * sysdeps/posix/ulimit.c: ... this.
25338 Include <limits.h>.
25339 * sysdeps/unix/bsd/ulimit.c: Remove file.
25341 2013-01-23 Adam Conrad <adconrad@0c3.net>
25343 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25344 (LDFLAGS-tst-array5): Likewise.
25346 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25349 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25350 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25351 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25352 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25354 2013-01-21 David S. Miller <davem@davemloft.net>
25356 * sysdeps/sparc/backtrace.c: New file.
25357 * sysdeps/sparc/sparc32/backtrace.h: New file.
25358 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25359 * sysdeps/sparc/sparc64/backtrace.h: New file.
25360 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25361 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25364 2013-01-21 Andreas Schwab <schwab@suse.de>
25367 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25370 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25376 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25377 Mark Mitchell <mark@codesourcery.com>
25378 Tom de Vries <tom@codesourcery.com>
25379 Paul Pluzhnikov <ppluzhnikov@google.com>
25381 * debug/tst-backtrace2.c: New file.
25382 * debug/tst-backtrace3.c: Likewise.
25383 * debug/tst-backtrace4.c: Likewise.
25384 * debug/tst-backtrace5.c: Likewise.
25385 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25386 (CFLAGS-tst-backtrace3.c): Likewise.
25387 (CFLAGS-tst-backtrace4.c): Likewise.
25388 (CFLAGS-tst-backtrace5.c): Likewise.
25389 (LDFLAGS-tst-backtrace2): Likewise.
25390 (LDFLAGS-tst-backtrace3): Likewise.
25391 (LDFLAGS-tst-backtrace4): Likewise.
25392 (LDFLAGS-tst-backtrace5): Likewise.
25393 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25394 tst-backtrace4 and tst-backtrace5.
25396 2013-01-18 Anton Blanchard <anton@samba.org>
25397 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25399 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25400 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25401 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25402 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25404 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25405 "+r" and remove output regs list as redundant. Add explicit inline
25406 asm to specify register of return val to work around compiler codegen
25407 bug. Remove (int) cast on return value. Add return type parameter to
25408 use in macro so that this macro does not truncate return value for
25410 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25411 pass to INTERNAL_VSYSCALL_NCS.
25412 (INLINE_VSYSCALL): Add 'long int' as return type to
25413 INTERNAL_VSYSCALL_NCS macro invocation.
25414 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25415 INTERNAL_VSYSCALL_NCS macro invocation.
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25418 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25421 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25422 Fix application of SIMD FP exception mask.
25424 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25425 mp_no from a power of two.
25426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25427 __mpexp_twomm1. Use __pow_mp.
25429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25432 2013-01-17 David S. Miller <davem@davemloft.net>
25434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25436 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25439 * include/complex.h: Condition contents on [!_COMPLEX_H].
25440 (__kernel_casinhf): New prototype.
25441 (__kernel_casinh): Likewise.
25442 (__kernel_casinhl): Likewise.
25443 * math/Makefile (libm_calls): Add k_casinh.
25444 * math/k_casinh.c: New file.
25445 * math/k_casinhf.c: Likewise.
25446 * math/k_casinhl.c: Likewise.
25447 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25448 finite nonzero arguments.
25449 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25450 finite nonzero arguments.
25451 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25452 finite nonzero arguments.
25453 * math/s_casinh.c: Do not include <float.h>.
25454 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25455 * math/s_casinhf.c: Do not include <float.h>.
25456 (__casinhf): Move code for finite nonzero arguments to
25458 * math/s_casinhl.c: Do not include <float.h>.
25459 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25461 (__casinhl): Move code for finite nonzero arguments to
25463 * math/libm-test.inc (cacos_test): Add more tests.
25464 * sysdeps/i386/fpu/libm-test-ulps: Update.
25465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25467 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25469 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25470 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25471 [!HAVE_MREMAP]: Remove [defined linux] case.
25472 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25474 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25476 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25478 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25480 * elf/elf.h (R_386_SIZE32): New relocation.
25481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25483 (elf_machine_rela): Likewise.
25484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25485 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25487 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25489 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25490 (FP_FAST_FMA): Do not define.
25491 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25492 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25493 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25494 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25495 !_SOFT_FLOAT]: Likewise.
25496 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25497 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25499 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25500 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25501 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25502 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25503 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25504 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25507 2013-01-16 Andreas Schwab <schwab@suse.de>
25510 * include/stdlib.h (__mktemp): Add declaration.
25511 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25512 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25514 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25516 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25518 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25519 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25520 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25522 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25523 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25525 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25527 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25528 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25529 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25531 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25532 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25534 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25536 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25538 2013-01-15 David S. Miller <davem@davemloft.net>
25540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25541 trunc{,f} to libm-sysdep_routes.
25542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25552 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25553 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25554 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25555 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25556 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25557 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25560 nearbyint{,f} to libm-sysdep_routes.
25561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25575 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25577 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25578 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25579 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25581 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25582 libc_feholdexcept and libc_fesetenv.
25584 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25586 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25588 2013-01-14 David S. Miller <davem@davemloft.net>
25590 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25591 (SPARC_ASM_VIS2_IFUNC): Likewise.
25592 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25594 use of 'siam' instruction.
25595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25628 routines to libm-sysdep_routines.
25629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25632 fdim/fdimf to libm-sysdep_routines.
25633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25641 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25642 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25643 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25644 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25646 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25649 to optimize copies.
25651 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25656 local variable MPTWO.
25657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25660 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25662 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25665 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25667 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25669 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25671 * manual/pattern.texi (glob_t): Document gl_flags.
25672 (glob64_t): Likewise.
25674 2013-01-11 David S. Miller <davem@davemloft.net>
25676 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25677 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25678 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25679 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25680 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25681 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25682 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25683 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25684 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25685 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25686 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25687 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25688 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25690 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25691 sparc V9 rather than using V8 code.
25692 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25693 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25695 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25697 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25700 2013-01-11 Roland McGrath <roland@hack.frob.com>
25702 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25703 not in the main loop.
25704 * configure: Regenerated.
25706 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25708 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25709 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25711 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25712 [!__GLIBC_HAVE_LONG_LONG] case.
25713 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25714 condition to just #else.
25715 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25716 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25717 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25718 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25720 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25721 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25722 #elif condition to just #else.
25723 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25724 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25725 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25726 #elif condition to just #else.
25728 2013-01-11 Steve Ellcey <sellcey@mips.com>
25730 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25731 (EF_MIPS_ARCH_64): Fix value.
25732 (EF_MIPS_ARCH_32R2): New.
25733 (EF_MIPS_ARCH_64R2): New.
25735 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25737 * Makeconfig (+link-pie-before-libc): New.
25738 (+link-pie-after-libc): Likewise.
25739 (+link-pie-tests): Likewise.
25740 (+link-pie): Rewritten.
25741 (link-before-libc): Remove $(config-LDFLAGS).
25742 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25743 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25744 (config-LDFLAGS): Renamed to ...
25745 (rtld-LDFLAGS): This.
25746 (rtld-tests-LDFLAGS): New macro.
25747 (link-libc-rpath-link): Likewise.
25748 (link-libc-tests-rpath-link): Likewise.
25749 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25750 (link-libc): Prepand $(link-libc-rpath-link).
25751 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25752 (test-program-prefix): New macro.
25753 (test-via-rtld-prefix): Likewise.
25754 (test-program-cmd): Likewise.
25755 (host-test-program-cmd): Likewise.
25756 * Makefile ($(common-objpfx)testrun.sh): Replace
25757 $(run-program-prefix) with $(test-program-prefix).
25758 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25760 ($(common-objpfx)shlib.lds): Likewise.
25761 (build-module-helper): Likewise.
25762 ($(common-objpfx)format.lds): Likewise.
25763 * Rules (binaries-pie-tests): New.
25764 (binaries-pie-notests): Likewise.
25765 (binaries-pie): Rewritten.
25766 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25767 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25768 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25769 (make-test-out): Replace $(host-built-program-cmd) with
25770 $(host-test-program-cmd).
25771 * config.make.in (build-hardcoded-path-in-tests): New variable.
25772 * configure.in (--enable-hardcoded-path-in-tests): New configure
25774 (hardcoded_path_in_tests): New AC_SUBST.
25775 * configure: Regenerated.
25776 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25777 $(built-program-cmd) with $(test-program-cmd).
25778 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25779 (test_program_cmd): This.
25780 * elf/Makefile ($(objpfx)order.out): Run test with
25781 $(test-program-prefix).
25782 ($(objpfx)order2.out): Likewise.
25783 ($(objpfx)tst-initorder.out): Likewise.
25784 ($(objpfx)tst-initorder2.out): Likewise.
25785 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25786 $(test-program-cmd).
25787 ($(objpfx)tst-array1-static.out): Likewise.
25788 ($(objpfx)tst-array2.out): Likewise.
25789 ($(objpfx)tst-array3.out): Likewise.
25790 ($(objpfx)tst-array4.out): Likewise.
25791 ($(objpfx)tst-array5.out): Likewise.
25792 ($(objpfx)tst-array5-static.out): Likewise.
25793 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25794 $(test-program-cmd).
25795 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25796 $(run-program-prefix) with $(test-program-prefix).
25797 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25798 (test_program_prefix): This.
25799 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25800 $(run-program-prefix) with $(test-program-prefix).
25801 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25802 (test_program_prefix): This.
25803 * iconvdata/tst-tables.sh: Likewise.
25804 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25805 $(run-program-prefix) with $(test-program-prefix).
25806 ($(objpfx)tst-translit.out): Likewise.
25807 ($(objpfx)tst-gettext2.out): Likewise.
25808 ($(objpfx)tst-gettext4.out): Likewise.
25809 ($(objpfx)tst-gettext6.out): Likewise.
25810 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25811 (test_program_prefix): This.
25812 * intl/tst-gettext2.sh: Likewise.
25813 * intl/tst-gettext4.sh Likewise.
25814 * intl/tst-gettext6.sh: Likewise.
25815 * intl/tst-translit.sh: Likewise.
25816 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25817 with $(test-program-cmd).
25818 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25819 $(run-program-prefix) with $(test-program-prefix).
25820 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25821 (test_program_prefix): This.
25822 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25823 $(run-program-prefix) with $(test-program-prefix).
25824 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25825 (test_program_prefix): This.
25826 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25827 * posix/Makefile ($(objpfx)globtest.out): Replace
25828 $(run-via-rtld-prefix) and $(test-wrapper) with
25829 $(test-program-prefix) and $(test-via-rtld-prefix).
25830 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25831 $(test-program-prefix).
25832 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25833 $(host-test-program-cmd).
25834 (tst-spawn-ARGS): Likewise.
25835 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25836 $(test-program-prefix).
25837 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25838 (test_via_rtld_prefix): This.
25839 (test_wrapper): Renamed to ...
25840 (test_program_prefix): This.
25841 (run_program_prefix): Replaced by test_program_prefix.
25842 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25843 (test_program_prefix): This.
25844 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25845 with $(host-test-program-cmd).
25846 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25847 $(run-program-prefix) with $(test-program-prefix).
25848 ($(objpfx)tst-printf.out): Likewise.
25849 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25850 $(test-program-cmd).
25851 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25852 (test_program_prefix): This.
25853 * stdio-common/tst-unbputc.sh: Likewise.
25854 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25855 $(run-program-prefix) with $(test-program-prefix).
25856 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25857 (test_program_prefix): This.
25858 * string/Makefile ($(objpfx)tst-svc.out): Replace
25859 $(built-program-cmd) with $(test-program-cmd).
25861 2013-01-11 Andreas Jaeger <aj@suse.de>
25864 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25865 value. Sync with Linux 3.7.
25867 2013-01-10 David S. Miller <davem@davemloft.net>
25869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25870 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25871 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25873 2013-01-10 Roland McGrath <roland@hack.frob.com>
25875 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25877 * configure: Regenerated.
25879 2013-01-10 David S. Miller <davem@davemloft.net>
25881 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25882 sparc V9 rather than using V8 code.
25883 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25884 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25886 2013-01-10 Roland McGrath <roland@hack.frob.com>
25888 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25889 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25890 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25891 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25892 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25893 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25894 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25895 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25896 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25897 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25898 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25899 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25900 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25901 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25902 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25903 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25904 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25905 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25906 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25907 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25908 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25909 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25910 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25911 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25912 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25913 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25914 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25916 2013-01-10 David S. Miller <davem@davemloft.net>
25918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25920 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25922 * posix/Makefile (tests-static): New variable.
25923 (tests): Add $(tests-static).
25924 (tst-exec-static-ARGS): New variable.
25925 (tst-spawn-static-ARGS): Likewise.
25926 * posix/tst-exec-static.c: New file.
25927 * posix/tst-spawn-static.c: Likewise.
25928 * posix/tst-exec.c: Support run directly.
25929 * posix/tst-spawn.c: Likewise.
25931 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25933 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25935 * math/bits/mathcalls.h (llrint): Likewise.
25936 (llround): Likewise.
25937 * stdlib/stdlib.h (struct drand48_data): Likewise.
25938 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25939 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25940 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25942 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25944 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25945 (elf_greg_t): Likewise.
25946 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25947 (__jmp_buf): Likewise.
25948 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25950 (llrint): Likewise, for all definitions.
25951 (llrintl): Likewise.
25953 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25954 Remove [__GNUC__] condition.
25955 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25956 condition to just [__USE_ISOC99].
25957 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25959 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25962 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25963 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25965 (_POSIX_V6_ILP32_OFF32): Likewise.
25966 (_XBS5_ILP32_OFF32): Likewise.
25967 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25968 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25970 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25972 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25975 doubles __mpexp_twomm1. Adjust usage.
25976 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25979 2013-01-10 Andreas Schwab <schwab@suse.de>
25982 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25983 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25985 2013-01-09 David S. Miller <davem@davemloft.net>
25988 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25989 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25990 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25991 (TCP_FASTOPEN): Define.
25992 (tcp_repair_opt): New structure.
25993 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25995 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25996 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25997 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25998 (tcp_cookie_transactions): New structure.
26000 2013-01-09 Anton Blanchard <anton@samba.org>
26002 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26003 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26004 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26005 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26007 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26009 * include/features.h (__USE_ANSI): Remove.
26011 2013-01-09 Roland McGrath <roland@hack.frob.com>
26013 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26015 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26017 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26019 * sysdeps/s390/fpu/libm-test-ulps: Update.
26021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26023 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26027 (denorm): Likewise.
26028 (__mp_dbl): Likewise.
26029 (__dbl_mp): Likewise.
26030 (add_magnitudes): Likewise.
26031 (sub_magnitudes): Likewise.
26037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26041 (denorm): Likewise.
26042 (__mp_dbl): Likewise.
26043 (__dbl_mp): Likewise.
26044 (add_magnitudes): Likewise.
26045 (sub_magnitudes): Likewise.
26051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26055 (denorm): Likewise.
26056 (__mp_dbl): Likewise.
26057 (__dbl_mp): Likewise.
26058 (add_magnitudes): Likewise.
26059 (sub_magnitudes): Likewise.
26066 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26068 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26069 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26070 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26071 2 && __USE_EXTERN_INLINES]: Likewise.
26073 2013-01-08 Andreas Jaeger <aj@suse.de>
26076 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26078 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26079 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26081 2013-01-07 Anton Blanchard <anton@samba.org>
26083 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26084 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26085 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26086 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26087 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26088 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26089 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26090 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26094 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26095 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26096 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26097 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26099 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26100 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26101 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26102 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26104 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26106 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26107 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26108 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26109 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26110 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26111 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26112 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26113 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26116 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26117 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26119 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26120 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26121 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26123 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26125 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26127 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26129 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26130 (__MALLOC_PMT): Likewise.
26131 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26132 [__GNUC__], only on [_LIBC].
26133 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26134 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26135 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26136 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26137 forward declaration.
26138 (realloc_hook_ini): Likewise.
26139 (memalign_hook_ini): Likewise.
26140 (__libc_memalign): Do not use __MALLOC_PMT in variable
26142 (__libc_valloc): Likewise.
26143 (__libc_pvalloc): Likewise.
26144 (__libc_calloc): Likewise.
26145 (__posix_memalign): Likewise.
26148 * math/s_casinh.c: Include <float.h>.
26149 (__casinh): Do not do computation with squaring and square root
26150 for large arguments.
26151 * math/s_casinhf.c: Include <float.h>.
26152 (__casinhf): Do not do computation with squaring and square root
26153 for large arguments.
26154 * math/s_casinhl.c: Include <float.h>.
26155 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26156 (__casinhl): Do not do computation with squaring and square root
26157 for large arguments.
26158 * math/libm-test.inc (casin_test): Add more tests.
26159 (casinh_test): Likewise.
26160 * sysdeps/i386/fpu/libm-test-ulps: Update.
26161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26163 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26165 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26166 (__x86_64_raw_data_cache_size): Likewise.
26167 (__x86_64_data_cache_size_half): Likewise.
26168 (__x86_64_raw_data_cache_size_half): Likewise.
26169 (__x86_64_shared_cache_size): Likewise.
26170 (__x86_64_raw_shared_cache_size): Likewise.
26171 (__x86_64_shared_cache_size_half): Likewise.
26172 (__x86_64_raw_shared_cache_size_half): Likewise.
26173 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26175 (__x86_data_cache_size): This.
26176 (__x86_64_raw_data_cache_size): Renamed to ...
26177 (__x86_raw_data_cache_size): This.
26178 (__x86_64_data_cache_size_half): Renamed to ...
26179 (__x86_data_cache_size_half): This.
26180 (__x86_64_raw_data_cache_size_half): Renamed to ...
26181 (__x86_raw_data_cache_size_half): This.
26182 (__x86_64_shared_cache_size): Renamed to ...
26183 (__x86_shared_cache_size): This.
26184 (__x86_64_raw_shared_cache_size): Renamed to ...
26185 (__x86_raw_shared_cache_size): This.
26186 (__x86_64_shared_cache_size_half): Renamed to ...
26187 (__x86_shared_cache_size_half): This.
26188 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26189 (__x86_raw_shared_cache_size_half): This.
26190 * sysdeps/x86_64/memcpy.S: Updated.
26191 * sysdeps/x86_64/memset.S: Likewise.
26192 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26196 2013-01-04 David S. Miller <davem@davemloft.net>
26198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26200 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26202 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26203 1 to avoid redefinition warning.
26204 (__USE_GNU): Don't define.
26205 (init_signaling_nan): Protoize.
26207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26209 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26211 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26213 (__cpymn): Likewise.
26214 (norm): Remove commented code.
26215 (denorm): Likewise.
26216 (__mp_dbl): Likewise.
26218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26219 (__cpymn): Likewise.
26220 (norm): Remove commented code.
26221 (denorm): Likewise.
26222 (__mp_dbl): Likewise.
26225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26226 mp_no value for 1.0 and 2.0.
26227 (norm): Use RADIXI instead of radixi.d.
26228 (denorm): Likewise.
26229 (__mul): Use 0.0 instead of zero.d.
26230 * sysdeps/powerpc/powerpc64/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.
26236 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26239 * math/s_casinh.c (__casinh): Reduce finite argument to first
26240 quadrant then set signs of results at the end.
26241 * math/s_casinhf.c (__casinhf): Likewise.
26242 * math/s_casinhl.c (__casinhl): Likewise.
26243 * math/libm-test.inc (casin_test): Add more tests.
26244 (casinh_test): Likewise.
26245 * sysdeps/i386/fpu/libm-test-ulps: Update.
26246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26248 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26250 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26252 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26254 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26256 (denorm): Likewise.
26257 (__mp_dbl): Likewise.
26260 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26261 and adjust the header comment.
26263 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26264 variable name from declaration.
26266 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26269 Initialize COMMON_CPUID_INDEX_7 element.
26270 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26271 (CPUID_RTM): Likewise.
26272 (HAS_RTM): Likewise.
26273 (COMMON_CPUID_INDEX_7): New enum.
26275 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26278 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26279 size is zero, record memory as freed.
26281 2013-01-03 Andreas Jaeger <aj@suse.de>
26283 * po/ia.po: Add new Interlingua translation.
26285 2012-01-03 Allan McRae <allan@archlinux.org>
26287 * locale/programs/localedef.c: Fix description of '--posix' flag.
26289 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26291 * NEWS: Update dates in second copyright notice.
26292 * README: Update copyright dates in example.
26293 * manual/libc.texinfo: Update copyright dates.
26294 * scripts/test-installation.pl: Update copyright date in --version
26297 * hurd/ctty-input.c: Fix copyright notice formatting.
26298 * hurd/ctty-output.c: Likewise.
26299 * hurd/dtable.c: Likewise.
26300 * hurd/hurd-raise.c: Likewise.
26301 * hurd/hurdprio.c: Likewise.
26302 * hurd/msgportdemux.c: Likewise.
26303 * misc/sys/file.h: Likewise.
26304 * misc/sys/ioctl.h: Likewise.
26305 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26306 * sysdeps/mach/hurd/chdir.c: Likewise.
26307 * sysdeps/mach/hurd/fchdir.c: Likewise.
26308 * sysdeps/mach/hurd/rename.c: Likewise.
26309 * sysdeps/mach/hurd/rmdir.c: Likewise.
26310 * sysdeps/mach/hurd/seekdir.c: Likewise.
26311 * sysdeps/mach/hurd/setsid.c: Likewise.
26312 * sysdeps/posix/wait3.c: Likewise.
26314 * All files with FSF copyright notices: Update copyright dates
26315 using scripts/update-copyrights.
26316 * intl/plural.c: Regenerated.
26317 * locale/programs/charmap-kw.h: Likewise.
26318 * locale/programs/locfile-kw.h: Likewise.
26320 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26322 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26325 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26326 calculation loop and add branch prediction.
26328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26329 check access beyond bounds of m1np.
26331 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26333 (__inv): Remove local variable MPTWO to use the global
26335 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26339 MP3HALFS static const.
26341 2013-01-01 David S. Miller <davem@davemloft.net>
26343 * po/ca.po: Update from translation team.
26345 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26347 * scripts/update-copyrights: New file.
26348 * Makeconfig: Reformat copyright notice.
26349 * ctype/ctype.h: Likewise.
26350 * debug/swprintf_chk.c: Likewise.
26351 * elf/dl-cache.c: Likewise.
26352 * elf/dl-debug.c: Likewise.
26353 * elf/dl-object.c: Likewise.
26354 * grp/initgroups.c: Likewise.
26355 * hurd/Makefile: Likewise.
26356 * hurd/hurd/signal.h: Likewise.
26357 * hurd/hurdfault.c: Likewise.
26358 * hurd/hurdioctl.c: Likewise.
26359 * hurd/hurdlookup.c: Likewise.
26360 * hurd/intr-msg.c: Likewise.
26361 * iconv/gconv_open.c: Likewise.
26362 * libio/swprintf.c: Likewise.
26363 * locale/lc-ctype.c: Likewise.
26364 * locale/nl_langinfo.c: Likewise.
26365 * mach/Machrules: Likewise.
26366 * mach/Makefile: Likewise.
26367 * malloc/obstack.h: Likewise.
26368 * manual/Makefile: Likewise.
26369 * manual/tsort.awk: Likewise.
26370 * misc/bits/stab.def: Likewise.
26371 * nis/nis_print_group_entry.c: Likewise.
26372 * nis/nis_table.c: Likewise.
26373 * nis/nss_compat/compat-pwd.c: Likewise.
26374 * nis/nss_compat/compat-spwd.c: Likewise.
26375 * po/Makefile: Likewise.
26376 * posix/fnmatch.c: Likewise.
26377 * posix/regex.h: Likewise.
26378 * resolv/Makefile: Likewise.
26379 * resolv/nss_dns/dns-network.c: Likewise.
26380 * resolv/res_hconf.c: Likewise.
26381 * scripts/gen-sorted.awk: Likewise.
26382 * soft-fp/soft-fp.h: Likewise.
26383 * stdio-common/printf.h: Likewise.
26384 * stdlib/monetary.h: Likewise.
26385 * stdlib/random.c: Likewise.
26386 * stdlib/random_r.c: Likewise.
26387 * sysdeps/generic/Makefile: Likewise.
26388 * sysdeps/gnu/Makefile: Likewise.
26389 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26410 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26412 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26413 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26414 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26415 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26416 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26417 * sysdeps/mach/hurd/errnos.awk: Likewise.
26418 * sysdeps/mach/hurd/fork.c: Likewise.
26419 * sysdeps/mach/hurd/getcwd.c: Likewise.
26420 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26421 * sysdeps/mach/hurd/mmap.c: Likewise.
26422 * sysdeps/mach/hurd/utimes.c: Likewise.
26423 * sysdeps/mach/hurd/xmknod.c: Likewise.
26424 * sysdeps/posix/profil.c: Likewise.
26425 * sysdeps/posix/readdir_r.c: Likewise.
26426 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26427 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26428 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26429 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26431 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26433 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26435 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26436 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26437 * sysdeps/pthread/lio_listio.c: Likewise.
26438 * sysdeps/sparc/dl-procinfo.h: Likewise.
26439 * sysdeps/unix/i386/sysdep.S: Likewise.
26440 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26441 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26442 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26443 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26445 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26446 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26447 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26448 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26449 * sysdeps/wordsize-32/divdi3.c: Likewise.
26450 * time/sys/time.h: Likewise.
26451 * wcsmbs/Makefile: Likewise.
26453 2013-01-01 David S. Miller <davem@davemloft.net>
26455 * po/fr.po: Update from translation team.
26457 * catgets/gencat.c: Update copyright year.
26458 * csu/version.c: Likewise.
26459 * debug/catchsegv.sh: Likewise.
26460 * debug/pcprofiledump.c: Likewise.
26461 * debug/xtrace.sh: Likewise.
26462 * elf/ldconfig.c: Likewise.
26463 * elf/ldd.bash.in: Likewise.
26464 * elf/pldd.c: Likewise.
26465 * elf/sotruss.ksh: Likewise.
26466 * elf/sprof.c: Likewise.
26467 * iconv/iconv_prog.c: Likewise.
26468 * iconv/iconvconfig.c: Likewise.
26469 * locale/programs/locale.c: Likewise.
26470 * locale/programs/localedef.c: Likewise.
26471 * login/programs/pt_chown.c: Likewise.
26472 * malloc/memusage.sh: Likewise.
26473 * malloc/memusagestat.c: Likewise.
26474 * malloc/mtrace.pl: Likewise.
26475 * nscd/nscd.c: Likewise.
26476 * nss/getent.c: Likewise.
26477 * nss/makedb.c: Likewise.
26478 * posix/getconf.c: Likewise.
26480 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26482 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26485 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26487 * math/bits/mathcalls.h (modf): Use __nonnull.
26489 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26491 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26492 (split): Use macro CN instead of the bare value.
26493 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26496 instead of the bare value.
26497 (power1): Likewise.
26499 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26501 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26503 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26505 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26507 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26508 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26509 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26510 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26512 2012-12-28 Andreas Jaeger <aj@suse.de>
26514 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26515 values are from Linux 3.7.
26517 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26518 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26520 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26522 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26525 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26527 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26528 variables with preprocessor constants.
26529 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26530 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26531 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26533 2012-12-27 Bruno Haible <bruno@clisp.org>
26536 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26539 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26542 and use variable directly.
26543 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26545 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26547 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26552 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26553 include directive. Remove local variable MPONE.
26554 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26555 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26556 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26558 2012-12-25 David S. Miller <davem@davemloft.net>
26560 * version.h (RELEASE): Set to "development".
26561 (VERSION): Set to "2.17.90".
26562 * NEWS: Add 2.18 section.
26564 2012-12-21 David S. Miller <davem@davemloft.net>
26566 * po/hr.po: Update from translation team.
26568 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26570 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26572 2012-12-19 Steve Ellcey <sellcey@mips.com>
26574 * NEWS: Mention new memcpy for MIPS.
26576 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26578 * manual/contrib.texi (Contributors): Spelling correction.
26580 2012-12-15 David S. Miller <davem@davemloft.net>
26582 * po/ru.po: Update from translation team.
26584 2012-12-13 David S. Miller <davem@davemloft.net>
26586 * NEWS: Mention IFUNC testsuite enhancements.
26588 * po/pl.po: Update from translation team.
26589 * po/bg.po: Likewise.
26591 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26592 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26594 2012-12-11 David S. Miller <davem@davemloft.net>
26596 * po/sv.po: Update from translation team.
26598 * po/vi.po: Update from translation team.
26600 * po/cs.po: Update from translation team.
26602 * po/de.po: Update from translation team.
26603 * po/eo.po: Likewise.
26604 * po/nl.po: Likewise.
26606 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26609 * manual/argp.texi (Argp Helper Functions): Move node to follow
26610 Argp Parsing State.
26613 * manual/conf.texi (Limits on File System Capacity): Mention if
26614 terminating null is included in the max size.
26616 2012-12-10 Andreas Jaeger <aj@suse.de>
26618 * po/cs.po: Update from translation team.
26620 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26622 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26623 void pointer and cast to uintptr_t.
26624 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26626 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26627 * sysdeps/s390/s390-64/memset.S: Likewise.
26629 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26632 * menual/message.texi (Message Translation): Fix typos.
26633 (Helper programs for gettext): Likewise.
26635 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26638 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26641 2012-12-07 David S. Miller <davem@davemloft.net>
26643 * po/libc.pot: Update.
26645 2012-12-07 Richard Henderson <rth@redhat.com>
26648 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26649 normal/normal case to before the switch.
26650 (_FP_DIV): Likewise.
26652 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26653 Mike Frysinger <vapier@gentoo.org>
26655 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26656 check for __NR_fadvise64_64.
26658 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26660 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26661 0, not just to plain "0" as a statement.
26662 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26665 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26667 * NEWS: Use sourceware.org in Bugzilla URL.
26669 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26672 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26674 * stdio-common/tst-put-error.c (do_test): Add newline to the
26675 padded test to ensure flush.
26677 2012-12-05 Jeff Law <law@redhat.com>
26679 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26681 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26683 * README: Don't refer to ports add-on as distributed separately.
26684 Mention AArch64 in list of systems supported in the ports add-on.
26686 * LICENSES: Add more non-FSF copyright and license notices.
26688 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26691 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26693 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26694 10000 as width of padded output.
26696 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26698 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26700 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26701 variable LX with __attribute__ ((unused)).
26702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26704 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26706 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26707 with __attribute__ ((unused)).
26709 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26711 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26713 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26715 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26716 (CFLAGS-nldbl-acos.c): New variable.
26717 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26718 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26719 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26720 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26721 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26722 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26723 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26724 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26725 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26726 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26727 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26728 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26729 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26730 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26731 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26732 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26733 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26734 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26735 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26736 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26737 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26738 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26739 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26740 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26741 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26742 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26743 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26744 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26745 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26746 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26747 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26748 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26749 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26750 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26751 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26752 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26753 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26754 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26755 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26756 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26757 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26758 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26759 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26760 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26761 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26762 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26763 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26764 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26765 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26766 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26767 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26769 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26770 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26771 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26772 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26773 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26774 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26775 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26776 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26777 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26778 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26779 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26780 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26781 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26782 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26783 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26784 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26785 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26786 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26787 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26788 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26789 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26790 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26791 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26792 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26793 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26794 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26795 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26796 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26797 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26798 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26799 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26800 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26801 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26802 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26803 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26804 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26805 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26806 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26807 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26808 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26809 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26810 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26811 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26812 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26813 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26816 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26820 whole low double instead of just low 47 bits when splitting values
26823 2012-12-03 Allan McRae <allan@archlinux.org>
26825 * manual/stdio.texi (Predefined Printf Handlers): Remove
26826 @hsep and @vsep usage.
26828 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26830 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26831 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26833 2012-12-03 Jeff Law <law@redhat.com>
26835 * time/sys/time.h (settimeofday): Do not mark TV argument
26838 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26840 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26841 when currently writing and seek to current position when not.
26842 * libio/Makefile (tests): Remove bug-fclose1.
26843 * libio/bug-fclose1.c: Delete.
26845 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26847 * manual/arith.texi (feenableexcept): Fix typo.
26848 (fedisableexcept): Likewise.
26850 2012-11-30 Roland McGrath <roland@hack.frob.com>
26852 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26853 second, differently-typed declaration, rather than a cast.
26855 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26857 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26858 * include/rpc/svc.h: ... here.
26860 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26863 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26864 depending n and resplen2 to catch cases where answer
26867 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26869 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26870 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26872 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26874 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26876 2012-11-29 Roland McGrath <roland@hack.frob.com>
26878 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26880 2012-11-28 Jeff Law <law@redhat.com>
26883 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26884 dataset_temporary. Track alloca usage into alloca_used.
26885 If dataset is large allocate and release it via malloc/free.
26887 2012-06-04 Florian Weimer <fweimer@redhat.com>
26890 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26892 2012-11-28 David S. Miller <davem@davemloft.net>
26894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26896 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26899 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26900 of pi/2 rounded to nearest to 64 bits.
26901 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26902 nearest to 64 bits.
26903 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26906 2012-11-28 Jeff Law <law@redhat.com>
26907 Martin Osvald <mosvald@redhat.com>
26910 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26911 * sunrpc/svc.c: Include time.h.
26912 (__svc_accept_failed): New function.
26913 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26914 any reason other than EINTR, call __svc_accept_failed.
26915 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26916 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26918 2012-11-28 Andreas Schwab <schwab@suse.de>
26920 * scripts/abilist.awk: Also handle indirect functions in .opd
26923 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26926 * sysdeps/x86/fpu/powl_helper.c: New file.
26927 * sysdeps/x86/fpu/Makefile: Likewise.
26928 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26930 (__ieee754_powl): Use __powl_helper for finite arguments except
26931 integer exponents below 8.
26932 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26934 (__ieee754_powl): Use __powl_helper for finite arguments except
26935 integer exponents below 8.
26936 * math/libm-test.inc (pow_test): Add more tests and enable some
26937 previously disabled tests.
26938 * sysdeps/i386/fpu/libm-test-ulps: Update.
26939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26941 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26942 Carlos O'Donell <carlos_odonell@mentor.com>
26944 * nss/makedb.c (is_prime): Assert that input is odd and greater
26945 than 4. Note that fact in a comment too.
26946 (next_prime): Add 4 to input.
26948 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26951 * libio/Makefile (tests): Add test case tst-fwrite-error.
26952 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26953 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26954 * libio/tst-fwrite-error.c: New test case.
26956 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26958 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26959 before casting to void *.
26960 * include/libc-internal.h (__pointer_type): New macro.
26961 (__integer_if_pointer_type_sub): Likewise.
26962 (__integer_if_pointer_type): Likewise.
26963 (cast_to_integer): Likewise.
26964 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26965 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26966 before casting to atomic64_t.
26967 (atomic_exchange_acq): Likewise.
26968 (__arch_exchange_and_add_body): Likewise.
26969 (__arch_add_body): Likewise.
26970 (atomic_add_negative): Likewise.
26971 (atomic_add_zero): Likewise.
26973 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26975 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26976 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26977 (add_fdes): Likewise.
26978 (linear_search_fdes): Likewise.
26979 (binary_search_unencoded_fdes): Likewise.
26981 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26983 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26985 2012-11-24 Adam Conrad <adconrad@0c3.net>
26987 * configure.in: Autodetect C++ header directories.
26988 * configure: Regenerated.
26990 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26992 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26994 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26998 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27000 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27001 LDBL_MANT_DIG == 106]: Disable some tests.
27002 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27004 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27008 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27009 input for small inputs. Return +/- pi/2 for large inputs.
27010 * math/libm-test.inc (atan_test): Add more tests.
27012 * sysdeps/generic/unwind-dw2-fde-glibc.c
27013 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27014 __attribute__ ((unused)).
27017 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27018 x * y if x and y are nonzero and z is zero.
27021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27022 nonzero exponents with absolute value below 0x1p-117 to +/-
27026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27027 up arguments below 2**-450, not just those below 2**-500.
27028 * math/libm-test.inc (hypot_test): Add another test.
27031 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27032 Return a+b for ratio over 2**120, not 2**60.
27033 * math/libm-test.inc (hypot_test): Add another test.
27035 * math/libm-test.inc (clog_test): Use
27036 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27037 (clog10_test): Likewise.
27040 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27042 2012-11-22 Andreas Schwab <schwab@suse.de>
27044 * sysdeps/i386/fpu/libm-test-ulps: Update.
27046 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27048 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27049 printf output with newline.
27051 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27054 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27055 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27056 -z nodlopen, -z initfirst and -z execstack support.
27057 * configure: Regenerated.
27059 * elf/elf.h (DF_1_NODIRECT): New macro.
27060 (DF_1_IGNMULDEF): Likewise.
27061 (DF_1_NOKSYMS): Likewise.
27062 (DF_1_NOHDR): Likewise.
27063 (DF_1_EDITED): Likewise.
27064 (DF_1_NORELOC): Likewise.
27065 (DF_1_SYMINTPOSE): Likewise.
27066 (DF_1_GLOBAUDIT): Likewise.
27067 (DF_1_SINGLETON): Likewise.
27068 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27069 DT_1_SUPPORTED_MASK bits.
27070 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27072 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27074 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27076 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27078 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27081 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27082 (sendmmsg): Move declarations...
27083 * socket/sys/socket.h: ... here.
27084 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27085 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27087 * socket/recvmmsg.c: ... this new file.
27088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27089 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27090 definition of __sendmmsg hidden.
27091 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27092 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27093 Move ENOSYS stub into and include it from...
27094 * socket/sendmmsg.c: ... this new file.
27095 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27096 (sysdep_routines): Move recvmmsg and sendmmsg...
27097 * socket/Makefile (routines): ... here.
27098 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27099 (GLIBC_PRIVATE): Add __sendmmsg.
27100 * include/sys/socket.h (__sendmmsg): Add declarations.
27101 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27104 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27106 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27107 variable I1 with __attribute__ ((unused)).
27108 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27110 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27112 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27113 DUMMY variables with __attribute__ ((unused)).
27115 * bits/byteswap.h: Include <bits/types.h>.
27116 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27118 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27120 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27121 string_t. Do not manually set errno.
27122 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27123 length with __strnlen. Make sure to both set errno and return it on
27126 2012-11-19 David S. Miller <davem@davemloft.net>
27128 With help from Joseph Myers.
27129 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27130 very large arguments properly.
27131 * math/libm-test.inc (atan_test): New tests.
27132 (atan2_test): New tests.
27133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27136 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27139 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27142 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27143 [POSIX] (EADDRNOTAVAIL): Likewise.
27144 [POSIX] (EAFNOSUPPORT): Likewise.
27145 [POSIX] (EALREADY): Likewise.
27146 [POSIX] (ECONNABORTED): Likewise.
27147 [POSIX] (ECONNREFUSED): Likewise.
27148 [POSIX] (ECONNRESET): Likewise.
27149 [POSIX] (EDESTADDRREQ): Likewise.
27150 [POSIX] (EDQUOT): Likewise.
27151 [POSIX] (EHOSTUNREACH): Likewise.
27152 [POSIX] (EIDRM): Likewise.
27153 [POSIX] (EISCONN): Likewise.
27154 [POSIX] (ELOOP): Likewise.
27155 [POSIX] (EMULTIHOP): Likewise.
27156 [POSIX] (ENETDOWN): Likewise.
27157 [POSIX] (ENETUNREACH): Likewise.
27158 [POSIX] (ENOBUFS): Likewise.
27159 [POSIX] (ENODATA): Likewise.
27160 [POSIX] (ENOLINK): Likewise.
27161 [POSIX] (ENOMSG): Likewise.
27162 [POSIX] (ENOPROTOOPT): Likewise.
27163 [POSIX] (ENOSR): Likewise.
27164 [POSIX] (ENOSTR): Likewise.
27165 [POSIX] (ENOTCONN): Likewise.
27166 [POSIX] (ENOTSOCK): Likewise.
27167 [POSIX] (EOPNOTSUPP): Likewise.
27168 [POSIX] (EOVERFLOW): Likewise.
27169 [POSIX] (EPROTO): Likewise.
27170 [POSIX] (EPROTONOSUPPORT): Likewise.
27171 [POSIX] (EPROTOTYPE): Likewise.
27172 [POSIX] (ESTALE): Likewise.
27173 [POSIX] (ETIME): Likewise.
27174 [POSIX] (ETXTBSY): Likewise.
27175 [POSIX] (EWOULDBLOCK): Likewise.
27176 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27177 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27178 [POSIX] (SEEK_CUR): Likewise.
27179 [POSIX] (SEEK_END): Likewise.
27180 [POSIX || UNIX98] (mode_t): Do not require.
27181 [POSIX] (off_t): Likewise.
27182 [POSIX] (pid_t): Likewise.
27183 [POSIX] (sys/stat.h): Do not allow header.
27184 [POSIX] (unistd.h): Likewise.
27185 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27186 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27187 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27188 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27190 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27191 sigevent): Specify elements.
27192 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27194 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27195 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27197 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27198 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27199 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27200 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27201 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27202 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27203 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27204 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27206 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27207 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27208 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27209 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27210 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27212 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27214 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27216 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27218 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27219 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27220 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27221 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27222 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27223 Specify lower bound on value.
27224 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27228 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27229 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27230 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27231 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27233 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27235 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27236 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27238 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27240 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27242 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27243 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27248 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27249 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27250 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27252 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27254 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27256 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27257 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27258 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27259 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27261 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27266 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27267 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27269 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27270 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27271 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27272 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27273 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27274 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27275 specify as optional.
27276 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27277 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27278 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27279 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27280 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27281 [XPG3] (NL_LANGMAX): Likewise.
27282 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27283 [POSIX || XPG3] (NL_NMAX): Likewise.
27284 [POSIX || XPG3] (NL_SETMAX): Likewise.
27285 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27286 [XPG3] (NZERO): Likewise.
27287 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27288 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27289 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27290 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27291 (REG_ERANGE): Expect.
27292 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27294 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27295 Use (void) in prototype.
27296 [POSIX] (*_t): Allow.
27297 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27298 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27299 (WRDE_BADVAL): Expect.
27301 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27303 [XPG3 || XPG4] (O_RSYNC): Likewise.
27304 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27306 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27307 [XPG3 || XPG4] (sigqueue): Likewise.
27308 [XPG3 || XPG4] (sigtimedwait): Likewise.
27309 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27310 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27311 [XPG3 || XPG4] (vsnprintf): Likewise.
27312 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27314 [XPG3 || XPG4] (blksize_t): Likewise.
27315 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27317 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27318 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27319 [XPG3 || XPG4] (struct itimerspec): Likewise.
27320 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27321 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27322 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27323 [XPG3 || XPG4] (clockid_t): Likewise.
27324 [XPG3 || XPG4] (timer_t): Likewise.
27325 [XPG3 || XPG4] (clock_getres): Likewise.
27326 [XPG3 || XPG4] (clock_gettime): Likewise.
27327 [XPG3 || XPG4] (clock_settime): Likewise.
27328 [XPG3 || XPG4] (nanosleep): Likewise.
27329 [XPG3 || XPG4] (timer_create): Likewise.
27330 [XPG3 || XPG4] (timer_delete): Likewise.
27331 [XPG3 || XPG4] (timer_gettime): Likewise.
27332 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27333 [XPG3 || XPG4] (timer_settime): Likewise.
27334 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27335 [XPG3 || XPG4] (getlogin_r): Likewise.
27336 [XPG3 || XPG4] (pread): Likewise.
27337 [XPG3 || XPG4] (pthread_atfork): Likewise.
27338 [XPG3 || XPG4] (pwrite): Likewise.
27341 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27344 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27346 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27347 finalizing MALLSTREAM.
27349 * sysdeps/mach/hurd/syncfs.c: New file.
27351 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27354 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27355 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27356 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27357 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27358 (_nss_dns_gethostbyname4_r): Likewise.
27359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27360 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27362 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27365 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27367 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27369 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27370 * elf/cache.c (print_entry): Print ",AArch64" for
27373 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27374 * elf/cache.c (print_entry): Print ",hard-float" for
27377 2012-11-18 David S. Miller <davem@davemloft.net>
27379 With help from Joseph Myers.
27380 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27382 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27384 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27385 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27387 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27388 * math/libm-test.inc (y0_test): New tests.
27389 (y1_test): New tests.
27390 * sysdeps/i386/fpu/libm-test-ulps: Update.
27391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27394 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27396 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27398 * configure: Regenerated.
27400 2012-11-17 David S. Miller <davem@davemloft.net>
27403 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27404 nonzero exponents with absolute value below 0x1p-128 to +/-
27407 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27409 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27411 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27413 * posix/getconf-speclist.c: New file.
27414 * posix/posix-envs.def: Likewise.
27415 * posix/confstr.c (START_ENV_GROUP): New macro.
27416 (END_ENV_GROUP): Likewise.
27417 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27418 (KNOWN_PRESENT_ENV_STRING): Likewise.
27419 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27420 (UNKNOWN_ENVIRONMENT): Likewise.
27421 (confstr): Include posix-envs.def instead of handling
27422 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27423 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27424 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27425 (END_ENV_GROUP): Likewise.
27426 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27427 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27428 (UNKNOWN_ENVIRONMENT): Likewise.
27429 (__sysconf): Include posix-envs.def instead of handling associated
27430 cases directly here.
27431 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27432 preprocessing getconf-speclist.c rather than running getconf or
27433 generating empty file.
27435 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27437 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27439 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27442 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27444 2012-11-16 David S. Miller <davem@davemloft.net>
27446 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27447 smaller than LDBL_EPSILON/2.0L, just return xm1.
27449 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27451 * elf/tst-array1.c (init): Set constructor priority to 1000.
27452 (fini): Set destructor priority to 1000.
27453 * elf/tst-array2dep.c: Likewise.
27455 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27458 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27459 (_IO_new_file_xsputn): Also return EOF if none of the input
27460 data was written when overflow failed.
27461 * libio/iopadn.c (_IO_padn): Likewise.
27462 * libio/iowpadn.c (_IO_wpadn): Likewise.
27463 * stdio-common/tst-put-error.c: Add copyright notice.
27464 (do_test): Add case for printing padded string.
27465 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27466 _IO_padn returned error.
27467 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27468 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27471 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27473 * libio/libioP.h: Add comment note that the references to C++
27474 bits are now obsolete.
27476 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27478 * math/libm-test.inc (check_complex): Use asprintf.
27480 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27482 * debug/pcprofiledump.c (print_version): Update copyright year.
27483 * malloc/memusagestat.c (print_version): Likewise.
27485 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27488 * elf/Makefile (tests): Add tst-audit8.
27489 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27490 ($(objpfx)tst-audit8.out): New target.
27491 (tst-audit8-ENV): New variable.
27492 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27493 audit if l_reloc_result is NULL.
27494 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27495 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27496 * elf/tst-audit8.c: New file.
27498 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27500 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27501 * misc/Makefile (CFLAGS-select.c): Define.
27502 * posix/Makefile (CFLAGS-pause.c): Define.
27504 2012-11-13 David S. Miller <davem@davemloft.net>
27506 * crypt/Makefile: Move test targets after toplevel Rules
27507 inclusion. Grab any necessary sysdep routines when linking.
27508 * crypt/md5.c (md5_process_block): Remove define, we will always
27509 name it __md5_process_block.
27510 (md5_finish_ctx): Update md5_process_block call.
27511 (md5_stream): Likewise.
27512 (md5_process_bytes): Likewise.
27513 (md5_process_block): Rename to __md5_process_block and move to ...
27514 * crypt/md5-block.c: ... here.
27515 * crypt/sha256.c (sha256_process_block): Move to ...
27516 * crypt/sha256-block.c: ... here.
27517 * crypt/sha512.c (sha512_process_block): Move to ...
27518 * crypt/sha512-block.c: ... here.
27519 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27521 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27522 * sysdeps/sparc/sparc64/multiarch/Makefile
27523 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27525 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27526 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27528 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27529 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27530 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27531 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27532 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27533 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27534 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27535 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27536 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27539 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27541 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27543 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27545 * timezone/tzselect.ksh: Update from tzcode git revision
27546 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27547 * timezone/zdump.c: Likewise.
27548 * timezone/zic.c: Likewise.
27549 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27550 in TZVERSION setting, not $(PKGVERSION).
27551 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27552 REPORT_BUGS_TO settings.
27555 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27558 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27560 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27561 detection to immediately after _FP_ROUND().
27562 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27565 2012-11-11 David S. Miller <davem@davemloft.net>
27567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27569 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27570 __close rather than their public counterparts.
27572 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27574 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27576 [UNIX98] (sem_timedwait): Do not expect.
27577 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27578 [XPG4 || UNIX98] (sockatmark): Do not expect.
27579 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27580 (clock_getcpuclockid): Do not expect.
27581 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27582 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27584 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27585 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27586 [UNIX98] (vwscanf): Likewise.
27587 [UNIX98] (vswscanf): Likewise.
27589 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27591 * timezone/version.h: Remove file.
27592 * timezone/README: Do not refer to version.h.
27593 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27594 $(objpfx)version.h.
27595 ($(objpfx)zdump.o): Likewise.
27596 ($(objpfx)version.h): New target.
27598 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27600 * timezone/README: Don't mention modification to tzselect.ksh.
27601 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27602 work on unmodified tzselect.ksh. Substitute version numbers in
27605 * Makefile (format-me): Remove.
27606 (INSTALL): Adjust indentation. Use commands directly instead of
27607 using $(format-me).
27609 * aclocal.m4 (ACX_PKGVERSION): New macro.
27610 (ACX_BUGURL): Likewise.
27611 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27612 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27613 (REPORT_BUGS_TO): Likewise.
27614 * configure: Regenerated.
27615 * config.h.in (PKGVERSION): New macro.
27616 (REPORT_BUGS_TO): Likewise.
27617 * config.make.in (PKGVERSION): New variable.
27618 (PKGVERSION_TEXI): Likewise.
27619 (REPORT_BUGS_TO): Likewise.
27620 (REPORT_BUGS_TEXI): Likewise.
27621 * Makefile (format-me): Use -I$(common-objpfx)manual.
27622 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27623 ($(common-objpfx)manual/%): New target.
27624 (manual/%): Remove target.
27625 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27626 (print_version): Use PKGVERSION.
27627 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27628 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27629 and REPORT_BUGS_TO.
27630 ($(objpfx)xtrace): Likewise.
27631 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27632 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27633 (print_version): Use PKGVERSION.
27634 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27635 (do_version): Use PKGVERSION.
27636 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27638 (common-ldd-rewrite): Likewise.
27639 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27640 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27641 (print_version): Use PKGVERSION.
27642 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27643 * elf/pldd.c (argp_program_bug_address): Remove variable.
27644 (more_help): New function.
27645 (argp): Use more_help.
27646 (print_version): Use PKGVERSION.
27647 * elf/sln.c (main): Use PKGVERSION.
27648 (usage): Use REPORT_BUGS_TO.
27649 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27650 (top level): Use PKGVERSION.
27651 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27652 (print_version): Use PKGVERSION.
27653 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27654 (print_version): Use PKGVERSION.
27655 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27656 (print_version): Use PKGVERSION.
27657 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27658 (print_version): Use PKGVERSION.
27659 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27660 (print_version): Use PKGVERSION.
27661 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27662 (print_version): Use PKGVERSION.
27663 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27665 ($(objpfx)memusage): Likewise.
27666 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27667 (do_version): Use PKGVERSION.
27668 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27669 (print_version): Use PKGVERSION.
27670 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27671 ($PKGVERSION): New variable.
27672 ($REPORT_BUGS_TO): Likewise.
27673 (usage): Use $REPORT_BUGS_TO.
27674 (top level): Use $PKGVERSION.
27675 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27676 ($(objpfx)pkgvers.texi): New rule.
27677 ($(objpfx)stamp-pkgvers): Likewise.
27678 * manual/install.texi: Include pkgvers.texi.
27679 (--with-pkgversion): Document new configure option.
27680 (--with-bugurl): Likewise.
27681 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27682 than necessarily for this particular distribution. Use
27683 REPORT_BUGS_TO for where to report bugs.
27684 * INSTALL: Regenerated.
27685 * manual/libc.texinfo: Include pkgvers.texi.
27686 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27687 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27688 (print_version): Use PKGVERSION.
27689 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27690 (print_version): Use PKGVERSION.
27691 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27692 (print_version): Use PKGVERSION.
27693 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27694 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27696 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27697 (print_version): Use PKGVERSION.
27698 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27699 (print_version): Use PKGVERSION.
27700 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27703 * timezone/checktab.awk: Update from tzcode 2012i.
27704 * timezone/ialloc.c: Likewise.
27705 * timezone/private.h: Likewise.
27706 * timezone/scheck.c: Likewise.
27707 * timezone/tzfile.h: Likewise.
27708 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27709 (TZVERSION): Hardcode tzcode version number.
27710 * timezone/zdump.c: Update from tzcode 2012i.
27711 * timezone/zic.c: Likewise.
27712 * timezone/version.h: New file.
27713 * timezone/README: Describe version.h. Update upstream location.
27716 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27717 (mktemp): Enable declaration.
27718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27721 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27723 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27727 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27729 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27731 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27735 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27736 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27737 for copies of such integer values.
27738 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27739 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27741 2012-11-09 Andreas Jaeger <aj@suse.de>
27743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27744 definitions and declarations that are provided by
27745 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27747 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27749 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27750 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27751 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27754 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27756 * elf/elf.h: Update comment before AArch64 relocations.
27758 2012-11-07 David S. Miller <davem@davemloft.net>
27760 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27761 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27762 (__start_context): Declare.
27763 (__makecontext_ret): Delete.
27764 (__makecontext): Hook up __start_context instead of
27766 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27767 (sysdep_routines): Add __start_context when in stdlib.
27769 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27771 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27772 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27773 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27775 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27776 (READELF): New variable. Use it instead of hardcoded "readelf".
27778 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27780 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27781 * sysdeps/x86/Makefile: Here.
27782 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27783 * sysdeps/x86/tst-xmmymm.sh: This.
27785 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27787 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27789 [UNIX98] (pthread_barrier_t): Do not expect.
27790 [UNIX98] (pthread_barrierattr_t): Likewise.
27791 [UNIX98] (pthread_spinlock_t): Likewise.
27792 [UNIX98] (pthread_barrier_destroy): Likewise.
27793 [UNIX98] (pthread_barrier_init): Likewise.
27794 [UNIX98] (pthread_barrier_wait): Likewise.
27795 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27796 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27797 [UNIX98] (pthread_barrierattr_init): Likewise.
27798 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27799 [UNIX98] (pthread_getcpuclockid): Likewise.
27800 [UNIX98] (pthread_mutex_timedlock): Likewise.
27801 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27802 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27803 [UNIX98] (pthread_sigmask): Likewise.
27804 [UNIX98] (pthread_spin_destroy): Likewise.
27805 [UNIX98] (pthread_spin_init): Likewise.
27806 [UNIX98] (pthread_spin_lock): Likewise.
27807 [UNIX98] (pthread_spin_trylock): Likewise.
27808 [UNIX98] (pthread_spin_unlock): Likewise.
27809 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27811 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27812 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27813 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27814 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27815 [XPG3 || XPG4] (pthread_key_t): Likewise.
27816 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27817 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27818 [XPG3 || XPG4] (pthread_once_t): Likewise.
27819 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27820 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27821 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27822 [XPG3 || XPG4] (pthread_t): Likewise.
27824 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27826 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27828 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27829 Change function return type to int.
27831 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27832 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27833 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27834 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27835 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27836 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27837 [!POSIX] (posix_madvise): Likewise.
27838 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27840 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27841 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27842 (mode_t): Likewise.
27843 (posix_mem_offset): Likewise.
27844 (posix_typed_mem_get_info): Likewise.
27845 (posix_typed_mem_open): Likewise.
27847 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27848 Change condition to [XOPEN2K8].
27850 * conform/conformtest.pl: Preprocess allow-header data with -x c
27851 instead of from stdin.
27852 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27853 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27854 [C99-based standards] (cerfc): Likewise.
27855 [C99-based standards] (cexp2): Likewise.
27856 [C99-based standards] (cexpm1): Likewise.
27857 [C99-based standards] (clog10): Likewise.
27858 [C99-based standards] (clog1p): Likewise.
27859 [C99-based standards] (clog2): Likewise.
27860 [C99-based standards] (clgamma): Likewise.
27861 [C99-based standards] (ctgamma): Likewise.
27862 [C99-based standards] (cerff): Likewise.
27863 [C99-based standards] (cerfcf): Likewise.
27864 [C99-based standards] (cexp2f): Likewise.
27865 [C99-based standards] (cexpm1f): Likewise.
27866 [C99-based standards] (clog10f): Likewise.
27867 [C99-based standards] (clog1pf): Likewise.
27868 [C99-based standards] (clog2f): Likewise.
27869 [C99-based standards] (clgammaf): Likewise.
27870 [C99-based standards] (ctgammaf): Likewise.
27871 [C99-based standards] (cerfl): Likewise.
27872 [C99-based standards] (cerfcl): Likewise.
27873 [C99-based standards] (cexp2l): Likewise.
27874 [C99-based standards] (cexpm1l): Likewise.
27875 [C99-based standards] (clog10l): Likewise.
27876 [C99-based standards] (clog1pl): Likewise.
27877 [C99-based standards] (clog2l): Likewise.
27878 [C99-based standards] (clgammal): Likewise.
27879 [C99-based standards] (ctgammal): Likewise.
27880 * conform/data/inttypes.h-data [C99-based standards]: Include
27881 stdint.h-data. Remove all expectations for stdint.h contents.
27882 [C99-based standards] (PRI*): Do not allow.
27883 [C99-based standards] (SCN*): Likewise.
27884 [C99-based standards] (*_t): Likewise.
27885 [C99-based-standards] (PRId8): Expect macro.
27886 [C99-based-standards] (PRIi8): Likewise.
27887 [C99-based-standards] (PRIo8): Likewise.
27888 [C99-based-standards] (PRIu8): Likewise.
27889 [C99-based-standards] (PRIx8): Likewise.
27890 [C99-based-standards] (PRIX8): Likewise.
27891 [C99-based-standards] (SCNd8): Likewise.
27892 [C99-based-standards] (SCNi8): Likewise.
27893 [C99-based-standards] (SCNo8): Likewise.
27894 [C99-based-standards] (SCNu8): Likewise.
27895 [C99-based-standards] (SCNx8): Likewise.
27896 [C99-based-standards] (PRIdLEAST8): Likewise.
27897 [C99-based-standards] (PRIiLEAST8): Likewise.
27898 [C99-based-standards] (PRIoLEAST8): Likewise.
27899 [C99-based-standards] (PRIuLEAST8): Likewise.
27900 [C99-based-standards] (PRIxLEAST8): Likewise.
27901 [C99-based-standards] (PRIXLEAST8): Likewise.
27902 [C99-based-standards] (SCNdLEAST8): Likewise.
27903 [C99-based-standards] (SCNiLEAST8): Likewise.
27904 [C99-based-standards] (SCNoLEAST8): Likewise.
27905 [C99-based-standards] (SCNuLEAST8): Likewise.
27906 [C99-based-standards] (SCNxLEAST8): Likewise.
27907 [C99-based-standards] (PRIdFAST8): Likewise.
27908 [C99-based-standards] (PRIiFAST8): Likewise.
27909 [C99-based-standards] (PRIoFAST8): Likewise.
27910 [C99-based-standards] (PRIuFAST8): Likewise.
27911 [C99-based-standards] (PRIxFAST8): Likewise.
27912 [C99-based-standards] (PRIXFAST8): Likewise.
27913 [C99-based-standards] (SCNdFAST8): Likewise.
27914 [C99-based-standards] (SCNiFAST8): Likewise.
27915 [C99-based-standards] (SCNoFAST8): Likewise.
27916 [C99-based-standards] (SCNuFAST8): Likewise.
27917 [C99-based-standards] (SCNxFAST8): Likewise.
27918 [C99-based-standards] (PRId16): Likewise.
27919 [C99-based-standards] (PRIi16): Likewise.
27920 [C99-based-standards] (PRIo16): Likewise.
27921 [C99-based-standards] (PRIu16): Likewise.
27922 [C99-based-standards] (PRIx16): Likewise.
27923 [C99-based-standards] (PRIX16): Likewise.
27924 [C99-based-standards] (SCNd16): Likewise.
27925 [C99-based-standards] (SCNi16): Likewise.
27926 [C99-based-standards] (SCNo16): Likewise.
27927 [C99-based-standards] (SCNu16): Likewise.
27928 [C99-based-standards] (SCNx16): Likewise.
27929 [C99-based-standards] (PRIdLEAST16): Likewise.
27930 [C99-based-standards] (PRIiLEAST16): Likewise.
27931 [C99-based-standards] (PRIoLEAST16): Likewise.
27932 [C99-based-standards] (PRIuLEAST16): Likewise.
27933 [C99-based-standards] (PRIxLEAST16): Likewise.
27934 [C99-based-standards] (PRIXLEAST16): Likewise.
27935 [C99-based-standards] (SCNdLEAST16): Likewise.
27936 [C99-based-standards] (SCNiLEAST16): Likewise.
27937 [C99-based-standards] (SCNoLEAST16): Likewise.
27938 [C99-based-standards] (SCNuLEAST16): Likewise.
27939 [C99-based-standards] (SCNxLEAST16): Likewise.
27940 [C99-based-standards] (PRIdFAST16): Likewise.
27941 [C99-based-standards] (PRIiFAST16): Likewise.
27942 [C99-based-standards] (PRIoFAST16): Likewise.
27943 [C99-based-standards] (PRIuFAST16): Likewise.
27944 [C99-based-standards] (PRIxFAST16): Likewise.
27945 [C99-based-standards] (PRIXFAST16): Likewise.
27946 [C99-based-standards] (SCNdFAST16): Likewise.
27947 [C99-based-standards] (SCNiFAST16): Likewise.
27948 [C99-based-standards] (SCNoFAST16): Likewise.
27949 [C99-based-standards] (SCNuFAST16): Likewise.
27950 [C99-based-standards] (SCNxFAST16): Likewise.
27951 [C99-based-standards] (PRId32): Likewise.
27952 [C99-based-standards] (PRIi32): Likewise.
27953 [C99-based-standards] (PRIo32): Likewise.
27954 [C99-based-standards] (PRIu32): Likewise.
27955 [C99-based-standards] (PRIx32): Likewise.
27956 [C99-based-standards] (PRIX32): Likewise.
27957 [C99-based-standards] (SCNd32): Likewise.
27958 [C99-based-standards] (SCNi32): Likewise.
27959 [C99-based-standards] (SCNo32): Likewise.
27960 [C99-based-standards] (SCNu32): Likewise.
27961 [C99-based-standards] (SCNx32): Likewise.
27962 [C99-based-standards] (PRIdLEAST32): Likewise.
27963 [C99-based-standards] (PRIiLEAST32): Likewise.
27964 [C99-based-standards] (PRIoLEAST32): Likewise.
27965 [C99-based-standards] (PRIuLEAST32): Likewise.
27966 [C99-based-standards] (PRIxLEAST32): Likewise.
27967 [C99-based-standards] (PRIXLEAST32): Likewise.
27968 [C99-based-standards] (SCNdLEAST32): Likewise.
27969 [C99-based-standards] (SCNiLEAST32): Likewise.
27970 [C99-based-standards] (SCNoLEAST32): Likewise.
27971 [C99-based-standards] (SCNuLEAST32): Likewise.
27972 [C99-based-standards] (SCNxLEAST32): Likewise.
27973 [C99-based-standards] (PRIdFAST32): Likewise.
27974 [C99-based-standards] (PRIiFAST32): Likewise.
27975 [C99-based-standards] (PRIoFAST32): Likewise.
27976 [C99-based-standards] (PRIuFAST32): Likewise.
27977 [C99-based-standards] (PRIxFAST32): Likewise.
27978 [C99-based-standards] (PRIXFAST32): Likewise.
27979 [C99-based-standards] (SCNdFAST32): Likewise.
27980 [C99-based-standards] (SCNiFAST32): Likewise.
27981 [C99-based-standards] (SCNoFAST32): Likewise.
27982 [C99-based-standards] (SCNuFAST32): Likewise.
27983 [C99-based-standards] (SCNxFAST32): Likewise.
27984 [C99-based-standards] (PRId64): Likewise.
27985 [C99-based-standards] (PRIi64): Likewise.
27986 [C99-based-standards] (PRIo64): Likewise.
27987 [C99-based-standards] (PRIu64): Likewise.
27988 [C99-based-standards] (PRIx64): Likewise.
27989 [C99-based-standards] (PRIX64): Likewise.
27990 [C99-based-standards] (SCNd64): Likewise.
27991 [C99-based-standards] (SCNi64): Likewise.
27992 [C99-based-standards] (SCNo64): Likewise.
27993 [C99-based-standards] (SCNu64): Likewise.
27994 [C99-based-standards] (SCNx64): Likewise.
27995 [C99-based-standards] (PRIdLEAST64): Likewise.
27996 [C99-based-standards] (PRIiLEAST64): Likewise.
27997 [C99-based-standards] (PRIoLEAST64): Likewise.
27998 [C99-based-standards] (PRIuLEAST64): Likewise.
27999 [C99-based-standards] (PRIxLEAST64): Likewise.
28000 [C99-based-standards] (PRIXLEAST64): Likewise.
28001 [C99-based-standards] (SCNdLEAST64): Likewise.
28002 [C99-based-standards] (SCNiLEAST64): Likewise.
28003 [C99-based-standards] (SCNoLEAST64): Likewise.
28004 [C99-based-standards] (SCNuLEAST64): Likewise.
28005 [C99-based-standards] (SCNxLEAST64): Likewise.
28006 [C99-based-standards] (PRIdFAST64): Likewise.
28007 [C99-based-standards] (PRIiFAST64): Likewise.
28008 [C99-based-standards] (PRIoFAST64): Likewise.
28009 [C99-based-standards] (PRIuFAST64): Likewise.
28010 [C99-based-standards] (PRIxFAST64): Likewise.
28011 [C99-based-standards] (PRIXFAST64): Likewise.
28012 [C99-based-standards] (SCNdFAST64): Likewise.
28013 [C99-based-standards] (SCNiFAST64): Likewise.
28014 [C99-based-standards] (SCNoFAST64): Likewise.
28015 [C99-based-standards] (SCNuFAST64): Likewise.
28016 [C99-based-standards] (SCNxFAST64): Likewise.
28017 [C99-based-standards] (PRIdMAX): Likewise.
28018 [C99-based-standards] (PRIiMAX): Likewise.
28019 [C99-based-standards] (PRIoMAX): Likewise.
28020 [C99-based-standards] (PRIuMAX): Likewise.
28021 [C99-based-standards] (PRIxMAX): Likewise.
28022 [C99-based-standards] (PRIXMAX): Likewise.
28023 [C99-based-standards] (SCNdMAX): Likewise.
28024 [C99-based-standards] (SCNiMAX): Likewise.
28025 [C99-based-standards] (SCNoMAX): Likewise.
28026 [C99-based-standards] (SCNuMAX): Likewise.
28027 [C99-based-standards] (SCNxMAX): Likewise.
28028 [C99-based-standards] (PRIdPTR): Likewise.
28029 [C99-based-standards] (PRIiPTR): Likewise.
28030 [C99-based-standards] (PRIoPTR): Likewise.
28031 [C99-based-standards] (PRIuPTR): Likewise.
28032 [C99-based-standards] (PRIxPTR): Likewise.
28033 [C99-based-standards] (PRIXPTR): Likewise.
28034 [C99-based-standards] (SCNdPTR): Likewise.
28035 [C99-based-standards] (SCNiPTR): Likewise.
28036 [C99-based-standards] (SCNoPTR): Likewise.
28037 [C99-based-standards] (SCNuPTR): Likewise.
28038 [C99-based-standards] (SCNxPTR): Likewise.
28039 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28041 * conform/data/stdint.h-data: Update comments to clarify
28043 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28045 [C99-based standards] (INT8_MAX): Likewise.
28046 [C99-based standards] (INT16_MIN): Likewise.
28047 [C99-based standards] (INT16_MAX): Likewise.
28048 [C99-based standards] (INT32_MIN): Likewise.
28049 [C99-based standards] (INT32_MAX): Likewise.
28050 [C99-based standards] (INT64_MIN): Likewise.
28051 [C99-based standards] (INT64_MAX): Likewise.
28052 [C99-based standards] (UINT8_MAX): Likewise.
28053 [C99-based standards] (UINT16_MAX): Likewise.
28054 [C99-based standards] (UINT32_MAX): Likewise.
28055 [C99-based standards] (UINT64_MAX): Likewise.
28056 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28057 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28058 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28059 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28060 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28061 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28062 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28063 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28064 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28065 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28066 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28067 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28068 [C99-based standards] (INT_FAST8_MIN): Likewise.
28069 [C99-based standards] (INT_FAST8_MAX): Likewise.
28070 [C99-based standards] (INT_FAST16_MIN): Likewise.
28071 [C99-based standards] (INT_FAST16_MAX): Likewise.
28072 [C99-based standards] (INT_FAST32_MIN): Likewise.
28073 [C99-based standards] (INT_FAST32_MAX): Likewise.
28074 [C99-based standards] (INT_FAST64_MIN): Likewise.
28075 [C99-based standards] (INT_FAST64_MAX): Likewise.
28076 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28077 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28078 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28079 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28080 [C99-based standards] (INTPTR_MIN): Likewise.
28081 [C99-based standards] (INTPTR_MAX): Likewise.
28082 [C99-based standards] (UINTPTR_MAX): Likewise.
28083 [C99-based standards] (INTMAX_MIN): Likewise.
28084 [C99-based standards] (INTMAX_MAX): Likewise.
28085 [C99-based standards] (UINTMAX_MAX): Likewise.
28086 [C99-based standards] (PTRDIFF_MIN): Likewise.
28087 [C99-based standards] (PTRDIFF_MAX): Likewise.
28088 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28089 [C99-based standards] (SIZE_MAX): Likewise.
28090 [C99-based standards] (WCHAR_MAX): Likewise.
28091 [C99-based standards] (WINT_MAX): Likewise.
28092 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28093 constraint on value.
28094 [C99-based standards] (WCHAR_MIN): Likewise.
28095 [C99-based standards] (WINT_MIN): Likewise.
28096 [C99-based standards] (*_t): Allow.
28097 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28098 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28099 Include math.h-data and complex.h-data. Remove all expectations
28100 of math.h and complex.h contents.
28101 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28103 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28104 (struct tm): Expect tag.
28105 [C99-based-standards] (wcstof): Expect function.
28106 [C99-based-standards] (wcstold): Likewise.
28107 [C99-based-standards] (wcstoll): Likewise.
28108 [C99-based-standards] (wcstoull): Likewise.
28109 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28110 macro-int-constant. Specify type.
28111 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28112 constraint on value.
28113 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28115 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28117 [ISO C standards]: Do not allow headers.
28118 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28119 wcs[abcdefghijklmnopqrstuvwxyz]*.
28120 [ISO C standards] (*_t): Do not allow.
28121 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28123 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28124 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28126 [ISO C standards]: Do not allow headers.
28127 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28128 is[abcdefghijklmnopqrstuvwxyz]*.
28129 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28130 to[abcdefghijklmnopqrstuvwxyz]*.
28131 [ISO C standards] (*_t): Do not allow.
28132 * conform/data/stdalign.h-data: New file.
28133 * conform/data/stdbool.h-data: Likewise.
28134 * conform/data/stdnoreturn.h-data: Likewise.
28136 2012-11-07 Roland McGrath <roland@hack.frob.com>
28139 * manual/filesys.texi (Directory Entries): Typo fix.
28140 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28142 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28144 * elf/elf.h (EM_AARCH64): New macro.
28145 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28146 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28147 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28148 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28149 (R_AARCH64_TLSDESC): Likewise.
28150 (NT_ARM_TLS): Likewise.
28151 (NT_ARM_HW_BREAK): Likewise.
28152 (NT_ARM_HW_WATCH): Likewise.
28154 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28157 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28158 (__ieee754_powl): Saturate nonzero exponents with absolute value
28159 below 0x1p-79 to +/- 0x1p-79.
28160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28161 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28162 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28163 nonzero exponents with absolute value below 0x1p-32 to +/-
28165 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28166 (__ieee754_powl): Saturate nonzero exponents with absolute value
28167 below 0x1p-79 to +/- 0x1p-79.
28168 * math/libm-test.inc (pow_test): Add more tests.
28170 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28172 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28173 _dl_s390_cap_flags with kernel. Increase string length.
28174 (_dl_s390_platforms): Add z196 and zEC12.
28176 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28178 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28179 Change XOPEN21K to XOPEN2K.
28181 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28183 * string/memmove.c: Use memcpy when possible.
28185 2012-11-06 Andreas Jaeger <aj@suse.de>
28187 * po/eo.po: Update from translation team.
28189 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28193 exponent and small x and y exponents, scale x or y up. Increase
28194 by 2 the exponent used in scaling up.
28195 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28197 * math/libm-test.inc (fma_test): Add more tests.
28198 (fma_test_towardzero): Likewise.
28199 (fma_test_downward): Likewise.
28200 (fma_test_upward): Likewise.
28202 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28205 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28209 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28210 namespace for names of struct fields.
28211 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28213 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28214 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28216 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28219 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28221 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28223 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28227 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28230 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28234 definitely overflow as x * y not x * y + z.
28235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28237 * math/libm-test.inc (fma_test): Add more tests.
28238 (fma_test_towardzero): Likewise.
28239 (fma_test_downward): Likewise.
28240 (fma_test_upward): Likewise.
28242 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28246 * include/stub-tag.h: Remove file.
28247 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28249 * manual/maint.texi (Porting): Don't reference it.
28250 * Makerules ($(objpfx)stubs): Likewise.
28251 * dirent/closedir.c: Don't include <stub-tag.h>.
28252 * dirent/dirfd.c: Likewise.
28253 * dirent/fdopendir.c: Likewise.
28254 * dirent/getdents.c: Likewise.
28255 * dirent/getdents64.c: Likewise.
28256 * dirent/opendir.c: Likewise.
28257 * dirent/readdir.c: Likewise.
28258 * dirent/readdir64.c: Likewise.
28259 * dirent/readdir64_r.c: Likewise.
28260 * dirent/readdir_r.c: Likewise.
28261 * dirent/rewinddir.c: Likewise.
28262 * dirent/seekdir.c: Likewise.
28263 * dirent/telldir.c: Likewise.
28264 * gmon/profil.c: Likewise.
28265 * grp/setgroups.c: Likewise.
28266 * inet/if_index.c: Likewise.
28267 * io/access.c: Likewise.
28268 * io/chdir.c: Likewise.
28269 * io/chmod.c: Likewise.
28270 * io/chown.c: Likewise.
28271 * io/close.c: Likewise.
28272 * io/dup.c: Likewise.
28273 * io/dup2.c: Likewise.
28274 * io/dup3.c: Likewise.
28275 * io/euidaccess.c: Likewise.
28276 * io/faccessat.c: Likewise.
28277 * io/fchdir.c: Likewise.
28278 * io/fchmod.c: Likewise.
28279 * io/fchmodat.c: Likewise.
28280 * io/fchown.c: Likewise.
28281 * io/fchownat.c: Likewise.
28282 * io/fcntl.c: Likewise.
28283 * io/flock.c: Likewise.
28284 * io/fstatfs.c: Likewise.
28285 * io/fstatfs64.c: Likewise.
28286 * io/fstatvfs.c: Likewise.
28287 * io/fstatvfs64.c: Likewise.
28288 * io/futimens.c: Likewise.
28289 * io/fxstat.c: Likewise.
28290 * io/fxstat64.c: Likewise.
28291 * io/fxstatat.c: Likewise.
28292 * io/fxstatat64.c: Likewise.
28293 * io/getcwd.c: Likewise.
28294 * io/isatty.c: Likewise.
28295 * io/lchmod.c: Likewise.
28296 * io/lchown.c: Likewise.
28297 * io/link.c: Likewise.
28298 * io/linkat.c: Likewise.
28299 * io/lseek.c: Likewise.
28300 * io/lseek64.c: Likewise.
28301 * io/lxstat64.c: Likewise.
28302 * io/mkdir.c: Likewise.
28303 * io/mkdirat.c: Likewise.
28304 * io/mkfifo.c: Likewise.
28305 * io/mkfifoat.c: Likewise.
28306 * io/open.c: Likewise.
28307 * io/open64.c: Likewise.
28308 * io/openat.c: Likewise.
28309 * io/openat64.c: Likewise.
28310 * io/pipe.c: Likewise.
28311 * io/pipe2.c: Likewise.
28312 * io/poll.c: Likewise.
28313 * io/posix_fadvise.c: Likewise.
28314 * io/posix_fadvise64.c: Likewise.
28315 * io/posix_fallocate.c: Likewise.
28316 * io/posix_fallocate64.c: Likewise.
28317 * io/read.c: Likewise.
28318 * io/readlink.c: Likewise.
28319 * io/readlinkat.c: Likewise.
28320 * io/rmdir.c: Likewise.
28321 * io/sendfile.c: Likewise.
28322 * io/sendfile64.c: Likewise.
28323 * io/statfs.c: Likewise.
28324 * io/statfs64.c: Likewise.
28325 * io/statvfs.c: Likewise.
28326 * io/statvfs64.c: Likewise.
28327 * io/symlink.c: Likewise.
28328 * io/symlinkat.c: Likewise.
28329 * io/ttyname.c: Likewise.
28330 * io/ttyname_r.c: Likewise.
28331 * io/umask.c: Likewise.
28332 * io/unlink.c: Likewise.
28333 * io/unlinkat.c: Likewise.
28334 * io/utime.c: Likewise.
28335 * io/utimensat.c: Likewise.
28336 * io/write.c: Likewise.
28337 * io/xmknod.c: Likewise.
28338 * io/xmknodat.c: Likewise.
28339 * io/xstat.c: Likewise.
28340 * io/xstat64.c: Likewise.
28341 * login/getpt.c: Likewise.
28342 * login/grantpt.c: Likewise.
28343 * login/unlockpt.c: Likewise.
28344 * math/e_acoshl.c: Likewise.
28345 * math/e_acosl.c: Likewise.
28346 * math/e_asinl.c: Likewise.
28347 * math/e_atan2l.c: Likewise.
28348 * math/e_atanhl.c: Likewise.
28349 * math/e_coshl.c: Likewise.
28350 * math/e_expl.c: Likewise.
28351 * math/e_fmodl.c: Likewise.
28352 * math/e_gammal_r.c: Likewise.
28353 * math/e_hypotl.c: Likewise.
28354 * math/e_j0l.c: Likewise.
28355 * math/e_j1l.c: Likewise.
28356 * math/e_jnl.c: Likewise.
28357 * math/e_lgammal_r.c: Likewise.
28358 * math/e_log10l.c: Likewise.
28359 * math/e_log2l.c: Likewise.
28360 * math/e_logl.c: Likewise.
28361 * math/e_powl.c: Likewise.
28362 * math/e_rem_pio2l.c: Likewise.
28363 * math/e_sinhl.c: Likewise.
28364 * math/e_sqrtl.c: Likewise.
28365 * math/fclrexcpt.c: Likewise.
28366 * math/fedisblxcpt.c: Likewise.
28367 * math/feenablxcpt.c: Likewise.
28368 * math/fegetenv.c: Likewise.
28369 * math/fegetexcept.c: Likewise.
28370 * math/fegetround.c: Likewise.
28371 * math/feholdexcpt.c: Likewise.
28372 * math/fesetenv.c: Likewise.
28373 * math/fesetround.c: Likewise.
28374 * math/feupdateenv.c: Likewise.
28375 * math/fgetexcptflg.c: Likewise.
28376 * math/fraiseexcpt.c: Likewise.
28377 * math/fsetexcptflg.c: Likewise.
28378 * math/ftestexcept.c: Likewise.
28379 * math/k_cosl.c: Likewise.
28380 * math/k_rem_pio2l.c: Likewise.
28381 * math/k_sinl.c: Likewise.
28382 * math/k_tanl.c: Likewise.
28383 * math/s_asinhl.c: Likewise.
28384 * math/s_atanl.c: Likewise.
28385 * math/s_cbrtl.c: Likewise.
28386 * math/s_erfl.c: Likewise.
28387 * math/s_expm1l.c: Likewise.
28388 * math/s_log1pl.c: Likewise.
28389 * math/s_tanhl.c: Likewise.
28390 * misc/acct.c: Likewise.
28391 * misc/brk.c: Likewise.
28392 * misc/chflags.c: Likewise.
28393 * misc/chroot.c: Likewise.
28394 * misc/fchflags.c: Likewise.
28395 * misc/fgetxattr.c: Likewise.
28396 * misc/flistxattr.c: Likewise.
28397 * misc/fremovexattr.c: Likewise.
28398 * misc/fsetxattr.c: Likewise.
28399 * misc/fsync.c: Likewise.
28400 * misc/ftruncate.c: Likewise.
28401 * misc/futimes.c: Likewise.
28402 * misc/futimesat.c: Likewise.
28403 * misc/getdomain.c: Likewise.
28404 * misc/getdtsz.c: Likewise.
28405 * misc/gethostid.c: Likewise.
28406 * misc/gethostname.c: Likewise.
28407 * misc/getloadavg.c: Likewise.
28408 * misc/getpagesize.c: Likewise.
28409 * misc/getsysstats.c: Likewise.
28410 * misc/getxattr.c: Likewise.
28411 * misc/gtty.c: Likewise.
28412 * misc/ioctl.c: Likewise.
28413 * misc/lgetxattr.c: Likewise.
28414 * misc/listxattr.c: Likewise.
28415 * misc/llistxattr.c: Likewise.
28416 * misc/lremovexattr.c: Likewise.
28417 * misc/lsetxattr.c: Likewise.
28418 * misc/lutimes.c: Likewise.
28419 * misc/madvise.c: Likewise.
28420 * misc/mincore.c: Likewise.
28421 * misc/mlock.c: Likewise.
28422 * misc/mlockall.c: Likewise.
28423 * misc/mmap.c: Likewise.
28424 * misc/mprotect.c: Likewise.
28425 * misc/msync.c: Likewise.
28426 * misc/munlock.c: Likewise.
28427 * misc/munlockall.c: Likewise.
28428 * misc/munmap.c: Likewise.
28429 * misc/preadv.c: Likewise.
28430 * misc/preadv64.c: Likewise.
28431 * misc/ptrace.c: Likewise.
28432 * misc/pwritev.c: Likewise.
28433 * misc/pwritev64.c: Likewise.
28434 * misc/readv.c: Likewise.
28435 * misc/reboot.c: Likewise.
28436 * misc/remap_file_pages.c: Likewise.
28437 * misc/removexattr.c: Likewise.
28438 * misc/revoke.c: Likewise.
28439 * misc/select.c: Likewise.
28440 * misc/setdomain.c: Likewise.
28441 * misc/setegid.c: Likewise.
28442 * misc/seteuid.c: Likewise.
28443 * misc/sethostid.c: Likewise.
28444 * misc/sethostname.c: Likewise.
28445 * misc/setregid.c: Likewise.
28446 * misc/setreuid.c: Likewise.
28447 * misc/setxattr.c: Likewise.
28448 * misc/sstk.c: Likewise.
28449 * misc/stty.c: Likewise.
28450 * misc/swapoff.c: Likewise.
28451 * misc/swapon.c: Likewise.
28452 * misc/sync.c: Likewise.
28453 * misc/syncfs.c: Likewise.
28454 * misc/syscall.c: Likewise.
28455 * misc/truncate.c: Likewise.
28456 * misc/ualarm.c: Likewise.
28457 * misc/usleep.c: Likewise.
28458 * misc/ustat.c: Likewise.
28459 * misc/utimes.c: Likewise.
28460 * misc/vhangup.c: Likewise.
28461 * misc/writev.c: Likewise.
28462 * posix/_exit.c: Likewise.
28463 * posix/alarm.c: Likewise.
28464 * posix/execve.c: Likewise.
28465 * posix/fexecve.c: Likewise.
28466 * posix/fork.c: Likewise.
28467 * posix/fpathconf.c: Likewise.
28468 * posix/getaddrinfo.c: Likewise.
28469 * posix/getegid.c: Likewise.
28470 * posix/geteuid.c: Likewise.
28471 * posix/getgid.c: Likewise.
28472 * posix/getgroups.c: Likewise.
28473 * posix/getlogin.c: Likewise.
28474 * posix/getlogin_r.c: Likewise.
28475 * posix/getpgid.c: Likewise.
28476 * posix/getpid.c: Likewise.
28477 * posix/getppid.c: Likewise.
28478 * posix/getresgid.c: Likewise.
28479 * posix/getresuid.c: Likewise.
28480 * posix/getsid.c: Likewise.
28481 * posix/getuid.c: Likewise.
28482 * posix/glob64.c: Likewise.
28483 * posix/nanosleep.c: Likewise.
28484 * posix/pathconf.c: Likewise.
28485 * posix/pause.c: Likewise.
28486 * posix/posix_madvise.c: Likewise.
28487 * posix/pread.c: Likewise.
28488 * posix/pread64.c: Likewise.
28489 * posix/pwrite.c: Likewise.
28490 * posix/pwrite64.c: Likewise.
28491 * posix/sched_getaffinity.c: Likewise.
28492 * posix/sched_getp.c: Likewise.
28493 * posix/sched_gets.c: Likewise.
28494 * posix/sched_primax.c: Likewise.
28495 * posix/sched_primin.c: Likewise.
28496 * posix/sched_rr_gi.c: Likewise.
28497 * posix/sched_setaffinity.c: Likewise.
28498 * posix/sched_setp.c: Likewise.
28499 * posix/sched_sets.c: Likewise.
28500 * posix/sched_yield.c: Likewise.
28501 * posix/setgid.c: Likewise.
28502 * posix/setlogin.c: Likewise.
28503 * posix/setpgid.c: Likewise.
28504 * posix/setresgid.c: Likewise.
28505 * posix/setresuid.c: Likewise.
28506 * posix/setsid.c: Likewise.
28507 * posix/setuid.c: Likewise.
28508 * posix/sleep.c: Likewise.
28509 * posix/spawni.c: Likewise.
28510 * posix/sysconf.c: Likewise.
28511 * posix/times.c: Likewise.
28512 * posix/wait.c: Likewise.
28513 * posix/wait3.c: Likewise.
28514 * posix/wait4.c: Likewise.
28515 * posix/waitpid.c: Likewise.
28516 * resolv/gai_sigqueue.c: Likewise.
28517 * resource/getpriority.c: Likewise.
28518 * resource/getrlimit.c: Likewise.
28519 * resource/getrusage.c: Likewise.
28520 * resource/nice.c: Likewise.
28521 * resource/setpriority.c: Likewise.
28522 * resource/setrlimit.c: Likewise.
28523 * resource/ulimit.c: Likewise.
28524 * rt/aio_cancel.c: Likewise.
28525 * rt/aio_fsync.c: Likewise.
28526 * rt/aio_read.c: Likewise.
28527 * rt/aio_sigqueue.c: Likewise.
28528 * rt/aio_suspend.c: Likewise.
28529 * rt/aio_write.c: Likewise.
28530 * rt/clock_getres.c: Likewise.
28531 * rt/clock_gettime.c: Likewise.
28532 * rt/clock_nanosleep.c: Likewise.
28533 * rt/clock_settime.c: Likewise.
28534 * rt/lio_listio.c: Likewise.
28535 * rt/mq_close.c: Likewise.
28536 * rt/mq_getattr.c: Likewise.
28537 * rt/mq_notify.c: Likewise.
28538 * rt/mq_open.c: Likewise.
28539 * rt/mq_receive.c: Likewise.
28540 * rt/mq_send.c: Likewise.
28541 * rt/mq_setattr.c: Likewise.
28542 * rt/mq_timedreceive.c: Likewise.
28543 * rt/mq_timedsend.c: Likewise.
28544 * rt/mq_unlink.c: Likewise.
28545 * rt/shm_open.c: Likewise.
28546 * rt/shm_unlink.c: Likewise.
28547 * rt/timer_create.c: Likewise.
28548 * rt/timer_delete.c: Likewise.
28549 * rt/timer_getoverr.c: Likewise.
28550 * rt/timer_gettime.c: Likewise.
28551 * rt/timer_settime.c: Likewise.
28552 * setjmp/__longjmp.c: Likewise.
28553 * setjmp/setjmp.c: Likewise.
28554 * signal/kill.c: Likewise.
28555 * signal/killpg.c: Likewise.
28556 * signal/raise.c: Likewise.
28557 * signal/sigaction.c: Likewise.
28558 * signal/sigaltstack.c: Likewise.
28559 * signal/sigblock.c: Likewise.
28560 * signal/sigignore.c: Likewise.
28561 * signal/sigintr.c: Likewise.
28562 * signal/signal.c: Likewise.
28563 * signal/sigpause.c: Likewise.
28564 * signal/sigpending.c: Likewise.
28565 * signal/sigqueue.c: Likewise.
28566 * signal/sigreturn.c: Likewise.
28567 * signal/sigset.c: Likewise.
28568 * signal/sigsetmask.c: Likewise.
28569 * signal/sigstack.c: Likewise.
28570 * signal/sigsuspend.c: Likewise.
28571 * signal/sigtimedwait.c: Likewise.
28572 * signal/sigvec.c: Likewise.
28573 * signal/sigwait.c: Likewise.
28574 * signal/sigwaitinfo.c: Likewise.
28575 * signal/sysv_signal.c: Likewise.
28576 * socket/accept.c: Likewise.
28577 * socket/accept4.c: Likewise.
28578 * socket/bind.c: Likewise.
28579 * socket/connect.c: Likewise.
28580 * socket/getpeername.c: Likewise.
28581 * socket/getsockname.c: Likewise.
28582 * socket/getsockopt.c: Likewise.
28583 * socket/isfdtype.c: Likewise.
28584 * socket/listen.c: Likewise.
28585 * socket/recv.c: Likewise.
28586 * socket/recvfrom.c: Likewise.
28587 * socket/recvmsg.c: Likewise.
28588 * socket/send.c: Likewise.
28589 * socket/sendmsg.c: Likewise.
28590 * socket/sendto.c: Likewise.
28591 * socket/setsockopt.c: Likewise.
28592 * socket/shutdown.c: Likewise.
28593 * socket/sockatmark.c: Likewise.
28594 * socket/socket.c: Likewise.
28595 * socket/socketpair.c: Likewise.
28596 * stdio-common/ctermid.c: Likewise.
28597 * stdio-common/cuserid.c: Likewise.
28598 * stdio-common/remove.c: Likewise.
28599 * stdio-common/rename.c: Likewise.
28600 * stdio-common/renameat.c: Likewise.
28601 * stdio-common/tempname.c: Likewise.
28602 * stdlib/getcontext.c: Likewise.
28603 * stdlib/makecontext.c: Likewise.
28604 * stdlib/setcontext.c: Likewise.
28605 * stdlib/swapcontext.c: Likewise.
28606 * stdlib/system.c: Likewise.
28607 * streams/fattach.c: Likewise.
28608 * streams/fdetach.c: Likewise.
28609 * streams/getmsg.c: Likewise.
28610 * streams/getpmsg.c: Likewise.
28611 * streams/putmsg.c: Likewise.
28612 * streams/putpmsg.c: Likewise.
28613 * sysdeps/unix/bsd/getpt.c: Likewise.
28614 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28615 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28616 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28619 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28620 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28621 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28622 * sysvipc/msgctl.c: Likewise.
28623 * sysvipc/msgget.c: Likewise.
28624 * sysvipc/msgrcv.c: Likewise.
28625 * sysvipc/msgsnd.c: Likewise.
28626 * sysvipc/semctl.c: Likewise.
28627 * sysvipc/semget.c: Likewise.
28628 * sysvipc/semop.c: Likewise.
28629 * sysvipc/semtimedop.c: Likewise.
28630 * sysvipc/shmat.c: Likewise.
28631 * sysvipc/shmctl.c: Likewise.
28632 * sysvipc/shmdt.c: Likewise.
28633 * sysvipc/shmget.c: Likewise.
28634 * termios/tcdrain.c: Likewise.
28635 * termios/tcflow.c: Likewise.
28636 * termios/tcflush.c: Likewise.
28637 * termios/tcgetattr.c: Likewise.
28638 * termios/tcgetpgrp.c: Likewise.
28639 * termios/tcsendbrk.c: Likewise.
28640 * termios/tcsetattr.c: Likewise.
28641 * termios/tcsetpgrp.c: Likewise.
28642 * time/adjtime.c: Likewise.
28643 * time/clock.c: Likewise.
28644 * time/getitimer.c: Likewise.
28645 * time/gettimeofday.c: Likewise.
28646 * time/setitimer.c: Likewise.
28647 * time/settimeofday.c: Likewise.
28648 * time/stime.c: Likewise.
28649 * time/time.c: Likewise.
28651 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28653 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28656 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28658 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28660 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28664 FE_TONEAREST before applying Dekker multiplication and Knuth
28665 addition. Clear inexact exceptions and check for exact zero
28666 results afterwards.
28667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28668 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28670 * math/libm-test.inc (fma_test): Add more tests.
28671 (fma_test_towardzero): Likewise.
28672 (fma_test_downward): Likewise.
28673 (fma_test_upward): Likewise.
28674 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28676 (libc_fesetround): New macro.
28677 (libc_fesetroundf): Likewise.
28678 (libc_fesetroundl): Likewise.
28679 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28681 (libc_fesetround_387): Likewise.
28682 (libc_fesetroundf): New macro.
28683 (libc_fesetround): Likewise.
28684 (libc_fesetroundl): Likewise.
28685 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28687 (libc_fesetroundf): New macro.
28688 (libc_fesetround): Likewise.
28689 (libc_fesetroundl): Likewise.
28690 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28691 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28692 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28694 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28695 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28697 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28698 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28700 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28704 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28705 integer constant usable in #if and use that to give value to enum
28707 (FE_DIVBYZERO): Likewise.
28708 (FE_UNDERFLOW): Likewise.
28709 (FE_OVERFLOW): Likewise.
28710 (FE_INVALID): Likewise.
28711 (FE_INVALID_SNAN): Likewise.
28712 (FE_INVALID_ISI): Likewise.
28713 (FE_INVALID_IDI): Likewise.
28714 (FE_INVALID_ZDZ): Likewise.
28715 (FE_INVALID_IMZ): Likewise.
28716 (FE_INVALID_COMPARE): Likewise.
28717 (FE_INVALID_SOFTWARE): Likewise.
28718 (FE_INVALID_SQRT): Likewise.
28719 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28720 (FE_TONEAREST): Likewise.
28721 (FE_TOWARDZERO): Likewise.
28722 (FE_UPWARD): Likewise.
28723 (FE_DOWNWARD): Likewise.
28724 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28725 (FE_DIVBYZERO): Likewise.
28726 (FE_OVERFLOW): Likewise.
28727 (FE_UNDERFLOW): Likewise.
28728 (FE_INEXACT): Likewise.
28729 (FE_TONEAREST): Likewise.
28730 (FE_DOWNWARD): Likewise.
28731 (FE_UPWARD): Likewise.
28732 (FE_TOWARDZERO): Likewise.
28733 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28734 (FE_UNDERFLOW): Likewise.
28735 (FE_OVERFLOW): Likewise.
28736 (FE_DIVBYZERO): Likewise.
28737 (FE_INVALID): Likewise.
28738 (FE_TONEAREST): Likewise.
28739 (FE_TOWARDZERO): Likewise.
28740 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28741 (FE_OVERFLOW): Likewise.
28742 (FE_UNDERFLOW): Likewise.
28743 (FE_DIVBYZERO): Likewise.
28744 (FE_INEXACT): Likewise.
28745 (FE_TONEAREST): Likewise.
28746 (FE_TOWARDZERO): Likewise.
28747 (FE_UPWARD): Likewise.
28748 (FE_DOWNWARD): Likewise.
28749 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28750 (FE_DIVBYZERO): Likewise.
28751 (FE_OVERFLOW): Likewise.
28752 (FE_UNDERFLOW): Likewise.
28753 (FE_INEXACT): Likewise.
28754 (FE_TONEAREST): Likewise.
28755 (FE_DOWNWARD): Likewise.
28756 (FE_UPWARD): Likewise.
28757 (FE_TOWARDZERO): Likewise.
28759 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28761 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28763 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28765 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28766 commands. Quote $PWD.
28767 (blacklist_exports): Don't use remove_newlines. Replace "declare
28769 (remove_newlines): Remove.
28771 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28773 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28774 * stdlib/stdlib.h (atof): Moved to ...
28775 * include/bits/stdlib-float.h: Here. New file.
28776 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28777 * stdlib/bits/stdlib-float.h: New file.
28778 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28780 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28783 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28785 * conform/conformtest.pl (@headers): Add fenv.h.
28786 * conform/data/fenv.h-data: New file.
28787 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28788 include of <math/fenv.h>.
28790 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28791 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28792 && !UNIX98]. Enables tests for XOPEN2K8.
28793 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28794 POSIX2008]: Likewise.
28796 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28797 (struct rusage): Do not expect type or its members.
28800 * math/math.h (FP_NAN): Define macro to integer constant usable in
28801 #if and use that to give value to enum constant.
28802 (FP_INFINITE): Likewise.
28803 (FP_ZERO): Likewise.
28804 (FP_SUBNORMAL): Likewise.
28805 (FP_NORMAL): Likewise.
28807 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28809 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28810 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28813 2012-11-02 Roland McGrath <roland@hack.frob.com>
28815 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28816 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28817 autoconf-time if not.
28818 * configure.in: Remove AC_PREREQ.
28820 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28822 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28823 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28824 of the internal implementation.
28826 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28828 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28829 except include of <misc/sys/syslog.h>.
28831 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28834 function returns with a NULL context exit with zero.
28836 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28838 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28840 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28842 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28843 (run_program_cmd): This.
28844 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28845 (tst_langinfo): New variable. Use it.
28847 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28849 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28850 floating point opcodes.
28852 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28854 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28857 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28859 * sysdeps/mach/hurd/powerpc: Remove directory.
28860 * sysdeps/mach/powerpc: Likewise.
28862 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28864 * scripts/check-local-headers.sh: Ignore c++ headers.
28866 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28868 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28869 __libc_cleanup_region_start argument.
28871 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28876 x * y using scaling, not as x * y + z.
28877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28879 * math/libm-test.inc (fma_test): Add more tests.
28880 (fma_test_towardzero): Likewise.
28881 (fma_test_downward): Likewise.
28882 (fma_test_upward): Likewise.
28884 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28886 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28888 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28890 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28893 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28895 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28897 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28904 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28907 Fix the order of the list for glibc 2.17.
28908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28911 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28915 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28918 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28919 for low part of x being zero before using __atanl (y).
28920 * math/libm-test.inc (atan2_test): Add another test.
28922 * manual/install.texi (Configuring and compiling): Document
28923 general use of test-wrapper and test-wrapper-env.
28924 * INSTALL: Regenerated.
28926 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28927 (__fma): Do not extract and scale down low bits on after-rounding
28928 systems when result rounded to normal precision would have normal
28930 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28931 (__fmal): Do not extract and scale down low bits on after-rounding
28932 systems when result rounded to normal precision would have normal
28934 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28935 (__fmal): Do not extract and scale down low bits on after-rounding
28936 systems when result rounded to normal precision would have normal
28938 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28940 (fma_test): Add more tests.
28941 (fma_test_towardzero): Likewise.
28942 (fma_test_downward): Likewise.
28943 (fma_test_upward): Likewise.
28945 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28947 * sysdeps/i386/tininess.h: Renamed to ...
28948 * sysdeps/x86/tininess.h: This.
28949 * sysdeps/x86_64/tininess.h: Removed.
28951 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28953 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28954 input. Use $(build-program-cmd).
28955 ($(objpfx)tst-array1-static.out): Likewise.
28956 ($(objpfx)tst-array2.out): Likewise.
28957 ($(objpfx)tst-array3.out): Likewise.
28958 ($(objpfx)tst-array4.out): Likewise.
28959 ($(objpfx)tst-array5.out): Likewise.
28960 ($(objpfx)tst-array5-static.out): Likewise.
28962 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28964 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28967 * nss/nsswitch.h (nss_interface_function): Provide new
28968 macro for use with NSS functions.
28969 * grp/initgroups.c: Use new macro.
28970 * nss/getXXbyYY.c: Likewise.
28971 * nss/getXXbyYY_r.c: Likewise.
28972 * nss/getXXent.c: Likewise.
28973 * nss/getXXent_r.c: Likewise.
28974 * sysdeps/posix/getaddrinfo.c: Likewise.
28976 2012-10-30 Andreas Jaeger <aj@suse.de>
28978 * po/ru.po: Update Russion translation from translation project.
28980 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28985 result and shift together with sticky bit instead of replicating
28986 round-to-nearest rounding.
28987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28989 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28990 missing underflow exceptions.
28991 (fma_test_towardzero): Add more tests.
28992 (fma_test_downward): Likewise.
28993 (fma_test_upward): Likewise.
28996 * sysdeps/generic/tininess.h: New file.
28997 * sysdeps/i386/tininess.h: Likewise.
28998 * sysdeps/sh/tininess.h: Likewise.
28999 * sysdeps/x86_64/tininess.h: Likewise.
29000 * stdlib/tst-strtod-underflow.c: Likewise.
29001 * stdlib/tst-tininess.c: Likewise.
29002 * stdlib/strtod_l.c: Include <tininess.h>.
29003 (round_and_return): Do not set errno for exact underflow cases.
29004 Force an underflow exception when setting errno for underflow.
29005 Determine underflow based on rounding to normal precision if
29006 TININESS_AFTER_ROUNDING.
29007 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29008 ERANGE for exact underflow cases.
29009 * stdlib/Makefile (tests): Add tst-tininess and
29010 tst-strtod-underflow.
29011 ($(objpfx)tst-tininess): Use $(link-libm).
29012 ($(objpfx)tst-strtod-underflow): Likewise.
29014 2012-10-30 Andreas Jaeger <aj@suse.de>
29017 * elf/Makefile (tests): Remove conditional for have-initfini-array
29018 since this is now always required and the variable does not exist
29020 (tests-static): Likewise.
29021 (modules-names): Likewise.
29023 * po/eo.po: Add Esperanto translation from translation project.
29025 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29026 merged with constructor/destructor.
29027 (init_array): Likewise.
29028 * elf/tst-array2dep.c (fini_array): Likewise.
29029 (init_array): Likewise.
29031 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29033 * manual/message.texi: Delete @cartouche tags.
29035 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29037 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29039 * sysdeps/mach/hurd/fsync.c: Likewise.
29041 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29042 [_POSIX_REALTIME_SIGNALS]: Change condition to
29043 [_POSIX_REALTIME_SIGNALS > 0].
29045 2012-10-27 Andreas Jaeger <aj@suse.de>
29047 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29048 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29050 [__WORDSIZE != 64]: Likewise.
29052 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29054 * iconvdata/tst-table.sh: Remove ${SHELL}.
29055 * iconvdata/tst-tables.sh: Likewise.
29057 2012-10-25 David S. Miller <davem@davemloft.net>
29059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29060 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29065 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29066 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29067 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29070 2012-10-25 Roland McGrath <roland@hack.frob.com>
29072 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29073 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29076 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29077 Jim Blandy <jimb@codesourcery.com>
29079 * scripts/cross-test-ssh.sh: New file.
29080 * manual/install.texi (Configuring and compiling): Document use of
29082 * INSTALL: Regenerated.
29084 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29086 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29089 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29091 * Makeconfig (run-program-prefix): Fix comment.
29093 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29094 Jim Blandy <jimb@codesourcery.com>
29096 * Makeconfig (test-wrapper): New variable,
29097 (test-wrapper-env): Likewise.
29098 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29099 (run-built-tests): Define to yes.
29100 (run-program-prefix): Use $(test-wrapper).
29101 (built-program-cmd): Likewise.
29102 * Rules (make-test-out): Use $(test-wrapper-env) and
29103 $(host-built-program-cmd).
29104 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29105 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29107 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29108 $(test-wrapper-env) to tst-rtld-load-self.sh.
29109 ($(objpfx)order2.out): Use $(test-wrapper).
29110 ($(objpfx)tst-initorder.out): Likewise.
29111 ($(objpfx)tst-initorder2.out): Likewise.
29112 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29113 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29114 (test_wrapper_env): New variable. Use it to run ld.so.
29115 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29116 Use it to run ld.so.
29117 (test_wrapper_env): Likewise.
29118 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29119 $(test-wrapper) to run-iconv-test.sh.
29120 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29121 (ICONV): Use $test_wrapper.
29122 * posix/Makefile ($(objpfx)globtest.out): Pass
29123 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29124 globtest.sh, not $(run-program-prefix).
29125 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29126 (test_wrapper): Likewise.
29127 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29128 set together with run_via_rtld_prefix.
29129 (run_program_prefix): Define in terms of test_wrapper and
29130 run_via_rtld_prefix.
29132 2012-10-24 Roland McGrath <roland@hack.frob.com>
29134 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29135 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29139 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29140 Declare __clock_getres, __clock_gettime, __clock_settime,
29141 __clock_nanosleep, and __clock_getcpuclockid.
29142 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29143 Remove librt_hidden_def (clock_gettime).
29144 * sysdeps/unix/clock_gettime.c: Likewise.
29145 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29147 * rt/clock_getres.c: Define __clock_getres as an alias.
29148 * sysdeps/posix/clock_getres.c: Likewise.
29149 * rt/clock_settime.c: Define __clock_settime as an alias.
29150 * sysdeps/unix/clock_settime.c: Likewise.
29151 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29152 * sysdeps/unix/clock_nanosleep.c: Likewise.
29153 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29154 * rt/clock-compat.c: New file.
29155 * rt/Makefile (librt-routines): Add clock-compat and move
29156 $(clock-routines) to ...
29157 (routines): ... here, new variable.
29158 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29159 Don't add get_clockfreq here.
29160 * rt/Versions (libc: GLIBC_2.17): New version set.
29161 Add clock_* symbols here.
29162 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29163 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29164 (GLIBC_2.17): Add clock_* symbols.
29165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29176 * NEWS: Mention the move.
29178 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29179 Use __open, __read, __close rather than their public counterparts.
29180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29181 (__get_clockfreq_via_cpuinfo): Likewise.
29182 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29183 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29185 * config.h.in (HAVE_IFUNC): New #undef.
29186 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29188 * configure: Regenerated.
29190 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29192 * configure.in: Move READELF check to start of file.
29193 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29194 libc_cv_asm_gnu_indirect_function in the process.
29195 * configure: Regenerated.
29197 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29199 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29200 send the output to /dev/null.
29201 (libc_cv_cc_with_libunwind): Likewise.
29202 (libc_cv_as_noexecstack): Likewise.
29203 * configure: Regenerate.
29205 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29207 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29209 * posix/globtest.sh (TMPDIR): Do not set.
29210 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29211 (testout): Likewise.
29213 2012-10-24 Andreas Jaeger <aj@suse.de>
29215 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29216 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29217 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29218 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29219 posix_fadvise64, posix_fallocate64.
29221 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29222 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29223 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29225 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29227 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29230 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29231 <bits/fcntl-linux.h>.
29232 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29235 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29236 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29237 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29238 [__WORDSIZE != 64]: Likewise.
29240 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29242 * Makeconfig (run-built-tests): New variable.
29243 * Rules [$(cross-compiling) = yes]: Change condition to
29244 [$(run-built-tests) = no].
29245 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29246 to [$(run-built-tests) = yes].
29247 * elf/Makefile [$(cross-compiling) = no]: Likewise
29248 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29249 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29250 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29251 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29252 * io/Makefile [$(cross-compiling) = no]: Likewise.
29253 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29254 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29255 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29256 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29257 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29258 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29259 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29260 * string/Makefile [$(cross-compiling) = no]: Likewise.
29262 * posix/Makefile ($(objpfx)globtest.out): Pass
29263 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29264 $(rtld-installed-name).
29265 * posix/globtest.sh (elf_objpfx): Remove variable.
29266 (rtld_installed_name): Likewise.
29267 (library_path): Likewise.
29268 (run_program_prefix): New variable. Use for running globtest
29271 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29272 Joseph Myers <joseph@codesourcery.com>
29274 * Makeconfig (host-built-program-cmd): New variable.
29275 * elf/Makefile (tst-stackguard1-ARGS): Use
29276 $(host-built-program-cmd).
29277 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29278 (tst-spawn-ARGS): Likewise.
29279 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29281 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29282 Jim Blandy <jimb@codesourcery.com>
29284 * Makeconfig (run-via-rtld-prefix): New variable.
29285 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29286 (built-program-cmd): Likewise.
29288 2012-10-22 Andreas Jaeger <aj@suse.de>
29290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29291 __O_RSYNC if it exists, otherwise to O_SYNC.
29293 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29294 Joseph Myers <joseph@codesourcery.com>
29296 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29298 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29300 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29303 2012-10-22 Andreas Jaeger <aj@suse.de>
29305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29310 bits/fcntl-linux.h.
29312 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29313 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29320 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29321 Joseph Myers <joseph@codesourcery.com>
29323 * config.make.in (NM): New variable.
29325 2012-10-21 Andreas Jaeger <aj@suse.de>
29327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29328 definitions and declarations that are provided by
29329 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29331 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29334 * elf/Makefile (tests-static): Add tst-leaks1-static.
29335 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29336 ($(objpfx)tst-leaks1-static): New rule.
29337 ($(objpfx)tst-leaks1-static-mem): Likewise.
29338 (tst-leaks1-static-ENV): New macro.
29339 * elf/dl-open.c (dl_open_worker): Check the main application
29340 only if SHARED is defined.
29341 * elf/tst-leaks1-static.c: New file.
29343 2012-10-20 Andreas Jaeger <aj@suse.de>
29345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29346 generic values for Linux.
29347 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29348 and declarations that are provided by <bits/fcntl-linux.h> and
29349 include <bits/fcntl-linux.h>.
29350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29353 2012-10-20 Roland McGrath <roland@hack.frob.com>
29355 * io/fcntl.h: Move include of <bits/types.h> to the top and
29356 include it unconditionally.
29358 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29360 * wcsmbs/Makefile (tests-ifunc): New variable.
29361 (tests): Add $(tests-ifunc).
29362 * wcsmbs/test-wcschr-ifunc.c: New file.
29363 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29364 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29365 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29366 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29367 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29369 * string/Makefile (tests-ifunc): New variable.
29370 (tests): Add $(tests-ifunc).
29371 * string/test-memccpy.c (TEST_NAME): New macro.
29372 * string/test-memchr.c (TEST_NAME): Likewise.
29373 * string/test-memcmp.c (TEST_NAME): Likewise.
29374 * string/test-memcpy.c (TEST_NAME): Likewise.
29375 * string/test-memmem.c (TEST_NAME): Likewise.
29376 * string/test-memmove.c (TEST_NAME): Likewise.
29377 * string/test-memset.c (TEST_NAME): Likewise.
29378 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29379 * string/test-stpcpy.c (TEST_NAME): Likewise.
29380 * string/test-stpncpy.c (TEST_NAME): Likewise.
29381 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29382 * string/test-strcasestr.c (TEST_NAME): Likewise.
29383 * string/test-strcat.c (TEST_NAME): Likewise.
29384 * string/test-strchr.c (TEST_NAME): Likewise.
29385 * string/test-strcmp.c(TEST_NAME): Likewise.
29386 * string/test-strcpy.c (TEST_NAME): Likewise.
29387 * string/test-strcspn.c (TEST_NAME): Likewise.
29388 * string/test-strlen.c (TEST_NAME): Likewise.
29389 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29390 * string/test-strncmp.c (TEST_NAME): Likewise.
29391 * string/test-strncpy.c (TEST_NAME): Likewise.
29392 * string/test-strnlen.c (TEST_NAME): Likewise.
29393 * string/test-strpbrk.c (TEST_NAME): Likewise.
29394 * string/test-strrchr.c (TEST_NAME): Likewise.
29395 * string/test-strspn.c (TEST_NAME): Likewise.
29396 * string/test-strstr.c (TEST_NAME): Likewise.
29397 * string/test-bcopy-ifunc.c: New file.
29398 * string/test-bzero-ifunc.c: Likewise.
29399 * string/test-memccpy-ifunc.c: Likewise.
29400 * string/test-memchr-ifunc.c: Likewise.
29401 * string/test-memcmp-ifunc.c: Likewise.
29402 * string/test-memcpy-ifunc.c: Likewise.
29403 * string/test-memmem-ifunc.c: Likewise.
29404 * string/test-memmove-ifunc.c: Likewise.
29405 * string/test-mempcpy-ifunc.c: Likewise.
29406 * string/test-memset-ifunc.c: Likewise.
29407 * string/test-rawmemchr-ifunc.c: Likewise.
29408 * string/test-stpcpy-ifunc.c: Likewise.
29409 * string/test-stpncpy-ifunc.c: Likewise.
29410 * string/test-strcasecmp-ifunc.c: Likewise.
29411 * string/test-strcasestr-ifunc.c: Likewise.
29412 * string/test-strcat-ifunc.c: Likewise.
29413 * string/test-strchr-ifunc.c: Likewise.
29414 * string/test-strchrnul-ifunc.c: Likewise.
29415 * string/test-strcmp-ifunc.c: Likewise.
29416 * string/test-strcpy-ifunc.c: Likewise.
29417 * string/test-strcspn-ifunc.c: Likewise.
29418 * string/test-strlen-ifunc.c: Likewise.
29419 * string/test-strncasecmp-ifunc.c: Likewise.
29420 * string/test-strncat-ifunc.c: Likewise.
29421 * string/test-strncmp-ifunc.c: Likewise.
29422 * string/test-strncpy-ifunc.c: Likewise.
29423 * string/test-strnlen-ifunc.c: Likewise.
29424 * string/test-strpbrk-ifunc.c: Likewise.
29425 * string/test-strrchr-ifunc.c: Likewise.
29426 * string/test-strspn-ifunc.c: Likewise.
29427 * string/test-strstr-ifunc.c: Likewise.
29429 * debug/Makefile (tests-ifunc): New variable.
29430 (tests): Add $(tests-ifunc).
29431 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29432 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29433 * debug/test-stpcpy_chk-ifunc.c: New file.
29434 * debug/test-strcpy_chk-ifunc.c: Likewise.
29436 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29439 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29440 header is not read in.
29442 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29444 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29445 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29446 directly. Pass built executable to script as
29447 $(built-program-cmd).
29448 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29449 $testprogram without using LD_LIBRARY_PATH and $ldso.
29451 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29452 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29453 $(rtld-installed-name).
29454 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29455 (rtld_installed_name): Likewise.
29456 (library_path): Likewise.
29457 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29458 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29459 $(run-program-prefix) to tst-tables.sh.
29460 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29461 it to run tst-table-from and tst-table-to.
29462 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29463 Pass it to tst-table.sh.
29464 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29465 $(run-program-prefix) to tst-gettext.sh.
29466 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29468 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29470 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29471 to run tst-gettext.
29472 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29473 to run tst-gettext2.
29474 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29475 to run tst-translit.
29476 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29477 $(run-program-prefix) to tst-mtrace.sh.
29478 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29480 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29481 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29482 $(rtld-installed-name).
29483 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29484 (rtld_installed_name): Likewise.
29485 (run_program_prefix): New variable. Use it to run wordexp-test.
29487 * Makeconfig (ARCH): Remove all definitions.
29488 (machine): Likewise.
29489 [ARCH]: Remove conditional code.
29490 [!objdir]: Give error.
29491 [!objdir] (objpfx): Remove.
29492 [!objdir] (common-objpfx): Likewise.
29493 [!objdir] (common-objdir): Likewise.
29494 * configure.in (config_makefile): Remove. Hardcode Makefile in
29495 AC_CONFIG_FILES call.
29496 * configure: Regenerated.
29499 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29501 (testout): Likewise.
29503 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29504 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29505 $(rtld-installed-name).
29506 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29507 (rtld_installed_name): Likwise.
29508 (runit): Remove function.
29509 (run_getconf): New variable, Use it for running getconf binary.
29511 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29514 * string/test-memmem.c (check_result): New function.
29515 (do_one_test): Use it.
29516 (check1): New function.
29517 (test_main): Use it.
29519 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29521 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29523 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29525 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29526 (_G_LSEEK64): Likewise.
29527 (_G_MMAP64): Likewise.
29528 (_G_FSTAT64): Likewise.
29529 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29530 (_G_LSEEK64): Likewise.
29531 (_G_MMAP64): Likewise.
29532 (_G_FSTAT64): Likewise.
29533 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29534 unconditional. Call __mmap64 directly.
29535 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29536 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29537 __lseek64 directly.
29538 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29539 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29541 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29542 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29543 __lseek64 directly.
29544 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29545 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29546 __lseek64 directly.
29547 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29548 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29549 __lseek64 directly.
29550 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29551 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29552 __fxstat64 directly.
29553 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29554 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29556 (freopen64) [!_G_OPEN64]: Remove conditional code.
29557 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29559 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29560 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29562 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29563 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29565 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29566 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29568 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29569 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29571 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29572 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29574 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29575 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29577 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29579 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29582 * manual/memory.texi (Malloc Tunable Parameters): Add note
29583 about free list pointers overwriting some perturb bytes.
29584 Wording suggested by Roland McGrath.
29586 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29588 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29589 (lgamma_test): Likewise.
29590 (tgamma_test): Likewise.
29592 2012-10-16 Florian Weimer <fweimer@redhat.com>
29595 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29596 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29598 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29600 * NEWS: Mention BZ #14716.
29601 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29602 when removing AVAILABLE1_USES_J macro.
29604 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29606 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29607 (__bswap_64): __uint64_t for unsigned 64-bit int.
29609 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29611 * include/string.h (memmem): Declare libc hidden alias.
29612 * string/memmem.c (memmem): Define libc hidden alias.
29613 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29614 __read, __close instead of open, read, close.
29616 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29619 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29621 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29622 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29623 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29625 (__rawmemchr_sse2): Likewise.
29626 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29627 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29628 (__strchr_sse2): Likewise.
29629 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29630 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29631 (__strcasecmp_sse2): Likewise.
29632 (__strncasecmp_sse2): Likewise.
29633 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29634 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29635 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29636 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29637 (__strrchr_sse2): Likewise.
29638 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29640 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29641 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29642 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29643 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29644 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29645 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29646 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29647 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29648 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29649 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29650 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29651 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29652 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29653 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29654 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29655 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29656 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29657 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29658 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29659 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29660 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29661 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29662 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29663 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29664 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29665 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29666 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29667 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29668 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29669 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29671 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29673 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29674 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29675 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29676 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29678 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29680 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29681 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29682 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29683 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29685 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29686 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29687 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29688 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29689 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29690 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29691 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29692 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29694 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29695 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29696 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29697 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29698 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29699 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29701 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29702 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29703 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29704 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29705 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29706 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29707 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29708 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29709 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29710 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29711 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29712 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29713 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29714 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29715 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29716 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29717 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29718 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29719 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29720 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29721 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29722 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29723 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29724 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29725 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29727 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29728 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29729 * include/ifunc-impl-list.h: New file.
29730 * misc/ifunc-impl-list.c: Likewise.
29731 * misc/Makefile (routines): Add ifunc-impl-list.
29732 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29733 * string/test-string.h: Include <ifunc-impl-list.h>.
29734 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29735 TEST_NAME]: New variables.
29736 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29738 (test_init): Call __libc_ifunc_impl_list to initialize
29739 func_list if TEST_IFUNC and TEST_NAME are defined.
29741 * string/Makefile (strop-tests): Add bcopy and bzero.
29742 * string/test-bcopy.c: New file.
29743 * string/test-bzero.c: Likewise.
29744 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29746 * string/test-memset.c: Support bzero test if TEST_BZERO is
29748 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29750 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29752 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29755 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29757 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29758 * configure: Regenerated.
29760 * Makeconfig (+link-static-before-libc): Don't include
29761 $(link-static-libc).
29763 * libio/libio.h (_IO_pos_t): Remove.
29765 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29767 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29770 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29772 * crypt/crypt-entry.c: Include fips-private.h.
29773 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29774 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29775 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29776 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29778 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29780 * crypt/crypt-private.h: Include stdbool.h.
29781 (_ufc_setup_salt_r): Return bool.
29782 * crypt/crypt-entry.c: Include errno.h.
29783 (__crypt_r): Return NULL with EINVAL for bad salt.
29784 * crypt/crypt_util.c (bad_for_salt): New.
29785 (_ufc_setup_salt_r): Check that salt is long enough and within
29786 the specified alphabet.
29787 * crypt/badsalttest.c: New file.
29788 * crypt/Makefile (tests): Add it.
29789 ($(objpfx)badsalttest): New.
29791 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29793 * NEWS: Add entry for BZ #14602.
29795 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29797 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29799 * math/libm-test.inc: Update comment listing what functions and
29801 (isgreater_test): New function.
29802 (isgreaterequal_test): Likewise.
29803 (isless_test): Likewise.
29804 (islessequal_test): Likewise.
29805 (islessgreater_test): Likewise.
29806 (isunordered_test): Likewise.
29807 (main): Call the new functions.
29809 2012-10-09 Roland McGrath <roland@hack.frob.com>
29811 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29812 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29813 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29814 * sysdeps/i386/configure: Regenerated.
29815 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29816 * sysdeps/mach/configure: Regenerated.
29817 * sysdeps/mach/hurd/configure: Regenerated.
29818 * sysdeps/powerpc/configure: Regenerated.
29819 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29820 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29821 * sysdeps/s390/s390-32/configure: Regenerated.
29822 * sysdeps/s390/s390-64/configure: Regenerated.
29823 * sysdeps/sh/configure: Regenerated.
29824 * sysdeps/sparc/configure: Regenerated.
29825 * sysdeps/unix/sysv/linux/configure: Regenerated.
29826 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29827 * sysdeps/x86_64/configure: Regenerated.
29829 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29830 defined. Don't check if MAP is NULL.
29832 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29834 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29835 (_G_stat64): Likewise.
29836 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29837 (_G_stat64): Likewise.
29838 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29839 instead of struct _G_stat64.
29840 * libio/fileops.c (mmap_remap_check): Likewise.
29841 (decide_maybe_mmap): Likewise.
29842 (_IO_new_file_seekoff): Likewise.
29843 (_IO_file_stat): Likewise.
29844 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29846 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29847 instead of struct _G_stat64.
29848 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29850 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29853 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29855 (CHECK_EOL): New macro.
29856 (two_way_short_needle): Check beginning of haystack for EOL. Use
29858 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29859 Replace with CHECK_EOL.
29860 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29861 Replace with CHECK_EOL.
29863 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29865 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29867 * math/libm-test.inc: Update comment listing what functions and
29869 (finite_test): New function.
29870 (isinf_test): Likewise.
29871 (isnan_test): Likewise.
29872 (fpclassify_test): Test subnormal input.
29873 (isfinite_test): Likewise.
29874 (isnormal_test): Likewise.
29875 (main): Call the new functions.
29877 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29880 * Makerules (%.dynsym): Force C locale when running
29881 $(OBJDUMP) --dynamic-syms.
29883 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29885 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29888 2012-10-06 David S. Miller <davem@davemloft.net>
29890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29891 upper 32-bits of the length value in %o2 since we use branch-on-register
29892 tests which consider the entire 64-bit register.
29894 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29896 * string/test-strstr.c (check2): Add a test for page boundary.
29898 2012-10-05 David S. Miller <davem@davemloft.net>
29900 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29901 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29903 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29905 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29906 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29907 and bzero when HWCAP_SPARC_CRYPTO is present.
29909 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29912 * string/test-strstr.c (check2): New function.
29913 (test_main): Call check2.
29915 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29917 * string/bug-strcasestr1.c (do_test): Moved to ...
29918 * string/test-strcasestr.c (check1): Here. New function.
29919 (do_one_test): Break out result checking code into ...
29920 (check_result): This. New function.
29921 (do_one_test): Call check_result.
29922 (test_main): Call check1.
29923 * string/bug-strchr1.c (do_test): Moved to ...
29924 * string/test-strchr.c (check1): Here. New function.
29925 (do_one_test): Break out result checking code into ...
29926 (check_result): This. New function.
29927 (do_one_test): Call check_result.
29928 (test_main): Call check1.
29929 * string/bug-strstr1.c (main): Moved to ...
29930 * string/test-strstr.c (check1): Here. New function.
29931 (do_one_test): Break out result checking code into ...
29932 (check_result): This. New function.
29933 (do_one_test): Call check_result.
29934 (test_main): Call check1.
29935 * string/bug-strcasestr1.c: Removed.
29936 * string/bug-strchr1.c: Likewise.
29937 * string/bug-strstr1.c: Likewise.
29939 * elf/Makefile (dl-routines): Add hwcaps.
29940 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29941 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29942 (_dl_important_hwcaps): Moved to ...
29943 * elf/dl-hwcaps.c: Here. New file.
29944 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29947 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29948 if IS_IN_rtld isn't defined.
29950 * elf/dl-support.c (_dl_sysinfo_map): New.
29951 Include "get-dynamic-info.h" and "setup-vdso.h".
29952 (_dl_non_dynamic_init): Call setup_vdso.
29953 * elf/dynamic-link.h: Don't include <assert.h>.
29954 (elf_get_dynamic_info): Moved to ...
29955 * elf/get-dynamic-info.h: Here. New file.
29956 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29957 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29958 * elf/setup-vdso.h: Here. New file.
29959 * elf/rtld.c: Include "setup-vdso.h".
29960 (dl_main): Call setup_vdso.
29962 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29964 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29965 creal in comment listing functions tested. List finite, isinf,
29966 isnan, isless, islessequal, isgreater, isgreaterequal,
29967 islessgreater, isunordered, lgamma_r and pow10 as functions and
29968 macros not tested. Mention which functions not tested are aliases
29969 for other functions. Fix typo. Note that signs of NaNs are not
29972 * scripts/config.guess: Update from config.git.
29973 * scripts/config.sub: Likewise.
29975 2012-10-04 Roland McGrath <roland@hack.frob.com>
29977 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29978 * misc/madvise.c (madvise): Renamed to __madvise.
29979 Make madvise a weak alias.
29980 * include/sys/mman.h: Declare __madvise.
29981 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29982 * sysdeps/unix/syscalls.list
29983 (madvise): Make __madvise the strong name, and madvise a weak alias.
29984 * sysdeps/unix/sysv/linux/syscalls.list
29985 (madvise, mmap): Remove redundant entries.
29986 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29987 * malloc/malloc.c (mtrim): Likewise.
29988 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29990 2012-10-03 Roland McGrath <roland@hack.frob.com>
29992 * sysdeps/mach/hurd/dl-cache.c: File removed.
29993 * config.h.in (USE_LDCONFIG): New #undef.
29994 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29995 * configure: Regenerated.
29996 * elf/Makefile (dl-routines): Add dl-cache only under
29997 [$(use-ldconfig) = yes].
29998 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29999 cache on [USE_LDCONFIG].
30000 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30002 * elf/rtld.c (dl_main): Likewise.
30004 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30006 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30007 _SC_LEVEL4_CACHE_LINESIZE.
30009 2012-10-03 Roland McGrath <roland@hack.frob.com>
30011 * sysdeps/unix/bsd/confstr.h: File removed.
30013 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30015 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30018 2012-10-02 Roland McGrath <roland@hack.frob.com>
30020 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30021 Make 'mapoff' field ElfW(Off) rather than off_t.
30023 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30025 * nscd/Makefile: Remove nscd-cflags and all its users.
30026 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30027 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30030 * malloc.c (malloc_printerr): Clarify error message.
30032 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30036 Set bit_FMA_Usable if FMA is supported.
30037 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30039 (bit_FMA4_Usable): Updated.
30040 (index_FMA_Usable): New macro.
30041 (CPUID_FMA): Likewise
30042 (HAS_FMA): Defined with bit_FMA_Usable.
30044 2012-10-01 Roland McGrath <roland@hack.frob.com>
30046 * bits/types.h (__swblk_t): Type removed.
30047 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30048 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30050 (__SWBLK_T_TYPE): Likewise.
30051 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30052 (__SWBLK_T_TYPE): Likewise.
30053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30054 (__SWBLK_T_TYPE): Likewise.
30055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30056 (__SWBLK_T_TYPE): Likewise.
30058 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30059 Honza Horak <hhorak@redhat.com>
30061 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30062 (xdr_mapname): Use YPMAXMAP as maxsize.
30063 (xdr_peername): Use YPMAXPEER as maxsize.
30064 (xdr_keydat): Use YPAXRECORD as maxsize.
30065 (xdr_valdat): Use YPMAXRECORD as maxsize.
30067 2012-10-01 Roland McGrath <roland@hack.frob.com>
30069 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30071 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30072 * csu/init-first.c: ... here.
30073 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30074 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30075 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30076 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30077 * sysdeps/i386/init-first.c: File removed.
30078 * sysdeps/sh/init-first.c: File removed.
30080 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30084 if x * y might underflow to zero and z is zero.
30085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30087 * math/libm-test.inc (min_subnorm_value): New variable.
30088 (fma_test): Add more tests.
30089 (fma_test_towardzero): Likewise.
30090 (fma_test_downward): Likewise
30091 (fma_test_upward): Likewise.
30092 (initialize): Set min_subnorm_value.
30094 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30099 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30100 mode for addition resulting in exact zero.
30101 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30104 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30106 * math/libm-test.inc (fma_test): Add more tests.
30107 (fma_test_towardzero): New function.
30108 (fma_test_downward): Likewise.
30109 (fma_test_upward): Likewise.
30110 (main): Call the new functions.
30112 2012-09-28 David S. Miller <davem@davemloft.net>
30114 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30116 2012-09-28 Roland McGrath <roland@hack.frob.com>
30118 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30119 instead of SIGALRM.
30121 * sysdeps/gnu/_G_config.h: Moved to ...
30122 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30123 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30124 * sysdeps/generic/_G_config.h: ... here.
30126 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30128 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30130 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30131 Conditionalize target on [libnss_test1.so-version].
30133 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30135 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30136 (elfobjdir): Move out of conditionals.
30138 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30139 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30140 (__nss_lookup_function): Conditionalize label remove_from_tree on
30141 [!DO_STATIC_NSS || SHARED], matching its only use.
30143 2012-09-28 David S. Miller <davem@davemloft.net>
30145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30146 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30148 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30150 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30152 when HWCAP_SPARC_CRYPTO is present.
30154 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30156 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30158 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30161 * stdio-common/vfprintf.c (process_string_arg): Revert
30164 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30166 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30168 * stdio-common/tst-sprintf.c: Include <locale.h>
30169 (main): Test sprintf's handling of incomplete multibyte
30172 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30174 * elf/dl-runtime.c (VERSYMIDX): Removed.
30175 * elf/dl-version.c (VERSYMIDX): Likewise.
30176 * elf/do-rel.h (VERSYMIDX): Likewise.
30177 (VALIDX): Likewise.
30178 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30179 * elf/rtld.c (VALIDX): Likewise.
30180 (ADDRIDX): Likewise.
30181 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30182 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30183 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30184 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30185 (VALIDX): Likewise.
30186 (ADDRIDX): Likewise.
30188 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30190 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30192 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30195 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30197 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30198 addresses are in the same scope as 192.0.2/24.
30199 * posix/gai.conf: Document new scope table defaults.
30201 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30204 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30205 for ftell. Compute offsets from write pointers instead.
30206 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30208 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30211 * libio/Makefile (tests): New test case tst-fseek.
30212 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30213 combination works in wide mode.
30214 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30215 state when the external buffer state changes.
30217 2012-09-27 David S. Miller <davem@davemloft.net>
30220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30221 pass reloc->r_addend in as the 'high' argument to
30222 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30226 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30228 * rt/tst-aio2.c: Include <pthread.h>.
30229 * rt/tst-aio3.c: Likewise.
30231 2012-09-27 Steve Ellcey <sellcey@mips.com>
30233 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30235 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30237 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30238 contents on [SHARED].
30240 2012-09-26 Marek Polacek <polacek@redhat.com>
30244 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30245 for C++ and GCC <4.3 as well as for non GCC compilers.
30247 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30251 2012-09-25 Roland McGrath <roland@hack.frob.com>
30253 * Makefile.in (all, install): Declare with .PHONY.
30254 Reported by Michael Hope <michael.hope@linaro.org>.
30256 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30258 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30259 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30261 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30263 (sydep_routines): Add the new and the internal functions.
30264 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30265 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30267 (GLIBC_2.17): Add the new function.
30268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30269 (GLIBC_2.17): Likewise.
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30271 (GLIBC_2.17): Likewise.
30272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30273 (GLIBC_2.17): Likewise.
30274 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30276 2012-09-25 Alan Modra <amodra@gmail.com>
30278 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30279 Add release barrier before setting once_control to say
30280 initialisation is done. Add hints on lwarx. Use macro in
30282 (clear_once_control): Add release barrier.
30284 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30287 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30289 * math/s_clog10.c (__clog10): Likewise.
30290 * math/s_clog10f.c (__clog10f): Likewise.
30291 * math/s_clog10l.c (__clog10l): Likewise.
30292 * math/s_clogf.c (__clogf): Likewise.
30293 * math/s_clogl.c (__clogl): Likewise.
30294 * math/Makefile (libm-calls): Add x2y2m1.
30295 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30296 (__x2y2m1): Likewise.
30297 (__x2y2m1l): Likewise.
30298 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30299 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30300 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30301 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30302 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30303 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30304 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30305 * sysdeps/i386/fpu/libm-test-ulps: Update.
30306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30309 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30310 int as type of variable DEPTH.
30311 (glob): Use size_t instead of int as type of variables NEWCOUNT
30314 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30316 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30317 Add s_sincosf-sse2.
30318 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30319 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30320 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30321 macros for using routine as __sincosf_ia32.
30322 Use macro for function declaration and weak_alias.
30323 * sysdeps/i386/fpu/libm-test-ulps: Update.
30325 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30328 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30329 subnormal argument.
30330 * math/s_cexpf.c (__cexpf): Likewise.
30331 * math/s_csinf.c (__csinf): Likewise.
30332 * math/s_csinhf.c (__csinhf): Likewise.
30333 * math/s_ctanf.c (__ctanf): Likewise.
30334 * math/s_ctanhf.c (__ctanhf): Likewise.
30335 * math/s_ccosh.c (__ccoshf): Likewise.
30336 * math/s_cexp.c (__cexpl): Likewise.
30337 * math/s_csin.c (__csin): Likewise.
30338 * math/s_csinh.c (__csinh): Likewise.
30339 * math/s_ctan.c (__ctan): Likewise.
30340 * math/s_ctanh.c (ctanh): Likewise.
30341 * math/s_ccoshl.c (__ccoshl): Likewise.
30342 * math/s_cexpl.c (__cexpl): Likewise.
30343 * math/s_csinl.c (__csinl): Likewise.
30344 * math/s_csinhl.c (__csinhl): Likewise.
30345 * math/s_ctanl.c (__ctanl): Likewise.
30346 * math/s_ctanhl.c (__ctanhl): Likewise.
30348 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30350 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30351 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30352 (_IO_off_t): Define to __off_t, not _G_off_t.
30353 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30354 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30355 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30356 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30357 type of __dummy and __dummy2 fields.
30358 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30359 (_G_ssize_t): Likewise.
30360 (_G_off_t): Likewise.
30361 (_G_pid_t): Likewise.
30362 (_G_uid_t): Likewise.
30363 (_G_wchar_t): Likewise.
30364 (_G_wint_t): Likewise.
30365 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30366 (_G_ssize_t): Likewise.
30367 (_G_off_t): Likewise.
30368 (_G_pid_t): Likewise.
30369 (_G_uid_t): Likewise.
30370 (_G_wchar_t): Likewise.
30371 (_G_wint_t): Likewise.
30372 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30373 (_G_ssize_t): Likewise.
30374 (_G_off_t): Likewise.
30375 (_G_pid_t): Likewise.
30376 (_G_uid_t): Likewise.
30377 (_G_wchar_t): Likewise.
30378 (_G_wint_t): Likewise.
30380 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30382 * malloc/arena.c: Include malloc-sysdep.h.
30383 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30384 is sufficient to shrink the heap or an unmap is needed.
30385 * sysdeps/generic/malloc-sysdep.h: New file. Define
30386 new function check_may_shrink_heap.
30387 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30388 new function check_may_shrink_heap.
30390 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30392 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30395 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30397 * catgets/test-gencat.sh: Add "set -e".
30398 * elf/tst-pathopt.sh: Likewise.
30399 * grp/tst_fgetgrent.sh: Likewise.
30400 * iconvdata/run-iconv-test.sh: Likewise.
30401 * intl/tst-gettext.sh: Likewise.
30402 * intl/tst-gettext2.sh: Likewise.
30403 * intl/tst-gettext4.sh: Likewise.
30404 * intl/tst-gettext6.sh: Likewise.
30405 * intl/tst-translit.sh: Likewise.
30406 * io/ftwtest-sh: Likewise.
30407 * libio/test-freopen.sh: Likewise.
30408 * malloc/tst-mtrace.sh: Likewise.
30409 * posix/globtest.sh: Likewise.
30410 * posix/tst-getconf.sh: Likewise.
30411 * posix/wordexp-tst.sh: Likewise.
30412 * stdio-common/tst-printf.sh: Likewise.
30413 * stdio-common/tst-unbputc.sh: Likewise.
30414 * stdlib/tst-fmtmsg.sh: Likewise.
30415 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30416 * catgets/Makefile: Do not specify -e option when running
30417 testsuite shell scripts.
30418 * elf/Makefile: Likewise.
30419 * grp/Makefile: Likewise.
30420 * iconvdata/Makefile: Likewise.
30421 * intl/Makefile: Likewise.
30422 * io/Makefile: Likewise.
30423 * libio/Makefile: Likewise.
30424 * malloc/Makefile: Likewise.
30425 * posix/Makefile: Likewise.
30426 * stdio-common/Makefile: Likewise.
30427 * stdlib/Makefile: Likewise.
30428 * sysdeps/x86_64/Makefile: Likewise.
30430 * io/ftwtest-sh: Add copyright header.
30431 * posix/globtest.sh: Likewise.
30432 * posix/tst-getconf.sh: Likewise.
30433 * posix/wordexp-tst.sh: Likewise.
30434 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30436 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30439 * Makeconfig (+link): Defined as $(+link-static) if
30440 $(build-shared) isn't yes.
30441 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30443 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30445 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30448 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30449 new chunk size with MALLOC_ALIGN_MASK.
30451 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30454 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30456 (__printf_fphex): Determine rounding using get_rounding_mode and
30458 * stdio-common/tst-printf-round.c (struct hex_test): New
30460 (hex_tests): New variable.
30461 (test_hex_in_one_mode): New function.
30462 (do_test): Also run tests for hex float output.
30464 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30466 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30467 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30468 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30469 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30470 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30471 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30472 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30473 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30475 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30477 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30478 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30479 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30480 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30482 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30485 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30487 * elf/tst-rtld-load-self.sh: New test.
30488 * elf/Makefile: Run it.
30490 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30492 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30493 (tst-writev-ENV): Remove.
30494 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30496 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30498 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30500 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30502 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30504 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30506 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30507 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30508 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30511 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30514 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30515 * config.make.in (have-cpp-asm-debuginfo): Removed.
30516 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30517 * configure: Regenerated.
30519 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30522 * stdio-common/printf_fp.c: Include <stdbool.h> and
30524 (___printf_fp): Determine rounding using get_rounding_mode and
30526 * stdio-common/tst-printf-round.c: New file.
30527 * stdio-common/Makefile (tests): Add tst-printf-round.
30528 (link-libm): New variable.
30529 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30531 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30534 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30535 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30537 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30540 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30542 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30543 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30544 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30545 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30547 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30550 * include/rounding-mode.h: New file.
30551 * sysdeps/generic/get-rounding-mode.h: Likewise.
30552 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30553 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30554 (MAX_VALUE): New macro.
30555 (MIN_VALUE): Likewise.
30556 (overflow_value): New function.
30557 (underflow_value): Likewise.
30558 (round_and_return): Use overflow_value and underflow_value to
30559 determine return values in overflow and underflow cases. Use
30560 round_away to determine rounding depending on rounding mode.
30561 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30562 determine return values in overflow and underflow cases.
30563 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30564 (struct test_results): New structure.
30565 (struct test): Use struct test_results to store expected results
30566 for all rounding modes.
30567 (TEST): Include expected results for all rounding modes.
30568 (test_in_one_mode): New function.
30569 (do_test): Use test_in_one_mode to compute and check results.
30570 Check results for all rounding modes.
30571 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30574 2012-12-09 Allan McRae <allan@archlinux.org>
30576 * sysdeps/i386/fpu/libm-test-ulps: Update
30578 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30580 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30581 (_G_int32_t): Likewise.
30582 (_G_uint16_t): Likewise.
30583 (_G_uint32_t): Likewise.
30584 (_G_HAVE_BOOL): Likewise.
30585 (_G_HAVE_ATEXIT): Likewise.
30586 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30587 (_G_HAVE_IO_FILE_OPEN): Likewise.
30588 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30589 (_G_int32_t): Likewise.
30590 (_G_uint16_t): Likewise.
30591 (_G_uint32_t): Likewise.
30592 (_G_HAVE_BOOL): Likewise.
30593 (_G_HAVE_ATEXIT): Likewise.
30594 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30595 (_G_HAVE_IO_FILE_OPEN): Likewise.
30596 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30597 (_G_int32_t): Likewise.
30598 (_G_uint16_t): Likewise.
30599 (_G_uint32_t): Likewise.
30600 (_G_HAVE_BOOL): Likewise.
30601 (_G_HAVE_ATEXIT): Likewise.
30602 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30603 (_G_HAVE_IO_FILE_OPEN): Likewise.
30605 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30607 * csu/libc-tls.c: Update copyright years.
30609 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30611 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30612 [!_G_USING_THUNKS]: Remove conditional code.
30613 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30614 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30616 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30617 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30618 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30619 (_G_VTABLE_LABEL_PREFIX): Likewise.
30620 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30621 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30622 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30623 (_G_VTABLE_LABEL_PREFIX): Likewise.
30624 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30625 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30626 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30627 (_G_VTABLE_LABEL_PREFIX): Likewise.
30628 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30630 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30632 * libio/Makefile: Include ../Makeconfig before tests.
30633 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30634 only if $(build-shared) is yes.
30636 * iconv/gconv_db.c: Update copyright years.
30638 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30640 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30641 unwind info if defined PIC. Fix special cases description.
30642 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30644 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30646 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30648 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30650 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30652 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30655 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30656 (LDLIBS-tst-chk4): This.
30657 (LDFLAGS-tst-chk5): Renamed to ...
30658 (LDLIBS-tst-chk5): This.
30659 (LDFLAGS-tst-chk6): Renamed to ...
30660 (LDLIBS-tst-chk6): This.
30661 (LDFLAGS-tst-lfschk4): Renamed to ...
30662 (LDLIBS-tst-lfschk4): This.
30663 (LDFLAGS-tst-lfschk5): Renamed to ...
30664 (LDLIBS-tst-lfschk5): This.
30665 (LDFLAGS-tst-lfschk6): Renamed to ...
30666 (LDLIBS-tst-lfschk6): This.
30668 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30669 on $(common-objpfx)soversions.mk.
30671 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30674 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30677 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30679 * malloc/arena.c (arena_get_retry): New function that gets
30680 another arena for the caller to try its request on.
30681 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30682 current arena cannot fulfill the request.
30683 (__libc_memalign): Likewise.
30684 (__libc_memalign): Likewise.
30685 (__libc_pvalloc): Likewise.
30686 (__libc_calloc): Likewise.
30688 2012-09-05 John Tobey <john.tobey@gmail.com>
30691 * manual/arith.texi (Operations on Complex): Fix description
30692 of carg branch cut.
30694 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30697 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30701 * manual/memory.texi (Memory): Make order of menu items match
30704 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30706 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30707 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30708 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30710 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30712 * csu/libc-tls.c (static_dtv): Renamed to ...
30713 (_dl_static_dtv): This. Make it global.
30714 (_dl_initial_dtv): Removed.
30715 (__libc_setup_tls): Updated.
30716 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30717 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30720 2012-09-06 Petr Machata <pmachata@redhat.com>
30722 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30723 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30724 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30725 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30727 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30730 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30731 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30734 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30737 * Makeconfig (link-static-before-libc): Replace $(+prector)
30739 (link-static-after-libc): Replace $(+postctor) with
30741 (link-bounded): Replace $(+prector)/$(+postctor) with
30742 $(+prectorT)/$(+postctorT).
30743 (+prectorT): New macro.
30744 (+postctorT): Likewise.
30746 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30748 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30749 (round_str): Handle values above the maximum for IBM long double
30751 * stdlib/tst-strtod-round.c (tests): Regenerated.
30753 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30755 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30757 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30758 zarch_nohighgprs around the zarch optimized routines.
30759 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30760 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30761 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30764 2012-09-05 David S. Miller <davem@davemloft.net>
30766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30768 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30769 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30770 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30771 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30774 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30776 * malloc/arena.c: Fold copyright years.
30777 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30779 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30781 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30783 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30785 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30787 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30789 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30790 change internal state upon failure.
30792 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30794 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30795 * malloc/memusage.c (mmap): Likewise.
30796 (mmap64, mremap): Likewise. Adjust name in comment.
30798 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30800 * libio/fileops.c: Fix typos in comments.
30801 * libio/oldfileops.c: Likewise.
30802 * libio/wfileops.c: Likewise.
30804 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30807 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30808 (tst-malloc-usable-ENV): Set environment for test case.
30809 * malloc/hooks.c (malloc_check_get_size): New function to get
30811 * malloc/malloc.c (musable): Use malloc_check_get_size.
30812 * malloc/tst-malloc-usable.c: New test case.
30814 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30816 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30818 2012-09-05 Allan McRae <allan@archlinux.org>
30821 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30822 determine header location.
30823 * configure: Regenerated.
30825 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30827 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30829 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30830 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30832 (test): Regenerate.
30834 2012-09-04 David S. Miller <davem@davemloft.net>
30836 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30837 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30838 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30840 2012-09-04 Florian Weimer <fweimer@redhat.com>
30842 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30845 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30847 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30850 * libio/iogetdelim.c: Include <limits.h>.
30851 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30852 + len + 1 would overflow.
30854 2012-09-03 Andreas Jaeger <aj@suse.de>
30856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30857 * sysdeps/i386/fpu/libm-test-ulps: Update.
30859 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30861 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30862 Add s_sinf-sse2, s_conf-sse2.
30864 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30865 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30866 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30867 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30869 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30870 for using routine as __sinf_ia32.
30871 Use macro for function declaration and weak_alias.
30872 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30873 for using routine as __cosf_ia32.
30874 Use macro for function declaration and weak_alias.
30876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30877 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30879 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30880 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30883 * math/libm-test.inc (cos_test): Add more test cases.
30884 (sin_test): Likewise.
30885 (sincos_test): Likewise.
30887 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30889 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30890 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30892 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30894 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30897 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30898 first element of the GOT.
30899 (elf_machine_load_address): Return the difference between
30900 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30902 2012-09-01 Allan McRae <allan@archlinux.org>
30905 * configure.in (AWK): Require gawk version 3.0 or later.
30906 * configure: Regenerated.
30908 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30910 * sysdeps/unix/sysv/linux/kernel-features.h
30911 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30912 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30913 [__NR_clock_getres]: Make code unconditional.
30914 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30915 (clock_getcpuclockid): Remove code left unreachable by removal of
30917 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30918 code unconditional.
30919 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30920 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30921 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30922 Make code unconditional.
30923 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30924 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30925 * sysdeps/unix/sysv/linux/clock_settime.c
30926 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30928 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30929 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30931 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30934 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30935 scripts/test-installation.pl.
30937 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30938 and $ld_so_version if it is set.
30940 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30944 failure if reading from procfs failed.
30945 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30947 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30949 * sysdeps/unix/sysv/linux/kernel-features.h
30950 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30951 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30952 Remove conditional code.
30953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30954 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30955 Remove conditional code.
30956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30957 * sysdeps/unix/sysv/linux/i386/fxstat.c
30958 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30960 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30961 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30963 * sysdeps/unix/sysv/linux/i386/lxstat.c
30964 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30966 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30967 Remove conditional code.
30968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30969 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30970 Remove conditional code.
30971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30972 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30973 <kernel-features.h>.
30974 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30976 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30977 Remove conditional code.
30978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30979 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30980 Remove conditional.
30982 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30985 * NEWS: Add fixed bug number.
30987 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30990 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30991 underflowing exponent in case of negative sign.
30992 * stdlib/tst-strtod-round-data: Add more tests.
30993 * stdlib/tst-strtod-round.c (tests): Regenerated.
30996 * stdlib/strtod_l.c (NDIG): Remove.
30997 (HEXNDIG): Likewise.
30998 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30999 smallest representable value.
31000 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31001 lie within an exact representation of 1/2 ulp of the result.
31002 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31004 (TENS_P9_IDX): Define unconditionally.
31005 (TENS_P9_SIZE): Likewise.
31006 (TENS_P10_IDX): Likewise.
31007 (TENS_P10_SIZE): Likewise.
31008 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31009 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31010 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31011 entries for 10^2^13 and 10^2^14.
31012 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31013 (TENS_P13_IDX): Define.
31014 (TENS_P13_SIZE): Likewise.
31015 (TENS_P14_IDX): Likewise.
31016 (TENS_P14_SIZE): Likewise.
31017 (_fpioconst_pow10): Change array size to
31018 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31020 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31021 1024]: Add entries for 10^2^13 and 10^2^14.
31022 [LAST_POW10 > _LAST_POW10]: Remove #error.
31023 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31024 (_fpioconst_pow10): Change array size to
31025 FPIOCONST_POW10_ARRAY_SIZE.
31026 * stdlib/gen-fpioconst.c: New file.
31027 * stdlib/gen-tst-strtod-round.c: Likewise.
31028 * stdlib/tst-strtod-round-data: Likewise.
31029 * stdlib/tst-strtod-round.c: Likewise.
31030 * stdlib/Makefile (tests): Add tst-strtod-round.
31033 * stdlib/strtod_l.c: Include <stdint.h>.
31034 (NDEBUG): Do not define.
31035 (round_and_return): Change EXPONENT parameter to type intmax_t.
31036 Rearrange calculations to avoid internal overflow possibilities.
31037 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31038 Rearrange calculations to avoid internal overflow possibilities.
31039 Assert that number fits inside MPNSIZE limbs.
31040 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31041 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31042 calculations and add assertions to avoid internal overflow
31043 possibilities. Add casts to avoid signed/unsigned operations.
31044 * stdlib/tst-strtod-overflow.c: New file.
31045 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31047 2012-08-25 Marek Polacek <polacek@redhat.com>
31049 * time/time.h: Fix some typos in comments.
31051 2012-08-23 Roland McGrath <roland@hack.frob.com>
31053 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31054 * posix/tst-rfc3484-2.c: Likewise.
31055 * posix/tst-rfc3484-3.c: Likewise.
31057 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31059 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31060 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31062 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31064 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31065 #include of fxstatat64.c.
31067 2012-08-22 Roland McGrath <roland@hack.frob.com>
31069 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31070 * shadow/getspent_r.c: Likewise.
31071 * shadow/getspnam.c: Likewise.
31072 * shadow/getspnam_r.c: Likewise.
31073 * gshadow/getsgent.c: Likewise.
31074 * gshadow/getsgent_r.c: Likewise.
31075 * gshadow/getsgnam.c: Likewise.
31076 * gshadow/getsgnam_r.c: Likewise.
31077 * inet/getnetbyad.c: Likewise.
31078 * inet/getnetbyad_r.c: Likewise.
31079 * inet/getnetbynm.c: Likewise.
31080 * inet/getnetbynm_r.c: Likewise.
31081 * inet/getnetent.c: Likewise.
31082 * inet/getnetent_r.c: Likewise.
31083 * inet/getproto.c: Likewise.
31084 * inet/getproto_r.c: Likewise.
31085 * inet/getprtent.c: Likewise.
31086 * inet/getprtent_r.c: Likewise.
31087 * inet/getprtname.c: Likewise.
31088 * inet/getprtname_r.c: Likewise.
31089 * inet/getrpcbyname.c: Likewise.
31090 * inet/getrpcbyname_r.c: Likewise.
31091 * inet/getrpcbynumber.c: Likewise.
31092 * inet/getrpcbynumber_r.c: Likewise.
31093 * inet/getrpcent.c: Likewise.
31094 * inet/getrpcent_r.c: Likewise.
31095 * inet/getaliasent.c: Likewise.
31096 * inet/getaliasent_r.c: Likewise.
31097 * inet/getaliasname.c: Likewise.
31098 * inet/getaliasname_r.c: Likewise.
31099 * nscd/getgrgid_r.c: Likewise.
31100 * nscd/getgrnam_r.c: Likewise.
31101 * nscd/gethstbyad_r.c: Likewise.
31102 * nscd/gethstbynm3_r.c: Likewise.
31103 * nscd/getpwnam_r.c: Likewise.
31104 * nscd/getpwuid_r.c: Likewise.
31105 * nscd/getsrvbynm_r.c: Likewise.
31106 * nscd/getsrvbypt_r.c: Likewise.
31107 * nscd/gai.c: Likewise.
31109 * configure.in (build_nscd): New substituted variable, set
31110 by --disable-build-nscd and defaults to $use_nscd.
31111 * configure: Regenerated.
31112 * config.make.in (build-nscd): New substituted variable.
31113 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31114 Change conditional to require [$(build-nscd) = yes] as well.
31115 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31118 * configure.in (use_nscd): New substituted variable, set by
31119 --disable-nscd. If enabled, define USE_NSCD.
31120 * configure: Regenerated.
31121 * config.h.in: Add USE_NSCD.
31122 * config.make.in (use-nscd): New substituted variable.
31123 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31124 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31125 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31126 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31127 (CFLAGS-getgrnam_r.c): Likewise.
31128 (CFLAGS-initgroups.c): Likewise.
31129 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31130 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31132 * inet/getnetgrent_r.c
31133 (nscd_setnetgrent): New function, broken out of ...
31134 (setnetgrent): ... here. Call it.
31135 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31136 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31137 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31138 * nscd/Makefile (routines, aux): Move definitions after include of
31139 Makeconfig. Conditionalize on [$(use-nscd) != no].
31140 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31141 Conditionalize on [USE_NSCD].
31142 (is_nscd, nscd_init_cb): Likewise.
31143 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31144 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31145 * nss/nss_db/db-init.c: Likewise.
31146 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31148 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31149 (make_request): Use it.
31150 (cache_valid_p): New function.
31151 (__check_pf): Use it.
31152 * NEWS: Add item for --disable-nscd.
31154 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31156 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31157 to support sed >= 4.2.1-20-ga9bf076.
31158 * configure: Regenerated.
31160 2012-08-22 Roland McGrath <roland@hack.frob.com>
31162 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31163 Conditionalize whole body on [IREL].
31165 2012-08-22 Jeff Law <law@redhat.com>
31168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31169 if the family is PF_UNSPEC.
31171 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31173 * Makerules (lib-version): Rename from V.
31174 (install-lib-nosubdir): Change V to lib-version.
31176 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31179 * powerpc32/power6/wcschr.c: New file.
31180 * powerpc32/power6/wcscpy.c: New file.
31181 * powerpc32/power6/wcsrchr.c: New file.
31182 * powerpc64/power6/wcschr.c: New file.
31183 * powerpc64/power6/wcscpy.c: New file.
31184 * powerpc64/power6/wcsrchr.c: New file.
31186 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31188 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31189 (two_way_short_needle): Use it.
31190 * string/strstr.c (AVAILABLE1_USES_J): Define.
31191 * string/strcasestr.c: Likewise.
31193 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31195 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31198 * NEWS: Add an entry.
31199 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31200 define their defaults.
31201 (two_way_short_needle): Detect end-of-string on-the-fly.
31202 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31203 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31204 * string/bug-strcasestr1.c: New test.
31205 * string/Makefile: Run it.
31207 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31210 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31211 the first character.
31213 2012-08-21 Roland McGrath <roland@hack.frob.com>
31215 * csu/elf-init.c (__libc_csu_irel): Function removed.
31216 * csu/libc-start.c (apply_irel): New function.
31217 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31219 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31221 * sysdeps/unix/sysv/linux/kernel-features.h
31222 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31223 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31224 <kernel-features.h>.
31225 [__NR_fadvise64_64]: Make code unconditional.
31226 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31227 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31228 !__NR_fadvise64_64)]: Likewise.
31229 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31230 !__NR_fadvise64_64))]: Likewise.
31231 [__NR_fadvise64]: Make code unconditional.
31232 [!__NR_fadvise64]: Remove conditional code.
31233 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31234 <kernel-features.h>.
31235 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31237 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31240 not include <kernel-features.h>.
31241 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31243 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31245 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31246 include <kernel-features.h>.
31247 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31249 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31252 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31254 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31255 slight instruction rearrangements per scrollpipe analysis.
31256 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31258 2012-08-20 Roland McGrath <roland@hack.frob.com>
31260 * manual/syslog.texi (syslog; vsyslog, closelog):
31261 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31262 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31264 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31265 DSOCAPS to match condition on defining it.
31267 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31269 * sysdeps/unix/sysv/linux/kernel-features.h
31270 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31272 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31273 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31275 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31276 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31278 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31279 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31281 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31282 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31284 * sysdeps/unix/sysv/linux/kernel-features.h
31285 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31286 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31288 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31289 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31290 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31291 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31292 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31293 Make code unconditional.
31294 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31295 (__mmap64) [!__NR_mmap2]: Likewise.
31296 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31297 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31298 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31299 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31300 [__NR_mmap2]: Make code unconditional.
31301 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31302 (__mmap64) [!__NR_mmap2]: Likewise.
31304 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31306 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31308 2012-08-18 Andreas Jaeger <aj@suse.de>
31310 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31312 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31314 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31315 * include/unistd.h (__have_sock_cloexec): Likewise.
31316 (__have_pipe2): Likewise.
31317 (__have_dup3): Likewise.
31319 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31322 * include/unistd.h (__have_pipe2): Change define into an extern int.
31323 (__have_dup3): Likewise.
31324 * socket/have_sock_cloexec.c: Include fcntl.h.
31325 (__have_pipe2): New variable.
31326 (__have_dup3): Likewise.
31328 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31330 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31332 2012-08-17 Marek Polacek <polacek@redhat.com>
31334 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31335 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31337 2012-08-17 Roland McGrath <roland@hack.frob.com>
31339 * configure.in: Add AC_SUBST for sysheaders.
31340 * configure: Regenerated.
31341 * config.make.in (sysheaders): New substituted variable.
31343 * sysdeps/unix/mkfifo.c: Moved ...
31344 * sysdeps/posix/mkfifo.c: ... here.
31345 * sysdeps/unix/mkfifoat.c: Moved ...
31346 * sysdeps/posix/mkfifoat.c: ... here.
31348 * sysdeps/unix/utime.c: Moved ...
31349 * sysdeps/posix/utime.c: ... here.
31351 * sysdeps/unix/time.c: Moved ...
31352 * sysdeps/posix/time.c: ... here.
31353 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31354 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31356 * sysdeps/unix/nice.c: Moved ...
31357 * sysdeps/posix/nice.c: ... here.
31359 * sysdeps/unix/alarm.c: Moved ...
31360 * sysdeps/posix/alarm.c: ... here.
31362 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31364 2012-08-17 Jeff Law <law@redhat.com>
31366 * intl/Makefile (codeset_mo): New variable.
31367 ($(codeset_mo)): New target.
31368 (tst-codeset.out): Depend on that. Remove explicit rule.
31369 (tst-gettext3.out, tst-gettext5.out): Likewise.
31370 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31371 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31372 * intl/tst-codeset.sh: Remove.
31373 * intl/tst-gettext3.sh: Likewise.
31374 * intl/tst-gettext5.sh: Likewise.
31376 2012-08-17 Roland McGrath <roland@hack.frob.com>
31378 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31379 * sysdeps/unix/syscalls.list: ... here.
31381 * sysdeps/posix/getaddrinfo.c
31382 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31383 (gaiconf_init, gaiconf_reload): Use them.
31384 [!_STATBUF_ST_NSEC]
31385 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31386 Define using time_t rather than struct timespec.
31388 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31389 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31391 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31393 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31394 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31397 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31398 __libc_cleanup_push argument.
31400 * bits/param.h: New file.
31401 * misc/sys/param.h: New file.
31402 * include/sys/param.h: New file.
31403 * misc/Makefile (headers): Add bits/param.h.
31404 * sysdeps/generic/sys/param.h: File removed.
31405 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31406 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31407 * sysdeps/mach/hurd/bits/param.h: New file.
31408 * sysdeps/mach/hurd/sys/param.h: File removed.
31410 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31413 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31415 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31416 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31419 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31420 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31421 rather than -D_IO_MTSAFE_IO conditionally.
31422 * stdio-common/Makefile (CPPFLAGS): Likewise.
31423 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31424 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31425 Use $(libio-mtsafe).
31426 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31427 of -D_IO_MTSAFE_IO.
31428 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31429 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31430 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31431 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31432 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31433 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31434 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31435 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31436 (CFLAGS-fread_u_chk.c): Likewise.
31437 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31438 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31439 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31440 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31441 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31442 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31443 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31444 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31445 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31447 * libio/Makefile: Test [$(libc-reentrant) = yes]
31448 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31451 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31452 * sysdeps/pthread/configure: File removed.
31453 * sysdeps/pthread/Makeconfig: New file.
31454 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31455 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31457 2012-08-16 Gary Benson <gbenson@redhat.com>
31459 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31460 unmapping the first object in a namespace.
31462 2012-08-16 Roland McGrath <roland@hack.frob.com>
31464 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31465 (__internal_setnetgrent): ... this. Add internal_function to
31466 definition. Add libc_hidden_def.
31467 (setnetgrent): Update caller.
31468 (internal_endnetgrent): Renamed to ...
31469 (__internal_endnetgrent): ... this. Add internal_function to
31470 definition. Add libc_hidden_def.
31471 (endnetgrent): Update caller.
31472 (internal_getnetgrent_r): Renamed to ...
31473 (__internal_getnetgrent_r): ... this. Add internal_function to
31474 definition. Add libc_hidden_def.
31475 (__getnetgrent_r): Update caller.
31476 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31478 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31480 * stdlib/longlong.h: Update from GCC.
31482 2012-08-16 Roland McGrath <roland@hack.frob.com>
31484 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31485 on _QL, which is set by umul_ppmm but never used.
31486 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31487 variables, which are set by GMP macros but never used.
31488 * stdio-common/_itowa.c (_itowa): Likewise.
31489 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31490 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31492 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31494 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31495 struct La_sh_regs is not constant.
31496 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31497 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31498 and struct La_sparc64_regs are not constant.
31500 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31502 * sysdeps/unix/sysv/linux/kernel-features.h
31503 (__ASSUME_POSIX_TIMERS): Remove.
31504 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31506 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31507 Make code unconditional.
31508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31509 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31510 Make code unconditional.
31511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31512 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31513 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31515 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31516 Make code unconditional.
31517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31518 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31519 (__libc_missing_posix_timers): Remove.
31521 2012-08-15 Roland McGrath <roland@hack.frob.com>
31523 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31524 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31526 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31528 * elf/dl-sym.c: Include <stdlib.h>.
31530 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31531 constants, which avoids warnings in 32-bit builds.
31533 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31534 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31536 * misc/lseek.c: File moved to ...
31537 * io/lseek.c: ... here.
31539 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31541 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31542 shifting LEN more than 31 bits at once.
31544 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31547 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31548 segmentation fault for a case of two empty input strings.
31549 * string/test-strncasecmp.c (check1): Renamed to...
31550 (bz12205): ...this.
31551 (bz14195): Add new testcase for two empty input strings and N > 0.
31552 (test_main): Call new testcase, adapt for renamed function.
31554 2012-08-15 Andreas Jaeger <aj@suse.de>
31557 * crypt/md5test2.c: New test, based on test supplied by Serge
31558 Belyshev <belyshev@depni.sinp.msu.ru>.
31559 * crypt/Makefile (xtests): Add md5test-giant..
31560 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31562 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31565 * crypt/md5.c (md5_process_block): Don't assume the buffer
31566 length is less than 2**32.
31567 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31568 length is less than 2**64.
31570 2012-08-15 Roland McGrath <roland@hack.frob.com>
31572 * string/str-two-way.h: Include <sys/param.h>.
31573 (MAX): Macro removed.
31575 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31576 Move #define and #undef of memmove to just before and after
31577 including <string.h>.
31579 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31580 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31581 and after including <string.h>. Move declarations of
31582 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31583 to before #include "string/memmove.c".
31585 * include/dirent.h: Declare __getdirentries.
31587 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31588 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31590 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31592 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31593 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31594 * sysdeps/i386/configure: Regenerated.
31595 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31596 STABS_CURRENT_FILE, and STABS_FUN.
31597 (END): Remove call to STABS_FUN_END.
31598 (STABS_CURRENT_FILE1): Delete.
31599 (STABS_CURRENT_FILE): Likewise.
31600 (STABS_FUN): Likewise.
31601 (STABS_FUN_END): Likewise.
31602 (STABS_FUN2): Likewise.
31603 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31604 * sysdeps/x86_64/configure: Regenerated.
31606 2012-08-14 Roland McGrath <roland@hack.frob.com>
31608 * elf/dl-open.c: Include <atomic.h>.
31609 * elf/dl-lookup.c: Likewise.
31611 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31613 * sysdeps/unix/sysv/linux/kernel-features.h
31614 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31615 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31617 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31619 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31620 condition on __ASSUME_CLONE_THREAD_FLAGS.
31622 2012-08-14 Andreas Jaeger <aj@suse.de>
31624 * sysdeps/i386/fpu/libm-test-ulps: Update.
31626 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31628 * include/atomic.h (atomic_exchange_and_add): Split into ...
31629 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31632 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31636 2012-08-13 Jeff Law <law@redhat.com>
31638 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31639 null byte in the output string.
31641 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31643 * sysdeps/unix/sysv/linux/kernel-features.h
31644 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31645 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31646 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31647 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31648 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31649 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31650 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31652 2012-08-09 Jeff Law <law@redhat.com>
31655 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31656 When avoid_arena is set, don't retry in the that arena. Pick the
31657 next one, whatever it might be.
31658 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31659 (arena_lock): Pass in new parameter to arena_get2.
31660 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31662 (__libc_malloc): Unify retrying after main arena failure with
31663 __libc_memalign version.
31664 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31666 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31669 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31670 to __redirect_strstr.
31671 (__strstr_sse42): Use typeof __redirect_strstr.
31672 (__strstr_ia32): Likewise.
31673 (__libc_strstr): New prototype.
31674 (strstr): Renamed to ...
31675 (__libc_strstr): This.
31676 (strstr): New strong alias of __libc_strstr.
31677 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31678 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31681 (__libc_time): New prototype.
31682 (time_ifunc): Replace time with __libc_time.
31683 (time): New strong alias and hidden definition of __libc_time.
31684 (__GI_time): Remove strong alias.
31685 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31686 Include <stddef.h>.
31687 (memmove): Redefined to __redirect_memmove.
31688 (__memmove_sse2): Use typeof __redirect_memmove.
31689 (__memmove_ssse3): Likewise.
31690 (__memmove_ssse3_back): Likewise.
31691 (__libc_memmove): New prototype.
31692 (memmove): Renamed to ...
31693 (__libc_memmove): This.
31694 (memmove): New strong alias of __libc_memmove.
31696 2012-08-08 Mark Salter <msalter@redhat.com>
31699 (R_MN10300_TLS_GD): Define.
31700 (R_MN10300_TLS_LD): Likewise.
31701 (R_MN10300_TLS_LDO): Likewise.
31702 (R_MN10300_TLS_GOTIE): Likewise.
31703 (R_MN10300_TLS_IE): Likewise.
31704 (R_MN10300_TLS_LE): Likewise.
31705 (R_MN10300_TLS_DTPMOD): Likewise.
31706 (R_MN10300_TLS_DTPOFF): Likewise.
31707 (R_MN10300_TLS_TPOFF): Likewise.
31708 (R_MN10300_SYM_DIFF): Likewise.
31709 (R_MN10300_ALIGN): Likewise.
31710 (R_MN10300_NUM): Update.
31712 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31714 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31717 2012-08-08 Roland McGrath <roland@hack.frob.com>
31719 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31721 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31722 sysdeps/unix -> sysdeps/posix move.
31723 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31725 2012-08-07 Allan McRae <allan@archlinux.org>
31728 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31729 (SUNOS_CPP): Likewise.
31730 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31732 (open_input): Call CPP using execvp.
31734 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31736 * sysdeps/unix/sysv/linux/kernel-features.h
31737 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31738 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31739 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31740 (__ASSUME_WAITID_SYSCALL): Likewise.
31741 * sysdeps/unix/sysv/linux/dl-execstack.c
31742 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31743 code unconditional.
31744 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31746 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31747 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31748 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31750 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31752 [__ASSUME_WAITID_SYSCALL]: Likewise.
31753 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31755 2012-08-07 Roland McGrath <roland@hack.frob.com>
31757 * sysdeps/unix/closedir.c: Renamed to ...
31758 * sysdeps/posix/closedir.c: ... here.
31759 * sysdeps/unix/dirfd.c: Renamed to ...
31760 * sysdeps/posix/dirfd.c: ... here.
31761 * sysdeps/unix/dirstream.h: Renamed to ...
31762 * sysdeps/posix/dirstream.h: ... here.
31763 * sysdeps/unix/fdopendir.c: Renamed to ...
31764 * sysdeps/posix/fdopendir.c: ... here.
31765 * sysdeps/unix/opendir.c: Renamed to ...
31766 * sysdeps/posix/opendir.c: ... here.
31767 * sysdeps/unix/readdir.c: Renamed to ...
31768 * sysdeps/posix/readdir.c: ... here.
31769 * sysdeps/unix/readdir_r.c: Renamed to ...
31770 * sysdeps/posix/readdir_r.c: ... here.
31771 * sysdeps/unix/rewinddir.c: Renamed to ...
31772 * sysdeps/posix/rewinddir.c: ... here.
31773 * sysdeps/unix/seekdir.c: Renamed to ...
31774 * sysdeps/posix/seekdir.c: ... here.
31775 * sysdeps/unix/telldir.c: Renamed to ...
31776 * sysdeps/posix/telldir.c: ... here.
31777 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31778 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31779 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31780 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31782 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31783 * bits/fcntl.h: ... here.
31785 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31787 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31788 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31789 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31790 (struct flock): Move l_start, l_len to the beginning.
31791 Use __pid_t for l_pid.
31792 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31793 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31794 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31795 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31796 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31797 [__USE_LARGEFILE64] (struct flock64): New type.
31798 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31800 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31801 * bits/dirent.h: ... here.
31803 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31804 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31806 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31809 Change from 2.6.0 to 2.6.16.
31810 * sysdeps/unix/sysv/linux/configure: Regenerated.
31811 * sysdeps/unix/sysv/linux/kernel-features.h
31812 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31813 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31815 (__ASSUME_UTIMES): Likewise.
31816 (__ASSUME_CLONE_STOPPED): Remove.
31817 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31818 architectures, not kernel version.
31819 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31820 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31821 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31822 (__ASSUME_WAITID_SYSCALL): Likewise.
31823 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31824 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31825 * README: State 2.6.16 as minimum Linux kernel version. Do not
31826 refer to older versions.
31828 2012-08-06 Roland McGrath <roland@hack.frob.com>
31830 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31831 Define alphasort64 as an alias.
31832 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31833 Define versionsort64 as an alias.
31834 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31835 Define scandir64 as an alias.
31836 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31837 Define scandirat64 as an alias.
31838 * dirent/alphasort64.c (alphasort64):
31839 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31840 * dirent/versionsort64.c: Likewise.
31841 * dirent/scandir64.c: Likewise.
31842 * dirent/scandirat64.c: Likewise.
31843 * sysdeps/wordsize-64/alphasort.c: File removed.
31844 * sysdeps/wordsize-64/alphasort64.c: File removed.
31845 * sysdeps/wordsize-64/scandir.c: File removed.
31846 * sysdeps/wordsize-64/scandir64.c: File removed.
31847 * sysdeps/wordsize-64/scandirat.c: File removed.
31848 * sysdeps/wordsize-64/scandirat64.c: File removed.
31849 * sysdeps/wordsize-64/versionsort.c: File removed.
31850 * sysdeps/wordsize-64/versionsort64.c: File removed.
31851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31852 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31854 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31856 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31857 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31858 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31860 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31862 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31864 [defined __arch64__ || defined __sparcv9]
31865 (__INO_T_MATCHES_INO64_T): New macro.
31866 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31867 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31868 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31869 * sysdeps/unix/sysv/linux/bits/dirent.h
31870 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31871 (_DIRENT_MATCHES_DIRENT64): New macro.
31873 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31874 Define lockf64 as an alias.
31875 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31876 Define fseeko64 as an alias.
31877 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31878 Define ftello64 as an alias.
31879 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31880 Define _IO_fgetpos64 and fgetpos64 as aliases.
31881 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31882 Define _IO_fsetpos64 and fsetpos64 as aliases.
31883 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31884 Conditionalize body on this.
31885 * libio/fseeko64.c: Likewise.
31886 * libio/ftello64.c: Likewise.
31887 * libio/iofgetpos64.c: Likewise.
31888 * libio/iofsetpos64.c: Likewise.
31889 * sysdeps/wordsize-64/lockf.c: File removed.
31890 * sysdeps/wordsize-64/lockf64.c: File removed.
31891 * sysdeps/wordsize-64/fseeko.c: File removed.
31892 * sysdeps/wordsize-64/fseeko64.c: File removed.
31893 * sysdeps/wordsize-64/ftello.c: File removed.
31894 * sysdeps/wordsize-64/ftello64.c: File removed.
31895 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31896 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31897 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31898 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31900 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31902 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31904 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31906 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31907 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31908 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31910 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31912 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31914 [defined __arch64__ || defined __sparcv9]
31915 (__OFF_T_MATCHES_OFF64_T): New macro.
31916 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31917 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31919 (__OFF_T_MATCHES_OFF64_T): New macro.
31921 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31923 * stdlib/secure-getenv.c (__secure_getenv): Replace
31924 GLIBC_2_16 with GLIBC_2_17.
31926 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31928 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31929 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31931 2012-08-03 David S. Miller <davem@davemloft.net>
31933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31935 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31937 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31939 (__ASSUME_CORRECT_SI_PID): Likewise.
31940 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31941 (__ASSUME_TMPFS_NAME): Likewise.
31942 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31943 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31944 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31945 (HAVE_AUX_SECURE): Make definition unconditional.
31946 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31947 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31949 2012-08-03 Roland McGrath <roland@hack.frob.com>
31951 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31952 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31953 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31954 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31955 __eloop_threshold instead of SYMLOOP_MAX.
31957 * sysdeps/generic/eloop-threshold.h: New file.
31958 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31960 * elf/chroot_canon.c (chroot_canon): Likewise.
31962 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31966 Change to 2.6.0 everywhere.
31967 * sysdeps/unix/sysv/linux/configure: Regenerated.
31968 * sysdeps/unix/sysv/linux/kernel-features.h
31969 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31970 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31972 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31973 (__ASSUME_FUTEX_REQUEUE): Remove.
31974 (__ASSUME_STATFS64): Define unconditionally.
31975 (__ASSUME_AT_SECURE): Likewise.
31976 (__ASSUME_CORRECT_SI_PID): Likewise.
31977 (__ASSUME_TGKILL): Define without depending on kernel version for
31979 (__ASSUME_UTIMES): Likewise.
31980 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31982 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31983 (__ASSUME_TMPFS_NAME): Likewise.
31984 * README: Update reference to Linux kernel versions.
31986 2012-08-02 Marek Polacek <polacek@redhat.com>
31989 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31990 libc_cv_asm_type_prefix with %.
31991 * configure: Regenerated.
31992 * include/libc-symbols.h: Remove comment about
31993 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31994 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31995 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31996 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31997 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31998 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31999 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32000 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32001 * elf/tst-unique2mod1.c: Likewise.
32002 * elf/tst-unique1mod2.c: Likewise.
32003 * elf/tst-unique1mod1.c: Likewise.
32004 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32005 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32006 Replace ASM_TYPE_DIRECTIVE with .type.
32007 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32008 * sysdeps/i386/sysdep.h: Likewise.
32009 * sysdeps/x86_64/sysdep.h: Likewise.
32010 * sysdeps/sh/sysdep.h: Likewise.
32011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32012 Do not define ASM_TYPE_DIRECTIVE.
32013 * sysdeps/powerpc/sysdep.h: Likewise.
32014 * sysdeps/powerpc/powerpc32/sysdep.h:
32015 Replace ASM_TYPE_DIRECTIVE with .type.
32016 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32017 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32018 * sysdeps/i386/fpu/e_powf.S: Likewise.
32019 * sysdeps/i386/fpu/e_expl.S: Likewise.
32020 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32021 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32022 * sysdeps/i386/fpu/e_pow.S: Likewise.
32023 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32024 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32025 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32026 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32027 * sysdeps/i386/fpu/e_log2.S: Likewise.
32028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32029 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32030 * sysdeps/i386/fpu/e_powl.S: Likewise.
32031 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32032 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32033 * sysdeps/i386/fpu/e_logl.S: Likewise.
32034 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32035 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32036 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32037 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32038 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32039 * sysdeps/i386/fpu/e_log.S: Likewise.
32040 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32041 * sysdeps/i386/fpu/e_logf.S: Likewise.
32042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32044 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32045 * sysdeps/i386/fpu/e_log10.S: Likewise.
32046 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32047 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32048 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32049 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32050 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32051 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32052 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32053 * sysdeps/i386/i686/strtok.S: Likewise.
32054 * sysdeps/i386/i386-mcount.S: Likewise.
32055 * sysdeps/i386/strtok.S: Likewise.
32056 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32057 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32058 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32059 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32060 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32061 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32062 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32063 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32064 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32065 * sysdeps/x86_64/_mcount.S: Likewise.
32066 * sysdeps/x86_64/strtok.S: Likewise.
32067 * sysdeps/sh/_mcount.S: Likewise.
32069 2012-08-01 Roland McGrath <roland@hack.frob.com>
32071 * libio/iofopen.c: Include <fcntl.h>.
32072 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32073 (_IO_fopen64, fopen64): Define as aliases.
32074 * libio/iofopen64.c: Include <fcntl.h>.
32075 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32076 Conditionalize body on this.
32077 * sysdeps/wordsize-64/iofopen.c: File removed.
32078 * sysdeps/wordsize-64/iofopen64.c: File removed.
32080 2012-08-01 Marek Polacek <polacek@redhat.com>
32082 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32083 Use dlfcn directly instead of a variable.
32084 (binfmt-subdir): Do not define.
32087 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32090 Remove all definitions.
32091 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32092 <kernel-features.h>.
32093 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32094 (miss_F_GETOWN_EX): Remove all definitions.
32095 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32097 [!__ASSUME_FCNTL64]: Remove conditional code.
32098 [__ASSUME_FCNTL64]: Make code unconditional.
32099 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32100 <kernel-features.h>.
32101 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32102 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32103 (lockf64) [__NR_fcntl64]: Make code unconditional.
32104 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32106 * sysdeps/unix/sysv/linux/kernel-features.h
32107 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32108 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32109 Make code unconditional.
32110 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32111 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32113 [__NR_vfork]: Make code unconditional.
32114 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32115 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32117 [__NR_vfork]: Make code unconditional.
32118 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32119 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32121 2012-08-01 Roland McGrath <roland@hack.frob.com>
32123 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32124 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32126 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32127 Define mkstemp64 as an alias.
32128 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32129 Define mkstemps64 as an alias.
32130 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32131 Define mkostemp64 as an alias.
32132 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32133 Define mkostemps64 as an alias.
32134 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32135 Conditionalize body on this.
32136 * misc/mkostemp64.c: Likewise.
32137 * misc/mkostemps64.c: Likewise.
32138 * misc/mkstemps64.c: Likewise.
32139 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32140 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32141 * sysdeps/wordsize-64/mkostemp.c: File removed.
32142 * sysdeps/wordsize-64/mkstemp.c: File removed.
32143 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32145 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32149 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32150 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32151 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32152 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32154 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32155 compat_symbol macros from <shlib-compat.h> rather than the underlying
32156 default_symbol_version and symbol_version macros, so that DEFAULT
32157 lines in shlib-versions are respected.
32158 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32160 2012-08-01 Florian Weimer <fweimer@redhat.com>
32162 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32163 Declare with warn_unused_result.
32164 (setgid, setregid, setegid, setresgid): Likewise.
32165 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32167 * WUR-REPORT: Remove set*id functions.
32169 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32171 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32173 2012-07-31 Roland McGrath <roland@hack.frob.com>
32176 * include/sys/socket.h (__libc_accept, __libc_accept4):
32177 Add attribute_hidden.
32178 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32180 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32182 * inet/getnetgrent_r.c (setup): Likewise.
32184 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32186 2012-07-31 David S. Miller <davem@davemloft.net>
32188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32190 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32193 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32194 value between 1.0 and 2.0 and smaller part has absolute value less
32196 * math/s_clog10.c (__clog10): Likewise.
32197 * math/s_clog10f.c (__clog10f): Likewise.
32198 * math/s_clog10l.c (__clog10l): Likewise.
32199 * math/s_clogf.c (__clogf): Likewise.
32200 * math/s_clogl.c (__clogl): Likewise.
32201 * math/libm-test.inc (clog_test): Add more tests.
32202 (clog10_test): Likewise.
32203 * sysdeps/i386/fpu/libm-test-ulps: Update.
32204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32206 2012-07-31 Florian Weimer <fweimer@redhat.com>
32208 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32209 Exit with zero in case no suitable GID is found, and write a
32210 message to standard error.
32212 2012-07-30 Roland McGrath <roland@hack.frob.com>
32214 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32216 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32217 (MAXPATHLEN): Removed.
32218 (NOGROUP, NODEV): New macros.
32219 (setbit, clrbit, isset, isclr): New macros.
32220 (howmany, roundup, powerof2): New macros.
32221 (DEV_BSIZE): New macro.
32223 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32224 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32226 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32227 definition on [!__NO_LONG_DOUBLE_MATH].
32229 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32230 PTR_MANGLE and PTR_DEMANGLE.
32232 * socket/accept4.c (accept4): Rename to __libc_accept4.
32233 Define accept4 as a weak alias.
32235 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32236 on [_DIRENT_HAVE_D_TYPE].
32237 * io/ftw.c (ftw_dir): Likewise.
32239 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32241 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32243 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32244 Use the BSD numbers rather than the arbitrary ones we had.
32245 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32246 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32247 (SIGXCPU, SIGXFSZ): New macros.
32250 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32251 initializer on [_LIBC_REENTRANT].
32253 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32254 definitions inside [_POSIX_MAPPED_FILES].
32256 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32258 * dirent/opendir.c: Include <fcntl.h>.
32260 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32261 (__libc_getspecific): Likewise.
32262 (__libc_key_create): Likewise.
32264 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32265 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32266 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32267 (tmpfile64): Define as alias.
32268 * sysdeps/wordsize-64/tmpfile.c: File removed.
32269 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32270 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32271 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32273 * stdio-common/vfscanf.c: Include <stdbool.h>.
32274 * nss/makedb.c: Likewise.
32275 * stdio-common/_i18n_number.h: Likewise.
32276 * argp/argp-help.c: Likewise.
32277 * posix/wordexp.c: Likewise.
32278 * sysdeps/posix/spawni.c: Likewise.
32279 * nss/nss_files/files-initgroups.c: Likewise.
32280 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32281 * nss/nss_files/files-initgroups.c: Likewise.
32282 * nss/nss_db/db-netgrp.c: Likewise.
32283 * nss/nss_db/db-initgroups.c: Likewise.
32284 * io/fchmodat.c: Include <sys/stat.h>.
32286 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32287 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32289 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32292 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32293 Add multiple inclusion protection.
32295 2012-07-27 David S. Miller <davem@davemloft.net>
32297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32299 2012-07-27 Gary Benson <gbenson@redhat.com>
32302 * elf/rtld.c: Include <stap-probe.h>.
32303 (dl_main): Added static probes "init_start" and "init_complete".
32304 * elf/dl-load.c: Include <stap-probe.h>.
32305 (lose): Take new parameter "nsid".
32306 Added static probe "map_failed".
32307 (_dl_map_object_from_fd): Pass namespace id to lose.
32308 Added static probe "map_start".
32309 (open_verify): Pass namespace id to lose.
32310 * elf/dl-open.c: Include <stap-probe.h>.
32311 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32312 and "reloc_complete".
32313 * elf/dl-close.c: Include <stap-probe.h>.
32314 (_dl_close_worker): Added static probes "unmap_start" and
32316 * elf/rtld-debugger-interface.txt: New file documenting the above.
32318 2012-07-26 Roland McGrath <roland@hack.frob.com>
32320 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32321 rather than a string variable.
32322 * sunrpc/rpc_main.c (h_output): Likewise.
32323 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32325 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32327 * inet/check_native.c: New file.
32329 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32332 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32333 if larger part has absolute value 1.0.
32334 * math/s_clog10.c (__clog10): Likewise.
32335 * math/s_clog10f.c (__clog10f): Likewise.
32336 * math/s_clog10l.c (__clog10l): Likewise.
32337 * math/s_clogf.c (__clogf): Likewise.
32338 * math/s_clogl.c (__clogl): Likewise.
32339 * math/libm-test.inc (clog_test): Add more tests.
32340 (clog10_test): Likewise.
32341 * sysdeps/i386/fpu/libm-test-ulps: Update.
32342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32344 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32345 (pltexit): Likewise.
32346 (La_regs): Likewise.
32347 (La_retval): Likewise.
32348 (int_retval): Likewise.
32349 Update #error for removed macros to refer only to definitions in
32351 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32353 (pltexit): Likewise.
32354 (La_regs): Likewise.
32355 (La_retval): Likewise.
32356 (int_retval): Likewise.
32357 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32359 (pltexit): Likewise.
32360 (La_regs): Likewise.
32361 (La_retval): Likewise.
32362 (int_retval): Likewise.
32363 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32365 (pltexit): Likewise.
32366 (La_regs): Likewise.
32367 (La_retval): Likewise.
32368 (int_retval): Likewise.
32369 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32371 (pltexit): Likewise.
32372 (La_regs): Likewise.
32373 (La_retval): Likewise.
32374 (int_retval): Likewise.
32375 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32377 (pltexit): Likewise.
32378 (La_regs): Likewise.
32379 (La_retval): Likewise.
32380 (int_retval): Likewise.
32381 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32383 (pltexit): Likewise.
32384 (La_regs): Likewise.
32385 (La_retval): Likewise.
32386 (int_retval): Likewise.
32387 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32388 macro definitions in tst-audit.h.
32389 * sysdeps/i386/tst-audit.h: New file.
32390 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32391 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32392 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32393 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32394 * sysdeps/sh/tst-audit.h: Likewise.
32395 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32396 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32397 * sysdeps/x86_64/tst-audit.h: Likewise.
32399 2012-07-26 Andreas Jaeger <aj@suse.de>
32401 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32404 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32405 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32406 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32408 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32409 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32410 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32412 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32415 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32417 (si_call_addr, si_syscall, si_arch): Define new macro.
32418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32420 (si_call_addr, si_syscall, si_arch): Define new marcro.
32421 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32423 (si_call_addr, si_syscall, si_arch): Define new macro.
32424 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32426 (si_call_addr, si_syscall, si_arch): Define new macro.
32428 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32431 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32432 Change to 2.4.21 where previously 2.4.1.
32433 * sysdeps/unix/sysv/linux/configure: Regenerated.
32434 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32435 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32436 Linux kernel version.
32437 (__ASSUME_STD_AUXV): Remove.
32438 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32440 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32441 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32442 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32443 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32444 (__ASSUME_NETLINK_SUPPORT): Likewise.
32445 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32446 (__no_netlink_support): Remove conditional definition.
32447 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32449 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32450 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32451 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32452 (if_nameindex_ioctl): Remove.
32453 (if_nameindex_netlink): Do not handle __no_netlink_support.
32454 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32456 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32457 Remove conditional code.
32458 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32460 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32462 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32463 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32464 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32466 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32467 [!__ASSUME_STD_AUXV]: Remove conditional code.
32468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32469 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32470 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32472 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32473 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32475 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32477 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32478 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32480 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32482 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32485 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32488 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32489 code unconditional.
32490 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32492 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32494 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32497 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32499 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32502 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32503 code unconditional.
32504 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32506 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32508 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32511 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32512 code unconditional.
32513 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32515 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32517 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32520 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32522 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32523 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32524 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32525 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32526 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32527 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32528 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32529 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32530 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32531 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32532 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32533 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32534 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32535 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32537 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32538 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32539 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32540 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32542 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32543 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32546 2012-07-25 Florian Weimer <fweimer@redhat.com>
32548 * Versions.def: Add GLIBC_2.17.
32549 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32550 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32551 Introduce __libc_secure_getenv.
32552 * stdlib/Versions (2.17): Add secure_getenv
32553 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32554 * stdlib/secure-getenv.c: Rename __secure_getenv to
32555 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32556 symbol __secure_getenv for GLIBC_2.0.
32557 * stdlib/tst-secure-getenv.c: New.
32558 * stdlib/Makefile (tests): Add testcase.
32559 * manual/startup.texi (Environment Access): Document
32561 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32562 __libc_secure_getenv.
32563 * inet/ruserpass.c (ruserpass): Likewise.
32564 * malloc/mtrace.c (mtrace): Likewise.
32565 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32566 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32567 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32568 * sysdeps/posix/tempname.c: Likewise. Evaluate
32569 HAVE_SECURE_GETENV.
32570 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32571 __secure_getenv to __libc_secure_getenv.
32572 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32585 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32587 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32588 (struct La_i86_retval): Likewise.
32589 (struct La_x86_64_regs): Likewise.
32590 (struct La_x86_64_retval): Likewise.
32591 (struct La_x32_regs): Likewise.
32592 (struct La_x32_retval): Likewise.
32593 (struct La_ppc32_regs): Likewise.
32594 (struct La_ppc32_retval): Likewise.
32595 (struct La_ppc64_regs): Likewise.
32596 (struct La_ppc64_retval): Likewise.
32597 (struct La_sh_regs): Likewise.
32598 (struct La_sh_retval): Likewise.
32599 (struct La_s390_32_regs): Likewise.
32600 (struct La_s390_32_retval): Likewise.
32601 (struct La_s390_64_regs): Likewise.
32602 (struct La_s390_64_retval): Likewise.
32603 (struct La_sparc32_regs): Likewise.
32604 (struct La_sparc32_retval): Likewise.
32605 (struct La_sparc64_regs): Likewise.
32606 (struct La_sparc64_retval): Likewise.
32607 (struct audit_ifaces): Remove architecture-specific pltenter and
32609 * sysdeps/i386/ldsodefs.h: New file.
32610 * sysdeps/powerpc/ldsodefs.h: Likewise.
32611 * sysdeps/s390/ldsodefs.h: Likewise.
32612 * sysdeps/sh/ldsodefs.h: Likewise.
32613 * sysdeps/sparc/ldsodefs.h: Likewise.
32614 * sysdeps/x86_64/ldsodefs.h: Likewise.
32616 2012-07-25 Marek Polacek <polacek@redhat.com>
32619 * math/libm-test.inc (yn_test): Add another test.
32620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32621 to ERANGE when the result is +-Inf.
32622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32623 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32624 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32625 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32627 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32629 * conform/data/time.h-data (NULL): Use macro-constant. Require
32631 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32633 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32635 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32637 * configure.in <sysdeps resolving>: Correct printing
32639 * configure: Regenerate.
32641 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32643 * math/w_ilogb.c: Include <limits.h>.
32644 * math/w_ilogbl.c: Likewise.
32646 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32648 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32649 va_copy. Document allowing for unavailable va_copy only as
32650 pre-C99 compatibility.
32651 * manual/string.texi (Copying and Concatenation): Use va_copy
32652 instead of __va_copy in concat example.
32654 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32656 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32657 (__sendto): Use create_address_port. Initialize APORT and deallocate
32660 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32661 with O_NOLINK passed to __file_name_lookup.
32663 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32664 with O_NOLINK passed to __file_name_lookup.
32666 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32667 negative N or less than NGIDS.
32669 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32670 type to string_t. Set ERANGE as errno and return it if NAME is not big
32671 enough. Use memcpy instead of strncpy.
32673 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32675 * elf/Makefile (check-data): Remove.
32676 (localplt.data): New vpath directive.
32677 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32678 instead of $(check-data).
32679 * scripts/data/localplt-generic.data: Move to ...
32680 * sysdeps/generic/localplt.data: ... here.
32681 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32682 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32683 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32686 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32689 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32692 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32695 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32698 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32702 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32704 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32705 PPC32 and PPC64 files.
32706 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32707 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32709 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32711 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32712 __makecontext_ret to ...
32713 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32714 ... here and call exit if uc_link is NULL. New file.
32715 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32716 __makecontext_ret.S.
32717 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32718 __makecontext_ret to ...
32719 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32720 ... here and call exit if uc_link is NULL. New file.
32721 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32722 __makecontext_ret.S.
32724 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32726 * elf/elf.h (R_390_IRELATIVE): New definition.
32727 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32728 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32729 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32731 (elf_machine_lazy_rel): Likewise.
32732 * sysdeps/s390/dl-irel.h: New file.
32733 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32734 * sysdeps/s390/s390-64/memset.S: New asm code.
32735 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32736 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32738 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32739 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32740 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32741 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32742 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32743 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32744 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32745 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32746 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32747 * sysdeps/s390/s390-32/memset.S: New asm code.
32748 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32750 2012-07-17 Marek Polacek <polacek@redhat.com>
32753 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32754 * sysdeps/s390/s390-64/configure.in: Likewise.
32755 * sysdeps/sparc/configure.in: Likewise.
32756 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32757 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32758 * sysdeps/i386/configure.in: Likewise.
32759 * sysdeps/x86_64/configure.in: Likewise.
32760 * sysdeps/sh/configure.in: Likewise.
32761 * sysdeps/s390/s390-32/configure: Regenerated.
32762 * sysdeps/s390/s390-64/configure: Likewise.
32763 * sysdeps/x86_64/configure: Likewise.
32764 * sysdeps/sh/configure: Likewise.
32765 * sysdeps/powerpc/powerpc64/configure: Likewise.
32766 * sysdeps/powerpc/powerpc32/configure: Likewise.
32767 * sysdeps/sparc/configure: Likwise.
32768 * sysdeps/i386/configure: Likewise.
32770 * elf/dl-open.c: Comment fixes.
32772 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32774 * Makefile [CXX] (check-data): Remove.
32775 [CXX] (c++-types.data): New vpath directive.
32776 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32777 vpath. Do not allow for C++ type data being missing.
32778 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32779 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32780 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32781 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32782 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32783 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32784 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32787 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32790 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32793 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32796 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32799 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32802 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32805 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32808 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32809 definitions to architecture-specific files.
32810 (TLS_IE): Likewise.
32811 (TLS_LD): Likewise.
32812 (TLS_GD): Likewise.
32813 * sysdeps/i386/tls-macros.h: New file.
32814 * sysdeps/powerpc/tls-macros.h: Likewise.
32815 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32816 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32817 * sysdeps/sh/tls-macros.h: Likewise.
32818 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32819 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32820 * sysdeps/x86_64/tls-macros.h: Likewise.
32822 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32824 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32825 zero value for regular exit case.
32827 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32828 (__start_context): Preserve zero value for regular exit case.
32830 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32831 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32833 * manual/setjmp.texi (setcontext): Clarify normal process
32834 termination when uc_link is the null pointer.
32835 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32838 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32840 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32841 preprocessor. Test for each exception mask separately.
32843 2012-07-16 Andreas Jaeger <aj@suse.de>
32845 * po/ru.po: Update from translation team.
32847 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32849 * conform/data/string.h-data (NULL): Use macro-constant. Require
32851 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32852 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32853 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32854 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32857 2012-07-13 Andreas Jaeger <aj@suse.de>
32859 * po/fr.po: Update from translation team.
32861 2012-07-12 Marek Polacek <polacek@redhat.com>
32864 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32865 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32868 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32872 Change to 2.4.1 where previously 2.4.0.
32873 * sysdeps/unix/sysv/linux/configure: Regenerated.
32874 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32875 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32877 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32878 (__ASSUME_AT_CLKTCK): Remove.
32879 (__ASSUME_AT_PAGESIZE): Likewise.
32880 (__ASSUME_AT_XID): Likewise.
32881 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32882 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32883 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32885 (HAVE_AUX_PAGESIZE): Likewise.
32886 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32887 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32888 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32890 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32894 the temporary buffer used to invoke __gethostbyname2_r,
32895 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32896 host_data / struct gaih_addrtuple.
32897 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32898 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32899 header file nss/nsswitch.h.
32900 * nss/nsswitch.h (global scope): Add definition of implementation
32901 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32902 resolv/nss_dns/dns-host.c).
32904 2012-07-11 Andreas Jaeger <aj@suse.de>
32906 * po/fr.po: Update from translation team.
32908 * po/sv.po: Update from translation team
32909 * po/fr.po: Another update from translation team.
32911 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32913 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32914 for subnormals or multiply small sinh result by itself.
32915 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32918 2012-07-11 David S. Miller <davem@davemloft.net>
32920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32922 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32925 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32926 (INTERNAL_MARK): Shift it here.
32928 2012-07-10 Marek Polacek <polacek@redhat.com>
32931 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32932 libc_cv_asm_global_directive with .globl.
32933 * configure: Regenerated.
32934 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32936 * sysdeps/i386/configure: Regenerated.
32937 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32939 * sysdeps/x86_64/configure: Regenerated.
32940 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32941 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32942 * elf/tst-unique2mod2.c: Likewise.
32943 * elf/tst-unique2mod1.c: Likewise.
32944 * elf/tst-unique1mod2.c: Likewise.
32945 * elf/tst-unique1mod1.c: Likewise.
32946 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32947 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32949 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32950 * sysdeps/mach/sysdep.h: Likewise.
32951 * sysdeps/i386/sysdep.h: Likewise.
32952 * sysdeps/i386/i386-mcount.S: Likewise.
32953 * sysdeps/x86_64/_mcount.S: Likewise.
32954 * sysdeps/x86_64/sysdep.h: Likewise.
32955 * sysdeps/sh/_mcount.S: Likewise.
32956 * sysdeps/sh/sysdep.h: Likewise.
32957 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32958 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32959 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32960 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32961 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32962 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32963 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32964 * locale/localeinfo.h: Likewise.
32965 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32966 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32968 2012-07-09 Roland McGrath <roland@hack.frob.com>
32971 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32973 * manual/message.texi (The Uniforum approach): Likewise.
32974 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32975 (glibc iconv Implementation): Likewise.
32977 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32980 * math/s_clog.c (__clog): Avoid scaling a value down where that
32981 could result in underflow.
32982 * math/s_clog10.c (__clog10): Likewise.
32983 * math/s_clog10f.c (__clog10f): Likewise.
32984 * math/s_clog10l.c (__clog10l): Likewise.
32985 * math/s_clogf.c (__clogf): Likewise.
32986 * math/s_clogl.c (__clogl): Likewise.
32987 * math/libm-test.inc (clog_test): Add more tests.
32988 (clog10_test): Likewise.
32989 * sysdeps/i386/fpu/libm-test-ulps: Update.
32990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32992 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32995 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32996 by 7 not 8 to examine high bit of fractional part.
32999 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33000 for call to __mcount_internal.
33001 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33002 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33003 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33005 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33008 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33009 approximation for values within 0x1p-13f of an odd multiple of
33011 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33012 exception. Add more tests.
33013 * sysdeps/i386/fpu/libm-test-ulps: Update.
33016 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33017 inputs and return -1 for them. Do not check for +Inf in case not
33018 reachable for +Inf.
33019 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33020 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33021 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33022 and return -1 for them. Do not check for +Inf in case not
33023 reachable for +Inf.
33024 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33030 spurious underflow.
33031 * sysdeps/i386/fpu/libm-test-ulps: Update.
33032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33034 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33036 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33038 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33042 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33043 could result in spurious underflow. Scale down values above
33044 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33045 * math/s_csqrtf.c (__csqrtf): Likewise.
33046 * math/s_csqrtl.c (__csqrtl): Likewise.
33047 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33048 spurious underflow.
33049 * sysdeps/i386/fpu/libm-test-ulps: Update.
33050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33052 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33054 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33056 * catgets/xopen-msg.awk: New file.
33057 * catgets/xopen-msg.sed: Removed.
33059 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33061 * intl/po2test.awk: New file.
33062 * intl/po2test.sed: Removed.
33064 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33067 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33068 or multiply small sinh result by itself.
33069 * math/s_ctanf.c (__ctanf): Likewise.
33070 * math/s_ctanh.c (__ctanh): Likewise.
33071 * math/s_ctanhf.c (__ctanhf): Likewise.
33072 * math/s_ctanhl.c (__ctanhl): Likewise.
33073 * math/s_ctanl.c (__ctanl): Likewise.
33074 * math/libm-test.inc (ctan_test_tonearest): New function.
33075 (ctan_test_towardzero): Likewise.
33076 (ctan_test_downward): Likewise.
33077 (ctan_test_upward): Likewise.
33078 (ctanh_test_tonearest): Likewise.
33079 (ctanh_test_towardzero): Likewise.
33080 (ctanh_test_downward): Likewise.
33081 (ctanh_test_upward): Likewise.
33082 (main): Call these new functions.
33083 * sysdeps/i386/fpu/libm-test-ulps: Update.
33084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33086 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33088 * .gitignore: Delete /ports entry.
33090 2012-07-03 Andreas Jaeger <aj@suse.de>
33092 * po/bg.po: Update from translation team.
33093 * po/cs.po: Likewise.
33094 * po/de.po: Likewise.
33095 * po/hr.po: Likewise.
33096 * po/nl.pl: Likewise.
33097 * po/pl.po: Likewise.
33098 * po/vi.po: Likewise.
33100 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33102 * Makeconfig [!+link] (+link-before-libc): New variable.
33103 [!+link] (+link-after-libc): Likewise.
33104 [!+link] (+link-tests): Likewise.
33105 [!+link] (+link): Define in terms of $(+link-before-libc) and
33106 $(+link-after-libc).
33107 [!+link-static] (+link-static-before-libc): New variable.
33108 [!+link-static] (+link-static-after-libc): Likewise.
33109 [!+link-static] (+link-static-tests): Likewise.
33110 [!+link-static] (+link-static): Define in terms of
33111 $(+link-static-before-libc) and $(+link-static-after-libc).
33112 [build-shared] (link-libc-before-gnulib): New variable.
33113 [build-shared] (link-libc-tests): Likewise.
33114 [build-shared] (link-libc): Define in terms of
33115 $(link-libc-before-gnulib).
33116 [!build-shared] (link-libc-tests): New variable.
33117 (link-libc-static-tests): New variable.
33118 [!gnulib] (gnulib-arch): New variable.
33119 [!gnulib] (gnulib-tests): Likewise.
33120 [!gnulib] (static-gnulib-arch): Likewise.
33121 [!gnulib] (static-gnulib-tests): Likewise.
33122 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33123 Define with "=" instead of ":=".
33124 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33125 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33126 * Rules (binaries-all-notests): New variable.
33127 (binaries-all-tests): Likewise.
33128 (binaries-static-notests): Likewise.
33129 (binaries-static-tests): Likewise.
33130 (binaries-all): Define using $(binaries-all-notests) and
33131 $(binaries-all-tests).
33132 (binaries-static): Define using $(binaries-static-notests) and
33133 $(binaries-static-tests).
33134 (binaries-shared-tests): New variable.
33135 (binaries-shared-notests): Likewise.
33136 (binaries-shared): Remove variable.
33137 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33138 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33139 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33140 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33141 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33142 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33143 * elf/Makefile (sln-modules): New variable.
33144 (extra-objs): Add $(sln-modules:=.o).
33145 (ldconfig-modules): Add static-stubs.
33146 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33147 * elf/static-stubs.c: New file.
33150 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33151 by 7 not 8 to examine high bit of fractional part. Use volatile
33152 variables when splitting into final array of floats if
33153 __FLT_EVAL_METHOD__ != 0.
33154 * math/libm-test.inc (cos_test): Add another test.
33155 (sin_test): Likewise.
33156 * sysdeps/i386/fpu/libm-test-ulps: Update.
33159 * math/libm-test.inc (cosh_test): Add more tests.
33161 * version.h (RELEASE): Set to "development".
33162 (VERSION): Set to "2.16.90".
33164 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33166 * NEWS: Update copyright. Remove last-updated date.
33167 Mention math library bug fixes and timezone data changes.
33168 * README: Mention GNU/Hurd, x32, and HPPA support status.
33170 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33172 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33174 2012-06-27 Andreas Jaeger <aj@suse.de>
33176 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33178 2012-06-25 Andreas Jaeger <aj@suse.de>
33180 * sysdeps/s390/fpu/libm-test-ulps: Update.
33182 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33183 Thomas Schwinge <thomas@codesourcery.com>
33185 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33186 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33190 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33192 * sysdeps/mach/start.c: Remove file.
33193 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33194 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33195 * sysdeps/sh/init-first.c: Likewise.
33197 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33198 registers for frame unwinding purposes, add CFI directives.
33199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33200 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33201 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33204 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33205 __fortify_fail returning.
33206 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33208 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33209 sysdeps/sh/____longjmp_chk.S.
33210 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33211 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33212 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33213 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33215 * sysdeps/sh/abort-instr.h: New file.
33216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33217 process in case exit returns.
33219 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33220 initialize the GOT register before use.
33222 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33223 calculation of ARGC > 4.
33225 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33226 meaningful names to some local labels.
33228 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33229 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33231 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33232 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33233 (__arch_compare_and_exchange_val_16_acq): Likewise.
33234 (__arch_compare_and_exchange_val_32_acq): Likewise.
33235 (atomic_exchange_and_add): Fix gUSA sequence.
33236 (atomic_add): Likewise.
33237 (atomic_add_negative): Likewise.
33238 (atomic_add_zero): Likewise.
33239 (atomic_bit_test_set): Likewise.
33241 2012-06-22 Andreas Schwab <schwab@redhat.com>
33244 * include/link.h (struct link_map): Add l_free_initfini.
33245 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33247 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33248 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33249 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33252 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33254 * configure.in: Use AC_LANG_SOURCE.
33255 * configure: Regenerate.
33257 2012-06-22 Roland McGrath <roland@hack.frob.com>
33259 * configure.in (libc_cv_localstatedir): New substituted variable.
33260 * configure: Regenerated.
33261 * config.make.in (localstatedir): New variable, substituted from
33262 libc_cv_localstatedir.
33263 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33264 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33265 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33266 * sysdeps/gnu/configure: Regenerated.
33268 2012-06-21 Jeff Law <law@redhat.com>
33271 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33272 free. Simplify list management for _LIBC case.
33274 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33277 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33278 Clear sign bit of 64-bit integer value before comparing against
33281 * sysdeps/mach/configure: Regenerated.
33283 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33286 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33288 2012-06-21 Jeff Law <law@redhat.com>
33291 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33292 uint16_t for elements in the "seen" array to avoid char overflows.
33293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33294 * elf/dl-open.c (dl_open_worker): Likewise.
33296 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33298 * scripts/list-sources.sh: Scan PORTS for translations.
33299 * po/libc.pot: Regenerated.
33301 2012-06-21 Andreas Jaeger <aj@suse.de>
33304 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33306 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33307 * bits/byteswap-16.h (__bswap_16): Likewise.
33308 * bits/byteswap.h (__bswap_constant_16): Likewise.
33310 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33313 * sysdeps/i386/fpu_control.h: Removed.
33314 * sysdeps/x86_64/fpu_control.h: Moved to ...
33315 * sysdeps/x86/fpu_control.h: Here.
33317 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33318 (_FPU_SETCW): Likewise.
33320 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33323 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33324 * sysdeps/x86/fpu/bits/mathinline.h: This.
33325 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33329 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33330 functions if __x86_64__ is defined.
33332 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33334 * string/endian.h: Add !__ASSEMBLER__ condition for including
33335 conversion interfaces.
33337 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33341 of ABS(x) in calculating zero to negative powers other than odd
33343 * math/libm-test.inc (pow_test): Add more tests.
33345 2012-06-15 Andreas Jaeger <aj@suse.de>
33347 * manual/contrib.texi (Contributors): Update entry of Liubov
33348 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33351 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33353 * string/string.h: Add __wur to GNU version of strerror_r.
33355 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33358 * string/Makefile (tests): Add tst-strtok_r.
33359 * string/tst-strtok_r.c: New file.
33360 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33361 RAX_LP/RDX_LP on SAVE_PTR.
33363 2012-06-14 Roland McGrath <roland@hack.frob.com>
33365 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33367 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33369 * libm_test.inc (csqrt_test): Allow more spurious underflow
33371 (j0_test): Likewise.
33372 (j1_test): Likewise.
33373 (y0_test): Likewise.
33374 (y1_test): Likewise.
33376 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33378 * po/Makefile (libc.pot): Use UTF-8 charset.
33380 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33383 Suppress sign-conversion warning from FD_SET.
33384 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33385 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33386 not unsigned long int.
33387 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33389 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33393 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33394 __extern_always_inline instead of __extern_inline.
33395 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33396 (__signbit): Likewise.
33397 (__signbitl): Support C++ namespace.
33398 (lrintf): New inline function.
33400 (llrintf): Likewise.
33401 (llrint): Likewise.
33411 (floorf): Likewise.
33412 (nearbyint): Likewise.
33413 (nearbyintf): Likewise.
33415 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33417 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33418 non-default versions.
33420 2012-06-11 Roland McGrath <roland@hack.frob.com>
33423 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33425 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33427 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33428 (FE_UPWARD, FE_DOWNWARD): Don't define.
33429 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33432 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33434 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33435 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33437 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33439 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33441 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33442 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33444 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33447 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33448 * sysdeps/i386/fpu/Implies: New file.
33449 * sysdeps/x86_64/fpu/Implies: Likewise.
33450 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33451 * sysdeps/x86/fpu/bits/fenv.h: This.
33453 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33456 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33459 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33460 character 0xffff that matches the last element of the
33463 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33465 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33468 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33471 values higher than 25.6283.
33473 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33475 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33476 subnormal exponent extraction and add some __builtin_expect.
33477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33478 Fix for subnormal mantissa calculation.
33480 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33482 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33483 cpu2 is -1 and errno is not ENOSYS.
33485 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33488 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33489 * sysdeps/x86/bits/string.h: This.
33490 * sysdeps/x86_64/bits/string.h: Removed.
33492 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33493 if not compiling for x86-64, but compiling for >= i486.
33495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33496 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33498 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33499 New macro from Linux kernel 3.4.0.
33500 (FP_XSTATE_MAGIC2): Likewise.
33501 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33502 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33503 (struct _fpx_sw_bytes): New struct.
33504 (struct _xsave_hdr): Likewise.
33505 (struct _ymmh_state): Likewise.
33506 (struct _xstate): Likewise.
33508 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33509 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33511 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33513 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33515 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33516 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33517 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33518 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33519 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33520 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33522 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33525 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33526 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33527 (sysdep_headers): Include sys/platform/ppc.h.
33528 * sysdeps/powerpc/test-gettimebase.c: Test for
33529 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33530 * manual/Makefile (appendices): Include platform.texi.
33531 * manual/contrib.texi (Contributors): Update @node pointers.
33532 * manual/maint.texi (Maintenance): Likewise.
33533 (Platform): New node.
33534 * manual/platform.texi: New file. Document the new features.
33536 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33537 Jakub Jelinek <jakub@redhat.com>
33540 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33541 where __builtin_expect is unavailable.
33543 2012-06-03 David S. Miller <davem@davemloft.net>
33545 * stdlib/longlong.h: Updated from GCC.
33547 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33550 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33551 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33554 (GLIBC_2.16): Likewise.
33556 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33558 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33560 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33563 (default-abi): New variable.
33564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33565 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33567 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33569 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33571 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33574 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33575 definition. Document in comment.
33577 2012-06-01 David S. Miller <davem@davemloft.net>
33579 * stdlib/longlong.h: Updated from GCC.
33581 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33584 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33585 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33586 sys/debugreg.h sys/io.h here.
33587 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33588 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33590 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33591 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33592 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33593 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33594 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33595 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33597 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33598 Define only if __x86_64__ is defined.
33600 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33603 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33604 Use int64_t for variable i.
33605 * math/libm-test.inc (fmod_test): Add more tests.
33607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33608 z computation is not scheduled after fetestexcept.
33609 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33610 Use math_force_eval instead of asm to ensure calculation scheduled
33611 before exception test.
33612 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33613 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33615 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33618 computation is not scheduled after fetestexcept.
33620 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33623 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33624 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33626 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33628 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33629 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33631 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33634 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33636 (__WCHAR_MIN): Support __WORDSIZE == 64.
33637 (__WCHAR_MAX): Likewise.
33639 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33640 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33643 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33644 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33647 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33648 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33650 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33651 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33653 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33654 Defined to 1 if __x86_64__ isn't defined.
33655 (_STAT_VER_LINUX_OLD): New.
33656 (st_atime): Remove duplicate.
33657 (st_mtime): Likewise.
33658 (st_ctime): Likewise.
33660 2012-05-31 David S. Miller <davem@davemloft.net>
33662 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33665 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33667 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33671 * elf/dl-reloc.c: Include <_itoa.h>.
33672 (_dl_reloc_bad_type): Remove use of INTUSE.
33673 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33674 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33675 * stdio-common/psiginfo.c (psiginfo): Likewise.
33676 * stdio-common/psignal.c (psignal): Likewise.
33677 * string/strsignal.c (strsignal): Likewise.
33678 * include/signal.h (_sys_siglist): Declare hidden proto.
33679 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33680 INTVARDEF with libc_hidden_data_def.
33681 * stdio-common/itoa-udigits.c: Likewise.
33682 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33683 (_itoa_lower_digits_internal): Remove declaration.
33684 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33685 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33686 (_sys_sigabbrev_internal): Remove aliases.
33687 (_sys_siglist): Define hidden alias.
33689 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33694 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33697 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33698 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33700 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33701 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33702 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33703 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33705 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33707 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33708 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33709 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33711 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33719 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33721 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33723 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33724 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33725 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33726 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33727 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33728 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33730 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33731 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33733 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33734 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33738 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33740 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33741 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33743 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33745 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33746 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33747 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33749 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33751 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33753 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33755 * math/math.h (M_El): Use two more decimal places.
33756 (M_LOG2El): Likewise.
33757 (M_LOG10El): Likewise.
33758 (M_LN2l): Likewise.
33759 (M_LN10l): Likewise.
33761 (M_PI_2l): Likewise.
33762 (M_PI_4l): Likewise.
33763 (M_1_PIl): Likewise.
33764 (M_2_PIl): Likewise.
33765 (M_2_SQRTPIl): Likewise.
33766 (M_SQRT2l): Likewise.
33767 (M_SQRT1_2l): Likewise.
33769 2012-05-31 David S. Miller <davem@davemloft.net>
33771 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33772 values between float registers.
33773 * sysdeps/sparc/sparc64/memset.S: Likewise.
33774 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33776 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33778 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33779 -D_FORTIFY_SOURCE=1.
33780 (CPPFLAGS-tst-longjmp_chk.c): Define.
33781 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33782 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33783 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33784 CFLAGS-tst-wchar-h.c.
33786 2012-05-31 Marek Polacek <polacek@redhat.com>
33789 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33790 __endmntent_internal): Remove declaration.
33791 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33792 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33793 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33795 2012-05-30 David S. Miller <davem@davemloft.net>
33797 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33798 (___Q_simulate_exceptions): Use real FP ops rather than writing
33800 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33803 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33806 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33807 * sysdeps/x86/bits/xtitypes.h: This.
33809 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33810 * sysdeps/x86/bits/wordsize.h: This.
33812 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33813 * sysdeps/x86/bits/huge_vall.h: This.
33815 * sysdeps/i386/bits/select.h: Removed.
33816 * sysdeps/x86_64/bits/select.h: Renamed to ...
33817 * sysdeps/x86/bits/select.h: This.
33819 * sysdeps/i386/bits/setjmp.h: Removed.
33820 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33821 * sysdeps/x86/bits/setjmp.h: This.
33823 * sysdeps/i386/bits/mathdef.h: Removed.
33824 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33825 * sysdeps/x86/bits/mathdef.h: This.
33827 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33830 * include/sys/socket.h (__connect_internal)
33831 (__libc_sa_len_internal): Remove declaration.
33832 (__connect, __libc_sa_len): Declare hidden_proto.
33833 (SA_LEN): Remove use of INTUSE.
33834 * socket/connect.c: Add libc_hidden_def.
33835 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33836 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33837 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33839 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33841 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33842 of adding _internal alias.
33844 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33847 * sysdeps/i386/bits/link.h: Removed.
33848 * sysdeps/i386/bits/linkmap.h: Likewise.
33849 * sysdeps/x86_64/bits/link.h: Renamed to ...
33850 * sysdeps/x86/bits/link.h: This.
33851 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33852 * sysdeps/x86/bits/linkmap.h: This.
33854 * sysdeps/i386/bits/endian.h: Removed.
33855 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33856 * sysdeps/x86/bits/endian.h: This.
33858 * sysdeps/i386/bits/byteswap.h: Removed.
33859 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33860 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33861 * sysdeps/x86/bits/byteswap.h: This.
33862 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33863 * sysdeps/x86/bits/byteswap-16.h: This.
33864 * sysdeps/i386/Implies: Add x86.
33865 * sysdeps/x86_64/Implies: Likewise.
33867 2012-05-30 David S. Miller <davem@davemloft.net>
33869 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33870 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33871 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33872 (FP_TRAPPING_EXCEPTIONS): Define.
33873 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33874 (FP_TRAPPING_EXCEPTIONS): Define.
33875 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33876 subnormals only when inexact has been signalled or underflow
33877 exceptions are enabled.
33878 (_FP_PACK_CANONICAL): Likewise.
33880 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33884 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33886 2012-05-30 Richard Henderson <rth@twiddle.net>
33888 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33889 with #ifndef NOT_IN_libc.
33891 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33892 marked to avoid plt entry.
33894 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33897 * Makeconfig (default-abi): New macro.
33898 (abi-includes): Likewise.
33899 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33900 $(abi-$(default-abi)-lib-soname) for soname if defined.
33901 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33903 * Makefile (installed-stubs): Likewise.
33904 * include/stubs-biarch.h: Removed.
33905 * scripts/lib-names.awk: Only handle one library at a time.
33906 * scripts/soversions.awk: Remove WORDSIZE support.
33907 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33909 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33911 (syscall-list-default-condition): Likewise.
33912 (syscall-list-default-condition): Likewise.
33913 (syscall-list-includes): Likewise.
33914 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33915 syscall-list-* with abi-*. Handle undefined abi-variants.
33916 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33917 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33918 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33919 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33920 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33921 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33923 (syscall-list-32-options): Likewise.
33924 (syscall-list-32-condition): Likewise.
33925 (syscall-list-64-options): Likewise.
33926 (syscall-list-64-condition): Likewise.
33927 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33929 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33932 (abi-64-ld-soname): New macro.
33933 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33934 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33937 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33938 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33940 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33942 * sysdeps/unix/sysv/linux/kernel-features.h
33943 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33944 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33945 include <kernel-features.h>.
33946 [!__NR_ftruncate64]: Remove conditional code.
33947 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33948 [__NR_ftruncate64]: Make code unconditional.
33949 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33950 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33951 include <kernel-features.h>.
33952 [!__NR_ftruncate64]: Remove conditional code.
33953 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33954 [__NR_ftruncate64]: Make code unconditional.
33955 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33957 include <kernel-features.h>.
33958 [!__NR_ftruncate64]: Remove conditional code.
33959 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33960 [__NR_ftruncate64]: Make code unconditional.
33961 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33963 include <kernel-features.h>.
33964 [!__NR_ftruncate64]: Remove conditional code.
33965 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33966 [__NR_ftruncate64]: Make code unconditional.
33967 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33969 * configure.in (libc_cv_fpie): Weaken to a compile test using
33970 LIBC_TRY_CC_OPTION.
33971 * configure: Regenerated.
33973 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33988 2012-05-27 David S. Miller <davem@davemloft.net>
33990 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33992 (__Q_simulate_exceptions): Return void. Change to simulate
33993 exceptions by writing into the %fsr.
33994 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33995 (__Qp_handle_exceptions): Likewise.
33997 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33998 __Qp_handle_exceptions.
33999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34000 __Qp_handle_exceptions.
34001 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34002 as unused and give dummy FP_RND_NEAREST initializer.
34003 (FP_INHIBIT_RESULTS): Define.
34004 (___Q_simulate_exceptions): Update declaration.
34005 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34008 as unused and give dummy FP_RND_NEAREST initializer.
34009 (__Qp_handle_exceptions): Update declaration.
34010 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34013 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34015 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34016 the temporary FPU control word.
34017 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34018 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34019 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34020 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34021 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34022 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34023 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34024 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34025 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34026 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34027 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34029 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34031 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34034 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34036 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34037 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34038 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34039 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34041 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34042 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34045 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34047 * po/h.po: Update from translation team.
34049 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34051 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34053 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34054 handling of denormals.
34055 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34056 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34057 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34058 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34061 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34064 2012-05-26 Marek Polacek <polacek@redhat.com>
34067 * math/libm-test.inc (fma_test): Don't always expect underflow
34070 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34073 * elf/tst-execstack.c: Include stackinfo.h.
34074 (do_test): Adjust test case to ensure that pthread_getattr_np
34075 behaviour remains the same after marking stack executable.
34077 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34079 * sysdeps/unix/sysv/linux/kernel-features.h
34080 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34081 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34083 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34084 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34085 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34087 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34088 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34090 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34092 * configure.in: Define the default includes to being none.
34093 * configure: Regenerated.
34095 2012-05-25 Roland McGrath <roland@hack.frob.com>
34097 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34098 * sysdeps/x86_64/setjmp.S: Likewise.
34099 * sysdeps/i386/bsd-setjmp.S: Likewise.
34100 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34101 * sysdeps/i386/setjmp.S: Likewise.
34102 * sysdeps/i386/__longjmp.S: Likewise.
34103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34104 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34106 * include/stap-probe.h: New file.
34107 * configure.in: Handle --enable-systemtap.
34108 * configure: Regenerated.
34109 * config.h.in (USE_STAP_PROBE): New #undef.
34110 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34111 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34112 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34114 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34117 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34118 to 2.4.0 where earlier.
34119 * sysdeps/unix/sysv/linux/configure: Regenerated.
34120 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34121 <kernel-features.h>.
34122 [__ASSUME_32BITUIDS]: Make code unconditional.
34123 [!__ASSUME_32BITUIDS]: Remove conditional code.
34124 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34125 <kernel-features.h>.
34126 [__ASSUME_32BITUIDS]: Make code unconditional.
34127 [!__ASSUME_32BITUIDS]: Remove conditional code.
34128 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34129 [__ASSUME_32BITUIDS]: Make code unconditional.
34130 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34131 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34132 <kernel-features.h>.
34133 [__ASSUME_32BITUIDS]: Make code unconditional.
34134 [!__ASSUME_32BITUIDS]: Remove conditional code.
34135 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34136 <kernel-features.h>.
34137 [__ASSUME_32BITUIDS]: Make code unconditional.
34138 [!__ASSUME_32BITUIDS]: Remove conditional code.
34139 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34140 <kernel-features.h>.
34141 [__ASSUME_32BITUIDS]: Make code unconditional.
34142 [!__ASSUME_32BITUIDS]: Remove conditional code.
34143 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34144 <kernel-features.h>.
34145 [__ASSUME_32BITUIDS]: Make code unconditional.
34146 [!__ASSUME_32BITUIDS]: Remove conditional code.
34147 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34148 <kernel-features.h>.
34149 [__ASSUME_32BITUIDS]: Make code unconditional.
34150 [!__ASSUME_32BITUIDS]: Remove conditional code.
34151 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34152 <kernel-features.h>.
34153 [__ASSUME_32BITUIDS]: Make code unconditional.
34154 [!__ASSUME_32BITUIDS]: Remove conditional code.
34155 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34156 <kernel-features.h>.
34157 [__ASSUME_32BITUIDS]: Make code unconditional.
34158 [!__ASSUME_32BITUIDS]: Remove conditional code.
34159 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34160 <kernel-features.h>.
34161 [__ASSUME_32BITUIDS]: Make code unconditional.
34162 [!__ASSUME_32BITUIDS]: Remove conditional code.
34163 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34164 <kernel-features.h>.
34165 [__ASSUME_32BITUIDS]: Make code unconditional.
34166 [!__ASSUME_32BITUIDS]: Remove conditional code.
34167 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34168 <kernel-features.h>.
34169 [__ASSUME_32BITUIDS]: Make code unconditional.
34170 [!__ASSUME_32BITUIDS]: Remove conditional code.
34171 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34172 <kernel-features.h>.
34173 [__NR_setresgid] (__setresgid): Do not declare.
34174 [__ASSUME_32BITUIDS]: Make code unconditional.
34175 [!__ASSUME_32BITUIDS]: Remove conditional code.
34176 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34177 <kernel-features.h>.
34178 [__NR_setresuid] (__setresuid): Do not declare.
34179 [__ASSUME_32BITUIDS]: Make code unconditional.
34180 [!__ASSUME_32BITUIDS]: Remove conditional code.
34181 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34182 <kernel-features.h>.
34183 [__ASSUME_32BITUIDS]: Make code unconditional.
34184 [!__ASSUME_32BITUIDS]: Remove conditional code.
34185 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34186 <kernel-features.h>.
34187 [__ASSUME_32BITUIDS]: Make code unconditional.
34188 [!__ASSUME_32BITUIDS]: Remove conditional code.
34189 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34190 <kernel-features.h>.
34191 [__ASSUME_32BITUIDS]: Make code unconditional.
34192 [!__ASSUME_32BITUIDS]: Remove conditional code.
34193 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34194 <kernel-features.h>.
34195 [__ASSUME_32BITUIDS]: Make code unconditional.
34196 [!__ASSUME_32BITUIDS]: Remove conditional code.
34197 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34198 <kernel-features.h>.
34199 [__ASSUME_32BITUIDS]: Make code unconditional.
34200 [!__ASSUME_32BITUIDS]: Remove conditional code.
34201 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34202 <kernel-features.h>.
34203 [__ASSUME_32BITUIDS]: Make code unconditional.
34204 [!__ASSUME_32BITUIDS]: Remove conditional code.
34205 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34206 <kernel-features.h>.
34207 [__ASSUME_32BITUIDS]: Make code unconditional.
34208 [!__ASSUME_32BITUIDS]: Remove conditional code.
34209 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34210 <kernel-features.h>.
34211 [__ASSUME_32BITUIDS]: Make code unconditional.
34212 [!__ASSUME_32BITUIDS]: Remove conditional code.
34213 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34214 <kernel-features.h>.
34215 [__ASSUME_32BITUIDS]: Make code unconditional.
34216 [!__ASSUME_32BITUIDS]: Remove conditional code.
34217 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34218 <kernel-features.h>.
34219 [__ASSUME_32BITUIDS]: Make code unconditional.
34220 [!__ASSUME_32BITUIDS]: Remove conditional code.
34221 * sysdeps/unix/sysv/linux/kernel-features.h
34222 (__ASSUME_SETRESUID_SYSCALL): Remove.
34223 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34224 (__ASSUME_32BITUIDS): Likewise.
34225 (__ASSUME_LDT_WORKS): Likewise.
34226 (__ASSUME_O_DIRECTORY): Likewise.
34227 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34228 architecture but not kernel version.
34229 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34230 (__ASSUME_MMAP2_SYSCALL): Likewise.
34231 (__ASSUME_STAT64_SYSCALL): Likewise.
34232 (__ASSUME_IPC64): Likewise.
34233 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34234 <kernel-features.h>.
34235 [__ASSUME_32BITUIDS]: Make code unconditional.
34236 [!__ASSUME_32BITUIDS]: Remove conditional code.
34237 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34238 <kernel-features.h>.
34239 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34240 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34241 132096]: Remove conditional code.
34242 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34243 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34244 <kernel-features.h>.
34245 [__ASSUME_32BITUIDS]: Make code unconditional.
34246 [!__ASSUME_32BITUIDS]: Remove conditional code.
34247 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34248 <kernel-features.h>.
34249 [__ASSUME_32BITUIDS]: Make code unconditional.
34250 [!__ASSUME_32BITUIDS]: Remove conditional code.
34251 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34252 <kernel-features.h>.
34253 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34255 (__setresgid): Do not declare.
34256 [__ASSUME_32BITUIDS]: Make code unconditional.
34257 [!__ASSUME_32BITUIDS]: Remove conditional code.
34258 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34259 <kernel-features.h>.
34260 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34262 (__setresuid): Do not declare.
34263 [__ASSUME_32BITUIDS]: Make code unconditional.
34264 [!__ASSUME_32BITUIDS]: Remove conditional code.
34265 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34266 <kernel-features.h>.
34267 [__ASSUME_32BITUIDS]: Make code unconditional.
34268 [!__ASSUME_32BITUIDS]: Remove conditional code.
34269 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34270 <kernel-features.h>.
34271 [__ASSUME_32BITUIDS]: Make code unconditional.
34272 [!__ASSUME_32BITUIDS]: Remove conditional code.
34274 2012-05-25 Richard Henderson <rth@twiddle.net>
34276 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34277 dl_hwcap to ifunc resolver.
34278 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34280 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34281 dl_hwcap to ifunc resolver.
34282 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34284 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34287 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34288 for |x| <= 2**-26, not 2**-57.
34289 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34292 2012-05-24 Jeff Law <law@redhat.com>
34294 * stdio-common/Makefile (tests): Add bug25.
34295 * stdio-common/bug25.c: New test.
34297 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34300 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34301 multiple of MALLOC_ALIGNMENT in size.
34302 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34304 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34306 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34308 (FILENAME_MAX): Use macro-int-constant.
34309 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34310 (_IOFBF): Use macro-int-constant.
34311 (_IOLBF): Likewise.
34312 (_IONBF): Likewise.
34313 (SEEK_CUR): Likewise.
34314 (SEEK_END): Likewise.
34315 (SEEK_SET): Likewise.
34316 (TMP_MAX): Likewise.
34317 (EOF): Use macro-int-constant. Require < 0.
34318 (NULL): Use macro-constant. Require == 0.
34319 (stdin): Require type to be FILE *.
34320 (stdout): Likewise.
34321 (stderr): Likewise.
34322 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34323 macro-int-constant.
34324 (EXIT_SUCCESS): Likewise.
34325 (NULL): Use macro-constant. Require == 0.
34326 (RAND_MAX): Use macro-int-constant.
34327 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34328 [C99-based standards] (strtof): Require function.
34329 [C99-based standards] (strtold): Likewise.
34330 [C99-based standards] (strtoll): Likewise.
34331 [C99-based standards] (strtoull): Likewise.
34332 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34333 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34334 [ISO || ISO99 || ISO11] (math.h): Likewise.
34335 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34336 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34339 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34342 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34343 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34344 * intl/dgettext.c (DCGETTEXT): Likewise.
34345 * intl/gettext.c (DCGETTEXT): Likewise.
34346 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34347 * posix/regex_internal.h (gettext): Likewise.
34348 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34349 Remove declaration.
34350 * include/argz.h (__argz_count_internal)
34351 (__argz_stringify_internal): Remove declaration.
34352 (__argz_count, __argz_stringify): Declare hidden proto.
34353 * intl/dcgettext.c: Remove use of INTDEF.
34354 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34355 * string/argz-stringify.c: Likewise.
34356 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34357 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34358 Declare hidden proto.
34359 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34360 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34361 Declare hidden proto.
34362 * include/stdio.h (__asprintf_internal): Don't declare.
34363 (__asprintf): Don't define as macro. Declare hidden proto.
34364 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34365 (__fsetlocking): Declare hidden proto.
34366 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34367 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34369 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34370 (_IO_setlinebuf): Remove use of INTUSE.
34371 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34372 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34373 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34374 Remove declaration.
34375 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34376 (_IO_do_flush): Remove use of INTUSE.
34377 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34378 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34379 (_IO_adjust_column, _IO_least_wmarker)
34380 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34381 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34382 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34383 (_IO_default_doallocate, _IO_wdefault_doallocate)
34384 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34385 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34386 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34387 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34388 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34389 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34390 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34391 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34392 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34393 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34394 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34395 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34396 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34398 (_IO_flush_all_internal, _IO_adjust_column_internal)
34399 (_IO_default_uflow_internal, _IO_default_finish_internal)
34400 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34401 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34402 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34403 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34404 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34405 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34406 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34407 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34408 (_IO_file_close_internal, _IO_file_close_it_internal)
34409 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34410 (_IO_file_init_internal, _IO_file_attach_internal)
34411 (_IO_file_fopen_internal, _IO_file_read_internal)
34412 (_IO_file_sync_internal, _IO_file_seek_internal)
34413 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34414 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34415 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34416 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34417 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34418 (_IO_list_all_internal, _IO_link_in_internal)
34419 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34420 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34421 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34422 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34423 (_IO_do_write_internal, _IO_padn_internal)
34424 (_IO_getline_info_internal, _IO_getline_internal)
34425 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34426 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34427 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34428 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34429 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34430 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34431 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34432 with libc_hidden_ver, remove use of INTUSE.
34433 * libio/genops.c: Likewise.
34434 * libio/freopen.c: Likewise.
34435 * libio/freopen64.c: Likewise.
34436 * libio/iofclose.c: Likewise.
34437 * libio/iofdopen.c: Likewise.
34438 * libio/iofflush.c: Likewise.
34439 * libio/iofflush_u.c: Likewise.
34440 * libio/iofgets.c: Likewise.
34441 * libio/iofgets_u.c: Likewise.
34442 * libio/iofopen.c: Likewise.
34443 * libio/iofopncook.c: Likewise.
34444 * libio/iofread.c: Likewise.
34445 * libio/iofread_u.c: Likewise.
34446 * libio/ioftell.c: Likewise.
34447 * libio/iofwrite.c: Likewise.
34448 * libio/iogetline.c: Likewise.
34449 * libio/iogets.c: Likewise.
34450 * libio/iogetwline.c: Likewise.
34451 * libio/iopadn.c: Likewise.
34452 * libio/iopopen.c: Likewise.
34453 * libio/ioseekoff.c: Likewise.
34454 * libio/ioseekpos.c: Likewise.
34455 * libio/iosetbuffer.c: Likewise.
34456 * libio/iosetvbuf.c: Likewise.
34457 * libio/ioungetc.c: Likewise.
34458 * libio/ioungetwc.c: Likewise.
34459 * libio/iovdprintf.c: Likewise.
34460 * libio/iovsprintf.c: Likewise.
34461 * libio/iovsscanf.c: Likewise.
34462 * libio/memstream.c: Likewise.
34463 * libio/obprintf.c: Likewise.
34464 * libio/oldfileops.c: Likewise.
34465 * libio/oldiofclose.c: Likewise.
34466 * libio/oldiofdopen.c: Likewise.
34467 * libio/oldiofopen.c: Likewise.
34468 * libio/oldiopopen.c: Likewise.
34469 * libio/oldstdfiles.c: Likewise.
34470 * libio/putc.c: Likewise.
34471 * libio/setbuf.c: Likewise.
34472 * libio/setlinebuf.c: Likewise.
34473 * libio/stdfiles.c: Likewise.
34474 * libio/strops.c: Likewise.
34475 * libio/vasprintf.c: Likewise.
34476 * libio/vscanf.c: Likewise.
34477 * libio/vsnprintf.c: Likewise.
34478 * libio/vswprintf.c: Likewise.
34479 * libio/wfiledoalloc.c: Likewise.
34480 * libio/wfileops.c: Likewise.
34481 * libio/wgenops.c: Likewise.
34482 * libio/wmemstream.c: Likewise.
34483 * libio/wstrops.c: Likewise.
34484 * libio/__fpurge.c: Likewise.
34485 * libio/__fsetlocking.c: Likewise.
34486 * assert/assert.c: Likewise.
34487 * debug/fgets_chk.c: Likewise.
34488 * debug/fgets_u_chk.c: Likewise.
34489 * debug/fread_chk.c: Likewise.
34490 * debug/fread_u_chk.c: Likewise.
34491 * debug/gets_chk.c: Likewise.
34492 * debug/obprintf_chk.c: Likewise.
34493 * debug/vasprintf_chk.c: Likewise.
34494 * debug/vdprintf_chk.c: Likewise.
34495 * debug/vsnprintf_chk.c: Likewise.
34496 * debug/vsprintf_chk.c: Likewise.
34497 * malloc/mtrace.c: Likewise.
34498 * misc/error.c: Likewise.
34499 * misc/syslog.c: Likewise.
34500 * stdio-common/asprintf.c: Likewise.
34501 * stdio-common/fxprintf.c: Likewise.
34502 * stdio-common/getw.c: Likewise.
34503 * stdio-common/isoc99_fscanf.c: Likewise.
34504 * stdio-common/isoc99_scanf.c: Likewise.
34505 * stdio-common/isoc99_vfscanf.c: Likewise.
34506 * stdio-common/isoc99_vscanf.c: Likewise.
34507 * stdio-common/isoc99_vsscanf.c: Likewise.
34508 * stdio-common/printf-prs.c: Likewise.
34509 * stdio-common/printf_fp.c: Likewise.
34510 * stdio-common/printf_fphex.c: Likewise.
34511 * stdio-common/printf_size.c: Likewise.
34512 * stdio-common/putw.c: Likewise.
34513 * stdio-common/scanf.c: Likewise.
34514 * stdio-common/sprintf.c: Likewise.
34515 * stdio-common/tmpfile.c: Likewise.
34516 * stdio-common/vfprintf.c: Likewise.
34517 * stdio-common/vfscanf.c: Likewise.
34518 * stdlib/strfmon_l.c: Likewise.
34519 * sunrpc/openchild.c: Likewise.
34520 * sunrpc/xdr_stdio.c: Likewise.
34521 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34522 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34524 2012-05-24 Roland McGrath <roland@hack.frob.com>
34526 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34528 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34529 in the third column, to generate for the shared library an IFUNC
34530 that uses _dl_vdso_vsym.
34531 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34532 * Makeconfig (object-suffixes-noshared): New variable.
34534 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34535 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34536 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34537 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34540 * include/sys/time.h (__gettimeofday): Remove macro.
34541 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34542 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34544 (__gettimeofday): Add libc_hidden_def.
34545 (gettimeofday): Add libc_hidden_weak.
34546 * sysdeps/mach/gettimeofday.c: Likewise.
34547 * sysdeps/posix/gettimeofday.c: Likewise.
34548 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34549 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34551 (__gettimeofday_internal): Remove strong_alias.
34552 (__gettimeofday): Add libc_hidden_def.
34553 (gettimeofday): Add libc_hidden_weak.
34554 * sysdeps/unix/syscalls.list (gettimeofday):
34555 Remove __gettimeofday_internal alias.
34557 2012-05-24 Daniel Jacobowitz <drow@false.org>
34558 H.J. Lu <hongjiu.lu@intel.com>
34561 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34562 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34563 (largebin_index_32_big): New.
34564 (largebin_index): Use it for 16-byte alignment.
34565 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34566 correction with front_misalign.
34568 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34596 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34597 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34599 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34603 * math/libm-test.inc (exp_test): Add test from bug 14036.
34604 (pow_test): Add test from bug 10846.
34606 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34608 (special_function): Do not include flags in test name.
34609 (parse_args): Likewise.
34610 * sysdeps/i386/fpu/libm-test-ulps: Update.
34611 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34612 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34613 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34616 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34618 * math/libm-test.inc ("Philosophy"): Update comment about
34620 (UNDERFLOW_EXCEPTION): New macro.
34621 (UNDERFLOW_EXCEPTION_OK): Likewise.
34622 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34623 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34624 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34625 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34626 (INVALID_EXCEPTION_OK): Update value.
34627 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34628 (OVERFLOW_EXCEPTION_OK): Likewise.
34629 (IGNORE_ZERO_INF_SIGN): Likewise.
34630 (test_exceptions): Handle underflow exceptions.
34631 (acos_test): Update for underflow exception expectations.
34632 (cexp_test): Likewise.
34633 (clog_test): Likewise.
34634 (clog10_test): Likewise.
34635 (csqrt_test): Likewise.
34636 (ctan_test): Likewise.
34637 (ctanh_test): Likewise.
34638 (exp_test): Likewise.
34639 (exp10_test): Likewise.
34640 (exp2_test): Likewise.
34641 (expm1_test): Likewise.
34642 (fma_test): Likewise.
34643 (j0_test): Likewise.
34644 (jn_test): Likewise.
34645 (nexttoward_test): Likewise.
34646 (pow_test): Likewise.
34647 (scalbn_test): Likewise.
34648 (scalbln_test): Likewise.
34649 (tan_test): Likewise.
34650 (y1_test): Likewise.
34651 * sysdeps/i386/fpu/libm-test-ulps: Update.
34652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34654 2012-05-23 David S. Miller <davem@davemloft.net>
34656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34657 (__libc_sigaction): Remove unused local variables.
34659 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34661 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34663 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34665 mktime: avoid signed integer overflow
34666 * time/mktime.c (__mktime_internal): Do not mishandle the case
34667 where diff == INT_MIN.
34669 mktime: simplify computation of average
34670 * time/mktime.c (ranged_convert): Use new time_t_avg function
34671 instead of rolling our own (probably-slower) code.
34673 mktime: do not assume signed right shift propagates sign bit
34674 * time/mktime.c (isdst_differ): New static function.
34675 (__mktime_internal): No need to normalize tm_isdst now.
34676 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34679 mktime: merge another wrapv change from gnulib
34680 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34681 from some compilers.
34683 mktime: remove incorrect attempt at unusual arithmetics
34684 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34685 The code didn't really work on such machines anyway.
34686 (TYPE_MINIMUM): Assume two's complement.
34687 (twos_complement_arithmetic): Verify that long_int and time_t
34688 are two's complement (or unsigned, in the latter case).
34690 mktime: check signed shifts on long_int and time_t, too
34691 * time/mktime.c (SHR): Check that shifts work as desired
34692 on the types long_int and time_t too, as SHR is used on
34695 mktime: do not assume 'long' is wide enough
34696 * time/mktime.c (verify): Move decl up.
34697 (long_int): New type.
34698 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34699 to remove assumption in the code that 'long' is wide enough to
34700 store year values. This assumption is not true on x32 and on
34701 some non-glibc platforms.
34703 mktime: merge wrapv change from gnulib
34704 * time/mktime.c (WRAPV): New macro.
34705 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34706 (guess_time_tm, __mktime_internal): Do not assume that signed
34707 integer overflow wraps around; modern compilers generate code
34708 where this assumption is no longer valid.
34710 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34712 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34713 Replace "jmp L(pseudo_end)" with "ret".
34714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34717 2012-05-23 Andreas Jaeger <aj@suse.de>
34719 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34720 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34722 2012-05-23 Andreas Jaeger <aj@suse.de>
34723 Maximilian Attems <max@stro.at>
34725 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34728 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34731 code so that pseudo_end is just ret and the stack pointer is
34732 correct also for static library in error case.
34734 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34736 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34737 move to syscalls.list.
34738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34743 * manual/install.texi (Running make install): Do not mention Linux
34744 kernel version for which pt_chown is not needed.
34745 (Linux): Do not mention problems with nscd with 2.0 kernels.
34746 * INSTALL: Regenerated.
34748 2012-05-23 Andreas Jaeger <aj@suse.de>
34750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34751 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34753 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34754 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34755 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34756 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34757 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34758 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34760 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34761 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34762 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34763 * sysdeps/unix/sysv/linux/bits/in.h
34764 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34766 2012-05-22 Roland McGrath <roland@hack.frob.com>
34768 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34769 (PREPARE_VERSION): Just use assert instead, it will be elided
34770 under [NDEBUG] anyway.
34772 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34774 * sysdeps/unix/sysv/linux/Makefile: Include
34775 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34776 (sysdep_routines): Remove sysctl.
34777 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34778 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34779 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34780 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34781 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34783 2012-05-22 Andreas Jaeger <aj@suse.de>
34785 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34786 that pseudo_end is just ret and the stack pointer is correct also
34787 for static library in error case.
34789 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34792 * nss/nsswitch.c (defconfig_entries): New variable.
34793 (__nss_database_lookup): Don't leak defconfig entries.
34794 (nss_parse_service_list): Don't leak on error paths.
34795 (free_database_entries): New function.
34796 (free_defconfig): New function.
34797 (free_mem): Move common code to free_database_entries.
34799 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34801 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34803 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34805 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34806 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34809 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34810 (INTERNAL_SYSCALL_TYPES): Likewise.
34811 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34812 (LOAD_REGS_TYPES_[1-6]): Likewise.
34813 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34814 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34816 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34818 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34819 copysignl for GLIBC_2_0.
34820 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34821 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34823 logbl for GLIBC_2_0.
34824 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34825 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34827 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34830 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34832 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34835 * time/mktime.c: Update copyright years.
34837 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34839 mktime: merge comment-quoting-style change from gnulib
34840 * time/mktime.c: Quote 'like this' in comments.
34841 The GNU coding standards suggest that we no longer quote `like this',
34842 as "`" and "'" are typically rendered asymmetrically nowadays.
34843 The typical gnulib style is to quote 'like this' when quoting
34844 code, and "like this" when quoting English.
34846 * time/mktime.c (compile-command): Add "-I.".
34848 mktime: merge mktime-internal.h change from gnulib
34849 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34851 mktime: merge time_r change from gnulib
34852 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34854 mktime: merge DEBUG change from gnulib
34855 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34856 case system <time.h> has a #define.
34858 mktime: merge <sys/types.h> change from gnulib
34859 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34860 since <time.t> is now guaranteed to define time_t.
34862 mktime: merge HAVE_CONFIG_H change from gnulib
34863 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34865 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34870 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34872 (struct rusage): Use anonymous union to pad each field to
34875 2012-05-21 David S. Miller <davem@davemloft.net>
34877 * Makefules (o-iterator): Remove .s cases.
34878 (compile-command.s): Delete.
34879 (COMPILE.s): Delete.
34880 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34882 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34884 * configure.in (libc_cv_predef_stack_protector): Only consider
34885 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34886 * configure: Regenerated.
34888 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34891 New macro. Use R*LP on int and pointer.
34892 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34893 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34894 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34895 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34897 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34898 [__WORDSIZE_TIME64_COMPAT32] instead of
34899 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34900 (struct utmp): Likewise.
34901 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34902 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34904 (__WORDSIZE_TIME64_COMPAT32): This.
34905 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34906 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34907 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34908 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34909 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34910 (__WORDSIZE_TIME64_COMPAT32): New macro.
34912 2012-05-21 Andreas Jaeger <aj@suse.de>
34914 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34915 only if [SHARED]. Add prototype for __wcschr_ia32.
34917 2012-05-21 Roland McGrath <roland@hack.frob.com>
34919 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34920 of %rbp unmolested in the jmp_buf while mangling the low bits.
34921 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34922 unmolested high bits of %rbp while demangling the low bits.
34923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34925 2012-05-21 Andreas Jaeger <aj@suse.de>
34927 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34928 * sunrpc/svc_simple.c: Use it for registerrpc.
34929 * sunrpc/xcrypt.c: Use it for passwd2des.
34931 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34933 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34935 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34936 Don't define if [__SYSCALL_WORDSIZE != 32].
34937 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34940 2012-05-21 Bruno Haible <bruno@clisp.org>
34941 Andreas Jaeger <aj@suse.de>
34943 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34944 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34945 inptr and inend for must_buffer_ch.
34946 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34947 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34948 * stdio-common/Makefile (tests): Remove bug15.
34949 (bug15-ENV): Remove macro.
34950 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34953 2012-05-19 Andreas Jaeger <aj@suse.de>
34954 Roland McGrath <roland@hack.frob.com>
34956 * manual/contrib.texi: Completely rewritten. It contains now an
34957 alphabetical list of contributors and their contributions.
34959 2012-05-21 Richard Henderson <rth@twiddle.net>
34961 * misc/getauxval.c (__getauxval): Use unsigned long int.
34962 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34963 (getauxval): Use unsigned long int.
34965 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34967 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34969 2012-05-21 Roland McGrath <roland@hack.frob.com>
34971 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34972 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34973 __alignof__ (long double).
34975 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34979 2012-05-20 Richard Henderson <rth@twiddle.net>
34981 * misc/getauxval.c: New file.
34982 * misc/sys/auxv.h: New file.
34983 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34984 (routines): Add getauxval.
34985 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34986 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34987 * elf/dl-sysdep.c (_dl_auxv): Remove.
34988 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34989 * elf/dl-support.c (_dl_auxv): New variable.
34990 (_dl_aux_init): Initialize it.
34991 * manual/startup.texi (Auxiliary Vector): New node.
34992 * sysdeps/generic/bits/hwcap.h: New file.
34993 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34994 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34995 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34996 * sysdeps/sparc/sysdep.h: ... here. Include it.
34997 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35010 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35014 2012-05-19 David S. Miller <davem@davemloft.net>
35016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35018 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35021 * math/s_ccosh.c: Include <float.h>
35022 (__ccosh): Avoid internal overflow calculating sinh and cosh
35023 values before multiplying by sin and cos values.
35024 * math/s_ccoshf.c: Likewise.
35025 * math/s_ccoshl.c: Likewise.
35026 * math/s_csin.c: Likewise.
35027 * math/s_csinf.c: Likewise.
35028 * math/s_csinl.c: Likewise.
35029 * math/s_csinh.c: Likewise.
35030 * math/s_csinhf.c: Likewise.
35031 * math/s_csinhl.c: Likewise.
35032 * math/libm-test.inc (ccos_test): Add more tests.
35033 (ccosh_test): Likewise.
35034 (csin_test): Likewise.
35035 (csinh_test): Likewise.
35036 * sysdeps/i386/fpu/libm-test-ulps: Update.
35037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35039 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35041 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35042 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35044 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35046 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35048 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35049 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35050 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35051 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35052 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35053 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35054 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35055 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35056 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35057 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35058 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35059 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35060 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35061 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35062 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35063 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35064 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35065 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35066 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35067 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35068 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35069 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35070 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35071 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35072 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35073 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35074 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35075 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35076 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35077 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35078 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35080 2012-05-18 Andreas Jaeger <aj@suse.de>
35082 * csu/.gitignore: Delete.
35084 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35086 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35087 (timex): Use __syscall_slong_t.
35089 2012-05-18 Andreas Jaeger <aj@suse.de>
35090 Carlos O'Donell <carlos_odonell@mentor.com>
35092 * manual/install.texi (Configuring and compiling): Update
35093 description about files modified in the source directory.
35094 * INSTALL: Regenerated.
35096 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35098 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35099 value. Use "or" to set return value to -1.
35100 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35101 negate return value.
35103 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35105 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35106 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35107 failure if the compiler has Graphite support disabled.
35108 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35110 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35111 (CFLAGS-memmove.c): Likewise.
35112 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35115 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35117 * sysdeps/x86_64/x32/_itoa.h: New file.
35119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35120 getdents system call only if kernel and user dirents have the
35121 same d_ino and d_off.
35123 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35124 LLONG_MAX != LONG_MAX.
35125 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35126 (_fitoa_word): Likewise.
35128 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35130 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35131 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35132 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35135 include <bits/wordsize.h>. Check __x86_64__ instead of
35137 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35138 if __x86_64__ is defined. Use anonymous union on fpstate.
35140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35143 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35145 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35146 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35147 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35148 Refer to _rtld_local_ro instead of _rtld_global_ro.
35149 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35151 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35153 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35155 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35156 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35157 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35159 * sysdeps/powerpc/powerpc32/dl-machine.c
35160 (__elf_machine_runtime_setup) [PROF]: Don't reference
35163 2012-05-18 Andreas Jaeger <aj@suse.de>
35165 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35166 function only available for GCCs before 3.4 since GCC 3.4
35167 introduced a builtin.
35169 (llrintf): Likewise.
35170 (llrint): Likewise.
35177 (nearbyint): Likewise.
35178 (nearbyintf): Likewise.
35182 (floorf): Likewise.
35184 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35186 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35187 on both fields and cast pointer to __syscall_ulong_t.
35189 * bits/types.h (__fsword_t): New type.
35190 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35191 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35193 (__FSWORD_T_TYPE): Likewise.
35194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35195 (__FSWORD_T_TYPE): Likewise.
35196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35197 (__FSWORD_T_TYPE): Likewise.
35198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35199 (__FSWORD_T_TYPE): Likewise.
35200 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35201 __SWORD_TYPE with __fsword_t.
35202 (statfs64): Likewise.
35204 2012-05-17 David S. Miller <davem@davemloft.net>
35206 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35208 2012-05-17 Andreas Jaeger <aj@suse.de>
35210 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35213 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35215 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35217 2012-05-17 Andreas Jaeger <aj@suse.de>
35219 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35222 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35224 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35226 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35228 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35229 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35231 2012-05-17 Andreas Jaeger <aj@suse.de>
35232 Carlos O'Donell <carlos_odonell@mentor.com>
35235 * sysdeps/x86_64/multiarch/init-arch.h
35236 (bit_YMM_Usable): Rename to...
35237 (bit_AVX_Usable): ... this.
35238 (bit_FMA4_Usable): New macro.
35239 (bit_XMM_state): New macro.
35240 (bit_YMM_state): New macro.
35241 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35242 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35243 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35244 (CPUID_OSXSAVE): New macro.
35245 (CPUID_AVX): New macro.
35246 (CPUID_FMA4): New macro.
35247 (index_YMM_Usable): Rename to...
35248 (index_AVX_Usable): ... this.
35249 (HAS_AVX): Use HAS_ARCH_FEATURE.
35250 (HAS_FMA4): Likewise.
35251 (HAS_YMM_USABLE): Remove.
35252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35253 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35255 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35256 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35257 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35258 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35259 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35261 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35263 * math/libm-test.c: Support platforms without multiple rounding modes.
35264 * math/bug-nextafter.c: Support platforms without FP exceptions.
35265 * math/bug-nexttoward.c: Likewise.
35266 * math/test-fenv.c: Likewise.
35267 * math/test-misc.c: Likewise.
35268 * stdlib/bug-getcontext.c: Likewise.
35270 2012-05-17 Andreas Jaeger <aj@suse.de>
35272 * manual/examples/search.c (critter_cmp): Change signature to
35274 * manual/string.texi (Collation Functions): Likewise.
35276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35278 * bits/types.h: Fold copyright years.
35279 * bits/typesizes.h: Likewise.
35280 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35284 * time/time.h: Likewise.
35286 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35289 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35290 in instead of returning them. Return void.
35291 (__libc_mallinfo): Accumulate over all arenas.
35292 (__malloc_stats): Adjust for change in int_mallinfo interface.
35294 2012-05-16 Roland McGrath <roland@hack.frob.com>
35297 * configure.in (NM): Add AC_CHECK_TOOL for it.
35298 (libc_extra_cflags): New substituted variable.
35299 Check for -fstack-protector being used implicitly.
35300 * configure: Regenerated.
35301 * config.make.in (config-extra-cflags): New variable,
35302 gets @libc_extra_cflags@.
35303 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35306 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35307 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35308 * configure: Regenerated.
35309 * config.make.in (CPPUNDEFS): New substituted variable.
35310 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35311 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35312 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35314 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35316 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35317 (mq_attr): Use __syscall_slong_t.
35319 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35321 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35322 Check __x86_64__ instead of __WORDSIZE.
35323 (_STAT_VER_LINUX): Likewise.
35324 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35325 __syscall_ulong_t and __syscall_slong_t.
35326 (stat64): Likewise.
35328 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35332 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35334 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35336 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35338 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35341 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35342 include <bits/wordsize.h>. Check __x86_64__ instead of
35344 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35346 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35348 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35349 include <bits/wordsize.h>. Check __x86_64__ instead of
35351 (user_regs_struct): Use "__extension__ unsigned long long"
35352 instead of "unsigned long" if __x86_64__ is defined.
35353 (user): Likewise. Pad after pointer field if __ILP32__ is
35356 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35358 * configure.in (makeinfo): Require version 4.5 or later. Allow
35360 * configure: Regenerated.
35361 * manual/install.texi (texinfo): Increase version requirement to
35363 * INSTALL: Regenerated.
35365 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35369 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35371 * sysdeps/x86_64/x32/ffs.c: New file.
35373 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35375 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35376 defined. Use __syscall_ulong_t.
35377 (shminfo): Use __syscall_ulong_t.
35378 (shm_info): Likewise.
35380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35383 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35385 (msgqnum_t): Use __syscall_ulong_t.
35386 (msglen_t): Likewise.
35387 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35390 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35391 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35393 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35395 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35396 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35398 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35401 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35402 include <bits/wordsize.h>. Check __x86_64__ instead of
35405 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35406 "unsigned long long int" if __x86_64__ is defined.
35407 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35410 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35411 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35413 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35415 (GET_PC): Cast to uintptr_t first.
35416 (GET_FRAME): Likewise.
35417 (GET_STACK): Likewise.
35419 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35422 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35424 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35425 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35426 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35427 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35429 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35431 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35432 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35433 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35434 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35435 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35437 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35438 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35439 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35440 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35441 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35442 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35443 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35445 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35446 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35447 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35449 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35451 * Makerules (+depfiles): Also collect depfiles from .oS in
35453 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35454 .oS, $(libnldbl-routines)).
35456 * Makerules (native-compile-mkdep-flags): Define.
35457 * sunrpc/Makefile (extra-objs): Add $(addprefix
35458 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35459 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35460 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35461 calling $(make-target-directory).
35463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35465 * bits/types.h (__snseconds_t): Removed.
35466 * time/time.h (struct timespec): Replace __snseconds_t with
35468 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35469 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35472 (__SNSECONDS_T_TYPE): Likewise.
35473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35474 (__SNSECONDS_T_TYPE): Likewise.
35475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35476 (__SNSECONDS_T_TYPE): Likewise.
35478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35480 * sysdeps/mach/hurd/bits/typesizes.h
35481 (__SYSCALL_SLONG_TYPE): New macro.
35482 (__SYSCALL_ULONG_TYPE): Likewise.
35484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35486 * bits/types.h (__syscall_slong_t): New type.
35487 (__syscall_ulong_t): Likewise.
35489 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35490 (__SYSCALL_ULONG_TYPE): Likewise.
35491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35492 (__SYSCALL_SLONG_TYPE): Likewise.
35493 (__SYSCALL_ULONG_TYPE): Likewise.
35494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35495 (__SYSCALL_SLONG_TYPE): Likewise.
35496 (__SYSCALL_ULONG_TYPE): Likewise.
35497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35498 (__SYSCALL_SLONG_TYPE): Likewise.
35499 (__SYSCALL_ULONG_TYPE): Likewise.
35501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35503 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35504 Add sigaltstack-offsets.sym.
35505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35506 <sigaltstack-offsets.h>.
35507 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35508 longjmp_msg pointer.
35509 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35510 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35512 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35514 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35516 * elf/stackguard-macros.h: Remove file.
35517 * sysdeps/generic/stackguard-macros.h: New file.
35518 * sysdeps/i386/stackguard-macros.h: Likewise.
35519 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35520 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35521 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35522 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35523 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35524 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35525 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35526 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35527 <elf/stackguard-macros.h>.
35530 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35531 __aligned__ in attribute.
35532 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35533 (gregset_t): Likewise.
35535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35537 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35538 * sysdeps/x86_64/64/Implies-after: Here. New file.
35539 * sysdeps/x86_64/x32/Implies-after: New file.
35541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35543 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35544 and access return value for _dl_profile_fixup. Use R10_LP to
35547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35549 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35553 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35554 * sysdeps/x86_64/x32/sysdep.h: New file.
35556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35558 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35559 * sysdeps/x86_64/setjmp.S: Likewise.
35561 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35563 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35564 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35565 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35566 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35567 remove unused global constant.
35569 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35571 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35572 include of <not-cancel.h>.
35574 2012-05-15 Roland McGrath <roland@hack.frob.com>
35576 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35578 2012-05-15 Jeff Law <law@redhat.com>
35579 Andreas Jaeger <aj@suse.de>
35582 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35584 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35585 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35586 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35587 code changing __hst_map_handle.map.
35589 2012-05-15 Roland McGrath <roland@hack.frob.com>
35591 * configure.in (sysnames): Look for Implies-before and Implies-after
35593 * configure: Regenerated.
35595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35597 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35598 8-byte data alignment with LP_SIZE alignment.
35600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35607 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35611 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35612 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35613 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35615 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35619 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35620 (stackinfo_sub_sp): Likewise.
35622 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35639 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35643 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35644 into R11_LP and load __x86_64_shared_cache_size_half into
35647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35649 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35652 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35660 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35661 powerpc32/power7/fpu/s_logb.c via #include.
35662 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35663 powerpc32/power7/fpu/s_logbf.c via #include.
35664 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35665 powerpc32/power7/fpu/s_logbl.c via #include.
35667 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35669 * README.libm: Remove file.
35671 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35673 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35674 count for x32. Use R*_LP and omit operand-size suffix.
35676 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35678 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35679 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35680 * sysdeps/x86_64/x32/shlib-versions: New file.
35682 2012-05-14 Roland McGrath <roland@hack.frob.com>
35684 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35685 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35686 Use _dl_fatal_printf instead.
35688 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35690 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35691 set if not set by the user. Do not allow for being unset.
35692 * sysdeps/unix/sysv/linux/configure: Regenerated.
35694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35696 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35697 the `q' suffix from lea and replace .quad with ASM_ADDR.
35699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35702 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35704 (PTR_DEMANGLE): Likewise.
35706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35708 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35710 (ASM_ADDR): Likewise.
35711 (RAX_LP): Likewise.
35712 (RBP_LP): Likewise.
35713 (RBX_LP): Likewise.
35714 (RCX_LP): Likewise.
35715 (RDI_LP): Likewise.
35716 (RSI_LP): Likewise.
35717 (RSP_LP): Likewise.
35720 (R10_LP): Likewise.
35721 (R10_LP): Likewise.
35722 (R11_LP): Likewise.
35723 (R12_LP): Likewise.
35724 (R13_LP): Likewise.
35725 (R14_LP): Likewise.
35726 (R15_LP): Likewise.
35728 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35730 * sysdeps/x86_64/x32/dl-machine.h: New file.
35732 2012-05-14 Andreas Jaeger <aj@suse.de>
35734 * manual/Makefile (subdir): Remove export of subdir.
35735 (all): Remove target.
35736 (.PHONY): Remove all from list.
35737 (mkinstalldirs): Remove.
35738 (.PHONY): Remove installdirs from list.
35739 ($(inst_infodir)/libc.info): Use make-target-directory.
35740 (installdirs): Remove.
35741 (subdir_%): Remove.
35742 (glibc-targets): Remove.
35745 ($(objpfx)stubs ../po/manual.pot): Remove.
35746 ($(objpfx)stamp%): Remove.
35747 (make-target-directory): Remove.
35748 (subdir_install): Remove.
35749 (routines): Remove.
35756 * manual/.gitignore: Remove, it's not needed anymore.
35757 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35759 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35761 (texis): Renamed to $(objpfx)texis.
35762 (texis-path): New, contains path to generated files.
35763 (chapters.%): Use texis-path for complete path, add extra argument
35765 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35766 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35767 (summary,texi, stamp-summary): Use complete path of
35768 files. Generate files in build dir.
35769 (dir-add.texi): Build in build dir.
35770 (libm-err.texi,stamp-libm-err): Likewise.
35771 (version.texi, stamp-version): Likewise.
35772 (.%c.texi): Likewise.
35773 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35774 (mostlyclean): Remove target.
35775 (realclean): Remove target.
35776 (generated): Add new variable with contents from mostlyclean and
35777 realclean, remove entries duplicated in common-mostlyclean, add
35778 stamp-libm-err and stamp-version.
35779 (generated-dirs): Add libc directory.
35780 ($(inst_infodir)/libc.info): Install files from build dir.
35782 * manual/install.texi (Configuring and compiling): Adjust since
35783 the info files are not part of the tar ball anymore.
35785 2012-05-14 Andreas Jaeger <aj@suse.de>
35787 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35790 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35794 to 2.2.0 where earlier.
35795 * sysdeps/unix/sysv/linux/configure: Regenerated.
35796 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35797 Remove conditional code.
35798 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35799 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35800 Remove conditional code.
35801 [!__NR_lchown]: Likewise.
35802 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35803 [__NR_lchown]: Likewise.
35804 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35805 comment referencing __ASSUME_LCHOWN_SYSCALL.
35806 * sysdeps/unix/sysv/linux/i386/sigaction.c
35807 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35808 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35809 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35810 Remove conditional code.
35811 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35812 (__protocol_available): Remove #if 0 code.
35813 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35815 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35816 * sysdeps/unix/sysv/linux/kernel-features.h
35817 (__ASSUME_GETCWD_SYSCALL): Don't define.
35818 (__ASSUME_REALTIME_SIGNALS): Likewise.
35819 (__ASSUME_PREAD_SYSCALL): Likewise.
35820 (__ASSUME_PWRITE_SYSCALL): Likewise.
35821 (__ASSUME_POLL_SYSCALL): Likewise.
35822 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35823 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35825 (__ASSUME_SIOCGIFNAME): Don't define.
35826 (__ASSUME_MSG_NOSIGNAL): Likewise.
35827 (__ASSUME_SENDFILE): Define unconditionally.
35828 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35829 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35831 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35832 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35833 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35834 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35835 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35836 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35837 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35862 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35863 Remove conditional code.
35864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35865 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35866 Remove conditional code.
35867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35868 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35869 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35870 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35871 Remove conditional code.
35872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35873 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35874 Remove conditional code.
35875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35876 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35877 Remove conditional code.
35878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35879 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35880 Remove conditional code.
35881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35882 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35883 Remove conditional code.
35884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35885 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35886 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35888 * sysdeps/unix/sysv/linux/sigaction.c
35889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35891 * sysdeps/unix/sysv/linux/sigpending.c
35892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35894 * sysdeps/unix/sysv/linux/sigprocmask.c
35895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35897 * sysdeps/unix/sysv/linux/sigsuspend.c
35898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35901 (__libc_missing_rt_sigs): Remove.
35902 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35903 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35904 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35905 Remove conditional code.
35906 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35907 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35910 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35911 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35912 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35914 2012-05-14 Andreas Jaeger <aj@suse.de>
35916 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35917 it's not used in glibc.
35918 (__coshm1): Likewise.
35919 (__acosh1p): Likewise.
35922 * manual/string.texi (Copying and Concatenation): Add missing
35923 variable in concat example.
35924 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35929 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35930 __builtin_clzl with __builtin_clzll.
35932 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35935 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35938 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35940 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35941 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35942 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35943 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35945 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35947 * NEWS: Update ia64 info.
35949 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35951 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35954 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35956 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35957 * sysdeps/unix/syscalls.list (dup3): Likewise.
35958 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35959 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35961 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35963 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35964 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35966 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35968 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35970 (TLS_IE): Use mov/add instead of movq/addq to load thread
35972 (TLS_GD_PREFIX): New.
35975 2012-05-11 David S. Miller <davem@davemloft.net>
35977 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35978 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35979 (_FPU_SETCW): Likewise.
35981 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35983 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35984 is 32-byte aligned.
35986 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35989 * iconvdata/gb18030.c: Update tables.
35990 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35991 characters specially.
35992 (BODY for TO_LOOP): Add encoding of missing ranges.
35994 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35997 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35998 * sysdeps/mach/hurd/dup3.c: Likewise.
35999 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36000 * sysdeps/powerpc/memmove.c:: Likewise.
36002 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36005 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36007 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36009 * elf/elf.h (R_X86_64_RELATIVE64): New.
36010 (R_X86_64_NUM): Updated.
36011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36012 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36013 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36014 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36015 tst-quad1pie tst-quad2pie
36016 (modules-names): Add tst-quadmod1 tst-quadmod2.
36017 ($(objpfx)tst-quad1): New dependency.
36018 ($(objpfx)tst-quad2): Likewise.
36019 ($(objpfx)tst-quad1pie): Likewise.
36020 ($(objpfx)tst-quad2pie): Likewise.
36021 * sysdeps/x86_64/tst-quad1.c: New file.
36022 * sysdeps/x86_64/tst-quad1pie.c: New file.
36023 * sysdeps/x86_64/tst-quad2.c: Likewise.
36024 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36025 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36026 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36027 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36028 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36032 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36033 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36034 * streams/stropts.h (t_scalar_t): Define type.
36036 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36037 (_PATH_PRESERVE): Set to "/var/lib".
36038 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36040 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36043 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36044 if __dir_mkfile succeeded.
36046 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36047 checking for _hurd_dtablesize. Unlock it right after having
36048 finished _hurd_dtable allocation.
36050 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36052 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36053 * sysdeps/mach/hurd/configure: Regenerated.
36054 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36055 special-casing to...
36056 * sysdeps/gnu/configure.in: ... this new file.
36057 * sysdeps/unix/sysv/linux/configure: Regenerated.
36058 * sysdeps/gnu/configure: New generated file.
36060 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36061 for Linux: use nsec instead of usec, as well as:
36062 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36063 members of type struct timespec.
36064 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36066 (struct stat64): Likewise.
36067 (_STATBUF_ST_NSEC): New macro.
36068 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36070 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36071 __strtoul_internal rather than strtoul.
36073 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36075 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36080 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36081 which preserves existing values.
36082 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36084 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36086 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36087 TIMEOUT values. Return EINVAL for NFDS values either negative or
36088 greater than FD_SETSIZE.
36090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36092 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36093 allocated, call __vm_protect to finish enabling the existing space, and
36094 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36095 allocate the remainder.
36097 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36099 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36100 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36102 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36104 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36105 sysdeps/mach/hurd/readlink.c.
36107 * posix/tst-sysconf.c (posix_options): Only use
36108 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36109 _POSIX_SYNCHRONIZED_IO when they are defined
36110 * sysdeps/mach/hurd/bits/posix_opt.h:
36111 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36112 (_XOPEN_REALTIME): Undefine macro.
36113 (_XOPEN_REALTIME_THREADS): Undefine macro.
36114 (_XOPEN_SHM): Undefine macro.
36115 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36117 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36119 (_POSIX_ASYNC_IO): Undefine macro.
36120 (_POSIX_PRIORITIZED_IO): Undefine macro.
36121 (_POSIX_SPIN_LOCKS): Define macro to -1.
36123 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36124 SA_NODEFER, SA_RESETHAND.
36125 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36126 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36129 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36131 * elf/Makefile (pldd-modules): Define unconditionally.
36133 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36135 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36139 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36140 Return ENOENT when name is empty.
36141 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36145 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36147 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36151 Fix mlock in all cases except non-readable pages.
36152 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36153 instead of VM_PROT_ALL as parameter to __vm_wire function.
36155 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36156 (__mkdir): When path is `/', just fail with EEXIST.
36157 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36161 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36162 <sys/uio.h> (for writev).
36163 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36164 and <sys/param.h> (for MIN).
36166 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36168 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36169 REQUESTED_TIME. Properly set the remaining time and return EINTR
36172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36174 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36175 Depend on against $(link-rpcuserlibs).
36177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36179 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36180 (__libc_stack_end): Do not use attribute_relro.
36181 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36182 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36183 to libthread-provided value.
36184 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36187 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36190 * bits/libc-lock.h (__libc_once_get): New macro.
36191 * sysdeps/mach/bits/libc-lock.h: Likewise.
36192 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36194 instead of using implementation details.
36196 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36197 * libio/freopen.c: Likewise.
36198 * libio/freopen64.c: Likewise.
36199 * misc/syslog.c: Likewise.
36200 * nscd/connections.c: Likewise.
36201 * nscd/netgroupcache.c: Likewise.
36202 * sysdeps/posix/getcwd.c: Likewise.
36204 2012-05-10 Roland McGrath <roland@hack.frob.com>
36206 * math/w_ilogbf.c: Add #include <limits.h>.
36208 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36210 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36211 path instead of returning without unlocking.
36213 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36214 immediate-write ioctls.
36215 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36219 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36220 __builtin_frame_address instead of making assumptions about the
36221 location of the return address relative to DATA. Force early load of
36222 the return address.
36223 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36224 __builtin_frame_address.
36227 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36228 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36229 implement dup3 and do some further code clean-ups.
36230 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36231 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36233 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36235 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36237 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36238 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36239 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36240 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36241 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36244 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36245 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36246 when handler == SIG_ERR, not when handler != SIG_ERR.
36248 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36250 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36251 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36254 accept4 for GNU Hurd.
36255 * include/sys/socket.h (__libc_accept4): New prototype.
36256 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36257 to implement __libc_accept4.
36258 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36260 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36262 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36263 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36264 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36265 signal-defines.sym.
36267 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36269 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36271 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36273 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36274 assertion on O_CLOEXEC flag.
36275 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36276 * hurd/intern-fd.c: Likewise.
36277 * hurd/port2fd.c: Likewise.
36279 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36282 * bits/in.h (IPV6_PKTINFO): Define new macro.
36283 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36285 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36290 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36291 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36292 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36293 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36295 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36296 * math/libm-test.inc (logb_test) : Additional logb tests.
36298 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36299 Andreas Jaeger <aj@suse.de>
36301 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36302 * configure: Regenerated.
36303 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36304 * config.make.in (link-obsolete-rpc): New substituted variable.
36305 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36306 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36307 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36308 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36309 so that libc.a contains the symbols.
36310 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36311 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36312 * sunrpc/auth_none.c: Likewise.
36313 * sunrpc/auth_unix.c: Likewise.
36314 * sunrpc/authdes_prot.c: Likewise.
36315 * sunrpc/authuxprot.c: Likewise.
36316 * sunrpc/clnt_gen.c: Likewise.
36317 * sunrpc/clnt_perr.c: Likewise.
36318 * sunrpc/clnt_raw.c: Likewise.
36319 * sunrpc/clnt_simp.c: Likewise.
36320 * sunrpc/clnt_tcp.c: Likewise.
36321 * sunrpc/clnt_udp.c: Likewise.
36322 * sunrpc/clnt_unix.c: Likewise.
36323 * sunrpc/des_crypt.c: Likewise.
36324 * sunrpc/des_soft.c: Likewise.
36325 * sunrpc/get_myaddr.c: Likewise.
36326 * sunrpc/key_call.c: Likewise.
36327 * sunrpc/key_prot.c: Likewise.
36328 * sunrpc/netname.c: Likewise.
36329 * sunrpc/pm_getmaps.c: Likewise.
36330 * sunrpc/pm_getport.c: Likewise.
36331 * sunrpc/pmap_clnt.c: Likewise.
36332 * sunrpc/pmap_prot.c: Likewise.
36333 * sunrpc/pmap_prot2.c: Likewise.
36334 * sunrpc/pmap_rmt.c: Likewise.
36335 * sunrpc/publickey.c: Likewise.
36336 * sunrpc/rpc_cmsg.c: Likewise.
36337 * sunrpc/rpc_common.c: Likewise.
36338 * sunrpc/rpc_dtable.c: Likewise.
36339 * sunrpc/rpc_prot.c: Likewise.
36340 * sunrpc/rpc_thread.c: Likewise.
36341 * sunrpc/rtime.c: Likewise.
36342 * sunrpc/svc.c: Likewise.
36343 * sunrpc/svc_auth.c: Likewise.
36344 * sunrpc/svc_raw.c: Likewise.
36345 * sunrpc/svc_run.c: Likewise.
36346 * sunrpc/svc_tcp.c: Likewise.
36347 * sunrpc/svc_udp.c: Likewise.
36348 * sunrpc/svc_unix.c: Likewise.
36349 * sunrpc/svcauth_des.c: Likewise.
36350 * sunrpc/xcrypt.c: Likewise.
36351 * sunrpc/xdr.c: Likewise.
36352 * sunrpc/xdr_array.c: Likewise.
36353 * sunrpc/xdr_float.c: Likewise.
36354 * sunrpc/xdr_intXX_t.c: Likewise.
36355 * sunrpc/xdr_mem.c: Likewise.
36356 * sunrpc/xdr_rec.c: Likewise.
36357 * sunrpc/xdr_ref.c: Likewise.
36358 * sunrpc/xdr_sizeof.c: Likewise.
36359 * sunrpc/xdr_stdio.c: Likewise.
36361 2012-05-10 Roland McGrath <roland@hack.frob.com>
36363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36364 change. Update copyright years.
36366 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36368 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36370 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36371 Joseph Myers <joseph@codesourcery.com>
36372 Paul Pluzhnikov <ppluzhnikov@google.com>
36375 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36377 [cross-compiling] (extra-libs): Likewise.
36378 [cross-compiling] (extra-libs-others): Likewise.
36379 [cross-compiling] (librpcsvc-routines): Likewise.
36380 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36381 [cross-compiling] (omit-deps): Likewise.
36382 (sunrpc-CPPFLAGS): New variable.
36383 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36384 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36385 (cross-rpcgen-objs): New variable.
36386 (extra-objs): Append $(cross-rpcgen-objs).
36387 ($(cross-rpcgen-objs)): New rule.
36388 ($(objpfx)cross-rpcgen): Likewise.
36389 (rpcgen-cmd): Define to use $(built-program-file). Expand
36391 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36392 ($(objpfx)x%.stmp): Likewise.
36393 * sunrpc/proto.h [IS_IN_build] (_): Define.
36394 [IS_IN_build] (_libc_intl_domainname): Likewise.
36396 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36399 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36400 and R_X86_64_TPOFF64.
36402 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36404 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36405 sysdeps/unix/sysv/syscalls.list.
36408 * sysdeps/unix/sysv/syscalls.list: Remove file.
36410 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36413 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36414 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36415 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36416 (__LC_IDENTIFICATION): Make these macros useful in #if
36417 expressions, as required by C99.
36419 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36421 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36422 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36425 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36427 * stdlib/longlong.h: Updated from GCC.
36429 2012-05-09 Andreas Jaeger <aj@suse.de>
36431 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36432 default is first entry.
36433 (run_mode): Set type.
36434 (main): Remove informal message about syslog.
36435 (options): Fix typo.
36438 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36441 (llrintf): Likewise.
36442 (llrint): Likewise.
36445 (nearbyint): Likewise.
36446 (nearbyintf): Likewise.
36448 2012-05-09 Andreas Jaeger <aj@suse.de>
36449 Pedro Alves <palves@redhat.com>
36451 * nscd/nscd.c (run_mode): Use enum.
36452 (main): Cleanup coding style issue.
36454 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36455 Andreas Jaeger <aj@suse.de>
36457 * nscd/nscd.c (go_background): Replaced with...
36458 (run_mode): ... this.
36459 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36460 (options): Add -F --foreground.
36461 (main): Implement it.
36462 (parse_opt): Parse it.
36464 2012-05-09 Andreas Jaeger <aj@suse.de>
36467 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36468 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36469 -Wconversion warning.
36470 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36473 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36475 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36477 (LC_ALL): Use macro-int-constant.
36478 (LC_COLLATE): Likewise.
36479 (LC_CTYPE): Likewise.
36480 (LC_MESSAGES): Likewise.
36481 (LC_MONETARY): Likewise.
36482 (LC_NUMERIC): Likewise.
36483 (LC_TIME): Likewise.
36484 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36485 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36487 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36489 [C99-based standards] (float_t): Expect type.
36490 [C99-based standards] (double_t): Expect type.
36491 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36493 [C99-based standards] (HUGE_VALL): Likewise.
36494 [C99-based standards] (INFINITY): Likewise.
36495 [C99-based standards] (NAN): Likewise.
36496 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36497 [C99-based standards] (FP_NAN): Likewise.
36498 [C99-based standards] (FP_NORMAL): Likewise.
36499 [C99-based standards] (FP_SUBNORMAL): Likewise.
36500 [C99-based standards] (FP_ZERO): Likewise.
36501 [C99-based standards] (FP_FAST_FMA): Use
36502 optional-macro-int-constant. Specify type. Require == 1.
36503 [C99-based standards] (FP_FAST_FMAF): Likewise.
36504 [C99-based standards] (FP_FAST_FMAL): Likewise.
36505 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36506 [C99-based standards] (FP_ILOGBNAN): Likewise.
36507 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36509 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36510 [C99-based standards] (math_errhandling): Specify type.
36511 [ISO99 || ISO11] (signgam): Do not allow.
36512 [non-C99-based standards] (copysignf): Do not allow.
36513 [non-C99-based standards] (exp2f): Likewise.
36514 [non-C99-based standards] (log2f): Likewise.
36515 [non-C99-based standards] (modff): Allow.
36516 [non-C99-based standards] (erff): Do not allow.
36517 [non-C99-based standards] (erfcf): Likewise.
36518 [non-C99-based standards] (gammaf): Likewise.
36519 [non-C99-based standards] (hypotf): Likewise.
36520 [non-C99-based standards] (j0f): Likewise.
36521 [non-C99-based standards] (j1f): Likewise.
36522 [non-C99-based standards] (jnf): Likewise.
36523 [non-C99-based standards] (lgammaf): Likewise.
36524 [non-C99-based standards] (tgammaf): Likewise.
36525 [non-C99-based standards] (y0f): Likewise.
36526 [non-C99-based standards] (y1f): Likewise.
36527 [non-C99-based standards] (ynf): Likewise.
36528 [non-C99-based standards] (isnanf): Likewise.
36529 [non-C99-based standards] (acoshf): Likewise.
36530 [non-C99-based standards] (asinhf): Likewise.
36531 [non-C99-based standards] (atanhf): Likewise.
36532 [non-C99-based standards] (cbrtf): Likewise.
36533 [non-C99-based standards] (expm1f): Likewise.
36534 [non-C99-based standards] (ilogbf): Likewise.
36535 [non-C99-based standards] (log1pf): Likewise.
36536 [non-C99-based standards] (logbf): Likewise.
36537 [non-C99-based standards] (nextafterf): Likewise.
36538 [non-C99-based standards] (remainderf): Likewise.
36539 [non-C99-based standards] (rintf): Likewise.
36540 [non-C99-based standards] (scalbf): Likewise.
36541 [non-C99-based standards] (copysignl): Likewise.
36542 [non-C99-based standards] (exp2l): Likewise.
36543 [non-C99-based standards] (log2l): Likewise.
36544 [non-C99-based standards] (modfl): Allow.
36545 [non-C99-based standards] (erfl): Do not allow.
36546 [non-C99-based standards] (erfcl): Likewise.
36547 [non-C99-based standards] (gammal): Likewise.
36548 [non-C99-based standards] (hypotl): Likewise.
36549 [non-C99-based standards] (j0l): Likewise.
36550 [non-C99-based standards] (j1l): Likewise.
36551 [non-C99-based standards] (jnl): Likewise.
36552 [non-C99-based standards] (lgammal): Likewise.
36553 [non-C99-based standards] (tgammal): Likewise.
36554 [non-C99-based standards] (y0l): Likewise.
36555 [non-C99-based standards] (y1l): Likewise.
36556 [non-C99-based standards] (ynl): Likewise.
36557 [non-C99-based standards] (isnanl): Likewise.
36558 [non-C99-based standards] (acoshl): Likewise.
36559 [non-C99-based standards] (asinhl): Likewise.
36560 [non-C99-based standards] (atanhl): Likewise.
36561 [non-C99-based standards] (cbrtl): Likewise.
36562 [non-C99-based standards] (expm1l): Likewise.
36563 [non-C99-based standards] (ilogbl): Likewise.
36564 [non-C99-based standards] (log1pl): Likewise.
36565 [non-C99-based standards] (logbl): Likewise.
36566 [non-C99-based standards] (nextafterl): Likewise.
36567 [non-C99-based standards] (remainderl): Likewise.
36568 [non-C99-based standards] (rintl): Likewise.
36569 [non-C99-based standards] (scalbl): Likewise.
36570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36571 [non-C99-based standards] (FP_*): Do not allow.
36572 [C99-based standards] (FP_*): Change to
36573 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36574 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36576 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36577 (SIG_ERR): Likewise.
36578 [X/Open-based standards] (SIG_HOLD): Likewise.
36579 (SIG_IGN): Likewise.
36580 (SIGABRT): Use macro-int-constant. Specify type. Require
36582 (SIGFPE): Likewise.
36583 (SIGILL): Likewise.
36584 (SIGINT): Likewise.
36585 (SIGSEGV): Likewise.
36586 (SIGTER): Likewise.
36587 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36588 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36589 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36590 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36591 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36592 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36593 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36594 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36595 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36596 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36597 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36598 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36599 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36600 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36601 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36602 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36603 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36604 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36605 [X/Open-based standards] (SIGTRAP): Likewise.
36606 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36607 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36608 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36609 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36610 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36613 2012-05-08 Ian Wienand <ianw@vmware.com>
36616 * time/tzset.c (__tzset_parse_tz): Update default rules for
36617 daylight time changes in the Energy Policy Act of 2005.
36619 2012-05-09 Andreas Jaeger <aj@suse.de>
36622 * elf/ldconfig.c (parse_conf): Change string to make clear that
36623 ldconfig only issued a warning if ld.so.conf does not exist.
36625 2012-05-08 David S. Miller <davem@davemloft.net>
36627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36628 movxtod instead of popping the value on the stack.
36630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36632 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36634 * config.h.in: Add HAVE_ARM_PCS_VFP.
36636 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36639 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36640 checking but the checks are disabled for any reason.
36642 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36644 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36645 and ELF64_R_TYPE with ELFW(R_TYPE).
36647 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36649 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36650 (ulimit): Likewise.
36652 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36653 (settimeofday): Likewise.
36655 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36657 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36658 a struct th_u2 inside the union, and move tu_block/tu_code into
36659 a new th_u3 union of tu_block/tu_code inside of that. Move
36660 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36661 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36662 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36663 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36664 (th_stuff): Change to th_u1.tu_stuff.
36666 (th_msg): Change to th_u1.th_u2.tu_data.
36668 2012-05-07 David S. Miller <davem@davemloft.net>
36670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36673 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36674 (SETUP_PIC_REG): Use it.
36675 (SETUP_PIC_REG_LEAF): Use it.
36677 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36681 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36683 (EXPL_FINITE): Likewise.
36684 (FLDLOG): Likewise.
36685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36686 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36688 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36690 (EXPL_FINITE): Likewise.
36691 (FLDLOG): Likewise.
36692 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36693 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36695 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36696 test of -max_value argument for long double.
36697 * sysdeps/i386/fpu/libm-test-ulps: Update.
36698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36700 2012-05-06 David S. Miller <davem@davemloft.net>
36702 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36703 quad soft-float symbols whose references which are compiler
36705 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36707 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36711 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36713 (EXPL_FINITE): Likewise.
36714 (FLDLOG): Likewise.
36717 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36718 Adjust comments for base varying.
36719 (__expl_finite): Change alias to EXPL_FINITE.
36720 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36722 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36723 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36725 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36728 (EXPL_FINITE): Likewise.
36729 (FLDLOG): Likewise.
36732 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36733 Adjust comments for base varying.
36734 (__expl_finite): Change alias to EXPL_FINITE.
36735 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36740 * math/libm-test.inc (check_float_internal): Correct ulp
36741 calculation for subnormal expected results.
36743 2012-05-06 Andreas Jaeger <aj@suse.de>
36745 * Makeconfig (+math-flags): New, set to -frounding-math.
36746 (+cflags): Add +math-flags so that all of glibc gets compiled with
36749 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36751 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36753 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36759 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36760 (__ieee754_expl): Allow for and saturate large arguments.
36761 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36762 (u_threshold): Likewise.
36763 (__exp): Call __ieee754_exp before checking for overflow and
36765 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36766 (u_threshold): Likewise.
36767 (__expf): Call __ieee754_expf before checking for overflow and
36769 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36770 (u_threshold): Likewise.
36771 (__expl): Call __ieee754_expl before checking for overflow and
36773 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36774 (__ieee754_expl): Allow for and saturate large arguments.
36775 * math/libm-test.inc (exp_test): Add another test. Do not allow
36776 missing overflow exception on overflow.
36777 (expm1_test): Do not allow missing overflow exception on overflow.
36779 * sysdeps/i386/fpu/e_expl.c: Move to ...
36780 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36781 rather than using inline asm.
36782 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36783 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36784 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36786 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36789 (signal): Likewise.
36793 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36795 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36796 sysdeps/unix/common/syscalls.list.
36797 (fchmod): Likewise.
36798 (fchown): Likewise.
36799 (ftruncate): Likewise.
36800 (getrusage): Likewise.
36801 (gettimeofday): Likewise.
36802 (setpgid): Likewise.
36803 (setregid): Likewise.
36804 (setreuid): Likewise.
36805 (sigaction): Likewise.
36806 (truncate): Likewise.
36807 (vhangup): Likewise.
36808 * sysdeps/unix/common/syscalls.list: Remove file.
36809 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36810 * sysdeps/unix/sysv/linux/Implies: Likewise.
36812 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36814 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36816 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36820 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36823 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36826 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36829 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36832 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36835 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36838 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36842 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36846 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36849 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36853 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36857 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36859 * sysdeps/unix/common/bits/dirent.h: Remove file.
36860 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36862 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36863 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36864 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36865 * sysdeps/unix/bsd/isatty.c: Likewise.
36866 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36867 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36868 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36870 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36874 long double comparison inaccuracies.
36875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36878 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36880 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36881 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36883 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36887 nonzero digits before rounding a hex value.
36888 * stdlib/tst-strtod.c (tests): Add another test.
36890 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36892 * sysdeps/s390/fpu/libm-test-ulps: Update.
36894 2012-05-03 Andreas Jaeger <aj@suse.de>
36896 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36897 does not get optimized out.
36898 (malloc_opt_barrier): New.
36900 2012-05-03 Andreas Jaeger <aj@suse.de>
36901 Roland McGrath <roland@hack.frob.com>
36903 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36904 intermediate file deletion.
36905 (generated): Add .symlist files.
36907 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36910 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36911 Redirect under this condition.
36912 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36913 [__USE_GNU] (__dprintf_chk): Not under this condition.
36914 [__USE_GNU] (__vdprintf_chk): Likewise.
36915 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36916 under this condition.
36917 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36918 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36919 [__USE_XOPEN2K8] (vdprintf): Likewise.
36920 [__USE_GNU] (__dprintf_chk): Not under this condition.
36921 [__USE_GNU] (__vdprintf_chk): Likewise.
36922 [__USE_GNU] (dprintf): Likewise.
36923 [__USE_GNU] (vdprintf): Likewise.
36925 2012-05-03 Roland McGrath <roland@hack.frob.com>
36927 * elf/Makefile (common-generated): Set this instead of generated for
36928 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36929 $(all-built-dso)-derived lists.
36931 2012-05-03 Andreas Jaeger <aj@suse.de>
36933 * sysdeps/i386/fpu/libm-test-ulps: Update.
36936 * FAQ.in: Likewise.
36937 * scripts/gen-FAQ.pl: Likewise.
36938 * manual/install.texi (Installation): Point to online location of
36940 * Makefile (files-for-dist): Remove FAQ.
36943 2012-05-02 Allan McRae <allan@archlinux.org>
36945 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36946 (LDFLAGS-reldepmod5.so): Likewise.
36947 (LDFLAGS-reldep6mod1.so): Likewise.
36948 (LDFLAGS-reldep6mod4.so): Likewise.
36949 (LDFLAGS-reldep8mod3.so): Likewise.
36950 (LDFLAGS-unload4mod1.so): Likewise.
36951 (LDFLAGS-unload4mod2.so): Likewise.
36952 (LDFLAGS-tst-initorder): Likewise.
36953 (LDFLAGS-tst-initordera2.so): Likewise.
36954 (LDFLAGS-tst-initordera3.so): Likewise.
36955 (LDFLAGS-tst-initordera4.so): Likewise.
36956 (LDFLAGS-tst-initorderb2.so): Likewise.
36957 (LDFLAGS-noload): Likewise.
36958 (LDFLAGS-next): Likewise.
36959 (LDFLAGS-order2mod1.so): Likewise.
36960 (LDFLAGS-order2mod2.so): Likewise.
36961 (LDFLAGS-tst-initorder2): Likewise.
36962 (LDFLAGS-tst-initorder2a.so): Likewise.
36963 (LDFLAGS-tst-initorder2b.so): Likewise.
36964 (LDFLAGS-tst-initorder2c.so): Likewise.
36965 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36967 2012-05-02 David S. Miller <davem@davemloft.net>
36969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36971 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36974 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36976 2012-05-02 Andreas Jaeger <aj@suse.de>
36978 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36979 since we manipulate rounding mode.
36980 (CPPFLAGS-test-idouble.c): Likewise.
36981 (CPPFLAGS-test-ifloat.c): Likewise.
36982 (CFLAGS-test-ldouble.c): Likewise.
36983 (CFLAGS-test-double.c): Likewise.
36984 (CFLAGS-test-float.c): Likewise.
36985 (CFLAGS-test-misc.c): Likewise.
36986 (CFLAGS-test-test-fenv.c): Likewise.
36988 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36992 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36993 comparisons to determine direction to adjust input.
36995 2012-05-01 Roland McGrath <roland@hack.frob.com>
36997 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36998 output to the target.
37000 * scripts/localplt.awk: New file.
37001 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37002 (check-localplt-CFLAGS): Variable removed.
37003 ($(all-built-dso:=.jmprel)): New static pattern rule.
37004 (generated): Add those targets.
37005 (localplt-built-dso): New variable.
37006 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37008 * elf/check-localplt.c: File removed.
37010 * scripts/check-execstack.awk: New file.
37011 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37012 (check-execstack-CFLAGS): Variable removed.
37013 ($(objpfx)check-execstack.h): Target removed.
37014 ($(objpfx)execstack-default): New target.
37015 (generated): Add that instead of check-execstack.h.
37016 ($(all-built-dso:=.phdr)): New static pattern rule.
37017 (generated): Add those targets.
37018 * elf/check-execstack.c: File removed.
37020 * scripts/check-textrel.awk: New file.
37021 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37022 (check-textrel-CFLAGS): Variable removed.
37023 (all-built-dso): Use := to define.o
37024 ($(all-built-dso:=.dyn)): New static pattern rule.
37025 (generated): Add those targets.
37026 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37027 * config.make.in (READELF): New substituted variable.
37028 * elf/check-textrel.c: File removed.
37030 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37032 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37034 * conform/data/ctype.h-data [C99-based standards] (isblank):
37036 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37037 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37039 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37040 Specify type. Require positive value.
37041 (EILSEQ): Likewise.
37042 (ERANGE): Likewise.
37043 [ISO || POSIX] (EILSEQ): Do not expect.
37044 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37045 Specify type. Require positive value.
37046 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37047 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37048 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37049 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37050 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37051 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37052 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37053 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37054 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37055 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37056 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37057 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37058 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37059 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37060 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37061 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37062 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37063 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37064 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37065 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37066 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37067 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37068 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37069 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37070 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37071 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37072 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37073 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37074 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37075 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37076 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37077 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37078 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37079 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37080 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37081 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37082 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37083 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37084 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37085 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37086 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37087 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37088 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37089 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37090 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37091 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37092 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37093 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37094 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37095 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37096 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37097 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37098 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37099 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37100 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37101 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37102 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37103 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37104 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37105 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37106 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37107 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37108 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37109 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37110 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37111 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37112 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37113 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37114 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37115 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37116 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37117 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37118 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37119 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37120 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37121 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37122 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37124 (FLT_ROUNDS): Expect as macro, not constant.
37125 (FLT_MANT_DIG): Use macro-int-constant.
37126 (DBL_MANT_DIG): Likewise.
37127 (LDBL_MANT_DIG): Likewise.
37128 (FLT_DIG): Likewise.
37129 (DBL_DIG): Likewise.
37130 (LDBL_DIG): Likewise.
37131 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37132 (DBL_MIN_EXP): Likewise.
37133 (LDBL_MIN_EXP): Likewise.
37134 (FLT_MAX_EXP): Use macro-int-constant.
37135 (DBL_MAX_EXP): Likewise.
37136 (LDBL_MAX_EXP): Likewise.
37137 (FLT_MAX_10_EXP): Likewise.
37138 (DBL_MAX_10_EXP): Likewise.
37139 (LDBL_MAX_10_EXP): Likewise.
37140 (FLT_MAX): Use macro-constant.
37141 (DBL_MAX): Likewise.
37142 (LDBL_MAX): Likewise.
37143 (FLT_EPSILON): Use macro-constant. Give upper bound.
37144 (DBL_EPSILON): Likewise.
37145 (LDBL_EPSILON): Likewise.
37146 (FLT_MIN): Likewise.
37147 (DBL_MIN): Likewise.
37148 (LDBL_MIN): Likewise.
37149 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37150 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37151 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37152 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37153 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37154 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37155 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37156 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37157 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37158 [ISO11] (FLT_TRUE_MIN): Likewise.
37159 [ISO11] (LDBL_TRUE_MIN): Likewise.
37160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37161 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37162 (SCHAR_MIN): Use macro-int-constant. Specify type.
37163 (SCHAR_MAX): Likewise.
37164 (UCHAR_MAX): Likewise.
37165 (CHAR_MIN): Likewise.
37166 (CHAR_MAX): Likewise.
37167 (MB_LEN_MAX): Use macro-int-constant.
37168 (SHRT_MIN): Use macro-int-constant. Specify type.
37169 (SHRT_MAX): Likewise.
37170 (USHRT_MAX): Likewise.
37171 (INT_MAX): Likewise.
37172 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37174 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37176 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37178 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37179 bound negative. Suffix upper bound with "L".
37180 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37182 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37184 [C99-based standards] (LLONG_MAX): Likewise.
37185 [C99-based standards] (ULLONG_MAX): Likewise.
37186 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37188 [ISO11] (max_align_t): Require type.
37189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37191 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37192 from $CFLAGS, without defining away __attribute__ calls.
37193 (checknamespace): Use $CFLAGS_namespace.
37195 * conform/conformtest.pl (@keywords): Only include C99 keywords
37196 for standards based on C99 or C11.
37198 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37200 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37203 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37204 usability of symbols in #if.
37206 * conform/conformtest.pl: If macro or constant types start
37207 "promoted:", expect the symbol to be of the following type
37208 promoted by the integer promotions.
37210 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37211 in one place. Also handle "macro-constant".
37213 * conform/conformtest.pl: Only accept expected macro values with
37214 "==". Parse all "macro" lines in one place.
37215 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37217 * conform/conformtest.pl: Handle braced types on "constant" lines
37218 instead of handling "typed-constant".
37219 * conform/data/signal.h-data: Use "constant" instead of
37222 * conform/conformtest.pl: Handle "optional-" at start of lines in
37223 one place rather than duplicating several cases. Handle each
37224 format of "macro" line with initial "optional-".
37226 * conform/conformtest.pl: Only accept expected constant or
37227 optional-constant values with "==". Parse all "constant" lines in
37228 one place. Parse all "optional-constant" lines in one place.
37229 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37230 * conform/data/fmtmsg.h-data: Likewise.
37231 * conform/data/netinet/in.h-data: Likewise.
37232 * conform/data/tar.h-data: Likewise.
37233 * conform/data/limits.h-data: Use "==" form on "constant" and
37234 "optional-constant" lines.
37236 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37237 Use -std=c99 for XOPEN2K.
37238 (@knownproblems): Remove.
37239 (newtoken): Don't check %isknown.
37241 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37242 Do not expect macro.
37243 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37255 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37256 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37273 [XPG3] (acosh): Likewise.
37274 [XPG3] (asinh): Likewise.
37275 [XPG3] (atanh): Likewise.
37276 [XPG3] (cbrt): Likewise.
37277 [XPG3] (expm1): Likewise.
37278 [XPG3] (ilogb): Likewise.
37279 [XPG3] (log1p): Likewise.
37280 [XPG3] (logb): Likewise.
37281 [XPG3] (nextafter): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37284 [XPG3] (remainder): Likewise.
37285 [XPG3] (rint): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37293 [UNIX98 || XOPEN2K] (scalb): Expect.
37294 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37295 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37323 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37324 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37334 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37378 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37379 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37380 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37381 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37382 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37383 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37384 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37385 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37386 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37387 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37388 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37389 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37390 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37391 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37392 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37393 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37394 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37395 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37396 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37397 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37398 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37399 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37400 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37401 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37402 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37403 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37404 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37405 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37406 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37407 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37408 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37409 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37410 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37411 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37412 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37413 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37414 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37415 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37416 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37417 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37418 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37419 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37420 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37421 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37422 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37423 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37424 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37425 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37426 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37427 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37428 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37429 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37430 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37432 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37433 _XOPEN_SOURCE_EXTENDED for XPG4.
37435 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37437 * Makeconfig (localtime): Remove variable.
37438 (inst_localtime-file): Likewise.
37440 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37461 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37465 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37466 comparisons to determine direction to adjust input.
37467 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37468 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37471 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37473 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37478 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37480 * math/libm-test.inc (nexttoward_test): Add more tests.
37482 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37485 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37486 in version GLIBC_2.1, not GLIBC_2.0.
37487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37490 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37493 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37495 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37496 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37497 * math/libm-test.inc (acos_test): Add more tests.
37498 (asin_test): Likewise.
37499 * sysdeps/i386/fpu/libm-test-ulps: Update.
37500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37503 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37505 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37506 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37507 * math/libm-test.inc (acos_test_tonearest): New function.
37508 (acos_test_towardzero): Likewise.
37509 (acos_test_downward): Likewise.
37510 (acos_test_upward): Likewise.
37511 (asin_test_tonearest): Likewise.
37512 (asin_test_towardzero): Likewise.
37513 (asin_test_downward): Likewise.
37514 (asin_test_upward): Likewise.
37515 (main): Call the new functions.
37516 * sysdeps/i386/fpu/libm-test-ulps: Update.
37517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37521 * math/e_exp10.c: Include <float.h>.
37522 (__ieee754_exp10): Handle underflow here rather than multiplying
37523 large negative argument by M_LN10.
37524 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37526 * math/e_exp10l.c: Include <float.h>.
37527 (__ieee754_exp10l): Handle underflow here rather than multiplying
37528 large negative argument by M_LN10l.
37529 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37530 spurious overflow exception on underflow.
37532 2012-04-29 Marek Polacek <polacek@redhat.com>
37534 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37535 (__fortify_function): New macro.
37536 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37537 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37538 __extern_always_inline.
37539 * libio/bits/stdio2.h: Likewise.
37540 * libio/bits/stdio.h: Likewise.
37541 * string/string.h: Likewise.
37542 * string/bits/string3.h: Likewise.
37543 * include/stdio.h: Likewise.
37544 * stdlib/bits/stdlib.h: Likewise.
37545 * stdlib/stdlib.h: Likewise.
37546 * rt/bits/mqueue2.h: Likewise.
37547 * rt/mqueue.h: Likewise.
37548 * posix/bits/unistd.h: Likewise.
37549 * posix/unistd.h: Likewise.
37550 * io/bits/poll2.h: Likewise.
37551 * io/bits/fcntl2.h: Likewise.
37552 * io/fcntl.h: Likewise.
37553 * io/sys/poll.h: Likewise.
37554 * misc/bits/syslog.h: Likewise.
37555 * misc/bits/syslog-ldbl.h: Likewise.
37556 * misc/sys/syslog.h: Likewise.
37557 * socket/bits/socket2.h: Likewise.
37558 * socket/sys/socket.h: Likewise.
37559 * debug/tst-chk1.c: Likewise.
37560 * wcsmbs/bits/wchar2.h: Likewise.
37561 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37562 * wcsmbs/wchar.h: Likewise.
37564 2012-04-29 Andreas Jaeger <aj@suse.de>
37566 * Makerules (tests): Remove enable-check-abi protection.
37567 (check-abi-warn): Remove.
37568 (check-abi-%): Remove check-abi-warn usage.
37570 * configure.in: Remove check-abi configure option.
37571 * configure: Regenerated.
37572 * config.make.in (enable-check-abi): Remove.
37574 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37577 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37578 double functions to double *_finite functions.
37581 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37582 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37584 * stdio-common/Makefile (tests): Add tst-sprintf3.
37585 * stdio-common/tst-sprintf3.c: New file.
37587 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37588 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37590 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37592 * conform/conformtest.pl: Remove duplicate typed-constant
37595 2012-04-28 David S. Miller <davem@davemloft.net>
37597 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37598 (check-abi-%): Remove AWK script prerequisite and explicit
37600 (check-abi): Rewrite to just diff the symlist with the abilist.
37601 (config-tls, config-abi-config): Delete, no longer used.
37602 (update-abi-%): Remove AWK script and explicit abilist directory.
37603 (update-abi): Rewrite to simply compare and conditionally copy the
37604 symlist and the sysdep abilist file. Remove update-abi-config
37606 * abilist/ld.abilist: Remove.
37607 * abilist/libBrokenLocale.abilist: Remove.
37608 * abilist/libanl.abilist: Remove.
37609 * abilist/libcrypt.abilist: Remove.
37610 * abilist/libdl.abilist: Remove.
37611 * abilist/librt.abilist: Remove.
37612 * abilist/libthread_db.abilist: Remove.
37613 * abilist/libutil.abilist: Remove.
37614 * scripts/extract-abilist.awk: Remove.
37615 * scripts/merge-abilist.awk: Remove.
37616 * sysdeps/generic/libcidn.abilist: New file.
37617 * sysdeps/generic/libnss_compat.abilist: New file.
37618 * sysdeps/generic/libnss_db.abilist: New file.
37619 * sysdeps/generic/libnss_dns.abilist: New file.
37620 * sysdeps/generic/libnss_files.abilist: New file.
37621 * sysdeps/generic/libnss_hesiod.abilist: New file.
37622 * sysdeps/generic/libnss_nis.abilist: New file.
37623 * sysdeps/generic/libnss_nisplus.abilist: New file.
37624 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37625 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37626 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37629 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37630 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37631 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37632 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37633 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37634 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37635 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37636 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37638 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37639 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37640 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37641 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37643 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37644 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37645 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37646 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37648 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37650 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37651 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37654 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37757 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37758 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37759 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37762 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37763 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37764 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37765 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37766 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37767 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37768 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37769 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37770 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37822 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37824 * conform/conformtest.pl: Fix typo in handling typed-constant from
37827 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37829 * README: Cut down references to pre-2.6 Linux kernels and
37830 Linuxthreads. Update lists of configurations in libc and ports
37831 and sort alphabetically. Say "or newer" with Linux kernel version
37834 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37836 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37839 * math/libm-test.inc (logb_test_downward): New test to expose
37840 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37843 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37846 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37848 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37849 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37851 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37853 * sysdeps/unix/i386/brk.S: Remove file.
37854 * sysdeps/unix/i386/dl-brk.S: Likewise.
37855 * sysdeps/unix/i386/pipe.S: Likewise.
37856 * sysdeps/unix/i386/sigreturn.S: Likewise.
37857 * sysdeps/unix/i386/syscall.S: Likewise.
37858 * sysdeps/unix/i386/vfork.S: Likewise.
37859 * sysdeps/unix/i386/wait.S: Likewise.
37861 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37862 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37864 * configure.in (arm*-none*): Do not allow without
37865 --enable-hacker-mode.
37866 (netbsd*): Remove case setting base_os.
37867 (386bsd*): Likewise.
37868 (freebsd*): Likewise.
37871 (sunos*): Likewise.
37872 (ultrix*): Likewise.
37873 (newsos*): Likewise.
37874 (dynix*): Likewise.
37880 (minix*): Likewise.
37881 (irix4*): Likewise.
37882 (irix6*): Likewise.
37883 (solaris[2-9]*): Likewise.
37885 * configure: Regenerated.
37887 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37890 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37891 overflow or cancellation in calculating denominator.
37892 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37894 down expression to avoid unexpected rounding in newer GCCs.
37895 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37897 2012-04-26 David S. Miller <davem@davemloft.net>
37899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37900 long-double compat symbols.
37901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37915 2012-04-25 David S. Miller <davem@davemloft.net>
37917 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37918 HWCAP_* values only after the memory barriers have been defined.
37919 (atomic_full_barrier): Define.
37920 (atomic_read_barrier): Define.
37921 (atomic_write_barrier): Define.
37923 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37925 * shlib-versions: Add libgcc_s version information.
37926 * sysdeps/generic/libgcc_s.h: Remove.
37927 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37929 * sysdeps/gnu/unwind-resume.c: Likewise.
37930 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37932 2012-04-25 David S. Miller <davem@davemloft.net>
37934 * sysdeps/unix/sparc/brk.S: Delete.
37935 * sysdeps/unix/sparc/dl-brk.S: Delete.
37936 * sysdeps/unix/sparc/pipe.S: Delete.
37937 * sysdeps/unix/sparc/sysdep.S: Delete.
37938 * sysdeps/unix/sparc/sysdep.h: Delete.
37939 * sysdeps/unix/sparc/vfork.S: Delete.
37940 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37941 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37942 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37943 (ret_ERRVAL, r0, r1, MOVE): Define.
37944 (JUMPTARGET): Remove.
37945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37946 sysdeps/unix/sparc/sysdep.h
37947 (ENTRY, END): Remove.
37948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37950 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37952 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37953 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37956 * timezone/README: Update upstream location and email address for
37958 * timezone/zdump.c: Update from tzcode 2012b.
37959 * timezone/zic.c: Likewise.
37961 * configure.in (libc_cv_as_needed): Remove test.
37962 * configure: Regenerated.
37963 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37964 conditional definition.
37965 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37966 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37967 * config.make.in (have-as-needed): Remove variable.
37969 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37970 Paul Pluzhnikov <ppluzhnikov@google.com>
37972 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37975 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37977 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37978 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37979 * sysdeps/sh/strlen.S: Likewise.
37981 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37983 * sysdeps/unix/fork.S: Remove file.
37984 * sysdeps/unix/i386/fork.S: Likewise.
37985 * sysdeps/unix/sparc/fork.S: Likewise.
37987 * sysdeps/unix/system.c: Remove file.
37988 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37990 * sysdeps/unix/getegid.S: Remove file.
37991 * sysdeps/unix/geteuid.S: Likewise.
37993 2012-04-24 Roland McGrath <roland@hack.frob.com>
37995 * scripts/check-localplt.awk: New file.
37996 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37998 * scripts/data/localplt-generic.data: Add a comment.
38000 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38001 NODE when __dir_mkfile failed.
38002 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38003 Reported by Ludovic Courtès <ludo@gnu.org>.
38005 2012-04-24 Andreas Jaeger <aj@suse.de>
38007 * Makerules (common-clean): Also remove gen-as-const-headers
38010 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38012 * Makerules (native-compile): Do not change working directory for
38013 build. Use $(OUTPUT_OPTION) in command.
38014 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38016 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38019 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38020 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38021 * math/libm-test.inc (floor_test): Add more tests.
38022 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38024 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38026 * sysdeps/unix/getdents.c: Remove file.
38027 * sysdeps/unix/sysv/getdents.c: Likewise.
38028 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38030 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38031 sysdeps/unix/mman/syscalls.list.
38033 (mprotect): Likewise.
38035 (munmap): Likewise.
38036 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38037 * sysdeps/unix/mman/syscalls.list: Remove.
38038 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38040 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38041 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38042 * configure: Regenerated.
38043 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38044 $(libgcc_s_suffix).
38045 * config.make.in (libgcc_s_suffix): Remove variable.
38047 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38049 * sysdeps/unix/sysv/gethostname.c: Move to ...
38050 * sysdeps/posix/gethostname.c: ... here.
38052 * sysdeps/unix/execve.S: Remove file.
38054 * sysdeps/unix/_exit.S: Remove file.
38056 2012-04-23 Andreas Jaeger <aj@suse.de>
38059 * manual/Makefile: Remove make dist support, there's no
38060 need for a stand-alone documentation tar ball.
38061 (TEXI2DVI): Define always, it's not in Makeconfig.
38064 (edition): Removed.
38065 (glibc-doc-$(edition).tar): Removed
38069 (ETAGS): Remove, it's in Makeconfig.
38070 (move-if-change): Remove, it's in Makeconfig.
38072 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38075 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38076 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38077 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38078 (strtod_l, strtof_l, strtold_l): Remove __wur.
38079 It is not necessarily an error to ignore strtol's return value.
38080 One can reliably look at the stored endptr to decide whether
38081 the number had valid syntax.
38083 2012-04-21 Andreas Jaeger <aj@suse.de>
38086 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38088 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38090 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38091 * sysdeps/unix/sysv/Versions: Remove file.
38093 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38098 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38102 version from __vm86.
38104 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38106 * sysdeps/unix/common/lxstat.c: Remove file.
38107 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38109 * sysdeps/unix/sysv/Makefile: Remove file.
38111 * sysdeps/unix/sysv/direct.h: Remove file.
38113 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38114 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38115 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38116 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38117 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38118 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38119 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38121 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38123 * sysdeps/unix/xmknod.c: Remove file.
38124 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38126 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38128 * sysdeps/unix/sysv/i386/time.S: Remove file.
38130 * sysdeps/unix/fxstat.c: Remove file.
38131 * sysdeps/unix/xstat.c: Likewise.
38132 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38134 * sysdeps/unix/sysv/sigaction.c: Remove file.
38136 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38137 (sysdep_headers): Remove variable.
38138 [termio.h not in sysdep_headers] (generated): Likewise.
38139 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38140 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38141 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38142 * sysdeps/unix/sysv/tcflow.c: Likewise.
38143 * sysdeps/unix/sysv/tcflush.c: Likewise.
38144 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38145 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38146 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38147 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38148 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38150 * sysdeps/unix/siglist.c: Remove file.
38152 * sysdeps/unix/getppid.S: Remove file.
38154 * sysdeps/unix/mkdir.c: Remove file.
38155 * sysdeps/unix/rmdir.c: Likewise.
38157 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38159 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38161 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38162 errlist-compat value.
38164 2012-04-18 David S. Miller <davem@davemloft.net>
38166 * sysdeps/generic/memcopy.h (reg_char): Delete.
38167 * debug/strcat_chk.c: Use char, not reg_char.
38168 * debug/strcpy_chk.c: Likewise.
38169 * debug/strncat_chk.c: Likewise.
38170 * debug/strncpy_chk.c: Likewise.
38171 * string/memchr.c: Likewise.
38172 * string/memrchr.c: Likewise.
38173 * string/rawmemchr.c: Likewise.
38174 * string/strcat.c: Likewise.
38175 * string/strchr.c: Likewise.
38176 * string/strchrnul.c: Likewise.
38177 * string/strcmp.c: Likewise.
38178 * string/strcpy.c: Likewise.
38179 * string/strncat.c: Likewise.
38180 * string/strncmp.c: Likewise.
38181 * string/strncpy.c: Likewise.
38183 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38185 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38186 __builtin_memcopy is called when src and dest ranges are known to not
38189 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38191 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38192 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38193 fwd_align_merge macro call.
38194 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38195 bwd_align_merge macro call.
38196 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38198 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38200 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38201 bwd_align_merge macros.
38202 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38203 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38204 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38206 2012-04-18 David S. Miller <davem@davemloft.net>
38208 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38210 2012-04-18 Andreas Jaeger <aj@suse.de>
38213 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38214 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38215 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38218 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38219 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38221 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38222 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38223 Adjust for changed ldbl-128 files.
38225 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38226 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38227 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38229 2012-04-17 David S. Miller <davem@davemloft.net>
38231 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38233 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38235 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38236 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38237 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38238 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38239 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38240 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38242 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38245 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38246 * math/libm-test.inc: Add ilogb errno and exception tests.
38247 * math/w_ilogb.c: New file: ilogb wrapper.
38248 * math/w_ilogbf.c: New file: ilogbf wrapper.
38249 * math/w_ilogbl.c: New file: ilogbl wrapper.
38250 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38251 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38252 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38253 exception being thrown with 0.0 as argument.
38254 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38255 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38256 exception being thrown with 0.0 as argument.
38257 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38258 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38259 exception being thrown with 0.0 as argument.
38260 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38261 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38262 exception being thrown with 0.0 as argument.
38263 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38264 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38265 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38266 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38267 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38268 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38269 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38270 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38271 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38273 2012-04-17 Petr Baudis <pasky@ucw.cz>
38275 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38278 2012-04-16 Marek Polacek <polacek@redhat.com>
38280 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38282 2012-04-16 Marek Polacek <polacek@redhat.com>
38284 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38285 operands of fdivp instruction.
38287 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38289 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38290 * elf/tst-auditmod3b.c: Likewise.
38291 * elf/tst-auditmod4b.c: Likewise.
38292 * elf/tst-auditmod5b.c: Likewise.
38293 * elf/tst-auditmod6b.c: Likewise.
38294 * elf/tst-auditmod6c.c: Likewise.
38295 * elf/tst-auditmod7b.c: Likewise.
38296 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38297 * sysdeps/x86_64/preconfigure.in: Likewise.
38298 * sysdeps/x86_64/preconfigure: Regenerated.
38300 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38302 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38305 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38308 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38310 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38313 * locale/iso-639.def: Fix gl language name. Spotted by
38316 2012-04-12 Roland McGrath <roland@hack.frob.com>
38319 * libio/libio.h (__io_write_fn): Update comment.
38321 2012-04-12 Petr Baudis <pasky@ucw.cz>
38324 * stdio.texi (Hook Functions): The user provided writer function
38325 is not allowed to return -1.
38327 2012-04-11 David S. Miller <davem@davemloft.net>
38329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38331 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38333 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38334 Add a leading slash to rtkaio.
38336 2012-04-11 Jim Meyering <meyering@redhat.com>
38339 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38340 It is not necessarily an error to ignore fwrite's return
38341 value. One can reliably use ferror to test for errors after
38344 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38346 * bits/types.h (__snseconds_t): New type.
38347 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38349 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38351 (__SNSECONDS_T_TYPE): Likewise.
38352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38353 (__SNSECONDS_T_TYPE): Likewise.
38354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38355 (__SNSECONDS_T_TYPE): Likewise.
38357 2012-04-10 Andreas Jaeger <aj@suse.de>
38360 * manual/time.texi (Processor Time): Return type of times is
38361 elapsed real time since an arbitrary point in the past.
38362 (CPU Time): Move CLK_TCK from here...
38363 (Processor Time): ...to here. Correct description.
38364 * manual/conf.texi (Constants for Sysconf): Correct description of
38367 2012-04-10 David S. Miller <davem@davemloft.net>
38370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38371 where the is a gap between DT_REL(A) and DT_JMPREL.
38373 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38375 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38376 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38377 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38379 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38381 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38382 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38383 (dl_main): Handle --inhibit-cache.
38384 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38386 * elf/dl-load.c (_dl_map_object): Use it.
38387 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38389 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38392 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38393 (__ieee754_powl): Saturate large exponents rather than testing for
38394 overflow of y*log2(x).
38395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38396 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38400 * math/s_ctan.c: Include <float.h>.
38401 (__ctan): Avoid internal overflow or cancellation in calculating
38403 * math/s_ctanf.c: Likewise.
38404 * math/s_ctanl.c: Likewise.
38405 * math/s_ctanh.c: Likewise.
38406 * math/s_ctanhf.c: Likewise.
38407 * math/s_ctanhl.c: Likewise.
38408 * math/libm-test.inc (ctan_test): Add more tests.
38409 (ctanh_test): Likewise.
38410 * sysdeps/i386/fpu/libm-test-ulps: Update.
38411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38413 2012-04-09 Andreas Jaeger <aj@suse.de>
38416 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38417 is an optional BSD extension.
38420 * manual/stdio.texi (Opening Streams): Document additional fopen
38423 2012-04-09 Roland McGrath <roland@hack.frob.com>
38425 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38426 %eax without telling the compiler.
38428 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38431 * manual/install.texi: Use sourceware.org.
38433 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38436 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38437 (__ieee754_pow): Generate overflow and underflow using huge*huge
38438 and tiny*tiny rather than just returning constant infinity or zero
38439 for large exponents.
38440 * math/libm-test.inc (pow_test): Require overflow exceptions for
38441 applicable cases of large exponents.
38444 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38445 (__ieee754_pow): Use iterative multiplication algorithm only for
38446 integer exponents with absolute value below 1024. Check for odd
38447 integer exponents when using algorithm for real exponents.
38448 * math/libm-test.inc (pow_test): Add more tests.
38449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38451 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38454 * math/libm-test.inc (exp_test): Do not allow overflow exception
38457 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38460 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38461 instead of __kernel_standard_f.
38463 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38465 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38466 * sysdeps/x86_64/memset_chk.S: Likewise.
38468 2012-04-08 Andreas Jaeger <aj@suse.de>
38471 * manual/startup.texi (Environment Access): Describe return value
38472 for putenv and setenv.
38475 * manual/filesys.texi (Directory Entries): Add description for
38479 * manual/filesys.texi (Directory Entries): Clarify that it's file
38480 system not operating system in the description of DT_UNKNOWN.
38483 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38485 2012-04-08 Stephen Compall <s11@member.fsf.org>
38488 * manual/llio.texi (Opening and Closing Files): Add cross
38489 reference to explain mode argument.
38491 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38493 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38494 * sysdeps/x86_64/memset_chk.S: Likewise.
38496 2012-04-07 David S. Miller <davem@davemloft.net>
38498 * elf/elf.h (R_SPARC_WDISP10): Define.
38499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38502 R_SPARC_SIZE64 and R_SPARC_H34.
38504 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38507 conditions and remove no longer applicable assertion.
38509 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38511 * bits/byteswap.h: Include <features.h>.
38512 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38513 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38515 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38517 * bits/byteswap.h (__bswap_16): Removed.
38518 Include <bits/byteswap-16.h> to get __bswap_16.
38519 * sysdeps/i386/bits/byteswap.h: Likewise.
38520 * sysdeps/s390/bits/byteswap.h: Likewise.
38521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38522 * bits/byteswap-16.h: New file.
38523 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38524 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38525 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38526 * string/Makefile (headers): Add bits/byteswap-16.h.
38528 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38531 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38533 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38534 * nss/tst-nss-static.c: New.
38536 2012-04-06 Robert Millan <rmh@gnu.org>
38539 * manual/llio.texi (File Position Primitive): lseek
38540 refers to WHENCE when it really means OFFSET.
38542 2012-04-06 Andreas Jaeger <aj@suse.de>
38544 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38545 strncmp declarations.
38547 * abilist/libc.abilist: Add __poll and __ppoll.
38549 2012-04-05 David S. Miller <davem@davemloft.net>
38551 * scripts/check-local-headers.sh: Accept a host triplet in the
38552 path matched by the exclude regexp.
38554 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38556 * sysdeps/powerpc/powerpc32/dl-machine.h
38557 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38558 * sysdeps/s390/s390-32/dl-machine.h
38559 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38560 * sysdeps/sparc/sparc32/dl-machine.h
38561 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38562 * sysdeps/sparc/sparc64/dl-machine.h
38563 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38565 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38567 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38568 undefined symbol errors.
38570 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38573 2012-04-05 Michael Matz <matz@suse.de>
38576 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38578 2012-04-05 Andreas Jaeger <aj@suse.de>
38581 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38584 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38587 which ROUND is no valid rounding mode.
38589 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38591 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38593 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38595 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38597 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38598 an exception using FPU order intentionally.
38600 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38602 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38603 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38604 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38605 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38607 2012-04-05 Simon Josefsson <simon@josefsson.org>
38610 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38611 EINVAL when BUFLEN is too smal.
38613 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38616 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38617 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38619 2012-04-03 Andreas Jaeger <aj@suse.de>
38622 * manual/setjmp.texi (System V contexts): Fix sentence.
38625 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38626 New macro for this case.
38627 [!__GNUC__] (__bswap_64): New inline function for this case.
38628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38629 * bits/byteswap.h: Likewise.
38630 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38631 ull, guard with __GLIBC_HAVE_LONG_LONG.
38633 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38634 __GLIBC_HAVE_LONG_LONG.
38636 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38637 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38639 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38642 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38643 inptr and inend, rather than using last_ch.
38645 2012-04-02 David S. Miller <davem@davemloft.net>
38647 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38648 * stdio-common/printf-parse.h (read_int): Change return type to
38649 'int', return -1 on INT_MAX overflow.
38650 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38651 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38652 overflows INT_MAX. Check for overflow of in-format-string precision
38653 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38654 SIZE_MAX not INT_MAX for integer overflow test.
38655 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38656 skip the construct in the format string but do not record anything.
38657 * stdio-common/bug22.c: Adjust to test both width/prevision
38658 INT_MAX overflow as well as total length INT_MAX overflow. Check
38659 explicitly for proper errno values.
38661 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38663 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38665 * string/test-strcmp.c [! WIDE]: Likewise.
38666 * time/tst-mktime2.c: Likewise for INT_MAX.
38667 * string/test-string.h: #include <sys/param.h> for MIN.
38669 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38670 * sysdeps/i386/init-first.c (init): Likewise.
38671 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38672 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38673 * sysdeps/sh/init-first.c (init): Likewise.
38675 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38677 * po/ru.po: Update from translation team.
38678 * po/vi.po: Likewise.
38680 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38682 * resolv/nss_dns/dns-host.c: Merge copyright years.
38684 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38687 Optimize memcpy with prefetch if
38688 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38689 src, dst pointers have unequal 16 byte alignments.
38691 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38694 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38695 from a CNAME entry and return the minimum ttl for the query.
38696 (gaih_getanswer_slice): Likewise.
38698 2012-03-30 Jeff Law <law@redhat.com>
38700 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38702 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38703 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38705 * resolv/nss_dns/dns-host.c: Update copyright year.
38707 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38709 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38710 requests to save a system call. Fix check that all bytes are sent.
38712 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38713 comments for sendmmsg.
38715 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38718 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38719 with only 1 character between 0x0041 and 0x01b0.
38720 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38721 * wcsmbs/tst-mbsnrtowcs.c: New file.
38723 2012-03-29 David S. Miller <davem@davemloft.net>
38725 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38726 small copies by hand.
38728 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38731 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38732 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38735 2012-03-28 David S. Miller <davem@davemloft.net>
38737 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38738 that branches into memcpy.
38739 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38741 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38742 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38745 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38746 implementation too.
38747 * sysdeps/sparc/mempcpy.S: New file.
38749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38750 the IFUNC routine in the libc case.
38751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38753 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38754 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38755 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38756 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38757 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38758 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38759 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38760 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38762 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38763 loop to 256 bytes instead of 64 bytes and fix test signedness.
38765 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38766 * sysdeps/sparc/sparc32/Makefile: rather than here...
38767 * sysdeps/sparc/sparc64/Makefile: and here.
38769 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38771 * malloc/mallocbug.c: Avoid warnings about unused variables.
38773 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38776 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38777 in the right place. Discard and retry query if response is
38778 larger than input buffer size.
38780 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38785 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38786 x for large integer exponent.
38787 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38788 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38789 sign of result as needed afterwards.
38790 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38791 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38792 result for underflowing pow the same as for overflow.
38793 (__kernel_standard_l): Handle powl overflow and underflow here
38794 rather than calling __kernel_standard.
38795 * math/libm-test.inc (pow_test): Add more tests.
38810 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38811 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38812 (__kernel_standard_l): New function.
38813 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38815 * math/w_acosl.c (__acosl): Likewise.
38816 * math/w_asinl.c (__asinl): Likewise.
38817 * math/w_atan2l.c (__atan2l): Likewise.
38818 * math/w_atanhl.c (__atanhl): Likewise.
38819 * math/w_coshl.c (__coshl): Likewise.
38820 * math/w_exp10l.c (__exp10l): Likewise.
38821 * math/w_exp2l.c (__exp2l): Likewise.
38822 * math/w_fmodl.c (__fmodl): Likewise.
38823 * math/w_hypotl.c (__hypotl): Likewise.
38824 * math/w_j0l.c (__j0l, __y0l): Likewise.
38825 * math/w_j1l.c (__j1l, __y1l): Likewise.
38826 * math/w_jnl.c (__jnl, __ynl): Likewise.
38827 * math/w_lgammal.c (__lgammal): Likewise.
38828 * math/w_log10l.c (__log10l): Likewise.
38829 * math/w_log2l.c (__log2l): Likewise.
38830 * math/w_logl.c (__logl): Likewise.
38831 * math/w_powl.c (__powl): Likewise.
38832 * math/w_remainderl.c (__remainderl): Likewise.
38833 * math/w_scalbl.c (sysv_scalbl): Likewise.
38834 * math/w_sinhl.c (__sinhl): Likewise.
38835 * math/w_sqrtl.c (__sqrtl): Likewise.
38836 * math/w_tgammal.c (__tgammal): Likewise.
38837 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38838 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38839 * math/libm-test.inc (acos_test): Add more tests.
38840 (acosh_test): Likewise.
38841 (asin_test): Likewise.
38842 (atanh_test): Likewise.
38843 (exp_test): Likewise.
38844 (exp10_test): Likewise.
38845 (exp2_test): Likewise.
38846 (expm1_test): Likewise.
38847 (lgamma_test): Likewise.
38848 (log_test): Likewise.
38849 (log10_test): Likewise.
38850 (log1p_test): Likewise.
38851 (log2_test): Likewise.
38852 (pow_test): Do not allow some spurious overflow exceptions.
38853 (sqrt_test): Add more tests.
38854 (tgamma_test): Likewise.
38855 (y0_test): Likewise.
38856 (y1_test): Likewise.
38857 (yn_test): Likewise.
38859 2012-03-27 Anton Blanchard <anton@samba.org>
38861 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38863 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38864 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38867 2012-03-27 David S. Miller <davem@davemloft.net>
38869 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38871 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38872 have-as-vis3 check.
38874 2012-03-27 Andreas Jaeger <aj@suse.de>
38876 * sysdeps/x86_64/elf/configure.in: Moved to ...
38877 * sysdeps/x86_64/configure.in: ... here.
38878 * sysdeps/x86_64/elf/start.S: Moved to ...
38879 * sysdeps/x86_64/start.S: ... here.
38880 * sysdeps/x86_64/elf/configure: Delete.
38882 * sysdeps/x86_64/configure.in: Merge contents from
38883 sysdeps/i386/configure.in (without i686 check).
38885 * sysdeps/i386/elf/Versions: Merge into ...
38886 * sysdeps/i386/Versions: ... this.
38887 * sysdeps/i386/elf/Versions: Delete file.
38888 * sysdeps/i386/elf/start.S: Moved to ...
38889 * sysdeps/i386/start.S: ...here.
38890 * sysdeps/i386/elf/configure.in: Merge into...
38891 * sysdeps/i386/configure.in: ...here.
38892 * sysdeps/i386/elf/configure.in: Delete file.
38893 * sysdeps/i386/elf/configure: Delete file.
38895 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38896 * debug/backtracesyms.c: ... here.
38897 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38898 * debug/backtracesymsfd.c: ... here.
38899 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38900 * sysdeps/generic/ifunc-sel.h: ... here.
38902 * sysdeps/unix/i386/start.c: Delete file.
38903 * sysdeps/unix/sparc/start.c: Delete file.
38904 * sysdeps/unix/start.c: Delete file.
38906 * sysdeps/sh/elf/configure.in: Moved to ...
38907 * sysdeps/sh/configure.in: ... here.
38908 * sysdeps/sh/elf/start.S: Moved to ...
38909 * sysdeps/sh/start.S: ... here.
38910 * sysdeps/sh/elf/configure: Delete file.
38912 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38913 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38914 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38915 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38916 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38917 * sysdeps/powerpc/powerpc64/start.S: here.
38918 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38919 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38920 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38921 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38922 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38924 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38925 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38926 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38927 * sysdeps/powerpc/powerpc32/start.S: ... here.
38928 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38929 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38930 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38932 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38933 * sysdeps/powerpc/ifunc-sel.h: ... here.
38934 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38935 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38937 * sysdeps/sparc/elf/configure.in: Moved to ...
38938 * sysdeps/sparc/configure.in: ... here.
38939 * sysdeps/sparc/elf/configure: Delete file.
38940 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38941 * sysdeps/sparc/sparc32/start.S: ... here.
38942 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38943 * sysdeps/sparc/sparc64/start.S: ... here.
38944 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38945 * sysdeps/sparc/sparc32/Makefile: ... this.
38946 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38947 * sysdeps/sparc/sparc64/Makefile: ... this.
38949 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38950 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38951 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38952 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38953 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38954 * sysdeps/s390/s390-32/setjmp.S: ... here.
38955 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38956 * sysdeps/s390/s390-32/configure.in: ... here.
38957 * sysdeps/s390/s390-32/elf/configure: Delete file.
38958 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38959 * sysdeps/s390/s390-32/start.S: ... here.
38961 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38962 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38963 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38964 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38965 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38966 * sysdeps/s390/s390-64/setjmp.S: ... here.
38967 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38968 * sysdeps/s390/s390-64/configure.in: ... here
38969 * sysdeps/s390/s390-64/elf/configure: Delete file.
38970 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38971 * sysdeps/s390/s390-64/start.S: ... here.
38972 * sysdeps/s390/s390-64/elf/configure: Delete.
38974 * configure.in: Remove support for elf directories in sysdeps.
38976 * configure: Regenerated.
38977 * sysdeps/i386/configure: Regenerated.
38978 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38979 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38980 * sysdeps/s390/s390-32/configure: Regenerated.
38981 * sysdeps/s390/s390-64/configure: Regenerated.
38982 * sysdeps/sh/configure: Regenerated.
38983 * sysdeps/sparc/configure: Regenerated.
38984 * sysdeps/x86_64/configure: Regenerated.
38986 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38991 denormal result into account.
38993 2012-03-25 Roland McGrath <roland@hack.frob.com>
38995 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38996 Reported by Allan McRae <allan@archlinux.org>.
38998 2012-03-23 Jeff Law <law@redhat.com>
39000 * nss/getnssent.c (__nss_getent): Fix typo.
39002 2012-03-23 David S. Miller <davem@davemloft.net>
39004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39006 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39008 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39009 to pad to uint64_t for each field.
39010 (dl_tls_index): Replace unsigned long with uint64_t.
39012 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39013 Paul Pluzhnikov <ppluzhnikov@google.com>
39016 * grp/Makefile (otherlibs): Don't set it.
39017 * inet/Makefile (otherlibs): Likewise.
39018 * login/Makefile (otherlibs): Likewise.
39019 * nscd/Makefile (otherlibs): Likewise.
39020 * posix/Makefile (otherlibs): Likewise.
39021 * pwd/Makefile (otherlibs): Likewise.
39022 * rt/Makefile (otherlibs): Likewise.
39023 * sunrpc/Makefile (otherlibs): Likewise.
39024 * nss/Makefile (otherlibs): Likewise.
39025 Add libnss_files to routines and static-only-routines.
39026 ($(objpfx)getent): Remove rule.
39027 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39028 static-only-routines.
39030 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39033 * math/s_cexp.c: Include <float.h>.
39034 (__cexp): Handle exp result overflowing not necessarily
39035 overflowing both real and imaginary parts of result.
39036 * math/s_cexpf.c: Likewise.
39037 * math/s_cexpl.c: Likewise.
39038 * math/libm-test.inc (cexp_test): Add more tests.
39039 * sysdeps/i386/fpu/libm-test-ulps: Update.
39040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39042 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39044 * include/link.h (ELFW): New macro.
39045 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39046 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39048 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39050 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39053 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39055 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39057 (struct La_x32_retval): Likewise.
39059 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39061 * sysdeps/x86_64/preconfigure.in: New file.
39062 * sysdeps/x86_64/preconfigure: New generated file.
39064 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39067 * math/e_exp2l.c: Include <float.h>.
39068 (__ieee754_exp2l): Handle overflow and underflow cases
39069 separately. Only pass fractional part of argument to
39071 * math/libm-test.inc (exp2_test): Add more tests.
39073 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39074 negating x to take absolute value.
39075 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39080 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39081 computing low part if x was negated.
39082 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39084 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39086 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39087 la_x32_gnu_pltexit.
39088 (pltexit): Cast int_retval to ptrdiff_t.
39089 * elf/tst-auditmod3b.c: Likewise.
39090 * elf/tst-auditmod4b.c: Likewise.
39091 * elf/tst-auditmod5b.c: Likewise.
39092 * elf/tst-auditmod6b.c: Likewise.
39093 * elf/tst-auditmod6c.c: Likewise.
39094 * elf/tst-auditmod7b.c: Likewise.
39096 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39097 and x32_gnu_pltexit.
39099 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39100 __ELF_NATIVE_CLASS.
39101 (La_x32_regs): New macro.
39102 (La_x32_retval): Likewise.
39103 (la_x32_gnu_pltenter): New function prototype.
39104 (la_x32_gnu_pltexit): Likewise.
39106 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39108 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39113 * configure.in (libc_cv_cc_nofma): Check for option to disable
39114 generation of FMA instructions.
39115 * configure: Regenerate.
39116 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39117 * sysdeps/ieee754/dbl-64/Makefile: New file.
39118 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39119 Remove brandred-fma4.
39120 (CFLAGS-brandred-fma4.c): Remove.
39121 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39122 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39124 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39127 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39129 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39130 LLONG_MAX != LONG_MAX.
39131 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39132 (_fitoa_word): Likewise.
39133 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39134 LLONG_MAX != LONG_MAX.
39135 * stdio-common/_itowa.h: Include <_itoa.h>.
39136 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39137 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39138 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39139 only if not defined.
39140 (_ITOA_WORD_TYPE): Likewise.
39141 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39142 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39144 2012-03-21 David S. Miller <davem@davemloft.net>
39146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39148 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39150 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39151 of x86_64 when setting libc_cv_slibdir, libdir and
39153 * sysdeps/unix/sysv/linux/configure: Regenerated.
39155 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39157 * manual/lang.texi (Old Varargs): Remove section.
39158 (How Variadic): Update menu.
39159 (va_start): Do not mention varargs.h.
39161 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39162 Joseph Myers <joseph@codesourcery.com>
39164 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39166 * configure: Regenerated.
39168 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39170 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39171 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39174 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39177 * Makefile (files-for-dist): Remove NOTES.
39178 (NOTES): Remove rule.
39179 * README: Don't refer to NOTES.
39180 * manual/creature.texi: Don't include macros.texi.
39181 * manual/intro.texi (creature.texi): Remove comment referring to
39184 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39185 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39186 * configure: Regenerated.
39187 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39188 LIBC_TRY_CC_OPTION.
39189 (libc_cv_as_i686): Likewise.
39190 (libc_cv_cc_avx): Likewise.
39191 (libc_cv_cc_sse2avx): Likewise.
39192 (libc_cv_cc_fma4): Likewise.
39193 (libc_cv_cc_novzeroupper): Likewise.
39194 * sysdeps/i386/configure: Regenerated.
39197 * sysdeps/i386/fpu/s_cexp.S: Remove.
39198 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39199 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39200 * math/libm-test.inc (cexp_test): Add more tests.
39201 * sysdeps/i386/fpu/libm-test-ulps: Update.
39202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39204 2012-03-21 Allan McRae <allan@archlinux.org>
39206 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39208 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39211 * math/w_exp2.c: Do not include <float.h>.
39212 (o_threshold, u_threshold): Remove.
39213 (__exp2): Calculate result before checking finiteness and calling
39215 * math/w_exp2f.c: Likewise.
39216 * math/w_exp2l.c: Likewise.
39217 * math/libm-test.inc (exp2_test): Require overflow exception for
39221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39222 range of signed 64-bit integers before using fistpll. Remove
39223 checks for whether integers fit in mantissa bits.
39224 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39225 the range of signed 32-bit integers before using fistpl. Remove
39226 checks for whether integers fit in mantissa bits.
39227 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39228 (__ieee754_powl): Test for y outside the range of signed 64-bit
39229 integers before using fistpll. Reduce 64-bit values to 63-bit
39231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39232 divide-by-zero is raised for zero to large negative powers.
39233 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39234 (__ieee754_powl): Test for y outside the range of signed 64-bit
39235 integers before using fistpll. Reduce 64-bit values to 63-bit
39237 * math/libm-test.inc (pow_test): Add more tests.
39239 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39241 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39242 <stdio-common/_itoa.h>.
39243 * debug/segfault.c: Likewise.
39244 * elf/dl-cache.c: Likewise.
39245 * elf/dl-minimal.c: Likewise.
39246 * elf/dl-misc.c: Likewise.
39247 * elf/dl-sysdep.c: Likewise.
39248 * elf/dl-version.c: Likewise.
39249 * elf/rtld.c: Likewise.
39250 * hurd/hurdsock.c: Likewise.
39251 * hurd/lookup-retry.c: Likewise.
39252 * malloc/malloc.c: Likewise.
39253 * malloc/mtrace.c: Likewise.
39254 * nscd/nscd_getgr_r.c: Likewise.
39255 * nscd/nscd_getpw_r.c: Likewise.
39256 * nscd/nscd_getserv_r.c: Likewise.
39257 * posix/getopt_init.c: Likewise.
39258 * posix/wordexp.c: Likewise.
39259 * stdio-common/_itoa.c: Likewise.
39260 * stdio-common/printf_fphex.c: Likewise.
39261 * stdio-common/vfprintf.c: Likewise.
39262 * string/_strerror.c: Likewise.
39263 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39264 * sysdeps/i386/i686/hp-timing.h: Likewise.
39265 * sysdeps/mach/_strerror.c: Likewise.
39266 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39267 * sysdeps/mach/hurd/sethostid.c: Likewise.
39268 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39269 * sysdeps/mach/xpg-strerror.c: Likewise.
39270 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39272 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39273 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39274 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39275 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39276 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39277 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39278 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39279 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39280 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39281 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39282 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39283 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39284 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39285 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39286 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39287 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39288 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39289 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39290 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39292 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39294 * stdio-common/_itoa.h: Moved to ...
39295 * sysdeps/generic/_itoa.h: Here.
39297 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39299 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39300 instead of "_itoa.h" and "_itowa.h".
39301 * stdio-common/vfprintf.: Likewise.
39303 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39305 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39307 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39308 (__signbit): Likwise.
39309 (llrintf): Likwise.
39312 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39314 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39317 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39319 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39320 OVERFLOW_EXCEPTION_OK.
39321 * math/libm-test.inc ("Philosophy"): Update comment about
39323 (OVERFLOW_EXCEPTION): Define.
39324 (OVERFLOW_EXCEPTION_OK): Likewise.
39325 (INVALID_EXCEPTION_OK): Renumber.
39326 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39327 (IGNORE_ZERO_INF_SIGN): Likewise.
39328 (test_exceptions): Handle FE_OVERFLOW.
39329 (exp10_test): Expect overflow exceptions.
39330 (exp2_test): Likewise.
39331 (expm1_test): Likewise.
39332 (nextafter_test): Likewise.
39333 (pow_test): Likewise.
39334 (scalbn_test): Likewise.
39335 (scalbln_test): Likewise.
39337 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39339 * sysdeps/x86_64/bits/atomic.h
39340 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39342 (atomic_exchange_acq): Likewise.
39343 (__arch_exchange_and_add_body): Likewise.
39344 (__arch_add_body): Likewise.
39345 (atomic_add_negative): Likewise.
39346 (atomic_add_zero): Likewise.
39348 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39350 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39351 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39353 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39355 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39356 Check __x86_64__ instead of __WORDSIZE.
39358 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39360 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39362 2012-03-19 David S. Miller <davem@davemloft.net>
39364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39366 * sysdeps/sparc/fpu/fenv_private.h: New file.
39367 * sysdeps/sparc/fpu/math_private.h: Use it.
39368 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39370 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39371 (libc_feholdexcept_setroundl): Remove.
39372 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39374 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39375 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39377 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39379 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39380 int64_t instead of long int.
39381 (INSERT_WORDS64): Likwise.
39383 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39385 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39386 _Unwind_GetCFA return to _Unwind_Ptr first.
39388 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39391 * math/s_clog.c: Include <float.h>.
39392 (__clog): Scale large or subnormal inputs.
39393 * math/s_clogf.c: Likewise.
39394 * math/s_clogl.c: Likewise.
39395 * math/s_clog10.c: Include <float.h>.
39396 (M_LOG10_2): Define.
39397 (__clog10): Scale large or subnormal inputs.
39398 * math/s_clog10f.c: Likewise.
39399 * math/s_clog10l.c: Likewise.
39400 * math/libm-test.inc (clog_test): Add more tests.
39401 (clog10_test): Likewise.
39402 * sysdeps/i386/fpu/libm-test-ulps: Update.
39403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39406 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39408 * math/libm-test.inc (atan2_test): Add another test.
39410 * Makerules (common-objdir-compile): Remove.
39411 * sysdeps/unix/Makefile (config-generated): Do not add
39412 $(unix-generated) to variable.
39413 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39414 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39416 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39418 [generic bits/local_lim.h] (before-compile): Do not append to
39420 [generic bits/local_lim.h] (common-generated): Likewise.
39421 [generic sys/param.h] (before-compile): Do not append to variable.
39422 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39423 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39424 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39425 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39427 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39428 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39429 [generic sys/param.h] ($(addprefix
39430 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39431 [generic sys/param.h] (common-generated): Do not append to
39433 [generic sys/param.h] (sysdep_headers): Likewise.
39434 [generic bits/errno.h] (before-compile): Do not append to
39436 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39438 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39439 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39440 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39441 [generic bits/errno.h] (common-generated): Do not append to
39443 [generic bits/ioctls.h] (before-compile): Do not append to
39445 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39447 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39448 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39449 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39451 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39452 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39453 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39454 [generic bits/ioctls.h] (common-generated): Do not append to
39456 [generic sys/syscall.h] (syscall.h): Remove variable.
39457 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39459 [generic sys/syscall.h] (before-compile): Do not append to
39461 [generic sys/syscall.h] (common-generated): Likewise.
39462 * sysdeps/unix/errnos-tmpl.c: Remove file.
39463 * sysdeps/unix/errnos.awk: Likewise.
39464 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39465 * sysdeps/unix/ioctls.awk: Likewise.
39466 * sysdeps/unix/mk-local_lim.c: Likewise.
39467 * sysdeps/unix/snarf-ioctls: Likewise.
39469 2012-03-19 Richard Henderson <rth@twiddle.net>
39471 * sysdeps/i386/fpu/fenv_private.h: New file.
39472 * sysdeps/i386/fpu/math_private.h: Use it.
39473 (math_opt_barrier, math_force_eval): Remove.
39474 (libc_feholdexcept_setround_53bit): Remove.
39475 (libc_feupdateenv_53bit): Remove.
39476 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39477 (math_opt_barrier, math_force_eval): Remove.
39478 (libc_feholdexcept): Remove.
39479 (libc_feholdexcept_setround): Remove.
39480 (libc_fetestexcept, libc_fesetenv): Remove.
39481 (libc_feupdateenv_test): Remove.
39482 (libc_feupdateenv, libc_feholdsetround): Remove.
39483 (libc_feresetround): Remove.
39485 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39486 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39488 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39489 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39490 (libc_feupdateenv_testl): New.
39491 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39492 (libc_feupdateenv_testf): New.
39493 (libc_feupdateenv): Use libc_feupdateenv_test.
39494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39495 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39497 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39498 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39499 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39500 (libc_feresetround_noex): New.
39501 (libc_feresetround_noexf): New.
39502 (libc_feresetround_noexl): New.
39503 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39504 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39505 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39506 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39509 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39511 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39512 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39513 SET_RESTORE_ROUND_NOEX.
39514 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39515 SET_RESTORE_ROUND_NOEXF.
39516 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39517 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39518 (libc_feholdsetroundf): New.
39519 (libc_feresetround, libc_feresetroundf): New.
39521 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39522 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39523 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39525 * sysdeps/generic/math_private.h: Include <fenv.h>.
39526 (default_libc_feholdexcept): New.
39527 (default_libc_feholdexcept_setround): New.
39528 (default_libc_fesetenv, default_libc_feupdateenv): New.
39529 (libc_feholdexcept): Only define if undefined.
39530 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39531 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39532 (libc_feholdexcept_setroundl): Likewise.
39533 (libc_feholdexcept_setround_53bit): Likewise.
39534 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39535 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39536 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39537 (libc_feupdateenv_53bit): Likewise.
39538 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39539 (libc_feholdexcept): Convert from macro to inline function.
39540 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39541 (libc_fesetenv, libc_feupdateenv): Likewise.
39543 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39544 not previously defined.
39545 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39546 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39547 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39548 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39549 * sysdeps/ieee754/flt-32/math_private.h: New file.
39550 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39551 math_private.h below SET_FLOAT_WORD.
39552 (__isnan, __isinf_ns, __finite): Remove.
39553 (__isnanf, __isinf_nsf, __finitef): Remove.
39555 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39559 2012-03-17 David S. Miller <davem@davemloft.net>
39562 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39565 2012-03-16 David S. Miller <davem@davemloft.net>
39567 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39571 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39573 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39574 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39575 sysdep_routines when subdir is sysvipc.
39576 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39577 __getshmlba helper.
39579 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39581 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39583 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39586 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39588 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39589 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39590 (__lround): Renamed to ...
39591 (__llround): This. Replace long int with long long int.
39592 Define lround functions as aliases of llround functions.
39593 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39595 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39597 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39598 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39599 adresses to uintptr_t. Replace "long int" and "unsigned long
39600 int" with "greg_t" on va_arg.
39602 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39604 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39605 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39607 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39608 Move e_machine check before EI_CLASS check. Handle x32
39609 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39610 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39611 SKIP_EM_IA_64 and include
39612 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39614 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39615 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39616 (add_system_dir): New macro.
39618 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39619 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39621 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39632 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39634 * math/w_j0f.c (j0f): Likewise.
39636 * math/w_j0l.c (__j0l): Likewise.
39638 * math/w_j1.c (j1): Likewise.
39640 * math/w_j1f.c (j1f): Likewise.
39642 * math/w_j1l.c (__j1l): Likewise.
39644 * math/w_jn.c (jn): Likewise.
39646 * math/w_jnf.c (jnf): Likewise.
39648 * math/w_jnl.c (__jnl): Likewise.
39650 * math/libm-test.inc (j0_test): Add more tests.
39651 (j1_test): Likewise.
39652 (jn_test): Likewise. Add trailing semicolon to existing test.
39653 (y0_test): Likewise.
39654 (y1_test): Likewise.
39655 * sysdeps/i386/fpu/libm-test-ulps: Update.
39656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39660 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39661 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39662 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39663 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39664 (__tanl): Set errno for infinite argument.
39665 * sysdeps/i386/fpu/mptan.c: Remove.
39666 * sysdeps/i386/fpu/s_tan.S: Likewise.
39667 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39668 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39669 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39670 * math/libm-test.inc (tan_test): Add more tests and enable more
39671 tests for double and long double.
39672 * sysdeps/i386/fpu/libm-test-ulps: Update.
39673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39675 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39677 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39678 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39680 2012-03-16 Roland McGrath <roland@hack.frob.com>
39682 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39683 * configure.in: Use it for both main tree and add-ons.
39684 * configure: Regenerated.
39686 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39688 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39690 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39696 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39697 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39698 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39700 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39702 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39704 != 0 for prec == 2.
39705 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39706 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39707 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39708 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39709 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39710 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39711 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39712 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39713 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39714 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39715 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39716 * math/libm-test.inc (cos_test): Add more tests and enable more
39717 tests for long double.
39718 (sin_test): Likewise.
39719 (sincos_test): Likewise.
39720 * sysdeps/i386/fpu/libm-test-ulps: Update.
39721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39723 2012-03-16 David S. Miller <davem@davemloft.net>
39725 * sysdeps/sparc/fpu/math_private.h: New file.
39727 2012-03-15 David S. Miller <davem@davemloft.net>
39729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39743 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39744 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39746 * sysdeps/sparc/sparc-ifunc.h: New file.
39747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39792 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39794 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39798 2012-03-15 Andreas Jaeger <aj@suse.de>
39801 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39802 ieee754/flt-32 implementation for sin, cos and sincos.
39803 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39804 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39805 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39806 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39807 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39808 ieee754/flt-32 implementation for tan.
39810 * math/libm-test.inc (cos_test): Enable some large input tests for
39812 (sin_test): Likewise.
39813 (sincos_test): Likewise.
39814 (tan_test): Add tests for large input.
39816 * sysdeps/i386/fpu/libm-test-ulps: Update.
39818 2012-03-15 Andreas Jaeger <aj@suse.de>
39821 * math/libm-test.inc (cos_test): Add more test cases.
39822 (sin_test): Likewise.
39823 (sincos_test): Likewise.
39825 2012-03-15 Andreas Jaeger <aj@suse.de>
39828 * math/libm-test.inc (cos_test): Add a test case for large input
39830 (sin_test): Likewise.
39831 (sincos_test): Likewise.
39833 2012-03-15 Andreas Jaeger <aj@suse.de>
39834 Joseph Myers <joseph@codesourcery.com>
39837 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39838 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39839 * sysdeps/i386/fpu/branred.c: Likewise.
39840 * sysdeps/i386/fpu/dosincos.c: Likewise.
39841 * sysdeps/i386/fpu/mpa.c: Likewise.
39842 * sysdeps/i386/fpu/s_cos.S: Likewise.
39843 * sysdeps/i386/fpu/s_sin.S: Likewise.
39844 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39845 * sysdeps/i386/fpu/sincos32.c: Likewise.
39847 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39849 (libc_feupdateenv_53bit): Define.
39850 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39852 (libc_feupdateenv_53bit): Define.
39854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39855 53 bit (without extend i386 double precision).
39857 * math/libm-test.inc (sincos_test): Add tests for large input.
39861 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39863 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39867 2012-03-15 David S. Miller <davem@davemloft.net>
39869 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39870 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39871 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39872 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39897 fmin/fmax sysdep routines.
39898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39900 2012-03-14 David S. Miller <davem@davemloft.net>
39902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39974 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39979 * sysdeps/sparc/configure.in: New file.
39980 * sysdeps/sparc/configure: Generate.
39981 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39982 * configure: Regenerate.
39983 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39984 * config.make.in (have-as-vis3): New.
39985 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39986 available use -Av9d instead of -Av9a.
39987 * sysdeps/sparc/sparc64/Makefile: Likewise.
39988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40003 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40004 fzeros/fnegs to load 0x80000000 into a float register instead of
40006 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40008 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40012 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40013 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40014 ($(inst_includedir)/bits/syscall.h): Remove rule.
40015 ($(objpfx)bits/syscall.d): Include instead of
40016 $(objpfx)syscall-list.d.
40017 (generated): Change syscall-list.h and syscall-list.d to
40018 bits/syscall.h and bits/syscall.d.
40020 2012-03-14 Roland McGrath <roland@hack.frob.com>
40023 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40025 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40028 * math/s_csqrt.c: Include <float.h>.
40029 (__csqrt): Scale large or subnormal inputs.
40030 * math/s_csqrtf.c: Likewise.
40031 * math/s_csqrtl.c: Likewise.
40032 * math/libm-test.inc (csqrt_test): Add more tests.
40033 * sysdeps/i386/fpu/libm-test-ulps: Update.
40034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40037 * math/libm-test.inc (hypot_test): Add more tests.
40039 2012-03-13 David S. Miller <davem@davemloft.net>
40042 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40043 double-precision for the calculation instead of scaling.
40045 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40047 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40048 manipulate bits before adding and subtracting TWO52[sx].
40049 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40050 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40052 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40054 2012-03-13 David S. Miller <davem@davemloft.net>
40056 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40057 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40059 rtld-global-offsets.h
40060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40062 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40065 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40067 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40068 'err' in the ifdef scope in which it is actually used.
40070 * nss/nss_db/db-init.c: Include string.h
40072 2012-03-12 David S. Miller <davem@davemloft.net>
40074 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40075 masking out of the most significant byte of random value used.
40076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40077 Fix coding style in previous change.
40079 * sysdeps/unix/sysv/linux/kernel-features.h
40080 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40081 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40083 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40086 2012-03-11 David S. Miller <davem@davemloft.net>
40088 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40089 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40091 for 'resultvar' otherwise things get truncated on 64-bit.
40093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40094 Fix masking out of the most significant byte of random value used.
40096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40098 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40102 2012-03-09 David S. Miller <davem@davemloft.net>
40104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40105 variables with appropriate CPP guards.
40106 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40107 from the frame pointer, not the stack pointer. Correct layout
40108 comments. Fix test on resulting framesize and the management of
40109 the outregs buffer for pltexit. Preserve floating point return
40110 values across _dl_call_pltexit call.
40111 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40112 framesize and the management of the outregs buffer for pltexit.
40113 Preserve floating point return values across _dl_call_pltexit
40115 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40116 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40117 (la_sparc64_gnu_pltexit): New functions.
40118 (print_exit): Fix format string for return register value.
40120 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40122 * sunrpc/Makefile (others): Add rpcgen.
40123 ($(objpfx)rpcgen): Remove special build rule and dependency on
40125 * sunrpc/rpcgen.c: New file.
40127 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40130 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40131 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40132 * sysdeps/i386/crti.S: Likewise.
40133 * sysdeps/i386/crtn.S: Likewise.
40134 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40135 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40136 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40137 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40138 * sysdeps/sh/crti.S: Likewise.
40139 * sysdeps/sh/crtn.S: Likewise.
40140 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40143 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40145 * locale/programs/locfile-kw.gperf: Likewise.
40146 * locale/programs/charmap-kw.h: Regenerated.
40147 * locale/programs/locfile-kw.h: Likewise.
40150 * intl/plural.y: Replace FSF snail mail address with URL.
40151 * intl/plural.c: Regenerated.
40153 2012-03-09 Richard Henderson <rth@twiddle.net>
40155 * include/math_private.h: Remove file.
40156 * math/math_private.h: Move file ...
40157 * sysdeps/generic/math_private.h: ... here.
40159 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40160 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40161 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40163 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40164 and <math_private.h>.
40165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40203 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40205 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40206 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40207 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40208 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40209 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40211 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40212 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40213 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40214 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40215 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40216 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40217 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40218 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40219 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40220 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40221 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40222 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40223 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40224 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40225 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40226 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40228 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40229 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40230 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40231 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40232 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40234 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40235 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40237 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40238 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40239 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40244 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40245 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40246 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40247 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40248 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40252 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40253 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40254 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40255 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40256 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40258 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40259 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40260 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40261 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40262 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40263 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40264 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40265 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40266 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40267 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40268 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40269 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40270 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40271 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40272 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40273 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40274 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40275 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40276 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40277 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40278 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40279 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40280 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40281 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40282 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40283 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40284 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40285 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40286 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40287 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40288 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40289 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40290 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40292 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40293 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40294 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40295 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40296 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40298 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40299 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40300 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40301 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40302 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40303 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40304 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40305 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40306 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40307 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40308 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40309 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40310 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40311 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40312 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40313 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40314 * sysdeps/ieee754/k_standard.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40375 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40377 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40382 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40387 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40388 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40389 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40392 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40397 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40405 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40406 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40408 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40411 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40416 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40417 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40418 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40419 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40423 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40424 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40425 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40427 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40430 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40431 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40432 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40433 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40434 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40436 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40437 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40438 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40440 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40442 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40443 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40445 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40446 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40447 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40448 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40449 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40450 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40451 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40452 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40453 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40454 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40455 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40456 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40457 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40458 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40459 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40460 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40461 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40464 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40465 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40466 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40467 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40468 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40469 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40470 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40471 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40472 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40473 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40474 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40475 * sysdeps/ieee754/s_lib_version.c: Likewise.
40476 * sysdeps/ieee754/s_matherr.c: Likewise.
40477 * sysdeps/ieee754/s_signgam.c: Likewise.
40478 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40479 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40480 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40481 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40482 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40483 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40484 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40485 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40486 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40487 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40488 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40489 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40490 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40491 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40492 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40493 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40494 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40495 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40496 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40500 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40502 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40503 * sunrpc/rpc_main.c: Likewise.
40504 * sunrpc/rpc_svcout.c: Likewise.
40506 2012-03-09 David S. Miller <davem@davemloft.net>
40508 * include/math_private.h: New file.
40510 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40512 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40513 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40514 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40515 from <bits/socket_type.h>.
40516 (enum __socket_type): Don't define here.
40517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40519 bits/socket_type.h.
40522 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40523 checking __USE_GNU.
40525 * Makerules ($(inst_includedir)/%.h): New rule.
40526 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40527 (install-others): Remove variable setting.
40528 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40530 2012-03-08 Richard Henderson <rth@twiddle.net>
40532 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40533 from macro to inline function; merge with the
40534 !__LIBC_INTERNAL_MATH_INLINES version.
40535 (__ieee754_sqrtf): Likewise.
40537 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40538 to inline function.
40539 (__rintf, __floor, __floorf): Likewise.
40541 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40542 macro to inline function.
40543 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40545 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40546 not <math/math_private.h>.
40548 2012-03-08 David S. Miller <davem@davemloft.net>
40550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40552 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40554 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40556 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40558 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40559 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40561 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40563 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40564 be defined individually, they must be defined as a block. Define
40565 S for printing a string instead of hidint the different by using a
40566 macro for adding the 'l'.
40567 * stdio-common/tst-fphex-wide.c: Adjust.
40569 2012-03-07 Marek Polacek <polacek@redhat.com>
40571 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40573 2012-03-08 Marek Polacek <polacek@redhat.com>
40576 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40577 * stdio-common/tst-fphex.c: Define a few macros to make the
40578 test reusable. Use them.
40579 * stdio-common/tst-fphex-wide.c: New file.
40581 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40584 * manual/macros.texi (gnusystems): New macro.
40585 (nongnusystems): Likewise.
40586 (gnulinuxhurdsystems): Likewise.
40587 (gnuhurdsystems): Likewise..
40588 (gnulinuxsystems): Likewise.
40589 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40590 variants of the GNU system, not "GNU system".
40591 * manual/conf.texi: Likewise.
40592 * manual/errno.texi: Likewise. Update example of errno macro
40594 * manual/filesys.texi: Likewise.
40595 (getumask): Document as specific to GNU/Hurd.
40596 * manual/install.texi: Likewise. Reword some references to
40598 * manual/intro.texi: Likewise.
40599 * manual/io.texi: Likewise.
40600 (File Name Portability): Detail which constraints are inapplicable
40601 to all GNU systems and which are only inapplicable to GNU/Hurd.
40602 * manual/job.texi: Likewise.
40603 * manual/llio.texi: Likewise.
40604 (O_NOCTTY): Document as present on GNU/Linux.
40605 * manual/maint.texi: Likewise.
40606 * manual/memory.texi: Likewise.
40607 * manual/pattern.texi: Likewise.
40608 * manual/pipe.texi: Likewise.
40609 * manual/process.texi: Likewise.
40610 * manual/resource.texi: Likewise.
40611 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40613 * manual/setjmp.texi: Likewise.
40614 * manual/signal.texi: Likewise.
40615 * manual/startup.texi: Likewise.
40616 * manual/stdio.texi: Likewise.
40617 * manual/terminal.texi: Likewise.
40618 (ONLCR): Document as POSIX.
40619 (OXTABS): Document availability on GNU/Linux as XTABS.
40620 (ONOEOT): Document availability separately from other bits.
40621 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40622 * manual/time.texi: Likewise.
40623 * manual/users.texi: Likewise.
40624 * INSTALL: Regenerated.
40625 * sysdeps/gnu/errlist.c: Regenerated.
40627 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40628 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40629 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40631 * configure: Regenerated.
40633 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40635 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40636 default includes instead of AC_HEADER_CHECK.
40637 * sysdeps/i386/configure: Regenerated.
40640 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40641 * math/s_cacoshf.c (__cacoshf): Likewise.
40642 * math/s_cacoshl.c (__cacoshl): Likewise.
40643 * math/s_casinh.c (__casinh): Set signs of result from argument.
40644 * math/s_casinhf.c (__casinhf): Likewise.
40645 * math/s_casinhl.c (__casinhl): Likewise.
40646 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40647 (casinh_test): Add more tests.
40648 * sysdeps/i386/fpu/libm-test-ulps: Update.
40649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40651 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40653 * po/zh_TW.po: Update from translation team.
40655 * login/Makefile (distribute): Remove variable.
40656 * catgets/Makefile: Likewise.
40657 * mach/Makefile: Likewise.
40658 * malloc/Makefile: Likewise.
40659 * misc/Makefile: Likewise.
40660 * iconv/Makefile: Likewise.
40661 * nscd/Makefile: Likewise.
40662 * hurd/Makefile: Likewise.
40663 * manual/Makefile: Likewise.
40664 * locale/Makefile: Likewise.
40665 * intl/Makefile: Likewise.
40666 * conform/Makefile: Likewise.
40667 * nss/Makefile: Likewise.
40668 * time/Makefile: Likewise.
40669 * soft-fp/Makefile: Likewise.
40670 * dirent/Makefile: Likewise.
40671 * gmon/Makefile: Likewise.
40672 * po/Makefile: Likewise.
40673 * rt/Makefile: Likewise.
40674 * socket/Makefile: Likewise.
40675 * math/Makefile: Likewise.
40676 * signal/Makefile: Likewise.
40677 * debug/Makefile: Likewise.
40678 * elf/Makefile: Likewise.
40679 * timezone/Makefile: Likewise.
40680 * stdlib/Makefile: Likewise.
40681 * iconvdata/Makefile: Likewise.
40682 * sunrpc/Makefile: Likewise.
40683 * io/Makefile: Likewise.
40684 * argp/Makefile: Likewise.
40685 * inet/Makefile: Likewise.
40686 * hesiod/Makefile: Likewise.
40687 * grp/Makefile: Likewise.
40688 * csu/Makefile: Likewise.
40689 * wctype/Makefile: Likewise.
40690 * crypt/Makefile: Likewise.
40691 * libio/Makefile: Likewise.
40692 * string/Makefile: Likewise.
40693 * nis/Makefile: Likewise.
40694 * resolv/Makefile: Likewise.
40695 * stdio-common/Makefile: Likewise.
40696 * wcsmbs/Makefile: Likewise.
40697 * dlfcn/Makefile: Likewise.
40698 * posix/Makefile: Likewise.
40701 * timezone/Makefile: Don't install timezone files, just the programs
40704 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40706 * nss/databases.def: Add missing gshadow entry.
40708 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40710 2012-03-06 Marek Polacek <polacek@redhat.com>
40713 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40714 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40715 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40716 * stdio-common/tst-long-dbl-fphex.c: New file.
40718 2012-03-06 David S. Miller <davem@davemloft.net>
40720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40721 (set_obp_int): New function.
40722 (get_obp_int): New function.
40723 (__get_clockfreq_via_dev_openprom): Likewise.
40724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40725 Avoid unused variable warnings on 'val' and use builtin_expect.
40726 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40728 (INLINE_CLONE_SYSCALL): Likewise.
40730 2012-03-05 David S. Miller <davem@davemloft.net>
40732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40734 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40739 only for |x| >= 40.
40740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40742 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40745 Replace gettimeofday with __vdso_gettimeofday.
40747 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40748 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40749 __vdso_clock_gettime and __vdso_getcpu.
40751 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40752 time with __vdso_time.
40754 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40756 * manual/lang.texi (size_t): Note types to which size_t may be
40757 equivalent with the GNU C Library, but do not describe when
40758 differences between them are significant.
40760 2012-03-05 Andreas Jaeger <aj@suse.de>
40762 * sysdeps/i386/fpu/libm-test-ulps: Update.
40764 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40767 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40768 (__ieee754_pow): Save and restore rounding mode and use
40769 round-to-nearest for main computations.
40770 * math/libm-test.inc (pow_test_tonearest): New function.
40771 (pow_test_towardzero): Likewise.
40772 (pow_test_downward): Likewise.
40773 (pow_test_upward): Likewise.
40774 (main): Call the new functions.
40775 * sysdeps/i386/fpu/libm-test-ulps: Update.
40776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40779 * math/libm-test.inc (cosh_test_tonearest): New function.
40780 (cosh_test_towardzero): Likewise.
40781 (cosh_test_downward): Likewise.
40782 (cosh_test_upward): Likewise.
40783 (sinh_test_tonearest): Likewise.
40784 (sinh_test_towardzero): Likewise.
40785 (sinh_test_downward): Likewise.
40786 (sinh_test_upward): Likewise.
40787 (main): Call the new functions.
40788 * sysdeps/i386/fpu/libm-test-ulps: Update.
40789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40791 2012-03-05 Tom de Vries <tom@codesourcery.com>
40793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40794 default stack guard is set in last bytes.
40795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40797 2012-03-05 Kees Cook <keescook@chromium.org>
40799 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40802 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40803 possibly allocate from heap instead of stack.
40804 * stdio-common/bug-vfprintf-nargs.c: New file.
40805 * stdio-common/Makefile (tests): Add nargs overflow test.
40807 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40811 2012-03-03 Marek Polacek <polacek@redhat.com>
40813 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40814 * math/math_private.h: Likewise.
40815 * stdlib/tst-strtod.c: Likewise.
40816 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40817 * sysdeps/x86_64/bits/atomic.h: Likewise.
40819 2012-03-02 David S. Miller <davem@davemloft.net>
40821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40825 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40826 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40827 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40828 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40830 2012-03-02 Roland McGrath <roland@hack.frob.com>
40833 * manual/examples/README: New file, says the example source files
40834 can be used under GPL>=2.
40835 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40836 line containing just "*/".
40837 * manual/examples/add.c: Add copyright header (GPL>=2).
40838 * manual/examples/argp-ex1.c: Likewise.
40839 * manual/examples/argp-ex2.c: Likewise.
40840 * manual/examples/argp-ex3.c: Likewise.
40841 * manual/examples/argp-ex4.c: Likewise.
40842 * manual/examples/atexit.c: Likewise.
40843 * manual/examples/db.c: Likewise.
40844 * manual/examples/dir.c: Likewise.
40845 * manual/examples/dir2.c: Likewise.
40846 * manual/examples/execinfo.c: Likewise.
40847 * manual/examples/filecli.c: Likewise.
40848 * manual/examples/filesrv.c: Likewise.
40849 * manual/examples/fmtmsgexpl.c: Likewise.
40850 * manual/examples/genpass.c: Likewise.
40851 * manual/examples/inetcli.c: Likewise.
40852 * manual/examples/inetsrv.c: Likewise.
40853 * manual/examples/isockad.c: Likewise.
40854 * manual/examples/longopt.c: Likewise.
40855 * manual/examples/memopen.c: Likewise.
40856 * manual/examples/memstrm.c: Likewise.
40857 * manual/examples/mkfsock.c: Likewise.
40858 * manual/examples/mkisock.c: Likewise.
40859 * manual/examples/mygetpass.c: Likewise.
40860 * manual/examples/pipe.c: Likewise.
40861 * manual/examples/popen.c: Likewise.
40862 * manual/examples/rprintf.c: Likewise.
40863 * manual/examples/search.c: Likewise.
40864 * manual/examples/select.c: Likewise.
40865 * manual/examples/setjmp.c: Likewise.
40866 * manual/examples/sigh1.c: Likewise.
40867 * manual/examples/sigusr.c: Likewise.
40868 * manual/examples/stpcpy.c: Likewise.
40869 * manual/examples/strdupa.c: Likewise.
40870 * manual/examples/strftim.c: Likewise.
40871 * manual/examples/strncat.c: Likewise.
40872 * manual/examples/subopt.c: Likewise.
40873 * manual/examples/swapcontext.c: Likewise.
40874 * manual/examples/termios.c: Likewise.
40875 * manual/examples/testopt.c: Likewise.
40876 * manual/examples/testpass.c: Likewise.
40877 * manual/examples/timeval_subtract.c: Likewise.
40880 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40882 * manual/timeval_subtract.c.texi: ... here, new file.
40884 2012-03-02 David S. Miller <davem@davemloft.net>
40886 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40888 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40891 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40892 (__sin): Save and restore rounding mode and use round-to-nearest
40893 for all computations.
40894 (__cos): Save and restore rounding mode and use round-to-nearest
40895 for all computations.
40896 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40898 (tan): Save and restore rounding mode and use round-to-nearest for
40900 * math/libm-test.inc (cos_test_tonearest): New function.
40901 (cos_test_towardzero): Likewise.
40902 (cos_test_downward): Likewise.
40903 (cos_test_upward): Likewise.
40904 (sin_test_tonearest): Likewise.
40905 (sin_test_towardzero): Likewise.
40906 (sin_test_downward): Likewise.
40907 (sin_test_upward): Likewise.
40908 (tan_test_tonearest): Likewise.
40909 (tan_test_towardzero): Likewise.
40910 (tan_test_downward): Likewise.
40911 (tan_test_upward): Likewise.
40912 (main): Call the new functions.
40913 * sysdeps/i386/fpu/libm-test-ulps: Update.
40914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40917 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40918 small n, then large n, before computing and testing k+n.
40919 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40924 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40925 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40926 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40927 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40932 * math/libm-test.inc (scalbn_test): Add more tests.
40933 (scalbln_test): Likewise.
40935 * manual/filesys.texi (mode_t): Describe constraints on size and
40936 signedness, not exact equivalence to a particular type.
40938 (ino64_t): Likewise.
40940 (nlink_t): Likewise.
40941 (blkcnt_t): Likewise.
40942 (blkcnt64_t): Likewise.
40943 * manual/llio.texi (off_t): Likewise.
40946 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40947 (__ieee754_exp): Save and restore rounding mode and use
40948 round-to-nearest for all computations.
40949 * math/libm-test.inc (exp_test_tonearest): New function.
40950 (exp_test_towardzero): Likewise.
40951 (exp_test_downward): Likewise.
40952 (exp_test_upward): Likewise.
40953 (main): Call the new functions.
40954 * sysdeps/i386/fpu/libm-test-ulps: Update.
40955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40957 2012-03-01 Chris Demetriou <cgd@google.com>
40959 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40960 have predictable order.
40962 2012-03-01 David S. Miller <davem@davemloft.net>
40964 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40966 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40967 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40968 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40969 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40971 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40972 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40973 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40975 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40976 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40977 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40978 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40979 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40984 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40985 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40987 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40988 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40989 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40990 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40991 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40992 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40993 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40994 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40995 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40996 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40997 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40998 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41000 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41001 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41003 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41004 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41005 * sysdeps/sparc/elf/configure: Regenerated.
41007 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41009 * configure.in (AS, LD): Require binutils 2.20 or later.
41010 * configure: Regenerated.
41011 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41012 as required minimum version.
41013 * INSTALL: Regenerated.
41017 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41018 before squaring exponent.
41019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41020 bottom long double and 27 bits of top long double before squaring
41022 * math/libm-test.inc (erfc_test): Add more tests.
41023 * sysdeps/i386/fpu/libm-test-ulps: Update.
41024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41027 2012-03-01 Kai Tietz <ktietz@redhat.com>
41029 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41030 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41031 containing bit-fields.
41032 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41033 * soft-fp/single.h (_FP_UNION_S): Likewise.
41034 * soft-fp/double.h (_FP_UNION_D): Likewise.
41036 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41039 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41040 not include ../strcmp.S.
41041 [USE_AS_STRNCASECMP_L]: Likewise.
41042 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41043 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41044 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41045 (__strncasecmp_l_ia32): Define as alias to
41046 __strncasecmp_l_nonascii.
41049 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41050 * sysdeps/i386/fpu/libm-test-ulps: Update.
41051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41053 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41056 2012-02-29 Jeff Law <law@redhat.com>
41058 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41059 out of bounds read.
41061 2012-02-29 Marek Polacek <polacek@redhat.com>
41064 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41065 * elf/Makefile: Add rules to run tst-unused-dep.out.
41067 2012-02-28 David S. Miller <davem@davemloft.net>
41069 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41070 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41073 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41074 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41076 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41078 * math/libm-test.inc (llround_test): Move one test from
41079 lround_test. Use TEST_f_L in moved test.
41080 (lround_test): Move misplaced test to llround_test. Add testcase
41083 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41085 * sysdeps/x86_64/fpu/e_expf.S: New file.
41086 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41088 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41091 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41092 of remain_len that may cause incomplete multi-byte character and
41094 * posix/bug-regex33.c: New file.
41095 * posix/Makefile (tests): Add bug-regex33.
41097 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41099 * manual/macros.texi: New file.
41100 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41101 * manual/libc.texinfo: Include macros.texi.
41102 * manual/creatute.texi: Likewise.
41103 * manual/install.texi: Likewise.
41104 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41105 @glibcadj{} in references to the GNU C Library.
41106 * manual/charset.texi: Likewise.
41107 * manual/conf.texi: Likewise.
41108 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41109 when not using those macros.
41110 * manual/creature.texi: Likewise.
41111 * manual/crypt.texi: Likewise.
41112 * manual/errno.texi: Likewise.
41113 * manual/filesys.texi: Likewise.
41114 * manual/header.texi: Likewise.
41115 * manual/install.texi: Likewise.
41116 * manual/intro.texi: Likewise.
41117 * manual/io.texi: Likewise.
41118 * manual/job.texi: Likewise.
41119 * manual/lang.texi: Likewise.
41120 * manual/libc.texiinfo: Likewise.
41121 * manual/llio.texi: Likewise.
41122 * manual/locale.texi: Likewise.
41123 * manual/maint.texi: Likewise.
41124 * manual/math.texi: Likewise.
41125 * manual/memory.texi: Likewise.
41126 * manual/message.texi: Likewise.
41127 * manual/nss.texi: Likewise.
41128 * manual/pattern.texi: Likewise.
41129 * manual/process.texi: Likewise.
41130 * manual/resource.texi: Likewise.
41131 * manual/search.texi: Likewise.
41132 * manual/setjmp.texi: Likewise.
41133 * manual/signal.texi: Likewise.
41134 * manual/socket.texi: Likewise.
41135 * manual/startup.texi: Likewise.
41136 * manual/stdio.texi: Likewise.
41137 * manual/string.texi: Likewise.
41138 * manual/sysinfo.texi: Likewise.
41139 * manual/syslog.texi: Likewise.
41140 * manual/terminal.texi: Likewise.
41141 * manual/time.texi: Likewise.
41142 * manual/users.texi: Likewise.
41143 * INSTALL: Regenerated.
41144 * NOTES: Regenerated.
41145 * sysdeps/gnu/errlist.c: Regenerated.
41147 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41149 * include/dirent.h: Include <dirstream.h> before
41152 2012-02-28 David S. Miller <davem@davemloft.net>
41154 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41155 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41156 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41157 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41159 2012-02-27 David S. Miller <davem@davemloft.net>
41161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41163 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41164 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41167 frame pointer instead of stack pointer relative arg slot.
41168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41172 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41175 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41177 2012-02-27 David S. Miller <davem@davemloft.net>
41179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41183 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41184 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41185 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41186 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41188 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41190 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41191 later. Allow versions 5-9.
41192 * configure: Regenerated.
41193 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41194 required minimum version and 4.6 as recommended version. Do not
41195 mention bugs in GCC 2.7 and 2.8.
41196 * INSTALL: Regenerated.
41198 2012-02-27 David S. Miller <davem@davemloft.net>
41200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41204 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41205 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41206 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41207 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41210 manipulate bits before adding and subtracting TWO112[sx].
41211 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41213 2012-02-27 Roland McGrath <roland@hack.frob.com>
41216 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41217 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41218 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41219 being in POSIX, because they are in 1003.1-2008.
41221 * rt/tst-aio.c: Include <fcntl.h>.
41222 * rt/tst-aio7.c: Likewise.
41223 * rt/tst-aio64.c: Likewise.
41225 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41227 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41229 * manual/install.texi (--with-headers): Describe headers as
41230 interface headers, not private headers.
41231 (Specific advice for GNU/Linux systems): Describe use of headers
41232 from "make headers_install", not private headers from older
41234 * INSTALL: Regenerated.
41235 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41237 * sysdeps/unix/sysv/linux/configure: Regenerated.
41239 * manual/llio.texi (fclean): Remove documentation.
41241 * manual/Makefile (libc-texi-generated): New variable. Include
41243 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41244 $(libc-texi-generated), not duplicated list of files.
41245 (version.texi, stamp-version): New rules.
41246 (realclean): Remove $(libc-texi-generated), not individual files
41247 from that list. Do not remove dir-add.texinfo.
41248 * manual/libc.texinfo: Comment out uses of edition numbers and
41249 references to printed manual. Remove last-updated dates.
41250 (EDITION): Comment out.
41252 (VERSION, UPDATED): Remove.
41253 (version.texi): Include.
41255 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41257 * sysdeps/posix/spawni.c: Include <signal.h>.
41258 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41259 * sysdeps/pthread/aio_fsync.c: Likewise.
41261 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41263 * conform/Makefile (tests): Run only when not cross-compiling and
41264 when fast-check is not defined.
41266 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41267 * conform/data/limits.h-data: Fixes for POSIX2008.
41268 * conform/run-conformtest.sh: Run all tests.
41269 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41271 * include/bits/dlfcn.h: Likewise.
41272 * include/langinfo.h: Likewise.
41273 * include/monetary.h: Likewise.
41274 * include/sys/poll.h: Likewise.
41276 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41278 * posix/spawn.h: Define __need_sigset_t.
41279 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41280 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41281 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41282 to get sigevent_t only.
41283 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41284 only for __USE_GNU.
41285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41286 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41287 process_vm_writev only for __USE_GNU.
41288 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41290 * conform/Makefile: For now ignore errors from run-conformtest.
41291 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41292 POSIX to avoid namespace pollution. Don't prepend headers.
41293 * conform/data/aio.h-data: Fixes for POSIX testing.
41294 * conform/data/fcntl.h-data: Likewise.
41295 * conform/data/glob.h-data: Likewise.
41296 * conform/data/grp.h-data: Likewise.
41297 * conform/data/pthread.h-data: Likewise.
41298 * conform/data/pwd.h-data: Likewise.
41299 * conform/data/signal.h-data: Likewise.
41300 * conform/data/spawn.h-data: Likewise.
41301 * conform/data/stdio.h-data: Likewise.
41302 * conform/data/stdlib.h-data: Likewise.
41303 * conform/data/stropts.h-data: Likewise.
41304 * conform/data/sys/mman.h-data: Likewise.
41305 * conform/data/sys/stat.h-data: Likewise.
41306 * conform/data/sys/types.h-data: Likewise.
41307 * conform/data/sys/wait.h-data: Likewise.
41308 * conform/data/time.h-data: Likewise.
41309 * conform/data/unistd.h-data: Likewise.
41310 * conform/data/utime.h-data: Likewise.
41312 * io/sys/stat.h: fchmod was always in POSIX.
41313 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41314 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41315 * rt/aio.h: Define __need_timespec before including <time.h>.
41316 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41317 struct. Add forward declaration of pthread_attr_t and use it in
41319 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41320 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41321 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41322 always remove CLK_TCK definition.
41324 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41326 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41328 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41330 * conform/run-conformtest.sh: New file.
41331 * conform/Makefile: Run run-conformtest for tests.
41332 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41335 * conform/data/uchar.h-data: New file.
41336 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41337 * conform/data/arpa/inet.h-data: Likewise.
41338 * conform/data/assert.h-data: Likewise.
41339 * conform/data/complex.h-data: Likewise.
41340 * conform/data/cpio.h-data: Likewise.
41341 * conform/data/ctype.h-data: Likewise.
41342 * conform/data/dirent.h-data: Likewise.
41343 * conform/data/dlfcn.h-data: Likewise.
41344 * conform/data/errno.h-data: Likewise.
41345 * conform/data/fcntl.h-data: Likewise.
41346 * conform/data/float.h-data: Likewise.
41347 * conform/data/fmtmsg.h-data: Likewise.
41348 * conform/data/fnmatch.h-data: Likewise.
41349 * conform/data/ftw.h-data: Likewise.
41350 * conform/data/glob.h-data: Likewise.
41351 * conform/data/grp.h-data: Likewise.
41352 * conform/data/iconv.h-data: Likewise.
41353 * conform/data/inttypes.h-data: Likewise.
41354 * conform/data/langinfo.h-data: Likewise.
41355 * conform/data/libgen.h-data: Likewise.
41356 * conform/data/limits.h-data: Likewise.
41357 * conform/data/locale.h-data: Likewise.
41358 * conform/data/math.h-data: Likewise.
41359 * conform/data/monetary.h-data: Likewise.
41360 * conform/data/mqueue.h-data: Likewise.
41361 * conform/data/ndbm.h-data: Likewise.
41362 * conform/data/net/if.h-data: Likewise.
41363 * conform/data/netdb.h-data: Likewise.
41364 * conform/data/netinet/in.h-data: Likewise.
41365 * conform/data/nl_types.h-data: Likewise.
41366 * conform/data/poll.h-data: Likewise.
41367 * conform/data/pthread.h-data: Likewise.
41368 * conform/data/pwd.h-data: Likewise.
41369 * conform/data/regex.h-data: Likewise.
41370 * conform/data/sched.h-data: Likewise.
41371 * conform/data/search.h-data: Likewise.
41372 * conform/data/semaphore.h-data: Likewise.
41373 * conform/data/setjmp.h-data: Likewise.
41374 * conform/data/signal.h-data: Likewise.
41375 * conform/data/spawn.h-data: Likewise.
41376 * conform/data/stdarg.h-data: Likewise.
41377 * conform/data/stdio.h-data: Likewise.
41378 * conform/data/stdlib.h-data: Likewise.
41379 * conform/data/string.h-data: Likewise.
41380 * conform/data/strings.h-data: Likewise.
41381 * conform/data/stropts.h-data: Likewise.
41382 * conform/data/sys/ipc.h-data: Likewise.
41383 * conform/data/sys/mman.h-data: Likewise.
41384 * conform/data/sys/msg.h-data: Likewise.
41385 * conform/data/sys/resource.h-data: Likewise.
41386 * conform/data/sys/select.h-data: Likewise.
41387 * conform/data/sys/sem.h-data: Likewise.
41388 * conform/data/sys/shm.h-data: Likewise.
41389 * conform/data/sys/socket.h-data: Likewise.
41390 * conform/data/sys/stat.h-data: Likewise.
41391 * conform/data/sys/statvfs.h-data: Likewise.
41392 * conform/data/sys/time.h-data: Likewise.
41393 * conform/data/sys/timeb.h-data: Likewise.
41394 * conform/data/sys/times.h-data: Likewise.
41395 * conform/data/sys/types.h-data: Likewise.
41396 * conform/data/sys/uio.h-data: Likewise.
41397 * conform/data/sys/un.h-data: Likewise.
41398 * conform/data/sys/utsname.h-data: Likewise.
41399 * conform/data/sys/wait.h-data: Likewise.
41400 * conform/data/syslog.h-data: Likewise.
41401 * conform/data/tar.h-data: Likewise.
41402 * conform/data/termios.h-data: Likewise.
41403 * conform/data/utime.h-data: Likewise.
41404 * conform/data/utmpx.h-data: Likewise.
41405 * conform/data/varargs.h-data: Likewise.
41406 * conform/data/wchar.h-data: Likewise.
41407 * conform/data/wctype.h-data: Likewise.
41408 * conform/data/wordexp.h-data: Likewise.
41410 * include/stropts.h: New file.
41411 * include/uchar.h: New file.
41412 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41413 * include/assert.h: Likewise.
41414 * include/ctype.h: Likewise.
41415 * include/dirent.h: Likewise.
41416 * include/dlfcn.h: Likewise.
41417 * include/fcntl.h: Likewise.
41418 * include/fnmatch.h: Likewise.
41419 * include/glob.h: Likewise.
41420 * include/grp.h: Likewise.
41421 * include/libio.h: Likewise.
41422 * include/locale.h: Likewise.
41423 * include/math.h: Likewise.
41424 * include/net/if.h: Likewise.
41425 * include/netdb.h: Likewise.
41426 * include/netinet/in.h: Likewise.
41427 * include/pthread.h: Likewise.
41428 * include/pwd.h: Likewise.
41429 * include/regex.h: Likewise.
41430 * include/sched.h: Likewise.
41431 * include/search.h: Likewise.
41432 * include/setjmp.h: Likewise.
41433 * include/signal.h: Likewise.
41434 * include/stdio.h: Likewise.
41435 * include/stdlib.h: Likewise.
41436 * include/string.h: Likewise.
41437 * include/sys/cdefs.h: Likewise.
41438 * include/sys/mman.h: Likewise.
41439 * include/sys/msg.h: Likewise.
41440 * include/sys/resource.h: Likewise.
41441 * include/sys/select.h: Likewise.
41442 * include/sys/socket.h: Likewise.
41443 * include/sys/stat.h: Likewise.
41444 * include/sys/statvfs.h: Likewise.
41445 * include/sys/time.h: Likewise.
41446 * include/sys/times.h: Likewise.
41447 * include/sys/uio.h: Likewise.
41448 * include/sys/utsname.h: Likewise.
41449 * include/sys/wait.h: Likewise.
41450 * include/termios.h: Likewise.
41451 * include/time.h: Likewise.
41452 * include/ulimit.h: Likewise.
41453 * include/unistd.h: Likewise.
41454 * include/utime.h: Likewise.
41455 * include/wchar.h: Likewise.
41456 * include/wctype.h: Likewise.
41457 * include/wordexp.h: Likewise.
41459 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41461 * time/time.h: TIME_UTC must be a macro.
41462 Make timespec_get available for ISO C11 only as well.
41464 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41466 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41467 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41469 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41471 * configure.in: Use -o not -a in test for unsupported multi-arch.
41473 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41475 * manual/texinfo.tex: Update to version 2012-01-19.16.
41477 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41479 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41481 2012-02-24 Roland McGrath <roland@hack.frob.com>
41484 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41485 * manual/fdl-1.3.texi: New file.
41486 * manual/fdl-1.1.texi: File removed.
41489 * manual/libc.texinfo (FDL_VERSION): New @set.
41490 Use it for mention of FDL in cover text.
41491 (Documentation License): Use it in @include file name.
41493 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41494 Roland McGrath <roland@hack.frob.com>
41497 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41498 (not LONG_LONG_MAX and LONG_LONG_MIN.
41499 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41500 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41502 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41504 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41508 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41509 manipulate bits before adding and subtracting TWO23[sx].
41510 * math/libm-test.inc (nearbyint_test): Add more tests.
41512 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41515 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41516 bits before adding and subtracting TWO23[sx].
41517 * math/libm-test.inc (rint_test): Add more tests.
41518 (rint_test_tonearest): Likewise.
41519 (rint_test_towardzero): Likewise.
41520 (rint_test_downward): Likewise.
41521 (rint_test_upward: Likewise.
41523 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41526 * include/stdc-predef.h: New file. Extracted from features.h.
41527 * include/features.h: Include stdc-predef.h.
41528 * Makefile (headers): Add stdc-predef.h.
41529 * CONFORMANCE (Compiler limitations): Update.
41531 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41533 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41535 2012-02-21 David S. Miller <davem@davemloft.net>
41537 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41538 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41540 2012-02-20 David S. Miller <davem@davemloft.net>
41542 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41543 using a normal save/restore sequence, rather than allocating a
41544 dummy stack frame just to store a frame pointer and restore.
41545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41547 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41549 * manual/install.texi: Fix stray word in line-wrapped comment.
41551 2012-02-20 David S. Miller <davem@davemloft.net>
41553 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41554 both binutils and gcc support GOTDATA.
41556 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41557 "rd %pc" in the PIC register setup sequences.
41559 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41560 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41561 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41562 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41563 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41566 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41568 (SYSCALL_ERROR_HANDLER): Likewise.
41569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41572 (SYSCALL_ERROR_HANDLER): Likewise.
41574 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41575 (HAVE_GCC_GOTDATA): New.
41576 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41577 relocation support in both binutils and gcc.
41578 * sysdeps/sparc/elf/configure: Regenerate.
41580 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41581 * sysdeps/sparc/sparc32/elf/configure: Delete.
41582 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41583 * sysdeps/sparc/sparc64/elf/configure: Delete.
41584 * sysdeps/sparc/elf/configure.in: New file.
41585 * sysdeps/sparc/elf/configure: Generate.
41587 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41588 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41589 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41590 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41591 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41593 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41595 * manual/install.texi: Do not mention specific glibc version
41597 * manual/libc.texinfo (VERSION, UPDATED): Update.
41598 (@copying): Use @copyright{} and range of years.
41600 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41603 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41604 [crti.S not in sysdirs] (generated): Do not append.
41605 [crti.S not in sysdirs] (omit-deps): Likewise.
41606 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41607 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41608 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41609 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41610 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41612 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41613 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41614 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41615 * csu/defs.awk: Remove file.
41616 * sysdeps/generic/initfini.c: Likewise.
41617 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41619 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41622 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41624 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41625 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41626 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41627 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41629 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41631 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41632 (__EPOLL_PACKED): Define to empty if not defined by
41634 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41638 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41640 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41641 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41643 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41645 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41649 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41651 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41654 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41658 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41660 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41661 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41663 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41665 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41666 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41668 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41670 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41673 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41675 * math/w_acos.c: Use non-signaling floating-point comparisons.
41676 * math/w_acosf.c: Likewise.
41677 * math/w_acosh.c: Likewise.
41678 * math/w_acoshf.c: Likewise.
41679 * math/w_acoshl.c: Likewise.
41680 * math/w_acosl.c: Likewise.
41681 * math/w_asin.c: Likewise.
41682 * math/w_asinf.c: Likewise.
41683 * math/w_asinl.c: Likewise.
41684 * math/w_atanh.c: Likewise.
41685 * math/w_atanhf.c: Likewise.
41686 * math/w_atanhl.c: Likewise.
41687 * math/w_exp2.c: Likewise.
41688 * math/w_exp2f.c: Likewise.
41689 * math/w_exp2l.c: Likewise.
41690 * math/w_j0.c: Likewise.
41691 * math/w_j0f.c: Likewise.
41692 * math/w_j0l.c: Likewise.
41693 * math/w_j1.c: Likewise.
41694 * math/w_j1f.c: Likewise.
41695 * math/w_j1l.c: Likewise.
41696 * math/w_jn.c: Likewise.
41697 * math/w_jnf.c: Likewise.
41698 * math/w_log.c: Likewise.
41699 * math/w_log10.c: Likewise.
41700 * math/w_log10f.c: Likewise.
41701 * math/w_log10l.c: Likewise.
41702 * math/w_log2.c: Likewise.
41703 * math/w_log2f.c: Likewise.
41704 * math/w_log2l.c: Likewise.
41705 * math/w_logf.c: Likewise.
41706 * math/w_logl.c: Likewise.
41707 * math/w_sqrt.c: Likewise.
41708 * math/w_sqrtf.c: Likewise.
41709 * math/w_sqrtl.c: Likewise.
41710 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41711 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41713 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41714 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41716 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41719 * manual/string.texi (strnlen): Use correct parameter name in
41720 equivalent expression.
41722 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41725 * manual/users.texi (seteuid): Consistently use neweuid for
41728 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41731 * manual/nss.texi (Services in the NSS configuration): Correct
41732 list of services in example configuration file.
41734 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41737 * manual/arith.texi: Remove statements about negative zero
41738 behaving identically to zero.
41740 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41743 * manual/install.texi: Do not document upgrading from libc5.
41745 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41748 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41750 2012-02-18 David S. Miller <davem@davemloft.net>
41752 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41753 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41754 %o7 across the call.
41755 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41758 SETUP_PIC_REG_LEAF.
41759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41760 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41761 * sysdeps/sparc/crtn.S: Likewise.
41763 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41765 * aout/Makefile: Remove.
41767 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41770 * manual/examples/argp-ex1.c (main): Format definition in GNU
41772 * manual/examples/argp-ex2.c (main): Likewise.
41773 * manual/examples/argp-ex3.c (main): Likewise.
41774 * manual/examples/argp-ex4.c (main): Likewise.
41775 * manual/examples/longopt.c (main): Use new-style prototype
41777 * manual/examples/strncat.c (main): Specify return type and use
41778 (void) for arguments.
41779 * manual/examples/subopt.c (main): Use char **argv argument.
41781 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41784 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41787 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41790 * manual/string.texi (strchr): Change when strchrnul is
41793 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41796 * manual/locale.texi (setlocale): Document LOCPATH.
41798 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41801 * manual/process.texi (execle): Move @dots{} before last argument.
41803 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41806 * manual/charset.texi (Generic Charset Conversion): Fix typo
41807 (LC_TYPE -> LC_CTYPE).
41809 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41812 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41813 (scalbnf): Likewise.
41814 (scalbnl): Likewise.
41815 (scalbln): Likewise.
41816 (scalblnf): Likewise.
41817 (scalblnl): Likewise.
41818 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41819 (vwarnx): Likewise.
41822 * manual/filesys.texi (telldir): Use braces around return type.
41823 * manual/llio.texi (mmap): Add space after comma.
41824 (mmap64): Likewise.
41825 * manual/math.texi (jn): Use @var{} on parameter names.
41831 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41833 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41835 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41836 (sched_get_priority_max): Likewise.
41837 * manual/signal.texi (sigvec): Add space after comma.
41838 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41840 (if_indextoname): Likewise.
41841 (if_freenameindex): Likewise.
41842 (sendto): Use ',' instead of '.' in prototype.
41843 * manual/startup.texi (syscall): Use @dots{} instead of literal
41845 * manual/stdio.texi (__fpending): Separate initial words of
41846 paragraph from @deftypefun line.
41847 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41849 (vsyslog): Use @var{} on parameter names.
41850 * manual/terminal.texi (stty): Use @var{} on parameter names.
41851 * manual/users.texi (getutmp): Use @var{} on parameter names.
41852 (getutmpx): Likewise.
41854 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41857 * manual/stdio.texi (fopen): Fix typos in description of
41860 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41863 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41864 get clock_id definition.
41866 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41869 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41870 (madvise): Cast every argument to void on its own.
41872 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41875 * manual/startup.texi (Exit Status): Fix typo.
41877 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41880 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41881 * manual/examples/argp-ex2.c: Likewise.
41882 * manual/examples/argp-ex3.c: Likewise.
41884 2012-02-16 Richard Henderson <rth@redhat.com>
41886 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41887 * sysdeps/s390/s390-32/initfini.c: Remove.
41888 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41889 * sysdeps/s390/s390-64/initfini.c: Remove.
41891 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41893 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41894 compiler output for sysdeps/generic/initfini.c.
41895 * sysdeps/sh/elf/initfini.c: Remove file.
41897 2012-02-16 David S. Miller <davem@davemloft.net>
41900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41902 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41903 * sysdeps/sparc/crti.S: New file.
41904 * sysdeps/sparc/crtn.S: New file.
41905 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41906 * sysdeps/sparc/sparc64/Makefile: Likewise.
41908 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41911 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41913 2012-02-15 Roland McGrath <roland@hack.frob.com>
41916 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41918 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41919 (write, read, close): Likewise.
41920 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41922 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41924 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41925 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41926 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41927 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41929 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41933 2012-02-14 Marek Polacek <polacek@redhat.com>
41935 * sysdeps/x86_64/crti.S: New file.
41936 * sysdeps/x86_64/crtn.S: New file.
41937 * sysdeps/x86_64/elf/initfini.c: Remove file.
41939 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41941 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41942 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41943 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41944 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41946 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41950 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41952 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41953 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41954 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41955 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41957 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41961 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41963 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41964 __feraiseexcept instead of feraiseexcept.
41966 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41967 nanosleep invocations.
41968 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41969 strings, and add error checking for a nanosleep invocations.
41971 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41973 Replace FSF snail mail address with URLs, as per GNU coding standards.
41974 Most of the snail mail addresses were wrong anyway, and omitting
41975 them makes the source code easier to maintain. Almost all of the
41976 changes are to license notices and to locale LC_IDENTIFICATION
41977 addresses, except for this one:
41978 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41979 not its snail mail address.
41981 2012-02-09 Richard Henderson <rth@twiddle.net>
41983 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41984 of kernel-features.h.
41986 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41988 2012-02-08 Marek Polacek <polacek@redhat.com>
41990 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41991 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41992 * sysdeps/gnu/_G_config.h: Likewise.
41993 * sysdeps/generic/_G_config.h: Likewise.
41995 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41997 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42001 * sysdeps/powerpc/powerpc32/crti.S: New file.
42002 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42003 * sysdeps/powerpc/powerpc64/crti.S: New file.
42004 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42006 * Makeconfig (have-initfini): Don't set.
42007 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42008 * configure.in (nopic_initfini): Don't substitute.
42009 * config.h.in (HAVE_INITFINI): Don't #undef.
42010 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42011 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42013 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42015 Support crti.S and crtn.S provided directly by architectures.
42016 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42017 [crti.S in sysdirs] (omit-deps): Likewise.
42018 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42019 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42020 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42021 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42022 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42023 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42024 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42025 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42026 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42027 compiler output for sysdeps/generic/initfini.c.
42028 * sysdeps/i386/elf/Makefile: Remove file.
42029 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42031 2012-02-07 Marek Polacek <polacek@redhat.com>
42033 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42034 * sysdeps/gnu/_G_config.h: Likewise.
42035 * sysdeps/mach/hurd/_G_config.h: Likewise.
42037 2012-02-07 Marek Polacek <polacek@redhat.com>
42039 * math/Makefile (tests): Add tst-CMPLX2.
42040 * math/tst-CMPLX2.c: New file.
42042 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42046 * math/libm-test.inc (jn_test): Add missing L suffix.
42048 2012-02-06 Marek Polacek <polacek@redhat.com>
42050 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42051 * sysdeps/i386/fpu/e_powf.S: Likewise.
42052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42053 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42054 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42055 * sysdeps/i386/fpu/e_pow.S: Likewise.
42056 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42057 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42058 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42059 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42060 * sysdeps/i386/fpu/e_log2.S: Likewise.
42061 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42062 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42063 * sysdeps/i386/fpu/e_powl.S: Likewise.
42064 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42065 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42066 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42067 * sysdeps/i386/fpu/e_logl.S: Likewise.
42068 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42069 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42070 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42071 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42072 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42073 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42074 * sysdeps/i386/fpu/e_log.S: Likewise.
42075 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42077 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42078 * sysdeps/i386/fpu/e_logf.S: Likewise.
42079 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42080 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42081 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42082 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42083 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42084 * sysdeps/i386/fpu/e_log10.S: Likewise.
42085 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42086 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42087 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42088 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42089 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42090 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42091 * sysdeps/i386/asm-syntax.h: Likewise.
42092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42094 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42095 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42096 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42097 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42098 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42099 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42100 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42101 * sysdeps/powerpc/sysdep.h: Likewise.
42102 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42103 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42105 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42108 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42110 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42112 * sysdeps/i386/sysdep.h: Include <features.h>.
42113 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42116 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42120 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42123 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42125 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42126 (SETUP_PIC_REG): Use GET_PC_THUNK.
42127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42130 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42132 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42133 for non-PIC compilation.
42134 (SETUP_PIC_REG): Add .p2align directive.
42135 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42136 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42137 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42138 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42139 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42140 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42141 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42143 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42144 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42145 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42146 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42147 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42148 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42149 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42150 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42151 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42152 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42153 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42154 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42155 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42156 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42157 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42158 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42161 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42163 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42164 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42165 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42166 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42167 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42168 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42169 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42170 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42171 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42172 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42173 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42174 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42175 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42177 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42179 * math/tst-CMPLX.c: Include <stdio.h>.
42181 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42183 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42185 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42186 * sysdeps/sparc/bits/mathdef.h: Likewise.
42188 2012-01-31 Marek Polacek <polacek@redhat.com>
42190 * libio/libio.h: Don't define _PARAMS.
42191 * locale/programs/config.h: Don't define PARAMS.
42192 * stdlib/strtol_l.c: Likewise.
42193 (__strtol_l): Remove PARAMS from the prototype.
42195 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42197 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42198 names. Just use the correct names. Remove unnecessary wrapper
42200 * malloc/arena.c: Likewise.
42201 * malloc/hooks.c: Likewise.
42203 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42204 ARENA_TEST says not to. Simplify test for creation of a new arena.
42205 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42207 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42209 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42211 (update_get_addr): New function.
42212 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42213 GET_ADDR_MODULE parameter.
42215 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42217 * crypt/cert.c: Remove __STDC__ conditionals.
42218 * crypt/crypt-entry.c: Likewise.
42219 * crypt/crypt_util.c: Likewise.
42220 * libio/filedoalloc.c: Likewise.
42221 * libio/fileops.c: Likewise.
42222 * libio/genops.c: Likewise.
42223 * libio/iofclose.c: Likewise.
42224 * libio/iofdopen.c: Likewise.
42225 * libio/iofopen.c: Likewise.
42226 * libio/iofopen64.c: Likewise.
42227 * libio/iogetdelim.c: Likewise.
42228 * libio/iopopen.c: Likewise.
42229 * libio/obprintf.c: Likewise.
42230 * libio/oldfileops.c: Likewise.
42231 * libio/oldiofclose.c: Likewise.
42232 * libio/oldiofdopen.c: Likewise.
42233 * libio/oldiofopen.c: Likewise.
42234 * libio/oldiopopen.c: Likewise.
42235 * libio/wfiledoalloc.c: Likewise.
42236 * libio/wgenops.c: Likewise.
42237 * locale/programs/xmalloc.c: Likewise.
42238 * misc/syslog.c: Likewise.
42239 * stdio-common/xbug.c: Likewise.
42240 * string/memchr.c: Likewise.
42241 * string/memcmp.c: Likewise.
42242 * string/memrchr.c: Likewise.
42243 * string/rawmemchr.c: Likewise.
42244 * sysdeps/posix/getcwd.c: Likewise.
42245 * time/strftime_l.c: Likewise.
42247 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42249 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42250 * config.make.in (config-cflags-sse2avx): Define.
42251 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42254 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42256 * scripts/config.guess: Update from upstream config git repository.
42257 * scripts/config.sub: Likewise.
42259 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42261 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42263 (R_TILEPRO_*, R_TILEGX_*): New macros.
42265 * scripts/firstversions.awk: Fix bug in version range handling.
42267 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42269 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42271 * include/sys/epoll.h: New file.
42272 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42275 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42277 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42278 Avoid unnecessary __WORDSIZE == 64 test.
42279 (fmaxf): Use VEX format if possible.
42284 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42285 * math/math_private.h: Remove libc_fegetround* and
42287 * sysdeps/i386/configure.in: Check for -msse2avx.
42288 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42289 also if SSE2AVX is defined.
42290 Remove libc_fegetround* and libc_fesetround*.
42291 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42292 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42301 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42303 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42305 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42307 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42309 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42312 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42314 * Makeconfig (libm): Define.
42315 * elf/Makefile: Add rules to build and run tst-relsort1.
42316 * elf/tst-relsort1.c: New file.
42317 * elf/tst-relsort1mod1.c: New file.
42318 * elf/tst-relsort1mod2.c: New file.
42320 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42322 * math/s_ldexp.c: Remove __STDC__ conditionals.
42323 * math/s_ldexpf.c: Likewise.
42324 * math/s_ldexpl.c: Likewise.
42325 * math/s_nextafter.c: Likewise.
42326 * math/s_nexttowardf.c: Likewise.
42327 * math/s_significand.c: Likewise.
42328 * math/s_significandf.c: Likewise.
42329 * math/s_significandl.c: Likewise.
42330 * math/w_jnl.c: Likewise.
42331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42337 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42338 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42339 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42346 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42347 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42348 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42350 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42351 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42352 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42353 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42356 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42357 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42359 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42361 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42362 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42363 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42364 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42365 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42366 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42367 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42368 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42369 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42370 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42371 * sysdeps/ieee754/k_standard.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42403 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42421 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42429 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42431 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42444 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42445 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42446 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42447 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42449 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42451 * sysdeps/ieee754/s_matherr.c: Likewise.
42452 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42453 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42457 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42459 * crypt/md5.h: Remove __STDC__ conditionals.
42460 * libio/libioP.h: Likewise.
42461 * locale/programs/config.h: Likewise.
42462 * sysdeps/generic/sysdep.h: Likewise.
42463 * sysdeps/i386/asm-syntax.h: Likewise.
42464 * sysdeps/s390/asm-syntax.h: Likewise.
42465 * sysdeps/unix/sysdep.h: Likewise.
42466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42469 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42471 * libio/libio.h: Remove __STDC__ conditionals.
42472 * malloc/obstack.h: Likewise.
42473 * math/complex.h: Likewise.
42474 * math/math.h: Likewise.
42475 * sysdeps/generic/_G_config.h: Likewise.
42476 * sysdeps/gnu/_G_config.h: Likewise.
42477 * sysdeps/mach/hurd/_G_config.h: Likewise.
42478 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42479 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42480 * sysdeps/sparc/bits/mathdef.h: Likewise.
42482 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42485 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42486 Clean up HAS_* macros.
42487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42488 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42490 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42498 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42500 * elf/tst-unique3.cc (gets): Remove declaration.
42501 * elf/tst-unique3lib.cc (gets): Likewise.
42502 * elf/tst-unique3lib2.cc (gets): Likewise.
42503 * elf/tst-unique4.cc (gets): Likewise.
42505 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42507 * include/stdio.h: Add C++ protection. Add gets declarations and
42509 * debug/tst-chk1.c: Don't declare gets here.
42510 * stdio-common/tst-gets.c: Likewise.
42512 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42514 * posix/glob: Remove directory.
42516 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42518 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42520 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42522 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42523 of the non-standard EPFNOSUPPORT.
42525 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42527 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42528 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42529 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42531 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42533 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42535 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42537 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42539 * nscd/grpcache.c (cache_addgr): Likewise.
42540 * nscd/hstcache.c (cache_addhst): Likewise.
42541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42542 * nscd/pwdcache.c (cache_addpw): Likewise.
42543 * nscd/servicescache.c (cache_addserv): Likewise.
42545 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42547 * malloc/malloc.c: Various cleanups.
42548 * malloc/hooks.c: Likewise.
42550 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42551 * stdlib/bug-fmtmsg1.c: New file.
42553 * stdlib/fmtmsg.c (init): Add missing unlock.
42554 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42556 2012-01-12 Marek Polacek <polacek@redhat.com>
42558 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42561 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42563 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42564 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42565 macro to ensure uniqueness of label name.
42566 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42567 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42569 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42571 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42573 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42574 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42575 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42578 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42580 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42582 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42583 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42584 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42586 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42588 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42589 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42590 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42593 * math/bits/math-finite.h: Add ldexp support.
42595 2012-01-10 Marek Polacek <polacek@redhat.com>
42597 * locale/programs/localedef.h (show_archive_content): Add noreturn
42600 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42602 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42604 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42606 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42608 * io/Makefile (headers): Add bits/poll2.h.
42610 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42613 typo #include statement.
42615 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42617 * include/sys/cdefs.h: Define __attribute_alloc_size.
42618 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42619 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42620 * elf/pldd.c: Likewise.
42621 * iconv/iconv_charmap.c: Likewise.
42622 * iconv/iconvconfig.c: Likewise.
42623 * iconv/strtab.c: Likewise.
42624 * locale/programs/locale.c: Likewise.
42625 * locale/programs/localedef.h: Likewise.
42626 * locale/programs/simple-hash.c: Likewise.
42627 * nscd/nscd.h: Likewise.
42628 * nss/makedb.c: Likewise.
42629 * sysdeps/generic/ldconfig.h: Likewise.
42630 * locale/programs/localedef.c: Remove xmalloc prototype.
42631 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42633 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42635 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42638 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42640 * math/Makefile (tests): Add tst-CMPLX.
42641 * math/tst-CMPLX.c: New file.
42643 * math/complex.h (CMPLXL): Fix typo.
42645 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42646 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42648 * debug/tst-chk1.c: Add poll and ppoll tests.
42649 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42650 * include/sys/poll.h: Add hidden proto for ppoll.
42651 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42652 * sysdeps/mach/hurd/ppoll.c: Likewise.
42653 * io/ppoll.c: Likewise.
42654 * debug/poll_chk.c: New file.
42655 * debug/ppoll_chk.c: New file.
42656 * include/bits/poll2.h: New file.
42657 * io/bits/poll2.h: New file.
42660 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42662 * configure.in: static is always set to yes. Remove.
42663 * config.make.in: Don't set build-static.
42664 * Makeconfig: Remove use of build-static.
42665 * dlfcn/Makefile: Likewise.
42666 * elf/Makefile: Likewise.
42667 * math/Makefile: Likewise.
42668 * misc/Makefile: Likewise.
42669 * nptl/Makefile: Likewise.
42670 * sysdeps/mach/hurd/Makefile: Likewise.
42672 * configure.in: PWD_P is not used anymore.
42673 * config.make.in: Remove PWD_P entry.
42675 * configure.in: Remove last remnants of RANLIB.
42676 No need to check for signed size_t anymore.
42677 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42679 Remove __builtin_expect test because we require at least gcc 3.4.
42680 * aclocal.m4: Likewise.
42682 * wcsmbs/mbrtoc16.c: Implement using towc function.
42683 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42684 * wcsmbs/wcsmbsload.c: Likewise.
42685 * iconv/gconv_simple.c: Likewise.
42686 * iconv/gconv_int.h: Likewise.
42687 * iconv/gconv_builtin.h: Likewise.
42688 * iconv/iconv_prog.c: Remove CHAR16 handling.
42690 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42692 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42694 * configure.in: Remove --with-elf and --enable-bounded options.
42695 Dont set base_machine for ia64. More non-ELF conditions removed.
42696 Remove testing and setting of leading underscore information.
42697 * config.make.in (build-bounded): Set to no.
42698 * config.h.in: Remove NO_UNDERSCORES entry.
42699 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42701 * csu/start.c: Remove !NO_UNDERSCORE code.
42702 * locale/localeinfo.h: Likewise.
42703 * sysdeps/generic/machine-gmon.h: Likewise.
42704 * sysdeps/generic/sysdep.h: Likewise.
42705 * sysdeps/i386/sysdep.h: Likewise.
42706 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42707 * sysdeps/mach/sysdep.h: Likewise.
42708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42710 * sysdeps/sh/sysdep.h: Likewise.
42711 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42712 * sysdeps/unix/i386/sysdep.S: Likewise.
42713 * sysdeps/unix/sparc/start.c: Likewise.
42714 * sysdeps/unix/sparc/sysdep.S: Likewise.
42715 * sysdeps/unix/sparc/sysdep.h: Likewise.
42716 * sysdeps/unix/start.c: Likewise.
42717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42718 * sysdeps/x86_64/sysdep.h: Likewise.
42720 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42723 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42725 * argp/argp-fmtstream.h: Use const instead __const.
42726 * argp/argp.h: Likewise.
42727 * assert/assert.h: Likewise.
42728 * bits/fenv.h: Likewise.
42729 * bits/sched.h: Likewise.
42730 * bits/sigset.h: Likewise.
42731 * bits/sigthread.h: Likewise.
42732 * catgets/nl_types.h: Likewise.
42733 * conform/data/pthread.h-data: Likewise.
42734 * crypt/crypt-private.h: Likewise.
42735 * crypt/crypt.h: Likewise.
42736 * crypt/crypt_util.c: Likewise.
42737 * ctype/ctype.h: Likewise.
42738 * debug/execinfo.h: Likewise.
42739 * debug/mbsnrtowcs_chk.c: Likewise.
42740 * debug/mbsrtowcs_chk.c: Likewise.
42741 * debug/wcsnrtombs_chk.c: Likewise.
42742 * debug/wcsrtombs_chk.c: Likewise.
42743 * debug/wcstombs_chk.c: Likewise.
42744 * dirent/dirent.h: Likewise.
42745 * dlfcn/dlfcn.h: Likewise.
42746 * elf/neededtest4.c: Likewise.
42747 * grp/grp.h: Likewise.
42748 * gshadow/gshadow.h: Likewise.
42749 * iconv/gconv.h: Likewise.
42750 * iconv/gconv_int.h: Likewise.
42751 * iconv/gconv_simple.c: Likewise.
42752 * iconv/iconv.h: Likewise.
42753 * iconv/loop.c: Likewise.
42754 * iconv/skeleton.c: Likewise.
42755 * include/aio.h: Likewise.
42756 * include/aliases.h: Likewise.
42757 * include/argz.h: Likewise.
42758 * include/arpa/inet.h: Likewise.
42759 * include/assert.h: Likewise.
42760 * include/dirent.h: Likewise.
42761 * include/dlfcn.h: Likewise.
42762 * include/execinfo.h: Likewise.
42763 * include/fcntl.h: Likewise.
42764 * include/fenv.h: Likewise.
42765 * include/glob.h: Likewise.
42766 * include/grp.h: Likewise.
42767 * include/libintl.h: Likewise.
42768 * include/mntent.h: Likewise.
42769 * include/netdb.h: Likewise.
42770 * include/pwd.h: Likewise.
42771 * include/rpc/netdb.h: Likewise.
42772 * include/sched.h: Likewise.
42773 * include/search.h: Likewise.
42774 * include/shadow.h: Likewise.
42775 * include/signal.h: Likewise.
42776 * include/stdio.h: Likewise.
42777 * include/stdlib.h: Likewise.
42778 * include/string.h: Likewise.
42779 * include/sys/socket.h: Likewise.
42780 * include/sys/stat.h: Likewise.
42781 * include/sys/statfs.h: Likewise.
42782 * include/sys/statvfs.h: Likewise.
42783 * include/sys/syslog.h: Likewise.
42784 * include/sys/time.h: Likewise.
42785 * include/sys/uio.h: Likewise.
42786 * include/time.h: Likewise.
42787 * include/unistd.h: Likewise.
42788 * include/utmp.h: Likewise.
42789 * include/wchar.h: Likewise.
42790 * include/wctype.h: Likewise.
42791 * inet/aliases.h: Likewise.
42792 * inet/arpa/inet.h: Likewise.
42793 * inet/netinet/ether.h: Likewise.
42794 * inet/netinet/in.h: Likewise.
42795 * intl/libintl.h: Likewise.
42796 * io/bits/fcntl2.h: Likewise.
42797 * io/fcntl.h: Likewise.
42798 * io/ftw.h: Likewise.
42799 * io/sys/poll.h: Likewise.
42800 * io/sys/stat.h: Likewise.
42801 * io/sys/statfs.h: Likewise.
42802 * io/sys/statvfs.h: Likewise.
42803 * io/utime.h: Likewise.
42804 * libio/bits/stdio.h: Likewise.
42805 * libio/bits/stdio2.h: Likewise.
42806 * libio/libio.h: Likewise.
42807 * libio/libioP.h: Likewise.
42808 * libio/stdio.h: Likewise.
42809 * locale/lc-ctype.c: Likewise.
42810 * locale/locale.h: Likewise.
42811 * login/utmp.h: Likewise.
42812 * malloc/arena.c: Likewise.
42813 * malloc/malloc.c: Likewise.
42814 * malloc/malloc.h: Likewise.
42815 * malloc/mcheck.c: Likewise.
42816 * malloc/mtrace.c: Likewise.
42817 * math/bits/mathcalls.h: Likewise.
42818 * math/fenv.h: Likewise.
42819 * math/math_private.h: Likewise.
42820 * misc/bits/error.h: Likewise.
42821 * misc/bits/syslog.h: Likewise.
42822 * misc/err.h: Likewise.
42823 * misc/error.h: Likewise.
42824 * misc/fstab.h: Likewise.
42825 * misc/mntent.h: Likewise.
42826 * misc/regexp.h: Likewise.
42827 * misc/search.h: Likewise.
42828 * misc/sgtty.h: Likewise.
42829 * misc/sys/mman.h: Likewise.
42830 * misc/sys/syslog.h: Likewise.
42831 * misc/sys/uio.h: Likewise.
42832 * misc/sys/xattr.h: Likewise.
42833 * misc/ttyent.h: Likewise.
42834 * nis/rpcsvc/ypclnt.h: Likewise.
42835 * nss/nss.h: Likewise.
42836 * posix/bits/unistd.h: Likewise.
42837 * posix/fnmatch.h: Likewise.
42838 * posix/glob.h: Likewise.
42839 * posix/sched.h: Likewise.
42840 * posix/spawn.h: Likewise.
42841 * posix/sys/wait.h: Likewise.
42842 * posix/unistd.h: Likewise.
42843 * posix/wordexp.h: Likewise.
42844 * pwd/pwd.h: Likewise.
42845 * resolv/netdb.h: Likewise.
42846 * resource/sys/resource.h: Likewise.
42847 * rt/aio.h: Likewise.
42848 * rt/bits/mqueue2.h: Likewise.
42849 * rt/mqueue.h: Likewise.
42850 * shadow/shadow.h: Likewise.
42851 * signal/signal.h: Likewise.
42852 * socket/send.c: Likewise.
42853 * socket/sendto.c: Likewise.
42854 * socket/sys/socket.h: Likewise.
42855 * stdio-common/printf.h: Likewise.
42856 * stdlib/bits/stdlib.h: Likewise.
42857 * stdlib/fmtmsg.h: Likewise.
42858 * stdlib/monetary.h: Likewise.
42859 * stdlib/stdlib.h: Likewise.
42860 * stdlib/ucontext.h: Likewise.
42861 * streams/stropts.h: Likewise.
42862 * string/argz.h: Likewise.
42863 * string/bits/string2.h: Likewise.
42864 * string/string.h: Likewise.
42865 * string/strings.h: Likewise.
42866 * sunrpc/rpc/auth.h: Likewise.
42867 * sunrpc/rpc/auth_des.h: Likewise.
42868 * sunrpc/rpc/clnt.h: Likewise.
42869 * sunrpc/rpc/netdb.h: Likewise.
42870 * sunrpc/rpc/pmap_clnt.h: Likewise.
42871 * sunrpc/rpc/xdr.h: Likewise.
42872 * sysdeps/generic/inttypes.h: Likewise.
42873 * sysdeps/generic/net/if.h: Likewise.
42874 * sysdeps/generic/sys/swap.h: Likewise.
42875 * sysdeps/gnu/net/if.h: Likewise.
42876 * sysdeps/gnu/utmpx.h: Likewise.
42877 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42878 * sysdeps/i386/i486/bits/string.h: Likewise.
42879 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42880 * sysdeps/s390/bits/string.h: Likewise.
42881 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42882 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42883 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42884 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42885 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42886 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42887 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42888 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42889 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42890 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42891 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42892 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42893 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42894 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42895 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42896 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42897 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42899 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42900 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42902 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42903 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42904 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42905 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42906 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42907 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42909 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42910 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42911 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42912 * sysvipc/sys/ipc.h: Likewise.
42913 * sysvipc/sys/msg.h: Likewise.
42914 * sysvipc/sys/sem.h: Likewise.
42915 * sysvipc/sys/shm.h: Likewise.
42916 * termios/termios.h: Likewise.
42917 * time/sys/time.h: Likewise.
42918 * time/time.h: Likewise.
42919 * wcsmbs/bits/wchar2.h: Likewise.
42920 * wcsmbs/uchar.h: Likewise.
42921 * wcsmbs/wchar.h: Likewise.
42922 * wctype/wctype.h: Likewise.
42925 * Makeconfig: Remove all but ELF support including AIX support.
42926 * Makerules: Likewise.
42927 * config.h.in: Likewise.
42928 * config.make.in: Likewise.
42929 * configure: Likewise.
42930 * configure.in: Likewise.
42931 * csu/Makefile: Likewise.
42932 * csu/version.c: Likewise.
42933 * debug/Makefile: Likewise.
42934 * dlfcn/Makefile: Likewise.
42935 * elf/Makefile: Likewise.
42936 * extra-lib.mk: Likewise.
42937 * iconv/Makefile: Likewise.
42938 * include/libc-symbols.h: Likewise.
42939 * include/shlib-compat.h: Likewise.
42940 * resolv/Makefile: Likewise.
42941 * resolv/res_libc.c: Likewise.
42942 * rt/Makefile: Likewise.
42943 * sysdeps/i386/asm-syntax.h: Likewise.
42944 * sysdeps/i386/sysdep.h: Likewise.
42945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42946 * sysdeps/mach/sysdep.h: Likewise.
42947 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42948 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42949 * sysdeps/s390/asm-syntax.h: Likewise.
42950 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42952 * sysdeps/sh/sysdep.h: Likewise.
42953 * sysdeps/unix/sparc/sysdep.h: Likewise.
42954 * sysdeps/wordsize-32/divdi3.c: Likewise.
42955 * sysdeps/x86_64/sysdep.h: Likewise.
42957 * argp/Versions: Remove _argp_unlock_xxx.
42960 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42961 * abilist/libBrokenLocale.abilist: Likewise.
42962 * abilist/libanl.abilist: Likewise.
42963 * abilist/libc.abilist: Likewise.
42964 * abilist/libcrypt.abilist: Likewise.
42965 * abilist/libdl.abilist: Likewise.
42966 * abilist/libm.abilist: Likewise.
42967 * abilist/libnsl.abilist: Likewise.
42968 * abilist/libpthread.abilist: Likewise.
42969 * abilist/libresolv.abilist: Likewise.
42970 * abilist/librt.abilist: Likewise.
42971 * abilist/libthread_db.abilist: Likewise.
42972 * abilist/libutil.abilist: Likewise.
42973 * abilist/libnss_db.abilist: New file.
42975 * scripts/abilist.awk: Add support for indirect functions.
42977 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42979 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42981 * shlib-versions: Remove entries for ports architectures.
42983 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42985 * elf/stackguard-macros.h: Remove support for IA-64.
42986 * elf/tst-auditmod1.c: Likewise.
42987 * sysdeps/generic/ldsodefs.h: Likewise.
42989 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42990 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42994 * configure.in: Remove --enable-omitfp support.
42996 * config.make.in: Likewise.
42997 * Makeconfig: Likewise.
42998 * manual/install.texi: Likewise.
43000 In case anyone cares, the IA-64 architecture could move to ports.
43001 * sysdeps/ia64/*: Removed.
43002 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43003 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43006 * configure.in: Remove entries for unsupported architectures.
43009 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43010 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43012 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43013 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43014 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43015 fall back to using wcrtomb.
43016 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43017 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43019 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43020 * wcsmbs/tst-c16c32-1.c: New file.
43022 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43025 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43027 * elf/tst-unique3.cc: Add explicit declaration of gets.
43028 * elf/tst-unique3lib.cc: Likewise.
43029 * elf/tst-unique3lib2.cc: Likewise.
43030 * elf/tst-unique4.cc: Likewise.
43032 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43034 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43037 * assert/assert.h (static_assert): Don't define for C++.
43038 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43039 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43041 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43043 * iconv/loop.c (single loop): Fix assertion in storing of
43046 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43048 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43050 * posix/getconf.c: Update copyright year.
43051 * nss/getent.c: Likewise.
43052 * nss/makedb.c: Likewise.
43053 * iconv/iconvconfig.c: Likewise.
43054 * iconv/iconv_prog.c: Likewise.
43055 * elf/ldconfig.c: Likewise.
43056 * elf/pldd.c: Likewise.
43057 * elf/sotruss.ksh: Likewise.
43058 * catgets/gencat.c: Likewise.
43059 * csu/version.c: Likewise.
43060 * elf/ldd.bash.in: Likewise.
43061 * elf/sprof.c (print_version): Likewise.
43062 * locale/programs/locale.c: Likewise.
43063 * locale/programs/localedef.c: Likewise.
43064 * login/programs/pt_chown.c: Likewise.
43065 * nscd/nscd.c (print_version): Likewise.
43066 * debug/xtrace.sh: Likewise.
43067 * malloc/memusage.sh: Likewise.
43068 * malloc/mtrace.pl: Likewise.
43069 * debug/catchsegv.sh: Likewise.
43071 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43073 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43076 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43079 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43080 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43082 * iconv/gconv_int.h: Likewise.
43083 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43084 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43085 from libc for GLIBC_2.16.
43086 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43087 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43088 * wcsmbs/uchar.h: Really define mbstate_t.
43089 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43090 * wcsmbs/c16rtomb.c: New file.
43091 * wcsmbs/mbrtoc16.c: New file.
43092 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43093 for C/POSIX locale.
43094 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43095 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43097 * wcsmbs/wchar.h: Add missing __restrict.
43099 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43102 * time/Makefile (routines): Add timespec_get.
43103 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43104 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43105 timespec for ISO C11.
43106 * time/timespec_get.c: New file.
43107 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43108 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43111 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43112 * stdlib/stdlib.h: Declare aligned_alloc.
43113 * Versions.def: Add GLIBC_2.16 for libc.
43114 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43117 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43120 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43124 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43127 * assert/assert.h (static_assert): Define.
43129 * version.h: Update for 2.16 development version.
43132 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43135 * version.h (RELEASE): Bump for 2.15 release.
43136 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43138 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43139 Patch by Marek Polacek <mpolacek@redhat.com>.
43141 * bits/byteswap.h: Protect long long constants with __extension__.
43142 * sysdeps/i386/bits/byteswap.h: Likewise.
43143 * sysdeps/ia64/bits/byteswap.h: Likewise.
43144 * sysdeps/s390/bits/byteswap.h: Likewise.
43145 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43147 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43150 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43151 destination buffer.
43152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43154 2011-12-23 Marek Polacek <polacek@redhat.com>
43156 * elf/dl-addr.c (determine_info): Add inline keyword.
43157 * elf/tst-auditmod4b.c (check_avx): Likewise.
43158 * elf/tst-auditmod6b.c (check_avx): Likewise.
43159 * elf/tst-auditmod6c.c (check_avx): Likewise.
43160 * elf/tst-auditmod7b.c (check_avx): Likewise.
43162 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43164 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43167 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43170 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43171 processing for last bytes.
43173 2011-08-06 Bruno Haible <bruno@clisp.org>
43176 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43177 U+0385, not to U+1FEE.
43180 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43181 entry for U+00A5 U+0301.
43183 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43186 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43187 buffer for the output is too small.
43189 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43193 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43194 SSE flags if possible.
43196 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43200 processing for last bytes.
43202 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43204 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43205 (syscall-list-default-options, syscall-list-default-condition)
43206 (syscall-list-includes): Define.
43207 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43208 list of ABIs and options and #if conditions for each ABI. Do not
43209 handle common syscalls between ABIs specially.
43210 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43212 (syscall-list-variants, syscall-list-32bit-options)
43213 (syscall-list-32bit-condition, syscall-list-64bit-options)
43214 (syscall-list-64bit-condition): Define.
43215 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43216 (syscall-list-variants, syscall-list-32bit-options)
43217 (syscall-list-32bit-condition, syscall-list-64bit-options)
43218 (syscall-list-64bit-condition): Define.
43219 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
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/x86_64/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.
43230 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43232 * locale/iso-639.def: Add brx entry.
43235 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43236 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43238 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43239 __feraiseexcept_renamed.
43241 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43244 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43245 EPOLLET with unsigned values.
43246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43249 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43250 to large cancellation.
43251 * math/s_cacoshf.c: Likewise.
43252 * math/s_cacoshl.c: Likewise.
43254 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43258 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43259 * math/s_cacoshf.c: Likewise.
43260 * math/s_cacoshl.c: Likewise.
43262 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43265 * iconv/gconv.h: Define __GCONV_SWAP.
43266 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43267 * iconvdata/utf-16.c: Likewise.
43268 * iconvdata/utf-32.c: Likewise.
43270 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43273 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43274 numerator after shifting it by one limb.
43276 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43279 under [__USE_EXTERN_INLINES].
43281 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43284 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43286 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43288 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43289 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43291 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43292 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43293 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43294 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43295 for strncasecmp/strncasecmp_l compilation.
43296 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43297 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43299 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43302 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43305 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43308 * time/tzfile.c (__tzfile_read): Check values from file header.
43310 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43312 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43313 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43314 * powerpc/powerpc32/dl-start.S: Likewise.
43315 * powerpc/powerpc32/elf/start.S: Likewise.
43316 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43317 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43318 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43319 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43320 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43321 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43322 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43323 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43324 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43325 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43326 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43327 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43328 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43329 * powerpc/powerpc32/memset.S: Likewise.
43330 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43331 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43332 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43333 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43334 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43335 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43336 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43337 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43338 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43339 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43340 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43344 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43346 * math/libm-test.inc: Added more nearbyint tests.
43347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43348 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43349 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43350 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43352 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43354 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43357 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43359 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43360 Add wcscpy-ssse3 wcscpy-c.
43361 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43362 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43363 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43364 * sysdeps/x86_64/wcschr.S: New file.
43365 * sysdeps/x86_64/wcsrchr.S: New file.
43366 * string/test-strcmp.c: Remove checking of wcscmp function for
43368 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43369 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43370 wcsrchr-sse2 wcsrchr-c.
43371 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43372 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43373 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43374 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43375 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43376 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43377 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43378 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43379 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43380 * wcsmbc/wcschr.c (WCSCHR): New macro.
43382 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43384 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43385 * wcsmbs/test-wcsrchr.c: New file.
43386 * string/test-strrchr.c: Add wcsrchr support.
43388 * wcsmbs/test-wcscpy.c: New file.
43389 * string/test-strcpy.c: Add wcscpy support.
43392 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43394 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43397 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43400 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43402 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43404 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43405 Minor optimizations.
43407 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43408 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43409 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43411 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43413 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43414 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43415 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43416 for gcc to avoid warnings.
43417 * inet/Makefile (tests): Add tst-checks.
43418 * inet/tst-checks.c: New file.
43420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43423 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43426 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43427 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43429 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43431 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43433 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43436 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43438 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43440 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43441 conditional on GCC version.
43442 (__arch_compare_and_exchange_val_8_acq)
43443 (__arch_compare_and_exchange_val_16_acq)
43444 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43445 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43446 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43448 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43450 * sysdeps/sh/backtrace.c: New file.
43452 2011-12-02 Andreas Schwab <schwab@redhat.com>
43454 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43457 2011-12-01 Andreas Schwab <schwab@redhat.com>
43459 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43460 falling back to utime.
43462 2011-11-30 Andreas Schwab <schwab@redhat.com>
43464 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43465 expectations for float.
43467 2011-11-29 Andreas Schwab <schwab@redhat.com>
43469 * locale/weight.h (findidx): Add parameter len.
43470 * locale/weightwc.h (findidx): Likewise.
43471 * posix/fnmatch_loop.c (FCT): Adjust caller.
43472 * posix/regcomp.c (build_equiv_class): Likewise.
43473 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43474 * posix/regexec.c (check_node_accept_bytes): Likewise.
43475 * string/strcoll_l.c (STRCOLL): Likewise.
43476 * string/strxfrm_l.c (STRXFRM): Likewise.
43478 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43480 * Makefile.in: Remove CVSOPT handling.
43481 * configure.in: Remove use of AC_REVISION.
43482 * iconvdata/Makefile (distribute): No need to filter out CVS.
43483 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43486 2011-11-16 Andreas Schwab <schwab@redhat.com>
43488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43489 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43490 [USE_AS_STRNCASECMP_L]: Likewise.
43491 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43492 NO_TLS_DIRECT_SEG_REFS.
43493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43494 Fix argument offsets for non-PIC.
43495 [USE_AS_STRNCASECMP_L]: Likewise.
43496 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43497 NO_TLS_DIRECT_SEG_REFS.
43499 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43501 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43503 * locale/loadlocale.c (_nl_load_locale): Likewise.
43505 2011-11-15 Andreas Schwab <schwab@redhat.com>
43507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43508 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43509 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43510 (SYSCALL_GETTIME): Set errno on error.
43512 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43513 count references to noai6ai_cached.
43515 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43517 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43519 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43520 FD_CLOEXEC for /proc/self/maps.
43522 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43523 FD_CLOEXEC for /proc/meminfo.
43525 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43528 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43529 FD_CLOEXEC for given file.
43531 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43533 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43534 FD_CLOEXEC for /etc/hosts.
43535 (_gethtent): Likewise.
43537 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43539 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43540 cancellation and set FD_CLOEXEC for /etc/netgroup.
43542 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43543 reading /etc/publickey.
43545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43546 allow cancellation when reading /etc/group.
43548 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43550 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43552 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43553 when using data file.
43555 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43557 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43558 (write_nis_obj): Use "c" and "e" in fopen.
43560 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43562 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43564 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43566 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43568 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43571 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43573 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43575 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43577 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43578 file parsing and set FD_CLOEXEC.
43580 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43582 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43584 2011-11-14 Andreas Schwab <schwab@redhat.com>
43586 * malloc/arena.c (arena_get2): Don't call reused_arena when
43587 _int_new_arena failed.
43589 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43592 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43593 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43594 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43595 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43596 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43597 to compile strcasecmp and strncasecmp.
43598 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43599 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43603 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43605 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43606 locale-defines.sym to gen-as-const-headers.
43607 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43608 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43610 to compile strcasecmp and strncasecmp.
43611 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43612 strcasecmp_l and strncasecmp_l.
43613 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43614 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43615 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43616 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43617 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43618 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43619 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43620 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43621 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43622 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43623 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43625 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43627 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43628 result of SYSDEP_GETTIME_CPU to retval.
43629 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43630 parameter list to macro. Remove trailing semicolon. Adjust users.
43632 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43635 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43637 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43639 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43640 from unused variable.
43642 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43644 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43647 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43650 * sunrpc/rpc_prot.c (rejected): Fix case value.
43652 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43653 unsigned long long int to avoid warnings in shift.
43655 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43657 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43660 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43661 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43662 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43664 * nis/nis_table.c (nis_list): Use variable of correct type for
43665 result of __follow_path call.
43667 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43669 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43670 of math functions ceil, trunc, floor, round, and sqrt, when
43671 avaliable on the platform.
43672 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43674 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43675 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43676 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43678 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43680 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43681 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43683 2011-11-11 Roland McGrath <roland@hack.frob.com>
43685 * include/unistd.h: Fix __readlink return type.
43686 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43688 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43690 * stdlib/ucontext.h: Undo last change for makecontext.
43692 2011-11-11 Andreas Schwab <schwab@redhat.com>
43694 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43696 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43697 * setjmp/setjmp.h: Mark functions as non-leaf.
43698 * setjmp/bits/setjmp2.h: Likewise.
43699 * stdlib/ucontext.h: Likewise.
43701 2011-11-10 Andreas Schwab <schwab@redhat.com>
43703 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43704 (reused_arena): Don't check arena limit.
43705 (arena_get2): Atomically check arena limit.
43707 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43709 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43710 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43715 2011-11-07 Andreas Schwab <schwab@redhat.com>
43717 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43718 handler when locking.
43720 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43721 Fix size of allocated buffer.
43723 2011-11-04 Andreas Schwab <schwab@redhat.com>
43726 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43727 declarations for long double functions.
43728 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43730 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43732 2011-11-03 Andreas Schwab <schwab@redhat.com>
43734 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43737 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43740 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43742 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43744 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43746 * include/alloca.h (stackinfo_alloca_round): Define.
43747 (extend_alloca): Use it.
43748 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43749 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43752 * scripts/check-local-headers.sh: Ignore libaudit.h.
43754 * nscd/Makefile (extra-objs): Make recursively expanded.
43756 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43758 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43761 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43762 * posix/tst-rfc3484-2.c: Likewise.
43763 * posix/tst-rfc3484-3.c: Likewise.
43765 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43767 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43769 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43770 process_vm_writev from libc using GLIBC_2.15 version.
43772 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43774 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43776 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43779 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43782 * nss/getent.c (initgroups_keys): Show error message in case no group
43785 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43786 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43787 __bump_nl_timestamp.
43788 * nscd/connections (nscd_init): When host database is served open
43789 netlink socket and request notification about configuration changes.
43790 (main_loop_poll): Track netlink file descriptor and bump timestamp
43791 in case data becomes available.
43792 (main_loop_epoll): Likewise.
43793 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43794 (database_pers_head): Add extra_data fileds.
43795 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43796 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43797 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43800 in6ai data, call __free_in6ai.
43801 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43802 Add -DHAVE_NETLINK.
43803 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43804 interface information. Reuse previous data if netlink timestamp
43806 (__bump_nl_timestamp): New function.
43807 (__free_in6ai): New function.
43809 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43811 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43812 close_not_cancel_no_status here.
43813 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43815 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43818 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43821 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43822 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43823 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43825 2011-07-03 Andreas Jaeger <aj@suse.de>
43828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43829 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43830 * math/libm-test.inc (sin_test): Add test case.
43832 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43835 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43836 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43838 * elf/chroot_canon.c (chroot_canon): Cleanups.
43840 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43843 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43844 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43846 * string/test-strchr.c: Make usable for strchrnul testing.
43847 * string/test-strchrnul.c: New file.
43848 * string/Makefile (strop-tests): Add strchrnul.
43850 * po/it.po: Update from translation team.
43851 * po/es.po: Likewise.
43853 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43855 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43856 the three constants needed as parameters. Drop the others.
43857 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43858 __m128i_strloadu_tolower.
43859 Create and initialize variable zero and use it in all the places
43860 where _mm_setzero_si128 was used.
43862 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43863 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43864 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43865 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43867 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43868 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43869 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43870 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43871 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43872 __mpranred, __mptan.
43873 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43874 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43875 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43876 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43877 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43878 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43880 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43883 2011-10-28 Andreas Schwab <schwab@redhat.com>
43885 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43886 redefine if SHARED.
43887 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43890 wide char related routines to wcsmbs subdir.
43892 2011-10-27 Andreas Schwab <schwab@redhat.com>
43895 * misc/sys/cdefs.h (__THROWNL): Define.
43896 * posix/unistd.h: Use __THREADNL instead of __THREAD
43897 for memory synchronization functions.
43899 2011-10-26 Roland McGrath <roland@hack.frob.com>
43902 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43904 * manual/stdio.texi (Obstack Streams): Node removed.
43906 2011-10-26 Andreas Schwab <schwab@redhat.com>
43908 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43909 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43912 * math/math_private.h (math_force_eval): Allow non-addressable
43914 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43916 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43918 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43919 file is not needed.
43921 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43928 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43930 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43931 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43932 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43933 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43934 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43935 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43936 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43937 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43938 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43939 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43940 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43941 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43942 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43943 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43944 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43945 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43946 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43947 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43948 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43950 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43951 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43954 place. Use VEX encoding when compiling for AVX.
43956 2011-10-25 Andreas Schwab <schwab@redhat.com>
43958 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43959 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43961 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43963 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43965 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43966 useless if() expression.
43967 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43976 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43979 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43980 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43981 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43982 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43983 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43985 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43987 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43989 2011-10-25 Andreas Schwab <schwab@redhat.com>
43991 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43993 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43995 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43997 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43998 .text section. Avoid duplicate constants.
43999 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44009 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44011 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44014 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44016 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44022 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44023 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44024 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44025 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44026 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44028 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44029 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44032 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44033 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44034 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44035 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44037 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44038 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44040 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44041 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44045 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44047 * sysdeps/x86_64/dla.h: Move to ...
44048 * sysdeps/x86_64/fpu/dla.h: ...here.
44049 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44050 situations. Use __builtin_fma only for gcc 4.6 and up.
44052 * config.make.in: Add have-mfma4 entry.
44053 * configure.in: Substitute libc_cv_cc_fma4.
44054 * math/Makefile (dbl-only-routines): Add sincostab.
44055 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44056 Use __sincostab not sincos.
44057 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44064 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44065 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44066 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44067 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44070 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44072 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44073 define aliases when function name is a macro.
44074 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44075 sysdeps/ieee754/dbl-64/sincos.tbl.
44076 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44077 fma4-enabled routines.
44078 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44079 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44080 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44081 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44082 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44083 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44085 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44087 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44088 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44089 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44090 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44091 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44092 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44093 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44094 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44095 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44096 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44097 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44098 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44099 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44101 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44102 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44103 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44105 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44106 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44107 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44109 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44120 2011-10-24 Andreas Schwab <schwab@redhat.com>
44122 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44124 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44128 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44130 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44132 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44133 Remove unused variable magic_bits.
44134 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44136 * string/strnlen.c: Define and use STRNLEN macro.
44137 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44138 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44139 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44140 * wcsmbs/wcslen.c: Define and use WCSLEN.
44141 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44142 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44143 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44144 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44145 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44146 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44147 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44149 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44152 strnlen-sse2-no-bsf.
44153 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44155 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44156 Add strnlen support.
44157 (USE_AS_STRNLEN): New macro.
44158 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44159 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44160 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44161 * sysdeps/x86_64/wcslen.S: New file.
44163 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44166 XMM-moves are used for copying on small sizes.
44168 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44170 * wcsmbs/Makefile (strop-tests): Add wcschr.
44171 * wcsmbs/test-wcschr.c: New file.
44172 * string/test-strchr.c: Update.
44173 Add wcschr support.
44176 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44178 * wcsmbs/Makefile (strop-tests): Add wcslen.
44179 * wcsmbs/test-wcslen.c: New file.
44180 * string/test-strlen.c: Update.
44181 Add wcslen support.
44184 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44186 * po/it.po: Update from translation team.
44188 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44190 * sysdeps/x86_64/wcscmp.S: Update.
44191 Fix wrong comparison semantics.
44192 wcscmp shall use signed comparison not unsigned.
44193 Don't use substraction to avoid overflow bug.
44194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44195 * wcsmbc/wcscmp.c: Likewise.
44196 * string/test-strcmp.c: Likewise.
44197 Add new tests to check cases with negative values.
44199 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44201 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44202 * sysdeps/x86_64/dla.h: ...here. New file.
44203 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44213 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44216 __ynl_finite aliases.
44218 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44222 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44224 [DLA_FMA] (EMULV): Use DLA_FMA.
44225 [DLA_FMA] (MUL12): Use EMULV.
44226 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44227 that are not needed.
44228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44230 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44236 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44238 * math/s_nan.c: Undef __nan.
44239 * math/s_nanf.c: Undef __nanf.
44240 * math/s_nanl.c: Undef __nanl.
44241 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44244 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44246 * math/s_catan.c: Add branch predictions.
44247 * math/s_catanf.c: Likewise.
44248 * math/s_catanh.c: Likewise.
44249 * math/s_catanhf.c: Likewise.
44250 * math/s_catanhl.c: Likewise.
44251 * math/s_catanl.c: Likewise.
44252 * math/s_cexp.c: Likewise.
44253 * math/s_cexpf.c: Likewise.
44254 * math/s_cexpl.c: Likewise.
44255 * math/s_clog.c: Likewise.
44256 * math/s_clog10.c: Likewise.
44257 * math/s_clog10f.c: Likewise.
44258 * math/s_clog10l.c: Likewise.
44259 * math/s_clogf.c: Likewise.
44260 * math/s_clogl.c: Likewise.
44261 * math/s_csqrt.c: Likewise.
44262 * math/s_csqrtf.c: Likewise.
44263 * math/s_csqrtl.c: Likewise.
44264 * math/s_ctanf.c: Likewise.
44265 * math/s_ctanh.c: Likewise.
44266 * math/s_ctanhf.c: Likewise.
44267 * math/s_ctanhl.c: Likewise.
44268 * math/s_ctanl.c: Likewise.
44270 * math/math_private.h: Define __nan, __nanf, __nanl.
44271 * math/s_cacosh.c: Include <math_private.h>.
44272 * math/s_cacoshl.c: Likewise.
44273 * math/s_casinh.c: Likewise.
44274 * math/s_casinhf.c: Likewise.
44275 * math/s_casinhl.c: Likewise.
44276 * math/s_ccos.c: Rely entire on ccosh.
44277 * math/s_ccosf.c: Rely entire on ccoshf.
44278 * math/s_ccosl.c: Rely entirely on ccoshl.
44279 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44280 Remove tests for FE_INVALID.
44281 * math/s_ccoshf.c: Likewise.
44282 * math/s_ccoshl.c: Likewise.
44283 * math/s_csin.c: Likewise.
44284 * math/s_csinf.c: Likewise.
44285 * math/s_csinh.c Likewise.
44286 * math/s_csinhf.c: Likewise.
44287 * math/s_csinhl.c: Likewise.
44288 * math/s_csinl.c: Likewise.
44289 * math/s_ctan.c: Likewise.
44290 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44291 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44294 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44297 compilation problems.
44299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44302 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44304 * sysdeps/i386/configure.in: Test for -mfma4 option.
44305 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44306 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44307 COMMON_CPUID_INDEX_80000001.
44308 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44309 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44310 use it if FMA3 is not supported.
44311 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44313 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44314 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44316 2011-10-20 Andreas Schwab <schwab@redhat.com>
44319 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44320 it would create a cycle with a link time dependency.
44322 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44324 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44326 * string/Makefile (strop-tests): Add rawmemchr.
44327 * string/test-rawmemchr.c: New file.
44329 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44331 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44332 when compiling str{,n}casecmp and when AVX is available. Hook up
44333 new optimized code in initializers.
44335 2011-10-19 Andreas Schwab <schwab@redhat.com>
44337 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44338 __feraiseexcept instead of feraiseexcept.
44340 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44342 * math/math_private.h: Define defaults for libc_fetestexcept and
44344 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44345 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44346 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44347 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44348 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44349 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44350 libc_fetestexcept and libc_feupdateenv.
44352 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44353 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44354 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44355 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44356 libc_feholdexcept_setround.
44358 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44359 Add s_nearbyint-c and s_nearbyintf-c.
44360 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44361 nearbyintf inlines.
44362 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44363 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44364 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44365 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44367 * math/math_private.h: Define defaults for libc_fegetround,
44368 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44369 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44370 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44372 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44373 standard functions.
44374 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44375 Remove comments and hacks for old compiler versions.
44376 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44377 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44378 libc_feholdexceptl.
44380 2011-10-18 Andreas Schwab <schwab@redhat.com>
44382 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44383 (__feraiseexcept_renamed): Add __NTH.
44384 (feraiseexcept): Add __NTH. Rename local variables to fix
44385 namespace violations.
44387 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44391 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44393 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44394 recently added interfaces.
44395 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44397 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44398 about macro parameter expansion.
44400 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44401 __NO_MATH_INLINES is defined. Cleanups.
44403 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44404 and __floorf is target has SSE4.1.
44405 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44406 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44407 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44408 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44410 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44412 (floorf): Likewise.
44414 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44416 2011-10-17 Andreas Schwab <schwab@redhat.com>
44418 * misc/sys/cdefs.h: Fix last change.
44420 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44423 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44425 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44427 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44428 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44430 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44433 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44435 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44436 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44437 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44438 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44439 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44440 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44441 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44442 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44443 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44444 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44445 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44446 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44447 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44448 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44450 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44451 ceil, ceilf, floor, floorf.
44453 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44454 Perform IRELATIVE relocations last.
44456 * elf/do-rel.h: Add another parameter nrelative, replacing the
44457 local variable with the same name. Change name of the function
44458 to end in Rel or Rela (uppercase).
44459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44460 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44461 elf_dynamic_do_##reloc function.
44463 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44465 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44466 is sufficient, at least on modern CPUs.
44468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44470 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44471 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44473 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44475 * math/bits/math-finite.h: Add entries for exp.
44476 * math/e_expl.c: Add __*_finite alias.
44477 * sysdeps/i386/fpu/e_exp.S: Likewise.
44478 * sysdeps/i386/fpu/e_expf.S: Likewise.
44479 * sysdeps/i386/fpu/e_expl.c: Likewise.
44480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44481 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44485 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44486 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44488 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44489 is sufficient, at least on modern CPUs.
44491 * ctype/ctype-info.c (__ctype_init): Define.
44492 * include/ctype.h (__ctype_init): Declare.
44493 (__ctype_b_loc): The variable is always initialized.
44494 (__ctype_toupper_loc): Likewise.
44495 (__ctype_tolower_loc): Likewise.
44496 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44497 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44499 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44501 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44503 * configure.in: Also look in $cxxmachine/include for C++ system
44506 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44508 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44509 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44510 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44511 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44513 (USE_AS_WMEMCMP): New macro.
44515 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44516 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44517 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44518 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44520 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44521 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44522 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44523 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44524 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44525 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44526 (USE_AS_WMEMCMP): New macro.
44527 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44528 * sysdeps/string/test-memcmp.c: Update.
44529 Fix simple_wmemcmp.
44531 * wcsmbs/wmemcmp.c: Update.
44532 (WMEMCMP): New macro.
44535 2011-10-12 Andreas Jaeger <aj@suse.de>
44538 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44540 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44542 * libio/iofwide.c (do_length): Avoid warning.
44544 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44546 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44548 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44550 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44551 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44552 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44553 * sysdeps/i386/i686/fpu/e_log.S: New file.
44554 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44555 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44557 * ctype/ctype.h: Add support for inlined isXXX functions when
44558 compiling C++ code.
44560 2011-10-14 Andreas Schwab <schwab@redhat.com>
44562 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44566 2011-10-13 Roland McGrath <roland@hack.frob.com>
44569 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44571 2011-10-13 Andreas Schwab <schwab@redhat.com>
44573 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44574 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44577 * sysdeps/x86_64/memrchr.S: Check for zero size.
44579 * string/stratcliff.c: Add memrchr tests.
44581 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44584 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44585 rawmemchr-sse2 rawmemchr-sse2-bsf.
44586 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44587 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44588 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44589 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44590 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44591 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44592 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44593 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44594 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44595 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44596 * string/memrchr.c (MEMRCHR): New macro.
44598 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44600 Add integration with gcc's -ffinite-math-only and optimize wrapper
44602 * Versions.def: Define GLIBC_2.15 version for libm.
44603 * math/Makefile (headers): Add bits/math-finite.h.
44604 * math/bits/math-finite.h: New file.
44605 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44606 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44607 * math/e_acoshl.c: Add __*_finite alias.
44608 * math/e_acosl.c: Likewise.
44609 * math/e_asinl.c: Likewise.
44610 * math/e_atan2l.c: Likewise.
44611 * math/e_atanhl.c: Likewise.
44612 * math/e_coshl.c: Likewise.
44613 * math/e_exp10.c: Likewise.
44614 * math/e_exp10f.c: Likewise.
44615 * math/e_exp10l.c: Likewise.
44616 * math/e_exp2l.c: Likewise.
44617 * math/e_fmodl.c: Likewise.
44618 * math/e_gammal_r.c: Likewise.
44619 * math/e_hypotl.c: Likewise.
44620 * math/e_j0l.c: Likewise.
44621 * math/e_j1l.c: Likewise.
44622 * math/e_jnl.c: Likewise.
44623 * math/e_lgammal_r.c: Likewise.
44624 * math/e_log10l.c: Likewise.
44625 * math/e_log2l.c: Likewise.
44626 * math/e_logl.c: Likewise.
44627 * math/e_powl.c: Likewise.
44628 * math/e_sinhl.c: Likewise.
44629 * math/e_sqrtl.c: Likewise.
44630 * math/e_scalb.c: Completely rewritten and optimized.
44631 * math/e_scalbf.c: Likewise.
44632 * math/e_scalbl.c: Likewise.
44633 * math/w_acos.c: Likewise.
44634 * math/w_acosf.c: Likewise.
44635 * math/w_acosl.c: Likewise.
44636 * math/w_acosh.c: Likewise.
44637 * math/w_acoshf.c: Likewise.
44638 * math/w_acoshl.c: Likewise.
44639 * math/w_asin.c: Likewise.
44640 * math/w_asinf.c: Likewise.
44641 * math/w_asinl.c: Likewise.
44642 * math/w_atan2.c: Likewise.
44643 * math/w_atan2f.c: Likewise.
44644 * math/w_atan2l.c: Likewise.
44645 * math/w_atanh.c: Likewise.
44646 * math/w_atanhf.c: Likewise.
44647 * math/w_atanhl.c: Likewise.
44648 * math/w_exp10.c: Likewise.
44649 * math/w_exp10f.c: Likewise.
44650 * math/w_exp10l.c: Likewise.
44651 * math/w_fmod.c: Likewise.
44652 * math/w_fmodf.c: Likewise.
44653 * math/w_fmodl.c: Likewise.
44654 * math/w_j0.c: Likewise.
44655 * math/w_j0f.c: Likewise.
44656 * math/w_j0l.c: Likewise.
44657 * math/w_j1.c: Likewise.
44658 * math/w_j1f.c: Likewise.
44659 * math/w_j1l.c: Likewise.
44660 * math/w_jn.c: Likewise.
44661 * math/w_jnf.c: Likewise.
44662 * math/w_log.c: Likewise.
44663 * math/w_logf.c: Likewise.
44664 * math/w_logl.c: Likewise.
44665 * math/w_log10.c: Likewise.
44666 * math/w_log10f.c: Likewise.
44667 * math/w_log10l.c: Likewise.
44668 * math/w_log2.c: Likewise.
44669 * math/w_log2f.c: Likewise.
44670 * math/w_log2l.c: Likewise.
44671 * math/w_pow.c: Likewise.
44672 * math/w_powf.c: Likewise.
44673 * math/w_powl.c: Likewise.
44674 * math/w_remainder.c: Likewise.
44675 * math/w_remainderf.c: Likewise.
44676 * math/w_remainderl.c: Likewise.
44677 * math/w_scalb.c: Likewise.
44678 * math/w_scalbf.c: Likewise.
44679 * math/w_scalbl.c: Likewise.
44680 * math/w_sqrt.c: Likewise.
44681 * math/w_sqrtf.c: Likewise.
44682 * math/w_sqrtl.c: Likewise.
44683 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44684 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44686 * math/math_private.h: Declare __kernel_standard_f.
44687 * math/w_cosh.c: Remove cruft and optimize a bit.
44688 * math/w_coshf.c: Likewise.
44689 * math/w_coshl.c: Likewise.
44690 * math/w_exp2.c: Likewise.
44691 * math/w_exp2f.c: Likewise.
44692 * math/w_exp2l.c: Likewise.
44693 * math/w_hypot.c: Likewise.
44694 * math/w_hypotf.c: Likewise.
44695 * math/w_hypotl.c: Likewise.
44696 * math/w_lgamma.c: Likewise.
44697 * math/w_lgamma_r.c: Likewise.
44698 * math/w_lgammaf.c: Likewise.
44699 * math/w_lgammaf_r.c: Likewise.
44700 * math/w_lgammal.c: Likewise.
44701 * math/w_lgammal_r.c: Likewise.
44702 * math/w_sinh.c: Likewise.
44703 * math/w_sinhf.c: Likewise.
44704 * math/w_sinhl.c: Likewise.
44705 * math/w_tgamma.c: Likewise.
44706 * math/w_tgammaf.c: Likewise.
44707 * math/w_tgammal.c: Likewise.
44708 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44710 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44711 Minor optimizations. Pretty printing. Remove cruft.
44712 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44713 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44715 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44716 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44717 * sysdeps/i386/fpu/e_asin.S: Likewise.
44718 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44719 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44720 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44721 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44722 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44723 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44724 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44725 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44726 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44727 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44728 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44729 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44730 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44731 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44732 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44733 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44734 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44735 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44736 * sysdeps/i386/fpu/e_log.S: Likewise.
44737 * sysdeps/i386/fpu/e_log10.S: Likewise.
44738 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44739 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44740 * sysdeps/i386/fpu/e_log2.S: Likewise.
44741 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44742 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44743 * sysdeps/i386/fpu/e_logf.S: Likewise.
44744 * sysdeps/i386/fpu/e_logl.S: Likewise.
44745 * sysdeps/i386/fpu/e_pow.S: Likewise.
44746 * sysdeps/i386/fpu/e_powf.S: Likewise.
44747 * sysdeps/i386/fpu/e_powl.S: Likewise.
44748 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44749 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44750 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44752 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44753 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44754 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44755 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44756 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44757 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44760 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44761 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44762 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44763 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44764 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44765 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44766 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44767 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44768 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44770 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44771 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44773 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44774 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44777 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44778 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44779 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44780 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44781 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44782 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44783 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44784 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44785 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44786 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44788 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44789 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44790 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44791 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44792 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44793 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44794 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44795 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44796 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44797 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44798 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44803 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44807 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44812 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44813 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44814 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44815 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44816 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44818 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44822 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44828 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44829 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44833 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44834 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44835 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44842 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44843 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44845 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44848 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44849 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44850 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44851 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44852 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44853 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44854 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44855 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44856 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44857 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44858 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44859 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44860 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44861 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44862 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44864 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44865 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44866 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44867 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44868 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44869 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44870 (__isnanf): Likewise.
44871 (__isinf_ns): Likewise.
44872 (__isinf_nsf): Likewise.
44873 (__finite): Likewise.
44874 (__finitef): Likewise.
44875 (__ieee754_sqrt): Define as macro.
44876 (__ieee754_sqrtf): Define as macro.
44877 (__ieee754_sqrtl): Define as macro.
44878 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44880 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44881 __FINITE_MATH_ONLY__ consistent.
44882 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44884 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44886 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44889 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44891 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44893 * po/ja.po: Update from translation team.
44895 2011-10-08 Roland McGrath <roland@hack.frob.com>
44897 * locale/programs/locarchive.c (prepare_address_space): New function.
44898 (create_archive, enlarge_archive, open_archive): Use it.
44900 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44901 inside [SHARED], where it is used.
44903 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44905 * nss/getent.c (netgroup_keys): Remove unused variable.
44906 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44908 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44910 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44911 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44913 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44914 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44915 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44916 * math/Makefile (libm-calls): Add s_isinf_ns.
44917 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44918 * math/multc3.c: Likewise.
44919 * math/s_casin.c: Likewise.
44920 * math/s_casinf.c: Likewise.
44921 * math/s_casinl.c: Likewise.
44922 * math/s_ccos.c: Likewise.
44923 * math/s_ccosf.c: Likewise.
44924 * math/s_ccosl.c: Likewise.
44925 * math/s_ctan.c: Likewise.
44926 * math/s_ctanf.c: Likewise.
44927 * math/s_ctanh.c: Likewise.
44928 * math/s_ctanhf.c: Likewise.
44929 * math/s_ctanhl.c: Likewise.
44930 * math/s_ctanl.c: Likewise.
44931 * math/w_fmod.c: Likewise.
44932 * math/w_fmodf.c: Likewise.
44933 * math/w_fmodl.c: Likewise.
44934 * math/w_remainder.c: Likewise.
44935 * math/w_remainderf.c: Likewise.
44936 * math/w_remainderl.c: Likewise.
44937 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44938 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44941 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44942 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44943 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44944 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44946 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44948 * stdio-common/printf_fphex.c: Likewise.
44949 * stdio-common/printf_size.c: Likewise.
44951 * math/e_exp10.c: Include math_private.h using <...> not "...".
44952 * math/e_exp10f.c: Likewise.
44953 * math/e_exp10l.c: Likewise.
44954 * math/e_exp2l.c: Likewise.
44955 * math/e_j0l.c: Likewise.
44956 * math/e_j1l.c: Likewise.
44957 * math/e_jnl.c: Likewise.
44958 * math/e_lgammal_r.c: Likewise.
44959 * math/e_rem_pio2l.c: Likewise.
44960 * math/e_scalb.c: Likewise.
44961 * math/e_scalbf.c: Likewise.
44962 * math/e_scalbl.c: Likewise.
44963 * math/k_cosl.c: Likewise.
44964 * math/k_sinl.c: Likewise.
44965 * math/k_tanl.c: Likewise.
44966 * math/s_cacoshf.c: Likewise.
44967 * math/s_catan.c: Likewise.
44968 * math/s_catanf.c: Likewise.
44969 * math/s_catanh.c: Likewise.
44970 * math/s_catanhf.c: Likewise.
44971 * math/s_catanhl.c: Likewise.
44972 * math/s_catanl.c: Likewise.
44973 * math/s_ccosh.c: Likewise.
44974 * math/s_ccoshf.c: Likewise.
44975 * math/s_ccoshl.c: Likewise.
44976 * math/s_cexp.c: Likewise.
44977 * math/s_cexpf.c: Likewise.
44978 * math/s_cexpl.c: Likewise.
44979 * math/s_clog.c: Likewise.
44980 * math/s_clog10.c: Likewise.
44981 * math/s_clog10f.c: Likewise.
44982 * math/s_clog10l.c: Likewise.
44983 * math/s_clogf.c: Likewise.
44984 * math/s_clogl.c: Likewise.
44985 * math/s_csin.c: Likewise.
44986 * math/s_csinf.c: Likewise.
44987 * math/s_csinh.c: Likewise.
44988 * math/s_csinhf.c: Likewise.
44989 * math/s_csinhl.c: Likewise.
44990 * math/s_csinl.c: Likewise.
44991 * math/s_csqrt.c: Likewise.
44992 * math/s_csqrtf.c: Likewise.
44993 * math/s_csqrtl.c: Likewise.
44994 * math/s_ctan.c: Likewise.
44995 * math/s_ctanf.c: Likewise.
44996 * math/s_ctanh.c: Likewise.
44997 * math/s_ctanhf.c: Likewise.
44998 * math/s_ctanhl.c: Likewise.
44999 * math/s_ctanl.c: Likewise.
45000 * math/s_ldexp.c: Likewise.
45001 * math/s_ldexpf.c: Likewise.
45002 * math/s_ldexpl.c: Likewise.
45003 * math/s_significand.c: Likewise.
45004 * math/s_significandf.c: Likewise.
45005 * math/s_significandl.c: Likewise.
45006 * math/w_acos.c: Likewise.
45007 * math/w_acosf.c: Likewise.
45008 * math/w_acosh.c: Likewise.
45009 * math/w_acoshf.c: Likewise.
45010 * math/w_acoshl.c: Likewise.
45011 * math/w_acosl.c: Likewise.
45012 * math/w_asin.c: Likewise.
45013 * math/w_asinf.c: Likewise.
45014 * math/w_asinl.c: Likewise.
45015 * math/w_atan2.c: Likewise.
45016 * math/w_atan2f.c: Likewise.
45017 * math/w_atan2l.c: Likewise.
45018 * math/w_atanh.c: Likewise.
45019 * math/w_atanhf.c: Likewise.
45020 * math/w_atanhl.c: Likewise.
45021 * math/w_cosh.c: Likewise.
45022 * math/w_coshf.c: Likewise.
45023 * math/w_coshl.c: Likewise.
45024 * math/w_dremf.c: Likewise.
45025 * math/w_exp10.c: Likewise.
45026 * math/w_exp10f.c: Likewise.
45027 * math/w_exp10l.c: Likewise.
45028 * math/w_exp2.c: Likewise.
45029 * math/w_exp2f.c: Likewise.
45030 * math/w_fmod.c: Likewise.
45031 * math/w_fmodf.c: Likewise.
45032 * math/w_fmodl.c: Likewise.
45033 * math/w_hypot.c: Likewise.
45034 * math/w_hypotf.c: Likewise.
45035 * math/w_hypotl.c: Likewise.
45036 * math/w_j0.c: Likewise.
45037 * math/w_j0f.c: Likewise.
45038 * math/w_j0l.c: Likewise.
45039 * math/w_j1.c: Likewise.
45040 * math/w_j1f.c: Likewise.
45041 * math/w_j1l.c: Likewise.
45042 * math/w_jn.c: Likewise.
45043 * math/w_jnf.c: Likewise.
45044 * math/w_jnl.c: Likewise.
45045 * math/w_lgamma.c: Likewise.
45046 * math/w_lgamma_r.c: Likewise.
45047 * math/w_lgammaf.c: Likewise.
45048 * math/w_lgammaf_r.c: Likewise.
45049 * math/w_lgammal.c: Likewise.
45050 * math/w_lgammal_r.c: Likewise.
45051 * math/w_log.c: Likewise.
45052 * math/w_log10.c: Likewise.
45053 * math/w_log10f.c: Likewise.
45054 * math/w_log10l.c: Likewise.
45055 * math/w_log2.c: Likewise.
45056 * math/w_log2f.c: Likewise.
45057 * math/w_log2l.c: Likewise.
45058 * math/w_logf.c: Likewise.
45059 * math/w_logl.c: Likewise.
45060 * math/w_pow.c: Likewise.
45061 * math/w_powf.c: Likewise.
45062 * math/w_powl.c: Likewise.
45063 * math/w_remainder.c: Likewise.
45064 * math/w_remainderf.c: Likewise.
45065 * math/w_remainderl.c: Likewise.
45066 * math/w_scalb.c: Likewise.
45067 * math/w_scalbf.c: Likewise.
45068 * math/w_scalbl.c: Likewise.
45069 * math/w_sinh.c: Likewise.
45070 * math/w_sinhf.c: Likewise.
45071 * math/w_sinhl.c: Likewise.
45072 * math/w_sqrt.c: Likewise.
45073 * math/w_sqrtf.c: Likewise.
45074 * math/w_sqrtl.c: Likewise.
45075 * math/w_tgamma.c: Likewise.
45076 * math/w_tgammaf.c: Likewise.
45077 * math/w_tgammal.c: Likewise.
45079 * po/ja.po: Update from translation team.
45081 2011-09-29 Andreas Jaeger <aj@suse.de>
45084 * sunrpc/netname.c (netname2host): Fix logic.
45088 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45090 * math/w_remainder.c (__remainder): Likewise.
45091 * math/w_remainderf.c (__remainderf): Likewise.
45092 * math/libm-test.inc (remainder_test): Add test cases.
45094 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45096 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45099 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45101 * string/test-memcmp.c: Avoid unncessary #defines.
45102 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45104 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45106 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45107 Use new sse2 version for core i3 - i7 as it's faster
45108 than sse42 version.
45109 (bit_Prefer_PMINUB_for_stringop): New.
45110 * sysdeps/x86_64/rawmemchr.S: Update.
45111 Replace with faster SSE2 version.
45112 * sysdeps/x86_64/memrchr.S: New file.
45113 * sysdeps/x86_64/memchr.S: Update.
45114 Replace with faster SSE2 version.
45116 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45118 * elf/dl-load.c (lose): Add cast to avoid warning.
45120 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45122 * po/ca.po: Update from translation team.
45124 * inet/getnetgrent_r.c: Hook up nscd.
45125 * nscd/Makefile (routines): Add nscd_netgroup.
45126 (nscd-modules): Add netgroupcache.
45127 (CFLAGS-netgroupcache.c): Define.
45128 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45129 (cache_search): Add const to second parameter.
45130 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45132 (dbs): Add netgrdb entry.
45133 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45134 (verify_persistent_db): Handle netgrdb.
45135 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45136 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45138 (netgroup_response_header): Define.
45139 (innetgroup_response_header): Define.
45140 (datahead): Add netgroup_response_header and innetgroup_response_header
45142 * nscd/nscd.conf: Add entries for netgroup cache.
45143 * nscd/nscd.h (dbtype): Add netgrdb.
45144 (_PATH_NSCD_NETGROUP_DB): Define.
45145 (netgroup_iov_disabled): Declare.
45146 (xmalloc, xcalloc, xrealloc): Move declarations here.
45147 (cache_search): Adjust prototype.
45148 Add netgroup-related prototypes.
45149 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45150 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45151 (__nscd_innetgr): Declare.
45152 * nscd/selinux.c (perms): Use access_vector_t as element type and
45153 add netgroup-related initializers.
45154 * nscd/netgroupcache.c: New file.
45155 * nscd/nscd_netgroup.c: New file.
45156 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45157 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45158 For four parameters use innetgr.
45159 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45160 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45161 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45162 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45164 * nscd/connections.c (register_traced_file): Don't register file
45165 for disabled databases.
45167 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45169 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45171 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45172 from tree and freeing node.
45174 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45176 * nss/nsswitch.c (__nss_database_lookup): Handle
45177 nss_parse_service_list out of memory case.
45179 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45181 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45182 out of memory case.
45184 2011-10-04 Andreas Schwab <schwab@redhat.com>
45186 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45187 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45189 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45190 elf_machine_rela, elf_machine_lazy_rel.
45191 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45192 (ELF_DYNAMIC_DO_REL): Likewise.
45193 (ELF_DYNAMIC_DO_RELA): Likewise.
45194 (ELF_DYNAMIC_RELOCATE): Likewise.
45195 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45196 to ELF_DYNAMIC_DO_REL.
45197 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45198 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45199 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45201 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45202 skip_ifunc, don't call ifunc function if non-zero.
45203 (elf_machine_rela): Likewise.
45204 (elf_machine_lazy_rel): Likewise.
45205 (elf_machine_lazy_rela): Likewise.
45206 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45207 (elf_machine_lazy_rel): Likewise.
45208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45210 (elf_machine_lazy_rel): Likewise.
45211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45213 (elf_machine_lazy_rel): Likewise.
45214 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45215 (elf_machine_lazy_rel): Likewise.
45216 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45217 (elf_machine_lazy_rel): Likewise.
45218 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45219 (elf_machine_lazy_rel): Likewise.
45220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45221 (elf_machine_lazy_rel): Likewise.
45222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45223 (elf_machine_lazy_rel): Likewise.
45224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45225 (elf_machine_lazy_rel): Likewise.
45227 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45229 * nss/nss_files/files-init.c (_nss_files_init): Use static
45230 initialization for all the *_traced_file variables.
45232 2011-09-28 Andreas Schwab <schwab@redhat.com>
45234 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45236 2011-09-27 Roland McGrath <roland@hack.frob.com>
45239 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45241 2011-09-27 Andreas Schwab <schwab@redhat.com>
45243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45244 Reread the line before reparsing it.
45246 2011-09-26 Andreas Schwab <schwab@redhat.com>
45248 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45250 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45251 Maxim Kuvyrkov <maxim@codesourcery.com>
45252 Joseph Myers <joseph@codesourcery.com>
45254 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45255 if needed for __stack_chk_guard.
45257 2011-09-19 Roland McGrath <roland@hack.frob.com>
45259 * sysdeps/posix/spawni.c (script_execute): Always define it.
45260 It will be optimized away if unused.
45261 (maybe_script_execute): New function.
45262 (__spawni): Call it.
45264 * Makerules: Don't include tls.make.
45265 (config-tls): Always set to thread.
45266 * tls.make.c: File removed.
45268 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45270 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45271 * config.make.in (CPPFLAGS-config): New substituted variable.
45273 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45278 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45279 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45281 2011-09-15 Roland McGrath <roland@hack.frob.com>
45283 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45284 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45286 (CALL_FAIL): Likewise.
45287 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45288 (CALL_FAIL): Macro removed.
45289 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45291 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45293 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45294 for __FINITE_MATH_ONLY__ == 1.
45296 2011-09-15 Andreas Schwab <schwab@redhat.com>
45298 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45299 __ieee754_sqrt instead of sqrt.
45300 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45301 __ieee754_sqrtf instead of sqrtf.
45302 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45303 __floorf instead of floorf.
45304 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45305 __floorf, __truncf instead of floorf, truncf.
45307 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45309 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45311 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45312 __extern_always_inline.
45313 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45316 2011-09-14 Andreas Schwab <schwab@redhat.com>
45318 * elf/rtld.c (dl_main): Also relocate in dependency order when
45319 doing symbol dependency testing.
45321 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45324 Always define `refsym'.
45326 2011-09-13 Andreas Schwab <schwab@redhat.com>
45328 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45329 (__FD_ELT): Renamed from __FDELT.
45330 * misc/bits/select2.h (__FD_ELT): Likewise.
45331 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45332 __FD_MASK instead of __FDELT, __FDMASK.
45333 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45335 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45338 * elf/Makefile (gen-ldd): Fix pattern.
45340 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45341 (init_tls): Likewise.
45343 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45345 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45347 2011-09-12 Andreas Schwab <schwab@redhat.com>
45349 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45350 `struct cmsghdr *' instead of `void *'.
45351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45354 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45356 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45358 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45359 ldd_rewrite_script.
45361 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45363 * configure.in: Remove --with-tls option.
45364 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45365 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45366 out in case it is missing.
45367 * sysdeps/ia64/elf/configure.in: Likewise.
45368 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45369 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45370 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45371 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45372 * sysdeps/sh/elf/configure.in: Likewise.
45373 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45374 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45375 * sysdeps/x86_64/elf/configure.in: Likewise.
45376 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45377 * sysdeps/mach/hurd/tls.h: Likewise.
45380 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45383 * configure.in: Fix use of AC_INIT.
45385 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45387 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45389 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45391 * malloc/hooks.c: Likewise.
45394 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45395 variables statically.
45396 (narenas): Initialize.
45397 (list_lock): Initialize.
45398 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45399 initializtion of main_arena and list_lock. Small cleanups.
45400 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45401 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45402 Add initializers to main_arena and mp_.
45403 (malloc_state): Remove pagesize member. Change all users to use
45406 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45407 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45408 is always initialized.
45410 * malloc/malloc.c: Removed unused configurations and dead code.
45411 * malloc/arena.c: Likewise.
45412 * malloc/hooks.c: Likewise.
45413 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45415 * include/tls.h: Removed. USE___THREAD must always be defined.
45416 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45417 * elf/dl-libc.c: Likewise.
45418 * elf/dl-tsd.c: Likewise.
45419 * include/errno.h: Likewise.
45420 * include/netdb.h: Likewise.
45421 * include/resolv.h: Likewise.
45422 * inet/herrno-loc.c: Likewise.
45423 * inet/herrno.c: Likewise.
45424 * malloc/arena.c: Likewise.
45425 * malloc/hooks.c: Likewise.
45426 * malloc/malloc.c: Likewise.
45427 * resolv/res-state.c: Likewise.
45428 * resolv/res_libc.c: Likewise.
45429 * sysdeps/i386/dl-machine.h: Likewise.
45430 * sysdeps/ia64/dl-machine.h: Likewise.
45431 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45432 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45433 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45434 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45435 * sysdeps/sh/dl-machine.h: Likewise.
45436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45437 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45438 * sysdeps/unix/i386/sysdep.S: Likewise.
45439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45440 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45444 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45445 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45449 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45450 * sysdeps/x86_64/dl-machine.h: Likewise.
45451 * tls.make.c: Likewise.
45453 * configure.in: Remove --with-__thread option. Make tests for
45454 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45455 tls_model attribute fail if no support is available. Remove
45457 * Makeconfig: Adjust for dropped configure option. All features are
45459 * Makerules: Likewise.
45460 * Versions.def: Likewise.
45461 * argp/argp-fmtstream.c: Likewise.
45462 * argp/argp-fmtstream.h: Likewise.
45463 * argp/argp-help.c: Likewise.
45464 * assert/assert.c: Likewise.
45465 * config.h.in: Likewise.
45466 * config.make.in: Likewise.
45467 * configure: Likewise.
45468 * configure.in: Likewise.
45469 * csu/Versions: Likewise.
45470 * csu/init.c: Likewise.
45471 * elf/tst-audit2.c: Likewise.
45472 * elf/tst-tls10.c: Likewise.
45473 * elf/tst-tls10.h: Likewise.
45474 * elf/tst-tls11.c: Likewise.
45475 * elf/tst-tls12.c: Likewise.
45476 * elf/tst-tls14.c: Likewise.
45477 * elf/tst-tlsmod11.c: Likewise.
45478 * elf/tst-tlsmod12.c: Likewise.
45479 * elf/tst-tlsmod13.c: Likewise.
45480 * elf/tst-tlsmod13a.c: Likewise.
45481 * elf/tst-tlsmod14a.c: Likewise.
45482 * elf/tst-tlsmod15b.c: Likewise.
45483 * elf/tst-tlsmod16a.c: Likewise.
45484 * elf/tst-tlsmod16b.c: Likewise.
45485 * elf/tst-tlsmod7.c: Likewise.
45486 * elf/tst-tlsmod8.c: Likewise.
45487 * elf/tst-tlsmod9.c: Likewise.
45488 * gmon/gmon.c: Likewise.
45489 * grp/fgetgrent_r.c: Likewise.
45490 * grp/putgrent.c: Likewise.
45491 * hurd/fopenport.c: Likewise.
45492 * include/libc-symbols.h: Likewise.
45493 * include/tls.h: Likewise.
45494 * intl/gettextP.h: Likewise.
45495 * intl/loadinfo.h: Likewise.
45496 * locale/global-locale.c: Likewise.
45497 * locale/localeinfo.h: Likewise.
45498 * mach/devstream.c: Likewise.
45499 * malloc/arena.c: Likewise.
45500 * malloc/set-freeres.c: Likewise.
45501 * misc/err.c: Likewise.
45502 * misc/getttyent.c: Likewise.
45503 * misc/mntent_r.c: Likewise.
45504 * posix/getopt.c: Likewise.
45505 * posix/wordexp.c: Likewise.
45506 * pwd/fgetpwent_r.c: Likewise.
45507 * resolv/Versions: Likewise.
45508 * resolv/res_hconf.c: Likewise.
45509 * shadow/fgetspent_r.c: Likewise.
45510 * shadow/putspent.c: Likewise.
45511 * stdio-common/printf_fphex.c: Likewise.
45512 * stdio-common/tmpfile.c: Likewise.
45513 * stdlib/abort.c: Likewise.
45514 * stdlib/fmtmsg.c: Likewise.
45515 * sunrpc/auth_unix.c: Likewise.
45516 * sunrpc/clnt_perr.c: Likewise.
45517 * sunrpc/clnt_tcp.c: Likewise.
45518 * sunrpc/clnt_udp.c: Likewise.
45519 * sunrpc/clnt_unix.c: Likewise.
45520 * sunrpc/openchild.c: Likewise.
45521 * sunrpc/svc_simple.c: Likewise.
45522 * sunrpc/svc_tcp.c: Likewise.
45523 * sunrpc/svc_udp.c: Likewise.
45524 * sunrpc/svc_unix.c: Likewise.
45525 * sunrpc/xdr.c: Likewise.
45526 * sunrpc/xdr_array.c: Likewise.
45527 * sunrpc/xdr_rec.c: Likewise.
45528 * sunrpc/xdr_ref.c: Likewise.
45529 * sunrpc/xdr_stdio.c: Likewise.
45531 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45533 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45535 2011-07-03 Andreas Jaeger <aj@suse.de>
45537 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45538 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45539 regenerate with gen-libm-tests.pl.
45541 2010-05-12 Petr Baudis <pasky@suse.cz>
45544 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45545 around j0() zero points by switching to j1().
45546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45547 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45549 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45551 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45553 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45555 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45558 Patch in part by Pavel Roskin <proski@gnu.org>.
45561 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45563 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45564 Free memory block if necessary.
45567 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45568 be NULL. Don't lock in this case.
45570 2011-09-09 Roland McGrath <roland@hack.frob.com>
45572 * elf/elf.h (ELFOSABI_GNU): New macro.
45573 (ELFOSABI_LINUX): Define to that.
45575 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45577 * string/strncat.c (strncat): Undef the symbol in case it has been
45578 defined in bits/string.h.
45580 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45582 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45584 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45587 2011-08-17 Andreas Jaeger <aj@suse.de>
45589 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45591 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45592 Ian Lance Taylor <iant@google.com>
45594 * math/libm-test.inc (lround_test): New testcase.
45595 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45597 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45599 * Makefile: Remove support for automatic cvs check-ins.
45600 * Makerules: Likewise.
45601 * config.make.in: Likewise.
45602 * configure.in: Likewise.
45603 * intl/Makefile: Likewise.
45604 * locale/Makefile: Likewise.
45605 * po/Makefile: Likewise.
45606 * posix/Makefile: Likewise.
45607 * sysdeps/gnu/Makefile: Likewise.
45608 * sysdeps/mach/hurd/Makefile: Likewise.
45609 * sysdeps/sparc/sparc32/Makefile: Likewise.
45612 * posix/Makefile (bug-regex32-ENV): Define.
45613 Patch by John Stanley <jpsinthemix@verizon.net>.
45615 * misc/Makefile (headers): Add bits/select2.h.
45616 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45617 * misc/bits/select2.h: New file.
45618 * include/bits/select2.h: New file.
45619 * debug/Makefile (routines): Add fdelt_chk.
45620 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45621 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45623 * debug/fdelt_chk.c: New file.
45625 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45626 * wcsmbs/test-wmemcmp.c: Likewise.
45627 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45628 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45630 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45632 * string/Makefile (strop-tests): Add memcmp.
45633 * string/test-wmemcmp.c: New file.
45634 * string/test-memcmp.c: Add wmemcmp support.
45636 2011-09-08 Roland McGrath <roland@hack.frob.com>
45639 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45642 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45643 garbage value in a __mach_port_mod_refs call in the cases of the
45644 task-self and thread-self ports.
45646 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45648 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45650 2011-09-08 Andreas Schwab <schwab@redhat.com>
45652 * elf/dl-load.c (lose): Check for non-null L.
45654 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45656 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45658 * elf/dl-libc.c (dlerror_run): Pass back error code from
45662 * elf/dl-load.c (lose): Free l_origin if it is valid.
45664 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45666 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45669 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45670 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45671 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45673 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45675 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45676 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45677 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45678 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45679 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45680 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45681 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45682 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45683 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45684 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45686 2011-08-15 Alan Modra <amodra@gmail.com>
45689 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45690 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45691 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45692 ppc_mcount to static-only-routines.
45693 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45695 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45696 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45698 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45700 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45701 for finite and infinity parameters.
45703 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45706 and add nop instructions for throughput optimization.
45707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45709 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45712 aligned copy for power7 with vector-scalar instructions.
45713 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45715 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45720 2011-09-07 Andreas Schwab <schwab@redhat.com>
45723 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45726 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45728 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45729 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45730 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45731 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45734 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45736 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45737 Forgot to demangle the pointer.
45739 * sysdeps/i386/sysdep.h: Define atom_text_section.
45740 * sysdeps/x86_64/sysdep.h: Likewise.
45741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45742 section with atom_text_section.
45743 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45744 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45745 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45746 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45747 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45749 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45750 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45751 already be defined. Change to take two parameters and don't assign
45752 result to variable. Adjust all users.
45753 Define INTERNAL_GETTIME if not already defined.
45754 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45757 HAVE_CLOCK_GETTIME_VSYSCALL.
45758 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45761 gettimeofday vsyscall, just use time.
45763 2011-09-06 Andreas Schwab <schwab@redhat.com>
45765 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45768 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45770 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45774 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45775 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45776 syscall if possible.
45778 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45780 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45781 e_ident. Don't pass to find_mapsXX.
45782 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45784 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45787 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45788 * sysdeps/x86_64/multiarch/strchr.S: Update.
45789 Check bit_slow_BSF bit.
45790 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45791 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45792 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45794 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45797 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45799 (tryshell): Define.
45800 (__spawni): Change last parameter to be flag. Test
45801 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45802 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45803 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45804 * posix/spawni.c: Likewise.
45805 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45806 * posix/spawnp.c: Likewise. Change normal version to use
45807 SPAWN_XFLAGS_USE_PATH.
45808 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45809 SPAWN_XFLAGS_TRY_SHELL.
45812 * posix/glob.h: Remove gcc 1.x support.
45815 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45817 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45820 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45822 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45823 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45824 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45825 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45826 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45829 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45831 * sysdeps/x86_64/wcscmp.S: New file.
45833 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45834 wcscmp-c wcscmp-sse2
45835 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45836 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45837 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45838 * wcsmbs/wcscmp.c: Allow renaming.
45840 2011-09-05 David S. Miller <davem@davemloft.net>
45842 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45843 stack slot, rather than the struct return pointer slot.
45844 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45845 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45847 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45849 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45851 * po/ja.po: Update from translation team.
45854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45855 kernel in 64-bit binaries.
45857 2011-09-01 David S. Miller <davem@davemloft.net>
45859 * elf/elf.h (HWCAP_SPARC_*): Move to..
45860 * sysdeps/sparc/sysdep.h: this new file and add new values.
45861 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45862 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45863 _DL_HWCAP_COUNT to 24.
45864 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45866 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45867 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45868 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45870 instead of magic constants.
45871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45873 2011-08-31 David S. Miller <davem@davemloft.net>
45875 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45877 Reimplement to do errno handling inline.
45878 (SYSCALL_ERROR_HANDLER): New macro.
45879 (__SYSCALL_STRING): Do not do errno handling in asm.
45880 (__CLONE_SYSCALL_STRING): Delete.
45881 (__INTERNAL_SYSCALL_STRING): Delete.
45882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45883 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45884 (PSEUDO): Reimplement to do errno handling inline.
45885 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45886 (SYSCALL_ERROR_HANDLER): New macro.
45887 (__SYSCALL_STRING): Do not do errno handling in asm.
45888 (__CLONE_SYSCALL_STRING): Delete.
45889 (__INTERNAL_SYSCALL_STRING): Delete.
45890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45891 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45893 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45894 (inline_syscall*): Add 'err' argument.
45895 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45896 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45897 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45898 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45900 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45901 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45903 2011-08-30 Andreas Schwab <schwab@redhat.com>
45905 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45907 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45909 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45912 2011-08-24 David S. Miller <davem@davemloft.net>
45914 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45916 2011-08-24 Andreas Schwab <schwab@redhat.com>
45918 * elf/Makefile: Add rules to build and run unload8 test.
45919 * elf/unload8.c: New file.
45920 * elf/unload8mod1.c: New file.
45921 * elf/unload8mod1x.c: New file.
45922 * elf/unload8mod2.c: New file.
45923 * elf/unload8mod3.c: New file.
45925 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45928 2011-08-23 David S. Miller <davem@davemloft.net>
45930 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45931 subtract stack bias.
45932 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45933 %sp not %fp in calculations.
45934 (_JMPBUF_UNWINDS_ADJ): Likewise.
45936 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45937 (aio_suspend): Call it to force an exception region around the
45938 AIO_MISC_WAIT() invocation.
45940 2011-08-23 Andreas Schwab <schwab@redhat.com>
45942 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45945 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45947 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45949 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45950 and <dl-machine.h>.
45951 (Elf64_FuncDesc): Remove.
45953 2011-08-22 David S. Miller <davem@davemloft.net>
45955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45956 sigaltstack check, add missing cfi directives.
45957 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45958 missing cfi directives, and sigaltstack handling.
45960 2011-08-16 Andreas Schwab <schwab@redhat.com>
45963 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45964 object is seen twice.
45965 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45967 * elf/Makefile (distribute): Add tst-initorder2.c.
45968 (tests): Add tst-initorder2.
45969 (modules-names): Add tst-initorder2a tst-initorder2b
45970 tst-initorder2c tst-initorder2d. Add rules to build them.
45971 ($(objpfx)tst-initorder2.out): New rule.
45972 * elf/tst-initorder2.c: New file.
45973 * elf/tst-initorder2.exp: New file.
45975 2011-08-22 Andreas Schwab <schwab@redhat.com>
45977 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45979 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45980 dependencies back to end of function.
45982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45983 $(elfobjdir)/ld.so.
45985 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45988 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45990 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45991 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45992 of __vdso_gettimeofday.
45993 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45994 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45996 (_libc_vdso_platform_setup): Remove initialization of
45997 __vdso_gettimeofday and __vdso_time.
45999 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46001 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46002 and fgetc_unlocked.
46003 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46006 * elf/dl-open.c (add_to_global): Report additions to the global scope
46007 for LD_DEBUG=scopes.
46008 (dl_open_worker): Also print scope of newly loaded dependencies.
46009 (_dl_show_scope): Indicate if there is no scope.
46012 * stdio-common/Makefile (tests): Add bug24.
46013 * stdio-common/bug24.c: New file.
46015 2011-08-19 Andreas Jaeger <aj@suse.de>
46018 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46019 non-existant file when using close-on-exec mode.
46021 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46024 the very first instruction.
46026 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46027 the CFI state in the end.
46028 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46029 inclusion of dl-trampoline.h.
46030 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46032 2011-08-19 Andreas Schwab <schwab@redhat.com>
46034 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46035 expectations for long double.
46037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46038 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46040 2011-08-14 David S. Miller <davem@davemloft.net>
46042 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46043 artificual limit depends upon the system page size.
46045 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46047 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46048 * resolv/Makefile: Define CFLAGS-libresolv.
46050 2011-08-17 Andreas Schwab <schwab@redhat.com>
46052 * nss/makedb.c (compute_tables): Make variables used in nested
46055 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46057 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46058 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46059 if buffer was too small.
46061 * elf/pldd.c (main): Attach to all threads in the process.
46062 Rewrite /proc handling to use *at functions.
46064 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46066 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46067 specifies first scope to show.
46068 (dl_open_worker): Update callers. Move printing scope of new
46069 object to before the relocation.
46070 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46071 * sysdeps/generic/ldsodefs.h: Update declaration.
46073 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46074 string for the scope number.
46076 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46078 * nscd/servicescache.c (cache_addserv): Make sure written is always
46081 2011-08-14 Roland McGrath <roland@hack.frob.com>
46083 * sysdeps/i386/i486/bits/atomic.h
46084 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46085 statement expression, so as to suppress "set but not used" warning.
46086 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46088 * string/strncat.c (STRNCAT): Use prototype definition.
46090 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46091 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46093 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46094 (localedef-modules): Add localedef.
46095 (locale-modules): Add locale.
46097 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46098 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46099 to avoid a warning.
46101 2011-08-14 David S. Miller <davem@davemloft.net>
46103 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46104 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46106 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46108 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46109 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46110 * elf/rtld.c (dl_main): Set l_name of vDSO.
46111 Call _dl_show_scope when DL_DEBUG_SCOPES.
46112 (process_dl_debug): Recognize scopes flag and also set it for all.
46113 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46114 Declare _dl_show_scope.
46116 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46117 (do_dlopen): Pass caller_dlopen to dl_open.
46118 (__libc_dlopen_mode): Initialize caller_dlopen.
46120 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46121 of libc. Make tolower call locale-independent. Optimize a bit by
46122 using isdigit instead of isalnum.
46123 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46125 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46127 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46128 was a dependency or dynamically loaded.
46130 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46132 * intl/l10nflist.c: Allow architecture-specific pop function.
46133 * sysdeps/x86_64/l10nflist.c: New file.
46135 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46138 2011-08-10 Andreas Schwab <schwab@redhat.com>
46140 * include/dirent.h: Add libc_hidden_proto for scandirat and
46141 scandirat64. Don't declare __scandirat64.
46142 * dirent/scandirat.c: Add libc_hidden_def.
46143 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46144 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46146 2011-08-10 David S. Miller <davem@davemloft.net>
46148 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46151 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46152 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46154 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46156 * Versions.def [libc]: Add GLIBC_2.15.
46157 * dirent/Makefile (routines): Add scandirat and scandirat64.
46158 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46160 * dirent/dirent.h: Declare scandirat and scandirat64.
46161 * dirent/scandirat.c: New file.
46162 * dirent/scandirat64.c: New file.
46163 * sysdeps/wordsize-64/scandirat.c: New file.
46164 * sysdeps/wordsize-64/scandirat64.c: New file.
46165 * dirent/opendir.c: Define opendirat.
46166 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46168 * dirent/scandir64.c: Adjust for scandir.c change.
46169 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46170 __scandirat64, and __scandir_cancel_handler.
46171 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46172 additional parameter and use openat instead of open (outside of ld.so).
46173 Add new __opendir as wrapper around __opendirat.
46174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46175 here without requiring old scandirat implementation.
46177 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46179 * dirent/scandir.c (cancel_handler): Renamed to
46180 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46181 defined. Adjust users.
46182 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46183 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46185 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46187 * string/test-string.h (IMPL): Use __STRING to expand name and then
46190 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46193 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46195 * string/Makefile: Update.
46196 (strop-tests): Append strncat.
46197 * string/test-wcscmp.c: New file.
46198 New comprehensive test for wcscmp.
46199 * string/test-strcmp.c: Update.
46200 (WIDE): New define.
46202 2011-07-22 Andreas Schwab <schwab@redhat.com>
46204 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46207 2011-07-26 Andreas Schwab <schwab@redhat.com>
46209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46210 encoding to ACE if AI_IDN.
46212 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46215 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46217 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46219 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46220 Fix overflow bug in strncat.
46221 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46223 * string/test-strncat.c: Update.
46224 Add new tests for checking overflow bugs.
46226 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46229 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46230 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46231 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46232 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46233 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46234 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46235 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46236 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46238 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46239 (USE_AS_STRCAT): Define.
46240 Add strcat and strncat support.
46241 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46243 2011-07-25 Andreas Schwab <schwab@redhat.com>
46245 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46246 __n bigger than INT_MAX+1.
46247 (__strncmp_g): Likewise.
46249 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46251 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46252 * libio/stido.h: Likewise.
46254 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46259 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46262 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46266 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46269 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46271 (_dl_x86_64_save_sse): Likewise.
46273 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46277 (_dl_x86_64_save_sse): Likewise.
46279 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46281 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46283 2011-07-21 Andreas Schwab <schwab@redhat.com>
46285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46287 (_dl_x86_64_save_sse): Use correct AVX check.
46289 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46292 bug in strncpy/strncat.
46293 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46295 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46297 * string/tester.c (test_strcat): Add tests for different alignments
46298 of source and destination.
46299 (test_strncat): Likewise.
46301 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46304 * posix/glob.c (glob): Check passed in values before using them in
46305 expressions to avoid some overflows.
46306 (glob_in_dir): Likewise.
46309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46310 check for AVX enablement so that we don't crash with old kernels and
46312 * elf/tst-audit4.c: Add same checks here.
46313 * elf/tst-audit6.c: Likewise.
46315 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46317 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46319 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46321 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46323 * po/cs.po: Update from translation team.
46324 * po/bg.po: Likewise.
46326 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46328 * misc/sys/cdefs.h: Add support for const attribute.
46329 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46330 to gnu_dev_{major,minor,makedev} functions.
46332 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46334 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46336 2011-07-20 Andreas Schwab <schwab@redhat.com>
46338 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46341 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46344 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46345 register in order to avoid conflicts with the soft frame pointer
46346 being held in r11 when necessary.
46347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46348 (INTERNAL_VSYSCALL_NCS): Likewise.
46350 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46352 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46353 * elf/dl-fini.c (_dl_fini): Adjust caller.
46354 * elf/dl-close.c (_dl_close_worker): Likewise.
46355 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46357 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46359 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46360 "aux_cache->nlibs < 0".
46362 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46363 in the reload-count case.
46365 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46368 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46369 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46370 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46371 * sysdeps/x86_64/multiarch/strcat.S: New file.
46372 * sysdeps/x86_64/multiarch/strncat.S: New file.
46373 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46374 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46375 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46376 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46377 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46378 (USE_AS_STRCAT): Define.
46379 Add strcat and strncat support.
46380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46381 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46382 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46383 * string/strncat.c: Update.
46384 (USE_AS_STRNCAT): Define.
46385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46386 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46388 * sysdeps/x86_64/multiarch/init-arch.h
46389 (bit_Prefer_PMINUB_for_stringop): New.
46390 (index_Prefer_PMINUB_for_stringop): Likewise.
46391 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46392 bit_Prefer_PMINUB_for_stringop.
46394 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46396 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46398 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46399 of casting of buffer.
46400 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46401 buffer32 and buffer64.
46402 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46403 writes instead of casting of buffer.
46404 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46406 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46409 2011-07-19 Andreas Schwab <schwab@redhat.com>
46411 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46413 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46415 * nscd/nscd.c (termination_handler): Don't do anything for a database
46416 if it has not yet been initialized.
46418 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46420 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46422 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46424 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46426 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46428 * po/nl.po: Update from translation team.
46429 * po/sv.po: Likewise.
46431 2011-07-16 Roland McGrath <roland@hack.frob.com>
46433 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46434 now disallowed by GCC.
46436 * configure.in (use-default-link): Default to yes if a test -shared
46437 link meets our qualifications.
46438 * configure: Regenerated.
46440 * config.make.in (output-format): New variable.
46441 * configure.in: Check for ld --print-output-format support.
46442 * configure: Regenerated.
46443 * Makerules ($(common-objpfx)format.lds)
46444 [$(output-format) != unknown]: Just use $(output-format),
46445 instead of the linker-script munging.
46447 2011-07-14 Roland McGrath <roland@hack.frob.com>
46449 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46450 of $(common-objpfx)shlib.lds.
46451 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46453 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46454 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46456 * configure.in (-z relro check): Adjust test code to add a large
46457 writable data section after it.
46458 * configure: Regenerated.
46460 2011-07-11 Roland McGrath <roland@hack.frob.com>
46462 * configure.in (-z relro check): Fix test code to make the variable
46464 * configure: Regenerated.
46466 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46468 * nscd/nscd.h (struct traced_file): Define.
46469 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46470 elements. Add traced_files.
46471 (inotify_fd): Declare.
46472 (register_traced_file): Declare.
46473 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46474 (inotify_fd): Export.
46475 (resolv_conf_descr): Remove.
46476 (nscd_init): Move inotify descriptor creation to main.
46477 Don't register files for notification here.
46478 (register_traced_file): New function.
46479 (invalidate_cache): Don't use reset_res to determine whether to call
46480 res_init, go through the list of registered files.
46481 (main_loop_poll): The inotify descriptors are now stored in the
46482 structures for the traced files.
46483 (main_loop_epoll): Likewise
46484 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46485 to __nss_disable_nscd.
46486 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46487 for a database anymore. Check the records for all the registered
46489 * nss/Makefile (libnss_files-routines): Add files-init.
46490 (libnss_db-routines): Add db-init.
46491 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46492 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46493 * nss/nss_db/db-init.c: New file.
46494 * nss/nss_files/files-init.c: New file.
46495 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46496 __nss_lookup_function.
46497 (__nss_lookup_function): Call nss_load_library.
46498 (nss_load_all_libraries): New function.
46499 (__nss_disable_nscd): Take parameter with callback function for files
46500 to register. Set is_nscd. Load all the DSOs for the NSS modules
46501 used for the cached services.
46502 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46503 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46504 options for features to all the files in nscd.
46506 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46508 2011-07-10 Roland McGrath <roland@hack.frob.com>
46510 * csu/elf-init.c (__libc_csu_init): Comment typo.
46512 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46514 * po/pl.po: Update from translation team.
46515 * po/ja.po: Likewise.
46516 * po/ru.po: Likewise.
46517 * po/ko.po: Likewise.
46518 * po/fr.po: Likewise.
46520 2011-07-09 Roland McGrath <roland@hack.frob.com>
46522 * configure.in (.ctors/.dtors header and trailer check):
46523 Use an empirical test on a built program.
46524 * configure: Regenerated.
46526 * configure.in (-z relro check): Use an empirical test on a built DSO.
46527 Detect, but do not require, on ia64.
46528 * configure: Regenerated.
46530 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46531 Update tests that use readelf to use $READELF instead.
46532 * configure: Regenerated.
46534 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46536 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46537 if the result is not used.
46539 2011-07-05 Andreas Jaeger <aj@suse.de>
46542 * stdlib/tst-strtod.c: Add testcase.
46544 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46546 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46547 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46548 The latter has a higher limit. Take additional parameter to pass to
46550 (__pathconf): Pass file to __statfs_link_max.
46551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46553 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46557 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46560 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46561 (__statfs_filesize_max): Likewise.
46562 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46564 2011-07-05 Andreas Jaeger <aj@suse.de>
46566 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46568 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46570 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46572 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46575 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46577 * Makefile (strop-tests): Add strncat.
46578 * string/test-strncat.c: New file.
46580 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46582 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46584 2011-06-21 Andreas Jaeger <aj@suse.de>
46586 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46587 Copy rule from iconvdata/Makefile.
46589 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46592 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46593 but no long options are defined, just return 'W'.
46595 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46598 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46600 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46602 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46604 (innetgr): Likewise.
46606 2011-07-05 Roland McGrath <roland@hack.frob.com>
46608 * config.make.in (install_root): Default to $(DESTDIR).
46610 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46612 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46614 2011-07-02 Roland McGrath <roland@hack.frob.com>
46616 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46618 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46619 containing directory rather than embedding absolute directory names.
46621 * scripts/check-local-headers.sh: Rewritten using awk.
46622 Match by word, not by line. Print error messages for matches.
46623 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46625 * Makerules [shlib-lds-flags empty]:
46626 ($(common-objpfx)libc_pic.opts): New target.
46627 ($(common-objpfx)libc_pic.os.clean): New target.
46628 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46630 * config.make.in (OBJCOPY): New variable.
46631 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46632 * configure: Regenerated.
46634 * config.make.in (use-default-link): New variable.
46635 * configure.in (use_default_link): Grok --with-default-link to set it.
46636 * configure: Regenerated.
46637 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46638 (shlib-lds, shlib-lds-flags): Define to empty.
46640 * Makerules (shlib-lds): New variable.
46641 (shlib-lds-flags): New variable.
46642 (build-shlib, build-moduile, build-module-asneeded): Use it.
46643 ($(common-objpfx)libc.so): Use $(shlib-lds).
46644 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46645 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46647 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46648 DT_FLAGS/DT_FLAGS_1 with zero flags.
46650 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46651 linker script munging.
46653 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46655 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46657 * crypt/sha512.c (sha512_process_block): Perform total addition using
46658 128-bit if possible.
46659 (__sha512_finish_ctx): Likewise.
46660 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46662 * crypt/sha256.c (SWAP64): Define.
46663 (sha256_process_block): Perform total addition using 64-bit if
46665 (__sha256_finish_ctx): Likewise.
46667 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46669 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46671 * nscd/hstcache.c (cache_addhst): Likewise.
46672 * nscd/grpcache.c (cache_addgr): Likewise.
46673 * nscd/aicache.c (addhstaiX): Likewise
46674 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46676 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46678 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46680 * nscd/hstcache.c (cache_addhst): Likewise.
46681 * nscd/grpcache.c (cache_addgr): Likewise.
46682 * nscd/aicache.c (addhstaiX): Likewise
46684 2011-07-01 Andreas Schwab <schwab@redhat.com>
46686 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46687 domain only when needed.
46689 2011-06-30 Andreas Schwab <schwab@redhat.com>
46691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46692 is always restored.
46694 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46696 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46697 are re-adding the entry.
46698 * nscd/servicescache.c (cache_addserv): Likewise.
46700 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46702 * sysdeps/generic/dl-irel.h: fix protection against multiple
46704 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46706 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46709 * malloc/memusage.sh: Fix quoting in message.
46710 * debug/xtrace.sh: Likewise.
46712 * configure.in: Remove support for --experimental-malloc option, make
46714 * config.make.in: Likewise.
46715 * malloc/Makefile: Likewise.
46717 2011-06-27 Andreas Schwab <schwab@redhat.com>
46719 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46720 two-byte characters.
46722 2011-06-27 Roland McGrath <roland@hack.frob.com>
46724 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46725 AC_CACHE_CHECK invocation.
46726 * configure: Regenerated.
46728 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46730 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46733 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46734 bit from old_res_options.
46736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46738 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46739 value type for setfct.
46741 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46744 __gettimeofday instead of gettimeofday.
46746 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46748 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46750 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46757 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46760 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46761 strcpy-sse2-unaligned strncpy-sse2-unaligned
46762 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46763 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46764 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46765 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46766 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46767 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46769 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46770 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46771 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46772 (STRCPY): Support SSE2 and SSSE3 versions.
46774 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46777 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46778 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46779 kernels which artificially limit size of requests.
46781 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46784 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46785 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46786 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46787 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46788 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46789 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46790 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46793 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46794 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46795 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46796 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46797 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46799 Enable unaligned load optimization for Intel Core i3, i5 and i7
46801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46803 (index_Fast_Unaligned_Load): Define.
46804 (HAS_FAST_UNALIGNED_LOAD): Define.
46806 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46808 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46810 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46814 until it is clear that the information is realy needed.
46815 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46817 2011-06-22 Andreas Schwab <schwab@redhat.com>
46819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46821 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46824 /sys/devices/system/cpu/online if it is usable.
46826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46827 reading the information from the /proc filesystem to once a second.
46829 2011-06-21 Andreas Jaeger <aj@suse.de>
46831 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46832 NULL after inclusion of kernel headers.
46834 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46836 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46837 calls to internal_setent.
46840 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46841 addresses using gethostbyname4_r ignore IPv4 addresses.
46843 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46844 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46846 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46848 2011-06-20 David S. Miller <davem@davemloft.net>
46850 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46852 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46854 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46855 (elf_irel): Use it.
46856 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46857 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46858 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46859 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46860 * sysdeps/x86_64/dl-irel.h: Likewise.
46862 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46863 * elf/dl-sym.c: Likewise.
46865 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46867 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46868 need to dereference resplen2.
46870 2011-06-14 Andreas Schwab <schwab@redhat.com>
46872 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46874 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46876 * Makeconfig: Define vardbdir and inst_vardbdir.
46877 * nss/Makefile: Add rules to install db-Makefile.
46879 * nss/nss_db/db-XXX.c: Cleanup.
46881 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46882 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46884 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46885 * nss/makedb.c: Implement -g option to specify that value strings
46886 are generated and should not be added to table iterated over for
46888 * nss/nss_db/db-initgroups.c: New file.
46890 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46893 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46894 (internal_getgrouplist): Adjust to name change.
46895 Update use_initgroups_entry if this is not the first call.
46896 * nss/databases.def: Add initgroups entry.
46898 * nss/makedb.c (compute_tables): Check result of multiple hash table
46899 sizes to minimize maximum chain length.
46901 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46903 * Versions.def: Add entry for libnss_db.
46904 * shlib-versions: Likewise.
46905 * nss/Makefile: Add rules to build libnss_db.
46906 * nss/Versions: Add libnss_db information. Organize libnss_files
46908 * nss/db-Makefile: Add gshadow support. Change rules for the new
46909 makedb progra. Some minor improvements to generate smaller files.
46910 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46912 * nss/makedb.c: ...here.
46913 Improve database format to be smaller and require less memory at
46915 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46917 * nss/nss_db/db-netgrp.c: Likewise.
46918 * nss/nss_db/db-open.c: Likewise.
46919 * nss/nss_files/flies-XXX.x: Adjust comments.
46920 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46921 * nss/nss_files/files-grp.c: Likewise.
46922 * nss/nss_files/files-hosts.c: Likewise.
46923 * nss/nss_files/files-network.c: Likewise.
46924 * nss/nss_files/files-proto.c: Likewise.
46925 * nss/nss_files/files-pwd.c: Likewise.
46926 * nss/nss_files/files-rpc.c: Likewise.
46927 * nss/nss_files/files-service.c: Likewise.
46928 * nss/nss_files/files-sgrp.c: Likewise.
46929 * nss/nss_files/files-spwd.c: Likewise.
46930 * nss/nss_db/db-alias.c: Removed.
46931 * nss/nss_db/dummy-db.h: Removed.
46933 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46935 * nss/makedb.c: Rewritten to not use database library.
46936 * nss/Makefile: Update to build new makedb program.
46938 2011-06-14 Andreas Jaeger <aj@suse.de>
46940 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46941 memset declaration.
46943 2011-06-10 Andreas Schwab <schwab@redhat.com>
46945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46948 2011-06-10 Roland McGrath <roland@hack.frob.com>
46950 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46951 * elf/Makefile ($(objpfx)ld.so): Likewise.
46953 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46954 Don't list ld.so twice in dependencies.
46956 * posix/bug-regex31.c: Include <stdlib.h>.
46958 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46960 * nis/nss_compat/compat-spwd.c
46961 (getspent_next_nss_netgr): Remove unused variable.
46962 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46964 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46965 nonmembers" output to use the right array.
46967 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46969 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46971 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46972 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46973 * catgets/gencat.c (read_input_file): Likewise.
46974 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46976 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46977 variable definition inside #if's controlling its use.
46979 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46981 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46983 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46985 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46988 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46990 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46991 * configure: Regenerated.
46993 * Makerules: Revert last change.
46994 * elf/Makefile: Likewise.
46996 2011-06-09 Roland McGrath <roland@hack.frob.com>
46998 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46999 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47000 (reloc-link): Likewise.
47002 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47004 * elf/Makefile: Add rules to build pldd.
47005 * elf/pldd.c: New file.
47006 * elf/pldd-xx.c: New file.
47008 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47010 * version.h: Update for 2.15 development version.
47012 2011-06-07 David S. Miller <davem@davemloft.net>
47014 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47017 elf_machine_lazy_rel): Likewise.
47018 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47020 elf_machine_lazy_rel): Likewise.
47021 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47022 dl_hwcap via passed in argument.
47023 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47026 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47028 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47030 2011-06-06 Roland McGrath <roland@hack.frob.com>
47033 * manual/fdl-1.1.texi: New file, verbatim from:
47034 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47035 * manual/lgpl-2.1.texi: New file, verbatim from:
47036 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47037 * manual/Makefile (licenses): New variable, list those new file names.
47039 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47041 * manual/fdl.texi: File removed.
47042 * manual/lesser.texi: File removed.
47043 * manual/libc.texinfo (Copying, Documentation License):
47044 Use new @include file names, put @appendix directive before @include.
47046 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47049 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47050 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47051 (mq_open): Add __NTH.
47053 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47056 Assume Intel Core i3/i5/i7 processor if AVX is available.
47058 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47063 2011-05-31 Andreas Schwab <schwab@redhat.com>
47065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47066 memory. Use alloca_account. Fix memory leak when retrying.
47068 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47070 * version.h (RELEASE): Bump for 2.14 release.
47071 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47073 * config.make.in (RANLIB): Remove entry.
47075 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47077 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47078 (libc.pot): Work around missing support for .ksh extension in xgettext.
47081 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47082 if both request failed.
47083 (send_dg): In case of server errors clear resplen or *resplen2.
47086 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47087 when there are multiple maps.
47088 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47089 (_dl_fini): Remove test here.
47091 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47093 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47096 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47097 bit from old_res_options.
47098 (gaih_inet): Likewise.
47101 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47104 * resolv/res_init.c (res_setoptions): Make the code more compact.
47107 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47111 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47113 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47116 * malloc/malloc.h: Declare malloc hook variables as volatile.
47118 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47122 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47123 raise in the comment.
47124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47126 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47128 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47131 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47132 grow the buffers more if it already has to be sufficient.
47133 (build_wcs_upper_buffer): Likewise.
47134 * posix/regexec.c (check_matching): Likewise.
47135 (clean_state_log_if_needed): Likewise.
47136 (extend_buffers): Don't enlarge buffers beyond size of the input
47138 Patches mostly by Emil Wojak <emil@wojak.eu>.
47139 * posix/bug-regex32.c: New file.
47140 * posix/Makefile (tests): Add bug-regex32.
47142 * locale/findlocale.c (_nl_find_locale): Return right away if
47143 _nl_explode_name failed.
47144 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47146 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47148 * debug/xtrace.sh: Unify messages.
47149 * malloc/memusage.sh: Likewise.
47152 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47153 time symbol from vDSO. Substitute with vsyscall if not available.
47154 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47157 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47158 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47159 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47160 Add sendmmsg and internal_sendmmsg.
47161 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47162 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47163 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47165 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47166 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47167 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47169 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47172 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47173 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47179 * iconvdata/Makefile (tests): Add bug-iconv9.
47180 * iconvdata/bug-iconv9.c: New file.
47182 2011-05-27 Andreas Schwab <schwab@redhat.com>
47185 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47187 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47190 (struct user_regs_struct): Change intcs field back to cs.
47192 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47194 * po/ja.po: Update from translation team.
47196 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47199 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47200 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47202 2011-05-20 Andreas Schwab <schwab@redhat.com>
47204 * stdlib/longlong.h: Update from GCC.
47206 2011-05-23 Andreas Schwab <schwab@redhat.com>
47208 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47210 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47211 Add parameter name.
47212 (__sysconf): Pass it down.
47214 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47217 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47220 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47221 add in in __libc_use_alloca calls. Adjust callers.
47222 (glob): Use malloc in some situations.
47224 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47225 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47228 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47230 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47231 and CLOCK_BOOTTIME_ALARM.
47234 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47237 * string/_strerror.c (__strerror_r): Print negative errors as signed
47241 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47242 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47243 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47245 * configure.in: Fix typo in redirection and correct removal of test
47246 files in two cases.
47249 * locale/setlocale.c (new_composite_name): Fix test to check for
47250 identical name of all categories.
47253 * libio/filedoalloc.c (local_isatty): New function.
47254 (_IO_file_doallocate): Use local_isatty.
47255 * stdio-common/perror.c (perror): In case a new stream is used
47256 forward the stream error.
47257 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47260 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47265 * include/alloca.h (extend_alloca_account): Define.
47268 * posix/regex.h: Fix comments with documentation of user-accessible
47269 fields after compilation and describe correct free'ing of pattern
47270 after re_compile_pattern.
47271 Patch by Reuben Thomas <rrt@sc3d.org>.
47273 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47275 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47276 and -mno-altivec to prevent the compiler from using Altivec and/or
47277 VSX instructions when the corresponding registers are not available.
47279 2011-05-19 Andreas Schwab <schwab@redhat.com>
47281 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47283 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47285 * libio/freopen.c (freopen): Use __dup2, not dup2.
47286 * libio/freopen64.c (freopen64): Likewise.
47288 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47291 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47292 * math/Makefile (tests): Add test-powl.
47293 (CFLAGS-test-powl.c): Define.
47294 * math/test-powl.c: New file.
47296 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47298 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47300 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47303 * iconvdata/gb18030.c: Update to GB18020-2005.
47305 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47307 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47308 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47309 Patch by Aharon Robbins <arnold@skeeve.com>.
47312 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47316 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47317 through underflows.
47320 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47321 point to strings before performing equality test for error_one_per_line
47325 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47328 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47329 (struct user_fpregs_struct): Avoid __uint*_t types.
47332 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47333 symbol info. Use it instead of calling _dl_addr locally.
47334 (lock_and_info): New function.
47335 (tr_freehook): Call lock_and_info and pass symbol info as additional
47336 parameter to tr_where.
47337 (tr_mallochook): Likewise.
47338 (tr_reallochook): Likewise.
47339 (tr_memalignhook): Likewise.
47341 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47342 used and couldn't be at all thread-safe.
47344 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47346 * libio/freopen.c (freopen): Don't close old file descriptor
47347 before the new one is opened. Instead dup the new file descriptor
47348 to the old one after the new stream is created.
47349 * libio/freopen64.c (freopen64): Likewise.
47350 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47351 * libio/fileops.c (_IO_new_file_close_it): Handle new
47352 _IO_FLAGS2_NOCLOSE flag.
47353 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47354 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47355 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47356 _IO_FLAGS2_NOCLOSE flag.
47357 * include/unistd.h: Add hidden_proto for dup3.
47358 Define __have_dup3.
47359 * io/dup3.c: Define hidden symbol.
47360 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47363 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47364 when an incomplete long option is used.
47365 * posix/tst-getopt_long1.c: New file.
47366 * posix/Makefile (tests): Add tst-getopt_long1.
47369 * scripts/config.guess: Update from autoconf-2.68.
47370 * scripts/config.sub: Likewise.
47373 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47375 (has_cpuclock): ...this. New function.
47376 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47377 macro here based on has_cpuclock code.
47380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47381 First byte (not low byte) is now always NUL.
47382 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47385 Use non-cancelable interfaces.
47388 * locale/iso-639.def: Add entry for Sorani.
47391 * include/stdlib.h: Move include protection to the right place.
47392 Define abort_msg_s. Declare __abort_msg with it.
47393 * stdlib/abort.c (__abort_msg): Adjust type.
47394 * assert/assert.c (__assert_fail_base): New function. Majority
47395 of code from __assert_fail. Allocate memory for __abort_msg with
47397 (__assert_fail): Now call __assert_fail_base.
47398 * assert/assert-perr.c: Remove bulk of implementation. Use
47399 __assert_fail_base.
47400 * include/assert.hL Declare __assert_fail_base.
47401 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47403 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47405 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47409 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47410 until all modules are registered in the DTV.
47411 * elf/Makefile: Add rules to build and run tst-tls19.
47412 * elf/tst-tls19.c: New file.
47413 * elf/tst-tls19mod1.c: New file.
47414 * elf/tst-tls19mod2.c: New file.
47415 * elf/tst-tls19mod3.c: New file.
47416 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47419 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47423 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47424 two-byte sequence errors.
47425 * iconvdata/Makefile (tests): Add bug-iconv8.
47426 * iconvdata/bug-iconv8.c: New file.
47429 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47432 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47435 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47436 (dummy_getcfa): New function.
47437 (init): Get _Unwind_GetCFA address, use dummy if not found.
47438 (backtrace_helper): In recursion check, also check whether CFA changes.
47439 (__backtrace): Completely initialize arg.
47441 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47442 storing incomplete byte sequence in state object. Avoid testing for
47443 guaranteed too small input if we know there is enough data available.
47445 2011-05-11 Andreas Schwab <schwab@redhat.com>
47447 * Makeconfig (+link-pie): Indent.
47448 * Rules (binaries-pie): Define if $(have-fpie) and
47450 (binaries-shared): Also filter out $(binaries-pie).
47451 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47452 * nscd/Makefile (others-pie): Add nscd.
47453 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47454 ($(objpfx)nscd): Remove command override.
47455 * login/Makefile (others-pie): Add pt_chown.
47456 ($(objpfx)pt_chown): Remove command override.
47457 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47458 remove command overrides.
47460 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47462 * libio/tst_putwc.c: Fix error messages.
47465 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47466 currently writing and seek to current position when not.
47467 * libio/Makefile (tests): Add bug-fclose1.
47468 * libio/bug-fclose1.c: New file.
47470 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47473 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47474 don't set DF_1_NODELETE here.
47475 (do_lookup_x): When entering new entry test for copy relocation
47476 and if necessary set DF_1_NODELETE flag.
47477 * elf/tst-unique4.cc: New file.
47478 * elf/tst-unique4.h: New file.
47479 * elf/tst-unique4lib.cc: New file.
47480 * elf/Makefile: Add rules to build and run tst-unique4.
47481 Patch by Piotr Bury <pbury@goahead.com>.
47483 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47486 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47489 * misc/mntent_r.c (addmntent): Flush the stream after the output
47492 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47493 (is_trusted_path_normalize): Skip initial colon. Append slash
47494 to empty buffer. Duplicate is_trusted_path code but allow
47495 constructed patch to be prefix.
47496 (is_dst): Allow $ORIGIN followed by /.
47497 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47498 Correct testing of result of is_trusted_path_normalize
47499 (decompose_rpath): Fix warning.
47501 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47504 * grp/initgroups.c (internal_getgrouplist): When we found the service
47505 list through the initgroups entry in nsswitch.conf do not always
47506 continue on a successful lookup. Don't always use the
47507 __nss_group_database value if it is set.
47508 * nss/nsswitch.conf (initgroups): Change action for successful db
47509 lookup to continue for compatibility.
47511 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47514 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47516 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47518 * iconvdata/tst-tables.sh: Likewise.
47519 * iconvdata/cp770.c: New file.
47520 * iconvdata/cp771.c: New file.
47521 * iconvdata/cp772.c: New file.
47522 * iconvdata/cp773.c: New file.
47523 * iconvdata/cp774.c: New file.
47524 * iconvdata/testdata/CP770: New file.
47525 * iconvdata/testdata/CP770..UTF8: New file.
47526 * iconvdata/testdata/CP771: New file.
47527 * iconvdata/testdata/CP771..UTF8: New file.
47528 * iconvdata/testdata/CP772: New file.
47529 * iconvdata/testdata/CP772..UTF8: New file.
47530 * iconvdata/testdata/CP773: New file.
47531 * iconvdata/testdata/CP773..UTF8: New file.
47532 * iconvdata/testdata/CP774: New file.
47533 * iconvdata/testdata/CP774..UTF8: New file.
47535 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47537 * iconvdata/gen-8bit-gap.sh: Likewise.
47538 * iconvdata/gen-8bit.sh: Likewise.
47540 * locale/iso-639.def: Add ary entry.
47543 * locale/C-translit.h.in: Add U20A1 transliteration.
47546 * locale/iso-639.def: Add wae entry.
47547 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47550 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47554 * locale/C-translit.h.in: Add entry for U20B9.
47555 Patch by pravin.d.s@gmail.com.
47557 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47560 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47561 ENAMETOOLONG use generic getcwd.
47562 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47563 in rtld. Use *stat64.
47564 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47565 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47566 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47567 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47568 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47569 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47570 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47571 __fstatat64 macros.
47572 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47573 * dirent/rewinddir.c: Add libc_hidden_def.
47574 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47575 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47577 * include/dirent.h (__alloc_dir): Add flags parameter.
47578 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47579 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47581 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47582 from fdopendir if O_CLOEXEC is already set.
47584 2011-03-15 Alan Modra <amodra@gmail.com>
47586 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47587 l_tls_firstbyte_offset non-zero. Save padding offset in
47588 l_tls_firstbyte_offset for later use.
47589 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47590 freeing static tls block.
47592 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47594 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47595 where #ifdef was intended. The intent is to prevent ARG_MAX from
47596 being defined by the kernel headers.
47598 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47601 * resolv/resolv.h: Define RES_NOTLDQUERY.
47602 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47603 no-tld-query and set RES_NOTLDQUERY.
47604 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47605 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47606 modern BIND to search name as TLD unless forbidden.
47608 2011-05-07 Petr Baudis <pasky@suse.cz>
47609 Ulrich Drepper <drepper@gmail.com>
47612 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47613 (is_trusted_path): ...to here.
47614 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47615 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47616 using is_trusted_path_normalize() in setuid scripts.
47618 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47620 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47621 __BEGIN/__END_DECLS.
47623 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47626 NSS_STATUS_NOTFOUND if no record was found.
47628 2011-05-05 Andreas Schwab <schwab@redhat.com>
47630 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47631 (headers-not-in-tirpc): Remove rpc/netdb.h
47632 * resolv/netdb.h: Revert last change.
47634 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47636 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47637 circular dependency between libgcc.a and libc.a.
47639 2011-05-05 Andreas Schwab <schwab@redhat.com>
47641 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47642 * nis/Makefile: Don't install rpcsvc/*.
47643 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47644 instead of <rpc/types.h>.
47645 (MAXHOSTNAMELEN): Define.
47647 2011-05-03 Andreas Schwab <schwab@redhat.com>
47649 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47651 2011-04-28 Maciej Babinski <mbabinski@google.com>
47654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47655 gethostbyname4_r when IPv6 results are possible.
47657 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47660 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47661 _PC_PIPE_BUF handling.
47663 2011-04-30 Bruno Haible <bruno@clisp.org>
47666 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47667 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47669 * inet/getnameinfo.c (getnameinfo): Likewise.
47671 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47673 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47674 to groups setting in database lookup.
47675 * nss/nsswitch.conf: Add initgroups entry.
47677 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47680 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47682 Patch by Eric Blake <eblake@redhat.com>.
47684 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47686 * sunrpc/Makefile (need-export-routines): Add svc_run.
47687 (routines): Remove svc_run.
47688 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47689 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47690 * sunrpc/svc_run.c (svc_run): Likewise.
47691 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47693 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47696 problem in reallocation in last patch.
47698 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47700 * sunrpc/Makefile: Move inclusion of Rules.
47702 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47704 * nss/nss_files/files-initgroups.c: New file.
47705 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47706 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47707 _nss_files_initgroups_dyn.
47709 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47711 * elf/elf.h (R_ARM_IRELATIVE): Define.
47713 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47715 * po/ru.po: Update from translation team.
47717 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47719 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47722 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47725 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47726 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47728 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47729 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47731 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47733 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47735 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47739 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47742 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47744 * stdlib/bug-getcontext.c: New file.
47745 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47747 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47749 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47750 instructions into .machine "z9-109".
47751 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47752 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47754 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47756 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47757 between environment variables and auxiliary vector.
47759 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47761 * Makefile: Add rules to build linkobj/libc.so.
47762 * include/libc-symbols.h: Define libc_hidden_nolink.
47763 * include/rpc/auth.h: Mark functions which are to be hidden.
47764 * include/rpc/auth_des.h: Likewise.
47765 * include/rpc/auth_unix.h: Likewise.
47766 * include/rpc/clnt.h: Likewise.
47767 * include/rpc/des_crypt.h: Likewise.
47768 * include/rpc/key_prot.h: Likewise.
47769 * include/rpc/pmap_clnt.h: Likewise.
47770 * include/rpc/pmap_prot.h: Likewise.
47771 * include/rpc/pmap_rmt.h: Likewise.
47772 * include/rpc/rpc_msg.h: Likewise.
47773 * include/rpc/svc.h: Likewise.
47774 * include/rpc/svc_auth.h: Likewise.
47775 * include/rpc/xdr.h: Likewise.
47776 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47777 * nss/Makefile: Likewise.
47778 * sunrpc/Makefile: Don't install headers. Build library with normal
47779 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47780 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47781 for the compat linking library. Remove use of INTDEF/INTUSE.
47782 * sunrpc/auth_none.c: Likewise.
47783 * sunrpc/auth_unix.c: Likewise.
47784 * sunrpc/authdes_prot.c: Likewise.
47785 * sunrpc/authuxprot.c: Likewise.
47786 * sunrpc/clnt_gen.c: Likewise.
47787 * sunrpc/clnt_perr.c: Likewise.
47788 * sunrpc/clnt_raw.c: Likewise.
47789 * sunrpc/clnt_simp.c: Likewise.
47790 * sunrpc/clnt_tcp.c: Likewise.
47791 * sunrpc/clnt_udp.c: Likewise.
47792 * sunrpc/clnt_unix.c: Likewise.
47793 * sunrpc/des_crypt.c: Likewise.
47794 * sunrpc/des_soft.c: Likewise.
47795 * sunrpc/get_myaddr.c: Likewise.
47796 * sunrpc/key_call.c: Likewise.
47797 * sunrpc/key_prot.c: Likewise.
47798 * sunrpc/netname.c: Likewise.
47799 * sunrpc/pm_getmaps.c: Likewise.
47800 * sunrpc/pm_getport.c: Likewise.
47801 * sunrpc/pmap_clnt.c: Likewise.
47802 * sunrpc/pmap_prot.c: Likewise.
47803 * sunrpc/pmap_prot2.c: Likewise.
47804 * sunrpc/pmap_rmt.c: Likewise.
47805 * sunrpc/publickey.c: Likewise.
47806 * sunrpc/rpc_cmsg.c: Likewise.
47807 * sunrpc/rpc_common.c: Likewise.
47808 * sunrpc/rpc_dtable.c: Likewise.
47809 * sunrpc/rpc_prot.c: Likewise.
47810 * sunrpc/rpc_thread.c: Likewise.
47811 * sunrpc/rtime.c: Likewise.
47812 * sunrpc/svc.c: Likewise.
47813 * sunrpc/svc_auth.c: Likewise.
47814 * sunrpc/svc_authux.c: Likewise.
47815 * sunrpc/svc_raw.c: Likewise.
47816 * sunrpc/svc_run.c: Likewise.
47817 * sunrpc/svc_simple.c: Likewise.
47818 * sunrpc/svc_tcp.c: Likewise.
47819 * sunrpc/svc_udp.c: Likewise.
47820 * sunrpc/svc_unix.c: Likewise.
47821 * sunrpc/svcauth_des.c: Likewise.
47822 * sunrpc/xcrypt.c: Likewise.
47823 * sunrpc/xdr.c: Likewise.
47824 * sunrpc/xdr_array.c: Likewise.
47825 * sunrpc/xdr_float.c: Likewise.
47826 * sunrpc/xdr_intXX_t.c: Likewise.
47827 * sunrpc/xdr_mem.c: Likewise.
47828 * sunrpc/xdr_rec.c: Likewise.
47829 * sunrpc/xdr_ref.c: Likewise.
47830 * sunrpc/xdr_sizeof.c: Likewise.
47831 * sunrpc/xdr_stdio.c: Likewise.
47833 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47836 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47837 * sysdeps/ia64/dl-tls.h: Likewise.
47838 * sysdeps/powerpc/dl-tls.h: Likewise.
47839 * sysdeps/s390/dl-tls.h: Likewise.
47840 * sysdeps/sh/dl-tls.h: Likewise.
47841 * sysdeps/sparc/dl-tls.h: Likewise.
47842 * sysdeps/x86_64/dl-tls.h: Likewise.
47843 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47845 2011-03-14 Andreas Schwab <schwab@redhat.com>
47847 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47848 rpath element also skip the following colon.
47849 (expand_dynamic_string_token): Add is_path parameter and pass
47850 down to DL_DST_REQUIRED and _dl_dst_substitute.
47851 (decompose_rpath): Call expand_dynamic_string_token with
47852 non-zero is_path. Ignore empty rpaths.
47853 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47856 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47861 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47864 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47865 Patch by Filipe David Manana <fdmanana@apache.org>.
47867 2011-04-07 Andreas Schwab <schwab@redhat.com>
47869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47870 Maintain aligned stack.
47871 (CHECK_RSP): Remove unused macro.
47873 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47875 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47876 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47878 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47880 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47882 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47884 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47887 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47888 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47889 * sysdeps/x86_64/memmove.c: New file.
47890 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47891 (memcpy): Renamed to ...
47892 (__new_memcpy): This.
47893 (memcpy): Provide GLIBC_2_14 memcpy.
47894 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47895 (memcpy): Provide GLIBC_2_2_5 memcpy.
47897 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47900 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47902 2011-03-30 Andreas Schwab <schwab@redhat.com>
47904 * misc/syncfs.c: New file.
47905 * misc/Makefile (routines): Add syncfs.
47906 * posix/unistd.h: Declare syncfs.
47907 * sysdeps/unix/syscalls.list: Add syncfs.
47909 2011-04-01 Andreas Schwab <schwab@redhat.com>
47911 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47913 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47914 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47918 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47921 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47924 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47925 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47931 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47932 sync_file_range.c with -fexceptions.
47933 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47934 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47935 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47936 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47937 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47938 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47940 sync_file_range as cancellation point
47941 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47942 now a wrapper around __call_sync_file_range with cancellation handling.
47943 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47944 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47945 function name to __call_sync_file_range.
47946 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47947 Add call_sync_file_range.
47949 2011-04-01 Andreas Schwab <schwab@redhat.com>
47951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47954 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47956 * iconv/iconv.h: Fix typo in comment.
47957 * io/fcntl.h: Likewise.
47958 * libio/stdio.h: Likewise.
47959 * posix/spawn.h: Likewise.
47960 * posix/unistd.h: Likewise.
47961 * stdlib/stdlib.h: Likewise.
47962 * time/time.h: Likewise.
47963 * wcsmbs/wchar.h: Likewise.
47965 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47966 open_by_handle): Add.
47967 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47968 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47969 Augment a few comments.
47970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47975 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47978 * io/fcntl.h (AT_EMPTY_PATH): Define.
47980 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47982 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47983 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47984 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47986 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47987 * Versions.def: Add GLIBC_2.14.
47988 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47991 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47995 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47997 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48000 * string/test-strncmp.c (do_page_test): New function.
48001 (check2): Likewise.
48002 (test_main): Call check2.
48003 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48005 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48008 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48009 Handle cache information in CPU leaf 4.
48010 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48012 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48015 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48016 character representation.
48017 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48019 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48021 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48022 END(__isnan) to END(__isnanf) to match function entry point/label
48023 EALIGN(__isnanf,...).
48025 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48027 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48029 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48032 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48033 copy from the symbol referenced in the relocation to initialize the
48035 Patch by Piotr Bury <pbury@goahead.com>.
48036 * elf/Makefile: Add rules to build and tst-unique3.
48037 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48038 * elf/tst-unique3.cc: New file.
48039 * elf/tst-unique3.h: New file.
48040 * elf/tst-unique3lib.cc: New file.
48041 * elf/tst-unique3lib2.cc: New file.
48043 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48045 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48047 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48048 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48051 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48053 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48054 to-be-loaded object along a path to loader is ld.so.
48056 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48057 Ulrich Drepper <drepper@gmail.com>
48059 * sysdeps/x86_64/memset.S: After aligning destination, code
48060 branches to different locations depending on the value of
48061 misalignment, when multiarch is enabled. Fix this.
48063 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48065 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48066 Set _x86_64_preferred_memory_instruction for AMD processsors.
48067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48068 Set bit_Prefer_SSE_for_memop for AMD processors.
48070 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48072 * libio/fmemopen.c (fmemopen): Optimize a bit.
48074 2011-03-03 Andreas Schwab <schwab@redhat.com>
48076 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48078 2011-03-03 Roland McGrath <roland@redhat.com>
48080 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48082 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48084 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48085 __bzero_ultra1 instead of __memset_ultra1.
48087 2011-02-23 Andreas Schwab <schwab@redhat.com>
48088 Ulrich Drepper <drepper@gmail.com>
48091 * include/link.h (struct link_map): Add l_orig_initfini.
48092 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48093 returning unsuccessfully.
48094 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48095 close of a file loaded at startup, restore the original l_initfini
48097 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48098 list, store the pointer.
48099 * elf/Makefile ($(objpfx)noload-mem): New rule.
48100 (noload-ENV): Define.
48101 (tests): Add $(objpfx)noload-mem.
48102 * elf/noload.c: Include <memcheck.h>.
48103 (main): Call mtrace. Close all opened handles.
48105 2011-02-17 Andreas Schwab <schwab@redhat.com>
48108 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48109 dependencies are missing.
48111 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48113 Fix __if_freereq crash: Unlike the generic version which uses free,
48115 * sysdeps/mach/hurd/ifreq.h: New file.
48117 2011-01-27 Petr Baudis <pasky@suse.cz>
48118 Ulrich Drepper <drepper@gmail.com>
48121 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48122 to extend_alloca().
48123 * stdio-common/bug23.c: New file.
48124 * stdio-common/Makefile (tests): Add bug23.
48126 2010-09-28 Andreas Schwab <schwab@redhat.com>
48127 Ulrich Drepper <drepper@gmail.com>
48130 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48131 before performing relro protection. At old place add assertion
48132 to make sure nothing changed.
48134 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48135 Glauber de Oliveira Costa <glommer@gmail.com>
48137 * elf/elf.h: Add new ARM TLS relocs.
48139 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48142 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48144 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48146 * sysdeps/wordsize-64/tst-writev.c: New file.
48148 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48150 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48151 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48152 insns in _dl_start to prevent a TOC reference before relocs are
48155 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48158 * Makeconfig: Remove RANLIB definition.
48159 * Makerules: Don't use RANLIB.
48160 * aclocal.m4: Remove ranlib test.
48161 * configure.in: No need to check for ranlib.
48162 * elf/rtld-Rules: Don't use RANLIB.
48164 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48166 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48168 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48169 inclusion protection macro.
48171 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48172 SIGRTMIN and SIGRTMAX and print information in that case only when
48173 SIGRTMIN is defined.
48175 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48177 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48178 arginfo fn returning -1.
48180 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48181 and thousands string is zero terminated.
48183 2011-02-03 Andreas Schwab <schwab@redhat.com>
48185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48186 sysdeps/unix/sysv/linux/bits/socket.h.
48188 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48190 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48191 (__CPU_COUNT): Remove old macros.
48192 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48193 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48194 (__CPU_ALLOC, __CPU_FREE): Add macros.
48195 (__sched_cpualloc, __sched_cpufree): Add declarations.
48197 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48199 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48200 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48201 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48202 (readdhstai): Return value of addhstaiX call.
48203 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48204 (addgrbyX): Return value returned by cache_addgr.
48205 (readdgrbyname): Return value returned by addgrbyX.
48206 (readdgrbygid): Likewise.
48207 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48208 (addpwbyX): Return value returned by cache_addpw.
48209 (readdpwbyname): Return value returned by addhstbyX.
48210 (readdpwbyuid): Likewise.
48211 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48212 (addservbyX): Return value returned by cache_addserv.
48213 (readdservbyname): Return value returned by addservbyX:
48214 (readdservbyport): Likewise.
48215 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48216 (addhstbyX): Return value returned by cache_addhst.
48217 (readdhstbyname): Return value returned by addhstbyX.
48218 (readdhstbyaddr): Likewise.
48219 (readdhstbynamev6): Likewise.
48220 (readdhstbyaddrv6): Likewise.
48221 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48222 (readdinitgroups): Return value returned by addinitgroupsX.
48223 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48224 (prune_cache): Keep track of timeout value of re-added entries.
48225 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48226 * nscd/nscd.h: Adjust prototypes of readd* functions.
48228 2011-02-04 Roland McGrath <roland@redhat.com>
48230 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48231 (nis_stats): Likewise.
48232 * nis/nis_modify.c (nis_modify): Likewise.
48233 * nis/nis_remove.c (nis_remove): Likewise.
48234 * nis/nis_add.c (nis_add): Likewise.
48236 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48238 * posix/fnmatch_loop.c: Add some consts.
48240 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48242 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48245 * config.make.in (config-cflags-novzeroupper): Define.
48246 * configure.in: Substitute libc_cv_cc_novzeroupper.
48247 * elf/Makefile (AVX-CFLAGS): Define.
48248 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48249 (CFLAGS-tst-auditmod4a.c): Likewise.
48250 (CFLAGS-tst-auditmod4b.c): Likewise.
48251 (CFLAGS-tst-auditmod6b.c): Likewise.
48252 (CFLAGS-tst-auditmod6c.c): Likewise.
48253 (CFLAGS-tst-auditmod7b.c): Likewise.
48254 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48256 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48258 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48259 function to the callback.
48260 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48262 2011-02-02 Andreas Schwab <schwab@redhat.com>
48264 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48267 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48270 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48272 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48274 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48277 * elf/Makefile: Add rules to build and run new test.
48278 * elf/tst-initorder.c: New file.
48279 * elf/tst-initorder.exp: New file.
48280 * elf/tst-initordera1.c: New file.
48281 * elf/tst-initordera2.c: New file.
48282 * elf/tst-initordera3.c: New file.
48283 * elf/tst-initordera4.c: New file.
48284 * elf/tst-initorderb1.c: New file.
48285 * elf/tst-initorderb2.c: New file.
48286 * elf/tst-order-a1.c: New file.
48287 * elf/tst-order-a2.c: New file.
48288 * elf/tst-order-a3.c: New file.
48289 * elf/tst-order-a4.c: New file.
48290 * elf/tst-order-b1.c: New file.
48291 * elf/tst-order-b2.c: New file.
48292 * elf/tst-order-main.c: New file.
48293 New test case by George Gensure <werkt0@gmail.com>.
48295 2010-10-01 Andreas Schwab <schwab@redhat.com>
48297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48298 decoding ACE if AI_CANONIDN.
48300 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48302 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48304 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48306 * version.h (RELEASE): Bump for 2.13 release.
48307 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48309 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48311 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48313 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48314 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48318 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48320 * posix/getconf.c: Update copyright year.
48321 * catgets/gencat.c: Likewise.
48322 * csu/version.c: Likewise.
48323 * debug/catchsegv.sh: Likewise.
48324 * debug/xtrace.sh: Likewise.
48325 * elf/ldconfig.c: Likewise.
48326 * elf/ldd.bash.in: Likewise.
48327 * elf/sprof.c (print_version): Likewise.
48328 * iconv/iconv_prog.c: Likewise.
48329 * iconv/iconvconfig.c: Likewise.
48330 * locale/programs/locale.c: Likewise.
48331 * locale/programs/localedef.c: Likewise.
48332 * malloc/memusage.sh: Likewise.
48333 * malloc/mtrace.pl: Likewise.
48334 * nscd/nscd.c (print_version): Likewise.
48335 * nss/getent.c: Likewise.
48337 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48338 PF_CAIF, and PF_ALG.
48339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48341 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48343 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48344 (modules-names): Use them.
48345 (ifunc-test-modules, ifunc-pie-tests): Define.
48346 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48347 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48348 (test-extras): Likewise.
48349 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48350 $(compile-command.c).
48351 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48352 (all-built-dso): Define.
48353 (check-textrel.out, check-execstack.out): Depend on it.
48355 * configure.in: Don't override --enable-multi-arch.
48357 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48360 * nscd/hstcache.c (tryagain): Define.
48361 (cache_addhst): Return tryagain not notfound for temporary errors.
48362 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48365 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48368 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48369 to make the syscall.
48370 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48373 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48374 and fall back to matching as normal character if the string ends before
48375 the matching ']' is found. This is what POSIX requires.
48376 * posix/testfnm.c: Adjust test result.
48377 * posix/globtest.sh: Adjust test result. Add new test.
48378 * posix/tst-fnmatch.input: Likewise.
48379 * posix/tst-fnmatch2.c: Add new test.
48381 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48383 * elf/Makefile (check-execstack): Revert last change. Depend on
48385 (check-execstack.h): New target.
48386 (generated): Add check-execstack.h.
48387 * elf/check-execstack.c: Include "check-execstack.h".
48388 (main): Revert last change.
48389 (handle_file): Return zero if GNU_STACK is absent and
48390 DEFAULT_STACK_PERMS doesn't include PF_X.
48392 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48394 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48395 in child fails because the descriptor is already closed.
48396 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48397 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48398 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48401 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48405 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48406 temporary buffer used to handle multi lookups locally.
48407 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48409 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48411 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48414 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48416 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48417 alignment for SSE2.
48419 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48422 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48423 characters. When rounding increased number of integer digits recompute
48425 * stdio-common/tst-grouping.c: New file.
48426 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48428 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48430 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48431 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48433 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48435 * bits/select.h: Likewise.
48437 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48439 * po/ja.po: Update from translation team.
48441 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48444 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48445 implementation just like for lxstat, fxstatat, et al.
48447 2010-12-27 Jim Meyering <meyering@redhat.com>
48450 * posix/regexec.c (build_trtable): Return failure indication upon
48451 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48453 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48456 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48457 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48458 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48459 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48462 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48465 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48466 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48468 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48470 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48471 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48472 script has SORT_BY_INIT_PRIORITY.
48473 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48474 NO_CTORS_DTORS_SECTIONS is defined.
48475 * elf/soinit.c: Likewise.
48476 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48477 NO_CTORS_DTORS_SECTIONS is defined.
48478 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48479 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48480 * sysdeps/sh/init-first.c: Likewise.
48481 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48483 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48485 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48486 always use the slow path.
48488 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48490 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48491 similar rule which adds the sysdep directories to the header search in
48492 order to pick up the correct platform stackinfo.h.
48493 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48494 perform test if it is, otherwise return successfully without testing.
48495 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48496 DEFAULT_STACK_PERMS define in stackinfo.h.
48497 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48498 defined in stackinfo.h.
48499 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48500 DEFAULT_STACK_PERMS defined in stackinfo.h.
48501 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48502 * sysdeps/ia64/stackinfo.h: Likewise.
48503 * sysdeps/s390/stackinfo.h: Likewise.
48504 * sysdeps/sh/stackinfo.h: Likewise.
48505 * sysdeps/sparc/stackinfo.h: Likewise.
48506 * sysdeps/x86_64/stackinfo.h: Likewise.
48507 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48508 PF_X for powerpc64. Retain PF_X for powerpc32.
48510 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48512 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48514 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48515 GETDENTS_64BIT_ALIGNED.
48517 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48519 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48521 2010-12-10 Andreas Schwab <schwab@redhat.com>
48523 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48526 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48527 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48529 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48530 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48532 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48535 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48538 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48540 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48542 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48544 * po/it.po: Update from translation team.
48546 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48551 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48553 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48555 2010-11-24 Andreas Schwab <schwab@redhat.com>
48557 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48559 (gaih_getanswer_slice): Likewise.
48561 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48565 2010-05-31 Petr Baudis <pasky@suse.cz>
48568 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48569 silently even in the chroot mode.
48571 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48573 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48574 last patch a bit. Pretty printing
48576 2010-05-31 Petr Baudis <pasky@suse.cz>
48579 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48580 initialization of skip_initgroups_dyn.
48582 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48584 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48585 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48587 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48589 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48591 2010-11-11 Andreas Schwab <schwab@redhat.com>
48593 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48594 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48595 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48596 ($(objpfx)tst-fnmatch-mem): New rule.
48597 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48598 * posix/tst-fnmatch.c (main): Call mtrace.
48600 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48603 Support Intel processor model 6 and model 0x2c.
48605 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48607 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48610 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48613 * string/test-strncasecmp.c (check_result): New function.
48614 (do_one_test): Use it.
48615 (check1): New function.
48616 (test_main): Use it.
48617 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48618 Support strcasecmp and strncasecmp.
48620 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48623 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48624 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48626 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48628 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48632 * sysdeps/x86_64/multiarch/bzero.S: New file.
48633 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48634 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48635 * sysdeps/x86_64/multiarch/memset.S: New file.
48636 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48638 Set bit_Prefer_SSE_for_memop for Intel processors.
48639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48641 (index_Prefer_SSE_for_memop): Define.
48642 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48644 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48647 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48649 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48652 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48653 (__x86_64_raw_data_cache_size_half): Likewise.
48654 (__x86_64_raw_shared_cache_size): Likewise.
48655 (__x86_64_raw_shared_cache_size_half): Likewise.
48657 * sysdeps/x86_64/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.
48661 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48662 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48663 and __x86_64_raw_shared_cache_size_half. Round
48664 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48665 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48666 to multiple of 256 bytes.
48668 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48671 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48672 of inacessible symlinks. Verify result of symlink before returning it.
48673 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48674 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48676 2010-10-28 Erich Ritz <erichritz@gmail.com>
48678 * math/math.h (isinf): Fix typo in comment.
48680 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48682 * po/da.po: Update from translation team.
48684 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48686 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48687 is added to the list.
48689 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48690 Ulrich Drepper <drepper@gmail.com>
48692 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48693 the global list here. Move code to...
48694 (_dl_add_to_namespace_list): ...here. New function.
48695 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48696 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48697 * elf/dl-load.c (lose): Don't remove the element from the list.
48698 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48699 (_dl_map_object): Likewise.
48701 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48704 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48705 into all bytes of SSE register.
48706 Patch by Richard Li <richardpku@gmail.com>.
48708 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48711 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48714 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48716 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48717 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48718 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48719 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48724 2010-10-22 Andreas Schwab <schwab@redhat.com>
48726 * include/dlfcn.h (__RTLD_SECURE): Define.
48727 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48728 mode & __RTLD_SECURE instead.
48729 (open_path): Rename preloaded parameter to secure.
48730 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48731 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48732 * elf/dl-deps.c (openaux): Likewise.
48733 * elf/rtld.c (struct map_args): Remove is_preloaded.
48734 (map_doit): Don't use it.
48735 (dl_main): Likewise.
48736 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48737 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48739 2010-09-09 Andreas Schwab <schwab@redhat.com>
48741 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48742 (sysd-rules-targets): Remove duplicates.
48743 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48744 rtld-%.$o dependency.
48746 2010-10-18 Andreas Schwab <schwab@redhat.com>
48748 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48749 _dl_map_object do it.
48751 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48753 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48754 fast fma builtins, define the macros in the C99 standard.
48755 (FP_FAST_FMAF): Likewise.
48756 (FP_FAST_FMAL): Likewise.
48757 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48759 * bits/mathdef.h: Update copyright year.
48760 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48762 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48764 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48765 builtins, define the macros in the C99 standard.
48766 (FP_FAST_FMAF): Likewise.
48767 (FP_FAST_FMAL): Likewise.
48768 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48770 (FP_FAST_FMAF): Likewise.
48772 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48775 * math/libm-test.inc (fma_test): Some new testcases.
48776 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48778 y and infinite z. Do multiplication by C already in long double.
48779 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48781 y and infinite z. Do bitwise or of inexact bit into u.d.
48782 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48783 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48784 * sysdeps/i386/fpu/s_fma.S: Removed.
48785 * sysdeps/i386/fpu/s_fmal.S: Removed.
48787 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48790 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48792 computation is not scheduled after fetestexcept. Fix value
48793 of minimum denormal long double.
48795 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48798 * math/libm-test.inc (fma_test): Add some more tests.
48799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48802 2010-10-15 Andreas Schwab <schwab@redhat.com>
48804 * scripts/data/localplt-s390-linux-gnu.data: New file.
48805 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48807 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48810 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48811 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48813 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48815 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48817 if one of x and y is very large and the other is subnormal.
48818 * sysdeps/s390/fpu/s_fmaf.c: New file.
48819 * sysdeps/s390/fpu/s_fma.c: New file.
48820 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48821 * sysdeps/powerpc/fpu/s_fma.S: New file.
48822 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48823 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48824 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48826 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48829 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48831 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48832 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48833 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48834 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48835 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48836 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48837 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48839 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48842 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48843 * posix/bug-regex31.input: Add test case.
48845 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48847 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48848 * posix/bug-regex31.input: New file.
48851 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48852 (parse_sub_exp): Fix last change, use postorder.
48854 * posix/bug-regex31.c: New file.
48855 * posix/Makefile: Add rules to build and run bug-regex31.
48857 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48860 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48863 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48864 to have entries in sys_siglist.
48867 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48870 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48873 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48874 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48875 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48876 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48877 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48878 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48879 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48880 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48881 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48882 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48883 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48884 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48885 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48886 * math/ftestexcept.c (fetestexcept): Likewise.
48887 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48888 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48889 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48890 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48891 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48892 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48893 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48895 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48898 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48901 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48903 * string/bug-strstr1.c: New file.
48904 * string/Makefile: Add rules to build and run bug-strstr1.
48906 2010-10-05 Eric Blake <eblake@redhat.com>
48909 * string/str-two-way.h (two_way_long_needle): Always clear memory
48910 when skipping input due to the shift table.
48912 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48915 * malloc/mcheck.c: Handle large requests.
48918 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48919 for strncmp and strncasecmp.
48920 * string/stratcliff.c: Add tests for strcmp and strncmp.
48921 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48923 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48925 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48928 2010-09-30 Andreas Jaeger <aj@suse.de>
48930 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48931 (CGROUP_SUPER_MAGIC): Define.
48932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48933 Handle btrfs and cgroup file systems.
48934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48937 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48939 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48940 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48942 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48945 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48946 trying to locate the ELF header.
48948 2010-09-27 Andreas Schwab <schwab@redhat.com>
48951 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48952 Mask out sign-bit copies when constructing f_fsid.
48954 2010-09-24 Petr Baudis <pasky@suse.cz>
48956 * debug/stack_chk_fail_local.c: Add missing licence exception.
48957 * debug/warning-nop.c: Likewise.
48959 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48961 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48962 implementing getdents64 using getdents syscall, set d_type if
48963 __ASSUME_GETDENTS32_D_TYPE.
48965 2010-09-16 Andreas Schwab <schwab@redhat.com>
48967 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48968 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48970 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48973 * posix/unistd.h: Undo change of feature selection for ftruncate from
48976 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48978 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48981 2010-09-20 Andreas Schwab <schwab@redhat.com>
48983 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48985 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48987 2010-09-14 Andreas Schwab <schwab@redhat.com>
48989 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48990 variables after CHECK_SP call.
48991 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48993 2010-09-13 Andreas Schwab <schwab@redhat.com>
48994 Ulrich Drepper <drepper@redhat.com>
48996 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48997 re-relocationg ld.so.
48998 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48999 _dl_init_paths call.
49000 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49003 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49005 * resolv/res_init.c (__res_vinit): Count the default server we added.
49007 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49008 Ulrich Drepper <drepper@redhat.com>
49011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49012 (____longjmp_chk): Use %ebx for saving value across system call.
49015 2010-09-06 Andreas Schwab <schwab@redhat.com>
49017 * manual/Makefile: Don't mix pattern rules with normal rules.
49019 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49021 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49023 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49024 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49025 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49026 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49027 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49030 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49033 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49034 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49036 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49038 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49039 * sysdeps/x86_64/addmul_1.S: Likewise.
49040 * sysdeps/x86_64/lshift.S: Likewise.
49041 * sysdeps/x86_64/mul_1.S: Likewise.
49042 * sysdeps/x86_64/rshift.S: Likewise.
49043 * sysdeps/x86_64/sub_n.S: Likewise.
49044 * sysdeps/x86_64/submul_1.S: Likewise.
49046 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49048 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49049 Define __sched_param instead of SCHED_* and sched_param when
49050 <bits/sched.h> is included with __need_schedparam defined.
49051 * bits/sched.h [__need_schedparam]
49052 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49053 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49054 (__defined_schedparam): Define to 1.
49055 (__sched_param): New structure, identical to sched_param.
49056 (__need_schedparam): Undefine.
49058 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49060 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49061 (epoll_create1): Declare.
49063 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49065 2010-08-31 Andreas Schwab <schwab@redhat.com>
49068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49069 shifting retval into place.
49071 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49073 * nis/rpcsvc/nis.h: Update copyright notice.
49074 * nis/rpcsvc/nis.x: Likewise.
49075 * nis/rpcsvc/nis_callback.h: Likewise.
49076 * nis/rpcsvc/nis_callback.x: Likewise.
49077 * nis/rpcsvc/nis_object.x: Likewise.
49078 * nis/rpcsvc/nis_tags.h: Likewise.
49079 * nis/rpcsvc/yp.h: Likewise.
49080 * nis/rpcsvc/yp.x: Likewise.
49081 * nis/rpcsvc/ypupd.h: Likewise.
49082 * nis/yp_xdr.c: Likewise.
49083 * nis/ypupdate_xdr.c: Likewise.
49085 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49086 mainly the body of pmap_getport. Add parameters to specify timeouts.
49087 (pmap_getport): Use __libc_rpc_getport.
49088 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49089 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49090 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49092 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49097 2010-08-27 Roland McGrath <roland@redhat.com>
49099 * sysdeps/i386/i686/multiarch/Makefile
49100 (CFLAGS-varshift.c): New variable.
49102 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49104 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49105 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49107 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49109 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49111 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49113 * sysdeps/x86_64/strlen.S: Unroll the loop.
49114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49115 strlen-sse2 strlen-sse2-bsf.
49116 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49117 __strlen_no_bsf if bit_Slow_BSF is set.
49118 (__strlen_sse42): Removed.
49119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49120 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49122 2010-08-25 Roland McGrath <roland@redhat.com>
49124 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49125 * sysdeps/x86_64/multiarch/varshift.c: New file.
49126 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49127 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49128 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49129 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49131 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49134 strlen-sse2 strlen-sse2-bsf.
49135 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49136 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49137 (__strlen_sse2): Removed.
49138 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49139 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49141 bit_Slow_BSF for Atom.
49142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49143 (index_Slow_BSF): Define.
49144 (HAS_SLOW_BSF): Define.
49146 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49149 * resolv/res_init.c (__res_vinit): When no server address at all
49150 is given default to loopback.
49152 2010-08-24 Roland McGrath <roland@redhat.com>
49154 * configure.in: Remove config-name.h generation.
49155 * configure: Regenerated.
49156 * config-name.in: File removed.
49157 * scripts/config-uname.sh: New file.
49158 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49159 ($(objdir)config-name.h): New target.
49161 * sunrpc/rpc_parse.h: Avoid nested comment.
49163 2010-08-24 Richard Henderson <rth@redhat.com>
49164 Ulrich Drepper <drepper@redhat.com>
49165 H.J. Lu <hongjiu.lu@intel.com>
49167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49169 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49170 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49171 _mm_alignr_epi8 with _mm_loadu_si128.
49172 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49173 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49174 (__m128i_shift_right): Removed.
49175 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49176 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49177 * sysdeps/x86_64/multiarch/varshift.h: New file.
49178 * sysdeps/x86_64/multiarch/varshift.S: New file.
49180 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49182 * configure.in: Move assembler checks to before sysdep dir checking.
49184 2010-08-20 Petr Baudis <pasky@suse.cz>
49186 * LICENSES: Sync the sunrpc license.
49188 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49190 * sunrpc/auth_des.c: Update copyright notice once again.
49191 * sunrpc/auth_none.c: Likewise.
49192 * sunrpc/auth_unix.c: Likewise.
49193 * sunrpc/authdes_prot.c: Likewise.
49194 * sunrpc/authuxprot.c: Likewise.
49195 * sunrpc/bindrsvprt.c: Likewise.
49196 * sunrpc/clnt_gen.c: Likewise.
49197 * sunrpc/clnt_perr.c: Likewise.
49198 * sunrpc/clnt_raw.c: Likewise.
49199 * sunrpc/clnt_simp.c: Likewise.
49200 * sunrpc/clnt_tcp.c: Likewise.
49201 * sunrpc/clnt_udp.c: Likewise.
49202 * sunrpc/clnt_unix.c: Likewise.
49203 * sunrpc/des_crypt.c: Likewise.
49204 * sunrpc/des_soft.c: Likewise.
49205 * sunrpc/get_myaddr.c: Likewise.
49206 * sunrpc/getrpcport.c: Likewise.
49207 * sunrpc/key_call.c: Likewise.
49208 * sunrpc/key_prot.c: Likewise.
49209 * sunrpc/openchild.c: Likewise.
49210 * sunrpc/pm_getmaps.c: Likewise.
49211 * sunrpc/pm_getport.c: Likewise.
49212 * sunrpc/pmap_clnt.c: Likewise.
49213 * sunrpc/pmap_prot.c: Likewise.
49214 * sunrpc/pmap_prot2.c: Likewise.
49215 * sunrpc/pmap_rmt.c: Likewise.
49216 * sunrpc/rpc/auth.h: Likewise.
49217 * sunrpc/rpc/auth_unix.h: Likewise.
49218 * sunrpc/rpc/clnt.h: Likewise.
49219 * sunrpc/rpc/des_crypt.h: Likewise.
49220 * sunrpc/rpc/key_prot.h: Likewise.
49221 * sunrpc/rpc/netdb.h: Likewise.
49222 * sunrpc/rpc/pmap_clnt.h: Likewise.
49223 * sunrpc/rpc/pmap_prot.h: Likewise.
49224 * sunrpc/rpc/pmap_rmt.h: Likewise.
49225 * sunrpc/rpc/rpc.h: Likewise.
49226 * sunrpc/rpc/rpc_des.h: Likewise.
49227 * sunrpc/rpc/rpc_msg.h: Likewise.
49228 * sunrpc/rpc/svc.h: Likewise.
49229 * sunrpc/rpc/svc_auth.h: Likewise.
49230 * sunrpc/rpc/types.h: Likewise.
49231 * sunrpc/rpc/xdr.h: Likewise.
49232 * sunrpc/rpc_clntout.c: Likewise.
49233 * sunrpc/rpc_cmsg.c: Likewise.
49234 * sunrpc/rpc_common.c: Likewise.
49235 * sunrpc/rpc_cout.c: Likewise.
49236 * sunrpc/rpc_dtable.c: Likewise.
49237 * sunrpc/rpc_hout.c: Likewise.
49238 * sunrpc/rpc_main.c: Likewise.
49239 * sunrpc/rpc_parse.c: Likewise.
49240 * sunrpc/rpc_parse.h: Likewise.
49241 * sunrpc/rpc_prot.c: Likewise.
49242 * sunrpc/rpc_sample.c: Likewise.
49243 * sunrpc/rpc_scan.c: Likewise.
49244 * sunrpc/rpc_scan.h: Likewise.
49245 * sunrpc/rpc_svcout.c: Likewise.
49246 * sunrpc/rpc_tblout.c: Likewise.
49247 * sunrpc/rpc_util.c: Likewise.
49248 * sunrpc/rpc_util.h: Likewise.
49249 * sunrpc/rpcinfo.c: Likewise.
49250 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49251 * sunrpc/rpcsvc/key_prot.x: Likewise.
49252 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49253 * sunrpc/rpcsvc/mount.x: Likewise.
49254 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49255 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49256 * sunrpc/rpcsvc/rex.x: Likewise.
49257 * sunrpc/rpcsvc/rstat.x: Likewise.
49258 * sunrpc/rpcsvc/rusers.x: Likewise.
49259 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49260 * sunrpc/rpcsvc/spray.x: Likewise.
49261 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49262 * sunrpc/rtime.c: Likewise.
49263 * sunrpc/svc.c: Likewise.
49264 * sunrpc/svc_auth.c: Likewise.
49265 * sunrpc/svc_authux.c: Likewise.
49266 * sunrpc/svc_raw.c: Likewise.
49267 * sunrpc/svc_run.c: Likewise.
49268 * sunrpc/svc_simple.c: Likewise.
49269 * sunrpc/svc_tcp.c: Likewise.
49270 * sunrpc/svc_udp.c: Likewise.
49271 * sunrpc/svc_unix.c: Likewise.
49272 * sunrpc/svcauth_des.c: Likewise.
49273 * sunrpc/xcrypt.c: Likewise.
49274 * sunrpc/xdr.c: Likewise.
49275 * sunrpc/xdr_array.c: Likewise.
49276 * sunrpc/xdr_float.c: Likewise.
49277 * sunrpc/xdr_mem.c: Likewise.
49278 * sunrpc/xdr_rec.c: Likewise.
49279 * sunrpc/xdr_ref.c: Likewise.
49280 * sunrpc/xdr_sizeof.c: Likewise.
49281 * sunrpc/xdr_stdio.c: Likewise.
49283 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49286 2010-08-19 Andreas Schwab <schwab@redhat.com>
49288 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49290 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49292 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49293 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49295 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49296 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49297 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49298 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49299 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49300 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49301 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49302 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49303 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49304 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49305 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49307 2010-07-26 Anton Blanchard <anton@samba.org>
49309 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49310 * malloc/arena.c (heap_trim): Likewise.
49312 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49314 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49316 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49317 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49319 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49321 * sysdeps/i386/elf/Makefile: New file.
49323 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49325 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49326 from fanotify_init.
49327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49330 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49332 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49334 * sysdeps/multiarch/strcmp.S: Likewise.
49336 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49338 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49339 strncase_l-nonascii.
49340 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49341 Add strncase_l-ssse3.
49342 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49343 * sysdeps/x86_64/strcmp.S: Likewise.
49344 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49345 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49346 * sysdeps/x86_64/strncase.S: New file.
49347 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49348 * sysdeps/x86_64/strncase_l.S: New file.
49349 * string/Makefile (strop-tests): Add strncasecmp.
49350 * string/test-strncasecmp.c: New file.
49352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49355 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49356 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49358 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49360 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49362 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49364 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49365 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49366 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49368 2010-05-01 Alan Modra <amodra@gmail.com>
49370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49371 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49372 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49373 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49374 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49375 tidying. Don't tail-call __sigjmp_save for static lib.
49376 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49378 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49379 (CALL_MCOUNT): Add eh info, and nop after bl.
49380 (TAIL_CALL_SYSCALL_ERROR): New macro.
49381 (PSEUDO_RET): Use it.
49382 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49383 Correct save location of integer regs and cr.
49384 (_dl_profile_resolve): Correct cr save location. Delete nops
49385 after bl when SHARED. Reduce cfi size a little by better
49386 placement of cfi directives.
49387 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49388 make a stack frame. Instead use parm save area as a temp.
49389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49390 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49392 Don't make a stack frame for parent, use parm save area.
49393 Increase child stack frame to 112 bytes. Don't save unused reg,
49394 and adjust reg usage. Set up cfi on error recovery and
49395 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49397 (__makecontext): Add dummy nop after jump to exit.
49398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49399 Use correct parm save area and cr save, reduce stack frame.
49400 Correct cfi for possible PSEUDO_RET frame setup.
49401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49402 Branch to local label emitted by PSEUDO_RET rather than
49405 2010-08-12 Andreas Schwab <schwab@redhat.com>
49408 * locale/programs/locale.c (print_assignment): New function.
49409 (show_locale_vars): Use it.
49411 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49413 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49415 (struct statfs64): Likewise.
49416 (_STATFS_F_FLAGS): Define.
49417 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49419 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49420 (ST_VALID): Define locally.
49421 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49422 __statvfs_getflags, use the provided value.
49423 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49424 __ASSUME_STATFS_F_FLAGS.
49426 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49429 Add sys/fanotify.h.
49430 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49431 fanotify_mask for GLIBC_2.13.
49432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49433 fanotify_init and fanotify_mark.
49434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49435 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49437 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49439 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49440 prlimit64 for GLIBC_2.13.
49441 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49446 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49448 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49451 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49454 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49455 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49457 * nss/Makefile: Add rules to build and run tst-nss-test1.
49458 * shlib-versions: Add entry for libnss_test1.
49459 * nss/nss_test1.c: New file.
49460 * nss/tst-nss-test1.c: New file.
49462 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49463 (__nss_configure_lookup): Set appropriate entry in
49464 __nss_configure_lookup to true.
49465 * nss/nsswitch.h: Define enum with indeces of databases in
49466 databases and __nss_database_custom arrays. Declare
49467 __nss_database_custom.
49468 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49469 to avoid using nscd when custom rules are installed.
49470 * nss/getXXbyYY_r.c: Likewise.
49471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49473 * nss/nss_files/files-parse.c: Whitespace fixes.
49475 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49478 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49479 * posix/fnmatch_loop.c: Likewise.
49481 2010-07-17 Andi Kleen <ak@linux.intel.com>
49483 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49484 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49485 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49486 * Versions.def [GLIBC_2.13]: Add.
49488 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49490 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49491 Also fail if tpwd after pwuid call is NULL.
49493 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49495 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49496 when converting to ms.
49498 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49500 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49501 EOPNOTSUPP errors with ENOTTY.
49502 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49503 EOPNOTSUPP errors with ENOTTY.
49505 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49507 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49508 Add strcasecmp_l-ssse3.
49509 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49511 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49512 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49513 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49515 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49517 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49519 * string/Makefile (strop-tests): Add strcasecmp.
49520 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49521 strcasecmp_l-nonascii.
49522 (gen-as-const-headers): Add locale-defines.sym.
49523 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49524 * sysdeps/x86_64/strcasecmp.S: New file.
49525 * sysdeps/x86_64/strcasecmp_l.S: New file.
49526 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49527 * sysdeps/x86_64/locale-defines.sym: New file.
49528 * string/test-strcasecmp.c: New file.
49530 * string/test-strcasestr.c: Test both ends of the range of characters.
49531 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49533 2010-07-29 Roland McGrath <roland@redhat.com>
49536 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49538 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49540 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49543 2010-07-27 Andreas Schwab <schwab@redhat.com>
49545 * manual/memory.texi (Malloc Tunable Parameters): Document
49548 2010-07-26 Roland McGrath <roland@redhat.com>
49551 * configure.in (-fgnu89-inline check): Set and substitute
49552 gnu89_inline, not libc_cv_gnu89_inline.
49553 * configure: Regenerated.
49554 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49556 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49558 * string/test-strnlen.c: New file.
49559 * string/Makefile (strop-tests): Add strnlen.
49560 * string/tester.c (test_strnlen): Add a few more test cases.
49561 * string/tst-strlen.c: Better error reporting.
49563 * sysdeps/x86_64/strnlen.S: New file.
49565 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49568 lower-latency instructions.
49570 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49572 * string/test-strcasestr.c: New file.
49573 * string/test-strstr.c: New file.
49574 * string/Makefile (strop-tests): Add strstr and strcasestr.
49575 * string/str-two-way.h: Don't undefine MAX.
49576 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49578 2010-07-21 Andreas Schwab <schwab@redhat.com>
49580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49581 strcasestr-nonascii.
49582 (CFLAGS-strcasestr-nonascii.c): Define.
49583 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49585 Remove unused attribute.
49587 2010-07-20 Roland McGrath <roland@redhat.com>
49589 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49590 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49591 ld.so.cache was broken. With it, there is no way to disable dsocaps
49592 like LD_HWCAP_MASK can disable hwcaps.
49594 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49596 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49598 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49600 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49601 call in strcasestr.
49602 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49603 __strcasestr_sse42_nonascii.
49604 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49605 strcasestr-nonascii.c.
49606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49608 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49610 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49611 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49612 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49613 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49615 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49620 2010-07-06 Andreas Schwab <schwab@redhat.com>
49623 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49626 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49629 _PC_PIPE_BUF using F_GETPIPE_SZ.
49631 2010-07-05 Roland McGrath <roland@redhat.com>
49633 * manual/arith.texi (Rounding Functions): Fix rint description
49634 implicit in round description.
49636 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49638 * elf/Makefile: Fix linking for a few tests to make recent linker
49641 2010-06-30 Andreas Schwab <schwab@redhat.com>
49643 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49644 $(common-objpfx)libc_nonshared.a.
49646 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49648 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49649 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49650 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49651 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49652 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49653 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49655 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49670 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49671 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49672 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49673 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49674 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49675 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49676 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49677 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49678 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49679 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49680 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49681 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49697 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49699 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49700 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49701 * string/memmove.c (memmove): Renamed to ...
49702 (MEMMOVE): ...this. Default to memmove.
49703 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49704 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49707 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49708 mempcpy-ssse3-back memmove-ssse3-back.
49709 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49710 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49712 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49713 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49714 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49715 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49716 * sysdeps/x86_64/multiarch/memmove.c: New file.
49717 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49718 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49719 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49720 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49721 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49724 (index_Fast_Copy_Backward): Define.
49725 (HAS_ARCH_FEATURE): Define.
49726 (HAS_FAST_REP_STRING): Define.
49727 (HAS_FAST_COPY_BACKWARD): Define.
49729 2010-06-21 Andreas Schwab <schwab@redhat.com>
49731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49732 Restore proper fallback handling.
49734 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49737 * posix/group_member.c (__group_member): Correct checking loop.
49739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49740 OOM in getpwuid_r correctly. Return error number when the caller
49741 should return, otherwise -1.
49742 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49743 call returning > 0 value.
49744 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49746 2010-06-07 Andreas Schwab <schwab@redhat.com>
49748 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49749 libc_nonshared.a from targets in modules-names.
49751 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49753 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49756 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49758 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49759 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49761 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49763 2010-06-02 Andreas Schwab <schwab@redhat.com>
49765 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49767 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49769 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49771 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49778 2010-06-14 Roland McGrath <roland@redhat.com>
49780 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49782 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49784 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49785 __REDIRECT followed by __THROW.
49786 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49787 * posix/getopt.h (getopt): Likewise.
49789 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49791 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49792 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49793 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49795 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49796 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49798 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49800 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49802 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49806 Properly check family and model.
49808 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49810 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49812 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49814 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49816 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49818 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49821 2010-05-19 Andreas Schwab <schwab@redhat.com>
49823 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49826 2010-05-21 Andreas Schwab <schwab@redhat.com>
49828 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49829 and internal_recvmmsg.
49830 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49831 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49832 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49833 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49835 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49836 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49837 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49839 2010-05-20 Andreas Schwab <schwab@redhat.com>
49841 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49843 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49845 POWER7 optimizations.
49846 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49847 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49849 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49851 * version.h: Update for 2.13 development version.
49853 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49855 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49856 exceptions. Return 0.
49858 2010-05-07 Roland McGrath <roland@redhat.com>
49860 * elf/ldconfig.c (main): Add a const.
49862 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49864 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49865 (args_options): Add no-idn option.
49866 (ahosts_keys_int): Add idn_flags to ai_flags.
49867 (parse_option): Handle 'i' option to clear idn_flags.
49869 * malloc/malloc.c (_int_free): Possible race in the most recently
49870 added check. Only act on the data if no current modification
49873 See ChangeLog.17 for earlier changes.