1 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6 (__scalblnl): Get new exponent of adjusted subnormal value from ES
8 * math/libm-test.inc (scalbn_test_data): Add more tests.
9 (scalbln_test_data): Likewise.
11 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12 Stefani Seibold <stefani@seibold.net>
14 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15 (sysdep_routines): Add dl-vdso here, ...
16 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17 (sysdep_routines): ... not here.
18 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19 fallback when vDSO is not presented.
20 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21 Define with libc_hidden_proto/libc_hidden_data_def definitions.
22 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
28 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
31 fallback configurable symbol when vDSO is not available.
32 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
34 be able to redefine fallback symbol when vDSO is not available.
35 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
38 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
41 (TLS_INIT_TP): Add tm_capable initialization.
42 (TLS_DEFINE_INIT_TP): Likewise.
43 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
45 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
46 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
48 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
49 transactoion is lock elision is built and TCB tm_capable is set.
50 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52 (INTERNAL_SYSCALL_NCS): Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54 (INTERNAL_SYSCALL_NCS): Likewise.
55 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
57 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
59 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
60 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
61 and remove it for 32 bits case.
62 [pthread_rwlock_t] (__rwelision): New field for lock elision.
63 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
65 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
66 Disable lock elision with rdlocks if elision is not available.
68 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
69 (sysdep_routines): Add lock elision objects.
70 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
71 [pthread_mutex_t] (__spins): Rework to add lock elision field.
72 [pthread_mutex_t] (__elision): Add field.
73 [__PTHREAD_SPINS]: Adjust to init lock elision field.
74 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
75 elision definitions for powerpc.
76 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
77 implementation of lock elision for powerpc.
78 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
79 implementation of timed lock elision for powerpc.
80 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
81 implementation of trylock with lock elision for powerpc.
82 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
83 implementaion of unlock for lock elision for powerpc.
84 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
85 automatic enable lock elision for mutexes.
86 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
87 transaction execution definitions for powerpc.
88 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
90 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
91 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
92 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
93 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
96 2015-01-09 Roland McGrath <roland@hack.frob.com>
98 * sysdeps/posix/shm-directory.c: Use <> rather than ""
99 for #include of <shm-directory.h>.
101 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
103 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
104 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
106 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
109 * NEWS: Mention bug fix.
110 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
111 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
112 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
114 2015-01-09 Torvald Riegel <triegel@redhat.com>
116 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
118 2015-01-09 Torvald Riegel <triegel@redhat.com>
120 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
122 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
124 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
125 pointer and cast to uintptr_t.
127 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
129 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
131 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
133 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
135 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
138 2015-01-08 Roland McGrath <roland@hack.frob.com>
140 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
141 <nptl/pthreadP.h> instead.
142 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
144 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
146 [__SIGRTMIN] (init): Function removed.
147 [__SIGRTMIN] (initialized): Variable removed.
148 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
149 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
150 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
151 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
152 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
153 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
154 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
155 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
156 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
157 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
158 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
159 * sysdeps/nptl/allocrtsig.c: New file.
160 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
161 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
162 * sysdeps/generic/testrtsig.h: File removed.
164 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
165 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
167 * nptl/nptl-init.c (pthread_functions): Conditionalize
168 .ptr__nptl_setxid initialization on [SIGSETXID].
170 * sysdeps/nptl/sys/procfs.h: New file.
171 * nptl_db/Makefile (headers): Add it.
172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
174 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
175 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
176 * nptl/pthread_attr_setaffinity.c: Include it.
177 * nptl/pthread_setattr_default_np.c: Likewise.
178 * nptl/check-cpuset.h: New file.
180 2015-01-08 Richard Henderson <rth@redhat.com>
182 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
183 (CFLAGS-tst-execstack-prog.c): Likewise.
184 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
186 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
187 Sandra Loosemore <sandra@codesourcery.com>
188 Andrew Jenner <andrew@codesourcery.com>
189 Joseph Myers <joseph@codesourcery.com>
190 Nathan Sidwell <nathan@codesourcery.com>
192 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
193 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
194 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
195 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
196 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
197 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
198 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
199 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
200 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
201 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
202 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
203 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
204 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
205 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
206 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
207 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
208 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
210 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
212 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
213 timespec struct member in syscall macro.
214 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
215 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
216 first timeval struct member in syscall macro.
217 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
219 2015-01-07 Joseph Myers <joseph@codesourcery.com>
222 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
223 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
224 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
225 __feupdateenv and define as weak alias of __feupdateenv. Use
227 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
229 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
230 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
231 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
232 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
234 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
235 __feupdateenv and define as weak alias of __feupdateenv. Use
237 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
239 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
240 __feupdateenv and define as weak alias of __feupdateenv. Use
242 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
244 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
245 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
246 (__feupdateenv): Likewise.
247 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
248 __feupdateenv and define as weak alias of __feupdateenv. Use
250 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
251 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
253 * sysdeps/tile/math_private.h (__feupdateenv): New inline
255 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
257 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
258 __feupdateenv instead of feupdateenv.
259 (default_libc_feupdateenv_test): Likewise.
260 (libc_feresetround_ctx): Likewise.
262 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
264 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
267 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
269 * posix/regcomp.c (parse_bracket_exp): Initialize type to
270 COLL_SYM in a couple of places to avoid uninitialized variable
271 wanings on tilegx gcc 4.8.2.
273 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
275 * sysdeps/aarch64/strcpy.S: New file.
276 * sysdeps/aarch64/stpcpy.S: New file.
279 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
281 * sysdeps/aarch64/strrchr.S: New file.
284 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
287 * stdlib/setenv.c: Fix memory leak when setting large,
290 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
293 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
294 and tabs from buffer before parsing fstab entry.
295 * misc/tst-mntent.c (main): Add test for mount entry with
296 trailing spaces and tabs.
298 2015-01-06 Joseph Myers <joseph@codesourcery.com>
301 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
302 * math/fesetround.c (fesetround): Rename to __fesetround and
303 define as weak alias of __fesetround. Use libm_hidden_weak.
304 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
305 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
306 * sysdeps/arm/fesetround.c (fesetround): Likewise.
307 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
308 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
309 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
310 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
311 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
312 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
314 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
315 __fesetround_inline instead of __fesetround.
316 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
317 __fesetround and define as weak alias of __fesetround. Use
318 libm_hidden_weak. Call __fesetround_inline instead of
320 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
321 __fesetround and define as weak alias of __fesetround. Use
323 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
325 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
326 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
327 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
328 * sysdeps/tile/math_private.h (__fesetround): New inline function.
329 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
330 __fesetround and define as weak alias of __fesetround. Use
332 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
333 __fesetround instead of fesetround.
334 (default_libc_feholdexcept_setround): Likewise.
335 (libc_feholdsetround_ctx): Likewise.
336 (libc_feholdsetround_noex_ctx): Likewise.
339 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
340 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
341 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
342 and define as weak alias of __fesetenv. Use libm_hidden_weak.
343 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
344 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
345 define as weak alias of __fesetenv. Use libm_hidden_weak.
346 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
347 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
348 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
349 define as weak alias of __fesetenv. Use libm_hidden_weak.
350 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
351 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
352 define as weak alias of __fesetenv. Use libm_hidden_weak.
353 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
355 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
356 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
358 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
359 define as weak alias of __fesetenv. Use libm_hidden_weak.
360 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
361 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
362 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
363 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
364 and define as weak alias of __fesetenv. Use libm_hidden_weak.
365 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
366 __fesetenv instead of fesetenv.
367 (libc_feresetround_noex_ctx): Likewise.
368 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
369 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
370 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
371 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
372 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
373 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
374 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
375 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
376 (__feupdateenv): Likewise.
377 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
378 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
379 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
380 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
382 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
385 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
386 addresses have been freed.
388 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
390 * resolv/res_init.c (__res_vinit): Improve comments about nserv
393 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
395 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
396 Clean up check_pf allocation pattern. addresses
398 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
400 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
401 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
402 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
403 * nptl/pthread_exit.c (__pthread_exit): Likewise.
404 * nptl/pthread_join.c (pthread_join): Likewise.
405 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
406 * sysdeps/posix/waitid.c (__waitid): Likewise.
407 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
408 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
409 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
410 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
413 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
414 (__libc_pread64): Likewise.
415 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
416 (__libc_pwrite): Likewise.
417 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
418 (__libc_pwrite64): Likewsie.
419 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
420 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
421 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
422 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
423 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
424 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
425 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
429 (__libc_pread64): Likewise.
430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
433 (__libc_pwrite64): Likewise.
434 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
435 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
436 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
437 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
438 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
439 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
440 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
441 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
442 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
443 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
444 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
445 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
446 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
447 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
448 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
449 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
452 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
454 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
455 (CFLAGS-test-double.c): Likewise.
456 (CFLAGS-test-ldouble.c): Likewise.
457 (CPPFLAGS-test-ifloat.c): Likewise.
458 (CPPFLAGS-test-idouble.c): Likewise.
459 (CPPFLAGS-test-ildoubl.c): Likewise.
460 (CFLAGS-test-test-fenv.c): Remove variable.
461 (CFLAGS-test-misc.c): Likewise.
463 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
466 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
467 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
468 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
469 CLOCKS_PER_SEC == 1000000.
470 * time/clocktest.c (main): Replace %ld with %jd and cast to
473 2015-01-05 Roland McGrath <roland@hack.frob.com>
475 * sysdeps/generic/unwind-resume.h: New file.
476 * sysdeps/gnu/unwind-resume.c: Include it.
477 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
478 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
480 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
481 global rather than static.
482 (_Unwind_Resume): Update user.
483 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
484 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
485 rather than static. Add __attribute__ ((cold)).
486 (_Unwind_Resume, __gcc_personality_v0): Update callers.
487 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
488 * sysdeps/arm/arm-unwind-resume.S: New file.
489 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
490 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
491 * sysdeps/arm/Makefile [$(subdir) = csu]
492 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
493 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
494 Add rt-arm-unwind-resume.
496 (libpthread-sysdep_routines, libpthread-shared-only-routines):
497 Add pt-arm-unwind-resume.
498 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
499 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
501 2015-01-05 Joseph Myers <joseph@codesourcery.com>
504 * include/fenv.h (__feholdexcept): Declare. Use
506 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
507 define as weak alias of __feholdexcept. Use libm_hidden_weak.
508 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
509 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
510 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
511 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
512 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
513 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
514 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
515 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
516 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
517 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
518 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
519 (feholdexcept): Likewise.
520 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
521 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
522 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
523 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
524 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
525 __feholdexcept instead of feholdexcept.
526 (default_libc_feholdexcept_setround): Likewise.
528 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
530 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
531 to avoid using stl/str to align destination.
533 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
535 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
537 2015-01-05 Joseph Myers <joseph@codesourcery.com>
540 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
541 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
542 Define as weak alias not strong alias.
544 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
546 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
550 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
552 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
553 for __vdso_* functions in declarations.
554 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
556 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
557 INTERNAL_VSYSCALL): Use struct return types to check for error.
559 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
560 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
561 function with cast from llround().
562 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
563 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
566 2015-01-05 Joseph Myers <joseph@codesourcery.com>
569 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
570 Define as weak alias not strong alias.
573 * ctype/ctype-c99.c: New file. isblank implementation moved from
575 * ctype/ctype-extn.c: ... here.
576 (__isblank_l): Move to ...
577 * ctype/ctype-c99_l.c: ... here. New file.
578 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
579 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
581 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
582 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
583 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
584 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
585 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
588 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
589 (posix_fadvise64): Define as weak alias not strong alias.
590 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
591 (posix_fallocate64): Likewise.
592 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
594 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
595 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
596 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
597 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
598 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
600 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
603 * NEWS: Mention bug fix.
604 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
605 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
606 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
607 (HOST_STACK_END_ADDR): Likewise.
609 2015-01-02 Joseph Myers <joseph@codesourcery.com>
612 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
613 * math/fegetround.c (fegetround): Rename to __fegetround and
614 define as weak alias of __fegetround. Use libm_hidden_weak.
615 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
616 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
617 * sysdeps/arm/fegetround.c (fegetround): Likewise.
618 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
619 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
620 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
621 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
622 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
623 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
624 Undefine after rather than before function definition; use
625 parentheses around function name in definition.
626 (__fegetround): Also undefine macro after function definition.
627 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
628 __fegetround and define as weak alias of __fegetround. Use
629 libm_hidden_weak. Do not undefine as macro.
630 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
632 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
633 __fegetround and define as weak alias of __fegetround. Use
635 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
636 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
637 * sysdeps/tile/math_private.h (__fegetround): New inline function.
638 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
639 __fegetround and define as weak alias of __fegetround. Use
641 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
642 __fegetround instead of fegetround.
645 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
646 Condition macro definition on [__USE_MISC].
649 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
650 (struct sigaction): Change type of sa_flags field to int.
653 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
654 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
657 * nptl/version.c (banner): Use single year in copyright notice.
659 * NEWS: Update copyright dates.
660 * catgets/gencat.c (print_version): Likewise.
661 * csu/version.c (banner): Likewise.
662 * debug/catchsegv.sh: Likewise.
663 * debug/pcprofiledump.c (print_version): Likewise.
664 * debug/xtrace.sh (do_version): Likewise.
665 * elf/ldconfig.c (print_version): Likewise.
666 * elf/ldd.bash.in: Likewise.
667 * elf/pldd.c (print_version): Likewise.
668 * elf/sotruss.sh: Likewise.
669 * elf/sprof.c (print_version): Likewise.
670 * iconv/iconv_prog.c (print_version): Likewise.
671 * iconv/iconvconfig.c (print_version): Likewise.
672 * locale/programs/locale.c (print_version): Likewise.
673 * locale/programs/localedef.c (print_version): Likewise.
674 * login/programs/pt_chown.c (print_version): Likewise.
675 * malloc/memusage.sh (do_version): Likewise.
676 * malloc/memusagestat.c (print_version): Likewise.
677 * malloc/mtrace.pl: Likewise.
678 * manual/libc.texinfo: Likewise.
679 * nptl/version.c (banner): Likewise.
680 * nscd/nscd.c (print_version): Likewise.
681 * nss/getent.c (print_version): Likewise.
682 * nss/makedb.c (print_version): Likewise.
683 * posix/getconf.c (main): Likewise.
684 * scripts/test-installation.pl: Likewise.
685 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
687 2015-01-02 Will Newton <will.newton@linaro.org>
689 * sysdeps/arm/armv7/configure: Removed.
690 * sysdeps/arm/armv7/configure.ac: Likewise.
692 2015-01-02 Joseph Myers <joseph@codesourcery.com>
694 * All files with FSF copyright notices: Update copyright dates
695 using scripts/update-copyrights.
696 * intl/plural.c: Regenerated.
697 * locale/programs/charmap-kw.h: Likewise.
698 * locale/programs/locfile-kw.h: Likewise.
700 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
702 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
704 2014-12-31 Joseph Myers <joseph@codesourcery.com>
707 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
708 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
709 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
710 and define as weak alias of __fegetenv. Use libm_hidden_weak.
711 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
712 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
713 define as weak alias of __fegetenv. Use libm_hidden_weak.
714 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
715 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
716 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
717 define as weak alias of __fegetenv. Use libm_hidden_weak.
718 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
719 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
720 define as weak alias of __fegetenv. Use libm_hidden_weak.
721 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
723 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
724 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
726 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
727 define as weak alias of __fegetenv. Use libm_hidden_weak.
728 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
729 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
730 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
731 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
732 and define as weak alias of __fegetenv. Use libm_hidden_weak.
733 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
734 __fegetenv instead of fegetenv.
735 (libc_feholdsetround_noex_ctx): Likewise.
737 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
739 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
740 (Elf_MIPS_ABIFlags_v0): New structure.
741 (EF_MIPS_FP64): Define.
742 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
743 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
744 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
745 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
746 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
747 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
748 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
749 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
750 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
751 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
752 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
753 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
754 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
755 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
756 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
757 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
758 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
759 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
760 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
761 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
762 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
763 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
765 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
767 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
768 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
769 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
770 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
771 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
772 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
773 * sysdeps/mips/tst-abi-interlink.c: Likewise.
774 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
775 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
776 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
777 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
778 record the current FP ABI extension.
779 (mips-mode-switch): Define to show if kernel headers support mode
781 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
782 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
783 supported SYSV ABI version to 3.
784 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
787 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
788 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
792 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
794 2014-12-31 Joseph Myers <joseph@codesourcery.com>
796 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
797 __fegetround and redefine to call __fegetround. Remove condition
798 on [!__NO_MATH_INLINES].
799 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
801 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
802 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
804 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
805 instead of <fenv_libc.h>.
806 (__llrintl): Call fegetround instead of __fegetround.
807 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
808 instead of <fenv_libc.h>.
809 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
810 (__lrintl): Call fegetround instead of __fegetround.
811 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
812 instead of <fenv_libc.h>.
813 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
814 (__rintl): Call fegetround instead of __fegetround.
816 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
818 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
821 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
824 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
825 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
826 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
828 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
830 * sysdeps/i386/tls-macros.h: Include <features.h>.
831 (TLS_LE): Use non-PIC version for GCC >= 5.0.
835 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
836 define for GCC >= 5.0.
838 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
840 * math/test-fenv.c (test_single_exception, set_single_exc,
841 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
842 feexcp_mask_test, feenable_test, fe_single_test): Add
843 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
844 case where they are not used.
845 * math/libm-test.inc: Likewise.
846 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
847 unused in the absence of FP rounding/exception support.
848 * stdio-common/tst-printf-round.c: Likewise.
849 * stdlib/tst-strtod-round.c: Likewise.
850 * stdlib/tst-strtod-underflow.c: Likewise.
852 2014-12-30 Joseph Myers <joseph@codesourcery.com>
855 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
856 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
857 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
858 __feraiseexcept and define as weak alias of __feraiseexcept. Use
860 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
861 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
862 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
864 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
865 __feraiseexcept and define as weak alias of __feraiseexcept. Use
867 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
869 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
870 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
871 __feraiseexcept and define as weak alias of __feraiseexcept. Use
873 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
875 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
876 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
877 (__feraiseexcept): Likewise.
878 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
879 __feraiseexcept and define as weak alias of __feraiseexcept. Use
881 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
882 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
884 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
885 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
887 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
889 (feraiseexcept): Define as weak not strong alias. Use
891 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
892 New inline function. Factored out of ...
893 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
894 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
895 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
897 * math/w_acos.c (__acos): Likewise.
898 * math/w_asin.c (__asin): Likewise.
899 * math/w_ilogb.c (__ilogb): Likewise.
900 * math/w_j0.c (y0): Likewise.
901 * math/w_j1.c (y1): Likewise.
902 * math/w_jn.c (yn): Likewise.
903 * math/w_log.c (__log): Likewise.
904 * math/w_log10.c (__log10): Likewise.
905 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
906 * sysdeps/aarch64/fpu/math_private.h
907 (libc_feupdateenv_test_aarch64): Likewise.
908 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
909 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
910 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
911 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
912 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
913 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
914 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
915 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
916 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
917 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
919 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
922 * io/test-utime.c (main): Replace %ld with %jd and cast to
924 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
925 * nptl/tst-mutex5.c: Include <stdint.h>.
926 (do_test): Replace %ld with %jd and cast to intmax_t.
927 * posix/tst-regex.c (run_test): Likewise.
928 (run_test_backwards): Likewise.
929 * rt/tst-clock.c: Include <stdint.h>.
930 (clock_test): Replace %ld with %jd and cast to intmax_t.
931 * rt/tst-cpuclock1.c: Include <stdint.h>.
932 (do_test): Replace %lu with %ju and cast to uintmax_t.
933 * rt/tst-cpuclock2.c: Include <stdint.h>.
934 (do_test): Replace %lu with %ju and cast to uintmax_t.
935 * rt/tst-mqueue1.c: Include <stdint.h>.
936 (check_attrs): Replace %ld with %jd and cast to intmax_t.
937 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
939 * rt/tst-mqueue4.c (do_test): Likewise.
940 * rt/tst-timer4.c: Include <stdint.h>.
941 (check_ts): Replace %ld with %jd and cast to intmax_t.
943 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
944 and cast to intmax_t.
945 * sysdeps/pthread/tst-timer.c (main): Likewise.
946 * time/clocktest.c (main): Likewise.
947 * time/tst-posixtz.c (do_test): Likewise.
948 * timezone/tst-timezone.c (main): Likewise.
950 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
951 H.J. Lu <hongjiu.lu@intel.com>
953 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
954 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
955 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
956 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
957 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
958 version if bit_Fast_Unaligned_Load is set.
959 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
960 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
961 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
962 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
963 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
964 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
966 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
967 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
968 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
970 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
971 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
972 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
973 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
975 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
977 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
978 instead of #if to avoid a Wundef warning.
979 * stdlib/tst-limits.c (do_test): Likewise.
981 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
982 parallel other exception macros.
983 (fegetenv): Convert from macro to extern inline so that it applies
984 retroactively to inline functions already seen by the compiler.
985 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
987 * posix/Makefile (before-compile): Use $(objpfx) for
988 posix-conf-vars-def.h.
990 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
992 * posix/getconf.c (main): Use size_t for type of I.
993 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
996 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
997 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
998 * posix/posix-envs.def: Likewise.
999 * sysdeps/posix/sysconf.c: Likewise.
1000 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1001 (specs): Remove array.
1002 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1005 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1006 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1007 (__sysconf): Use CONF_IS_* macros.
1009 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1010 ($(objpfx)posix-conf-vars-def.h): New target.
1011 * posix/posix-conf-vars.list: New file.
1012 * posix/posix-conf-vars.h: New file.
1013 * posix/confstr.c: Include posix-conf-vars.h.
1014 (confstr): Use CONF_IS_* macros.
1015 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1017 * scripts/gen-posix-conf-vars.awk: New file.
1019 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1021 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1022 fegetround): Add no-op macros to avoid linknamespace issues.
1024 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1025 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1027 * sysdeps/unix/sysv/linux/tile/sysdep.h
1028 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1029 assembly-specific section to avoid a redefinition warning.
1031 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1032 long before casting to pointer to avoid a cast warning.
1034 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1036 * sysdeps/tile/tilegx/Implies: New file.
1038 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1040 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1042 2014-12-23 Florian Weimer <fweimer@redhat.com>
1044 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1046 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1048 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1050 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1051 <kernel-features.h>.
1052 (__utimes) [__NR_utimes]: Make code unconditional.
1053 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1054 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1055 (__ASSUME_UTIMES): Do not undefine.
1056 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1057 (__ASSUME_UTIMES): Likewise.
1058 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1059 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1060 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1061 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1063 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1065 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1067 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1070 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1071 alias to weak alias for j0l, y0l.
1072 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1073 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1076 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1079 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1081 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1082 to zero if not already defined.
1084 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1087 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1088 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1089 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1090 (char *) casts added.
1091 * sysdeps/ieee754/k_standardf.c: New file.
1092 * sysdeps/ieee754/k_standardl.c: Likewise.
1093 * math/Makefile (libm-support): Remove k_standard.
1094 (libm-calls): Add k_standard.
1096 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1098 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1099 Optimize to avoid an unnecessary FPCR read.
1101 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1103 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1104 Optimize to reduce FPCR/FPSR accesses.
1106 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1108 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1109 Call libc_fetestexcept_aarch64.
1111 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1113 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1114 Call libc_fesetround_aarch64.
1116 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1120 (__bind): Do not define as weak alias.
1121 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1123 (__getsockname): Do not define as weak alias.
1125 2014-12-22 Will Newton <will.newton@linaro.org>
1127 * manual/install.texi: Document that we require bison 2.7
1129 * INSTALL: Regenerate.
1130 * configure.ac: Use AC_CHECK_PROG_VER instead of
1131 AC_PATH_PROG when checking for bison and check for
1132 version 2.7 or above.
1133 * configure: Regenerate.
1135 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1138 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1139 * sysdeps/tile/ffsll.c (ffsll): To here.
1141 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1143 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1145 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1147 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1149 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1150 hidden ___tls_get_addr.
1151 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1152 hidden __tls_get_addr.
1153 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1154 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1157 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1159 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1162 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1164 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1165 from "call _dl_init@PLT".
1166 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1168 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1170 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1173 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1175 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1177 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1180 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1183 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1185 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1187 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1188 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1189 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1190 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1191 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1193 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1195 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1196 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1197 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1198 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1199 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1201 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1203 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1205 * string/strncat.c (STRNCAT): Simplify implementation.
1207 2014-12-19 David S. Miller <davem@davemloft.net>
1209 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1210 access the quad as both a long double and as a series of 4 words.
1212 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1213 link_map->l_info array access.
1215 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1217 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1219 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1220 * math/atest-exp2.c (TIMEOUT): Likewise.
1221 * math/atest-sincos.c (TIMEOUT): Likewise.
1223 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1225 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1226 -Wno-error with -fno-builtin-lround.
1228 2014-12-19 Torvald Riegel <triegel@redhat.com>
1230 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1231 Contains futex constants and functions moved over from ...
1232 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1233 <lowlevellock-futex.h>.
1234 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1235 (lll_timedwait_tid): Add comments and parentheses around macro
1238 2014-12-19 Torvald Riegel <triegel@redhat.com>
1240 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1241 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1242 (__lll_private_flag): Remove.
1243 (lll_futex_wait): Likewise.
1244 (lll_futex_timed_wait): Likewise.
1245 (lll_futex_wake): Likewise.
1246 (lll_futex_requeue): Likewise.
1247 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1248 (__lll_timedwait_tid): Spell out argument names.
1249 (lll_timedwait_tid): Add comments and parentheses around macro
1251 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1252 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1254 2014-12-19 Torvald Riegel <triegel@redhat.com>
1256 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1257 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1258 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1259 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1260 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1261 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1262 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1263 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1264 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1265 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1266 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1267 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1269 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1270 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1271 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1272 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1273 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1274 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1276 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1278 * sysdeps/x86_64/x32/Makefile: New file.
1280 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1282 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1283 1L with (mp_limb_t) 1.
1285 2014-12-17 Roland McGrath <roland@hack.frob.com>
1287 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1288 * nptl/libc_pthread_init.c: ... here.
1289 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1290 * nptl/register-atfork.c: ... here.
1292 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1293 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1294 Use assert_perror to check its return value.
1295 (__gai_create_helper_thread): Likewise.
1297 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1299 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1301 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1304 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1306 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1308 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1310 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1312 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1313 (profil_counter): Likewise.
1314 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1315 (profil_counter): Likewise.
1316 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1318 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1320 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1321 (profil_counter): Likewise.
1322 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1324 [!__profil_counter] (profil_counter): Define as weak alias of
1326 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1327 (profil_counter): Rename to __profil_counter.
1328 [!__profil_counter] (profil_counter): Define as weak alias of
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1331 (profil_counter): Rename to __profil_counter.
1332 [!__profil_counter] (profil_counter): Define as weak alias of
1334 * sysdeps/posix/profil.c: Update comment referring to
1336 (__profil): Use __profil_counter instead of profil_counter.
1337 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1338 __profil_counter. Use __profil_counter_ushort and
1339 __profil_counter_uint in definitions.
1340 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1341 instead of profil_counter_uint and profil_counter_ushort.
1344 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1345 define as weak alias of __inet_makeaddr.
1346 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1347 as weak alias of __inet_addr.
1348 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1349 as weak alias of __inet_pton. Use libc_hidden_weak.
1350 * include/arpa/inet.h (__inet_pton): Declare. Use
1352 (inet_makeaddr): Don't use libc_hidden_proto.
1353 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1354 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1355 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1356 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1358 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1359 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1361 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1363 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1365 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1367 * stdio-common/bug-vfprintf-nargs.c (do_test):
1368 Cast value to intptr_t to avoid format warning
1369 for usage with PRIdPTR printing macro.
1371 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1373 * libio/tst-widetext.c (do_test):
1374 Use format type %td instead of %Zd for ptrdiff_t
1375 in order to avoid format warning.
1377 2014-12-17 Andreas Schwab <schwab@suse.de>
1379 * nscd/mem.c (gc): Add size_t cast to match printf format.
1381 2014-12-16 Roland McGrath <roland@hack.frob.com>
1383 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1384 (init): Apply PTR_MANGLE to pointers before storing them.
1385 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1388 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1391 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1392 define as weak alias of __memrchr.
1393 (__memrchr): Do not define as strong alias of memrchr.
1394 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1396 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1397 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1398 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1401 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1402 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1403 (if_indextoname): Rename to __if_indextoname and define as weak
1404 alias of __if_indextoname. Use libc_hidden_weak.
1405 (if_freenameindex): Rename to __if_freenameindex and define as
1406 weak alias of __if_freenameindex.
1407 (if_nameindex): Rename to __if_nameindex and define as weak alias
1409 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1410 __if_nametoindex and define as weak alias of __if_nametoindex.
1411 Use libc_hidden_weak.
1412 (if_freenameindex): Rename to __if_freenameindex and define as
1413 weak alias of __if_freenameindex.
1414 (if_nameindex): Rename to __if_nameindex and define as weak alias
1416 (if_indextoname): Rename to __if_indextoname and define as weak
1417 alias of __if_indextoname. Use libc_hidden_weak.
1418 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1419 __if_nametoindex and define as weak alias of __if_nametoindex.
1420 Use libc_hidden_weak.
1421 (if_freenameindex): Rename to __if_freenameindex and define as
1422 weak alias of __if_freenameindex. Use libc_hidden_weak.
1423 (if_nameindex_netlink): Use __if_freenameindex instead of
1425 (if_nameindex): Rename to __if_nameindex and define as weak alias
1426 of __if_nameindex. Use libc_hidden_weak.
1427 (if_indextoname): Rename to __if_indextoname and define as weak
1428 alias of __if_indextoname. Use libc_hidden_weak.
1429 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1431 [!_ISOMAC] (__if_freenameindex): Likewise.
1432 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1434 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1436 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1437 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1438 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1439 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1440 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1441 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1442 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1444 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1446 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1447 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1449 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1451 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1452 subscript above bounds'
1454 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1457 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1459 * libio/tst-fopenloc.c: Use test-skeleton.c.
1461 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1462 (entry): Rename to ITEM.
1463 (do_test, comp): Adjust.
1465 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1467 2014-12-16 Torvald Riegel <triegel@redhat.com>
1469 * string/tester.c: Include <libc-internal.h>.
1470 (test_memset): Ignore -Wmemset-transposed-args.
1472 2014-12-16 Torvald Riegel <triegel@redhat.com>
1474 * misc/tst-mntent2.c (do_test): Fix warning.
1476 2014-12-16 Torvald Riegel <triegel@redhat.com>
1478 * elf/tst-unique4lib.cc(a): Mark as used.
1480 2014-12-16 Florian Weimer <fweimer@redhat.com>
1483 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1486 2014-12-16 Allan McRae <allan@archlinux.org>
1488 * stdio-common/Makefile (tests): Re-add bug26.
1490 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1493 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1496 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1498 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1499 (__lll_lock_wait): Likewise.
1500 (__lll_timedlock_wait): Likewise.
1501 (__lll_timedwait_tid): Likewise.
1502 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1503 (__lll_robust_timedlock_wait): Likewise.
1504 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1505 (lll_cond_trylock): Likewise.
1506 (__lll_lock): Likewise.
1507 (__lll_robust_lock): Likewise.
1508 (__lll_cond_lock): Likewise.
1509 (lll_robust_cond_lock): Likewise.
1510 (__lll_timedlock): Likewise.
1511 (__lll_robust_timedlock): Likewise.
1512 (__lll_unlock): Likewise.
1513 (__lll_robust_unlock): Likewise.
1514 (lll_wait_tid): Likewise.
1515 (lll_timedwait_tid): Likewise.
1517 2014-12-15 Torvald Riegel <triegel@redhat.com>
1519 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1521 2014-12-15 Torvald Riegel <triegel@redhat.com>
1523 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1525 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1527 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1528 * stdio-common/tst-sprintf.c: Likewise.
1530 2014-12-15 Torvald Riegel <triegel@redhat.com>
1532 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1534 2014-12-15 Jeff Law <law@redhat.com>
1537 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1538 on the heap. (CVE-2012-3406)
1539 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1540 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1541 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1543 2014-12-15 Will Newton <will.newton@linaro.org>
1545 * manual/install.texi: Bump required version of texinfo
1547 * INSTALL: Regenerated.
1548 * configure.ac: Check for makeinfo version 4.7 and above.
1549 * configure: Regenerated.
1551 2014-12-12 Roland McGrath <roland@hack.frob.com>
1553 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1554 PREFIX, string constant to insert between directory and name.
1555 * sysdeps/posix/shm_open.c: Update caller.
1556 * sysdeps/posix/shm_unlink.c: Likewise.
1557 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1558 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1559 (SEM_SHM_PREFIX): New macro.
1560 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1561 [$(have-thread-library) = no].
1562 * nptl/Makefile (libpthread-routines): Add shm-directory.
1563 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1564 * sysdeps/nptl/shm-directory.h: New file.
1565 * sysdeps/posix/shm-directory.c
1566 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1567 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1568 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1570 (__where_is_shmfs): Function removed.
1571 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1573 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1575 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1577 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1578 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1579 unconditional for use inside libpthread.
1580 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1582 2014-12-12 Roland McGrath <roland@hack.frob.com>
1584 * nptl/pthread_getaffinity.c: New file.
1585 * nptl/pthread_setaffinity.c: New file.
1586 * nptl/pthread_getname.c: New file.
1587 * nptl/pthread_setname.c: New file.
1589 * nptl/pthread_create.c (START_THREAD_DEFN)
1590 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1592 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1593 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595 * resolv/res_send.c (send_vc): Disable warning resplen may
1596 be used uninitialized.
1598 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1601 (ATTR_NULL): New define checks ATTR against NULL.
1602 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1603 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1605 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1609 (mem2mem_check): Revert my previous change.
1610 (malloc_check_get_size): Revert my previous change.
1611 (mem2chunk_check): Revert my previous change.
1613 2014-12-11 Roland McGrath <roland@hack.frob.com>
1615 * sysdeps/posix/shm-directory.c: New file.
1616 * sysdeps/posix/shm-directory.h: New file.
1617 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1618 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1619 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1620 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1621 Transmute EPERM to EACCES.
1622 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1624 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1625 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1627 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1629 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1630 pointer and cast to uintptr_t.
1631 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1632 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1633 Add cast to avoid warning.
1634 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1636 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1638 * nptl/semaphore.h: Move to ...
1639 * sysdeps/pthread/semaphore.h: ... here.
1640 * Makefile (installed-headers): Change nptl/semaphore.h to
1641 sysdeps/pthread/semaphore.h.
1643 2014-12-11 Roland McGrath <roland@hack.frob.com>
1645 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1646 generated error format strings.
1648 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1649 -Wformat-extra-args warnings for scanf formats.
1650 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1651 test of zero-length format (duh).
1652 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1653 corner-case scanf format test.
1654 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1655 generated fprintf format string.
1656 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1657 corner-case sprintf format tests.
1658 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1659 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1660 -Wformat-extra-args warnings throughout.
1661 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1662 (CFLAGS-scanf4.c): Likewise.
1663 (CFLAGS-scanf7.c): Likewise.
1664 (CFLAGS-tst-sprintf.c): Likewise.
1665 (CFLAGS-tst-printf.c): Likewise.
1666 (CFLAGS-tst-printfsz.c): Likewise.
1668 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1670 * include/cpio.h: New file.
1671 * include/fmtmsg.h: Likewise.
1673 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1674 corresponding format argument to size_t.
1675 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1677 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1678 corresponding format argument to size_t.
1679 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1681 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1682 corresponding format argument to size_t.
1683 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1684 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1685 (CFLAGS-tst-mbswcs2.c): Likewise.
1686 (CFLAGS-tst-mbswcs3.c): Likewise.
1687 (CFLAGS-tst-mbswcs4.c): Likewise.
1688 (CFLAGS-tst-mbswcs5.c): Likewise.
1689 (CFLAGS-tst-trans.c): Likewise
1691 2014-12-11 Roland McGrath <roland@hack.frob.com>
1693 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1694 rather than assuming they won't contain any '%'s.
1696 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1698 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1699 inhibit_loop_to_libcall to avoid recursive calls.
1700 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1701 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1703 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1705 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1708 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1710 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1711 integer value instead of boolean.
1713 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1715 * malloc/malloc.c: Fix powerof2 check.
1717 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1719 * locale/programs/locfile.h (maybe_swap_uint32):
1720 Remove inline and add unused attribute.
1722 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1725 Truncating assembler expression to a .long expression.
1727 2014-12-11 Andreas Schwab <schwab@suse.de>
1729 * elf/rtld.c (struct map_args): Constify str member.
1730 (do_preload): Constify fname argument.
1732 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1735 constants definition.
1737 2014-12-11 Andreas Schwab <schwab@suse.de>
1740 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1741 FORCE_ELISION instead of DO_ELISION.
1742 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1744 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1747 * iconvdata/gconv-modules: Remove duplicate entry.
1749 2014-12-11 Will Newton <will.newton@linaro.org>
1751 Merge gettext 0.19.3 into intl/.
1753 This involves a number of cosmetic changes to comments
1754 and ANSI function definitions and prototypes throughout
1755 all the files. The gettext copyright header is used but
1756 with the date ranges taken from the glibc copy.
1758 * NEWS: Add gettext merge to 2.21.
1759 * intl/bindtextdom.c: Switch to gettext copyright.
1760 Use ANSI definitions and prototypes.
1761 Use gl_* locking primitives rather than __libc_* ones.
1762 Use __builtin_expect rather than __glibc_likely/unlikely.
1763 * intl/dcgettext.c: Switch to gettext copyright.
1764 Use ANSI definitions and prototypes.
1765 * intl/dcigettext.c: Switch to gettext copyright.
1766 Use ANSI definitions and prototypes.
1767 (INTDIV0_RAISES_SIGFPE): New define.
1768 Use gl_* locking primitives rather than __libc_* ones.
1769 Include eval-plural.h instead of plural-eval.c.
1770 Use __builtin_expect rather than __glibc_likely/unlikely.
1771 * intl/dcngettext.c: Switch to gettext copyright.
1772 Use ANSI definitions and prototypes.
1773 * intl/dgettext.c: Likewise.
1774 * intl/dngettext.c: Likewise.
1775 * intl/plural-eval.c: Renamed to...
1776 * intl/eval-plural.h: ...this.
1777 * intl/explodename.c: Switch to gettext copyright.
1778 Use ANSI definitions and prototypes.
1779 (_nl_explode_name): Use strchr instead of __rawmemchr.
1780 * intl/finddomain.c: Switch to gettext copyright.
1781 Use ANSI definitions and prototypes.
1782 Use gl_* locking primitives rather than __libc_* ones.
1783 (_nl_find_domain): Use malloc rather than alloca for
1784 allocation of temporary locale name.
1785 * intl/gettext.c: Switch to gettext copyright.
1786 Use ANSI definitions and prototypes.
1787 * intl/gettextP.h: Switch to gettext copyright.
1788 Use ANSI definitions and prototypes.
1789 Use gl_* locking primitives rather than __libc_* ones.
1790 * intl/gmo.h: Switch to gettext copyright.
1791 (struct sysdep_string): Move struct segment_pair outside of
1793 * intl/hash-string.c: Use ANSI definitions and prototypes.
1794 * intl/hash-string.h: Switch to gettext copyright.
1795 Use ANSI definitions and prototypes.
1796 * intl/l10nflist.c: Switch to gettext copyright.
1797 Use ANSI definitions and prototypes.
1798 (_nl_normalize_codeset): Avoid integer overflow.
1799 * intl/loadinfo.h: Switch to gettext copyright.
1800 Use ANSI definitions and prototypes.
1801 (LIBINTL_DLL_EXPORTED): New define.
1802 (PATH_SEPARATOR): New define.
1803 * intl/loadmsgcat.c: Switch to gettext copyright.
1804 * intl/localealias.c: Switch to gettext copyright.
1805 Use ANSI definitions and prototypes.
1806 (_nl_expand_alias): Use PATH_SEPARATOR.
1807 * intl/ngettext.c: Switch to gettext copyright.
1808 Use ANSI definitions and prototypes.
1809 * intl/plural-exp.c: Likewise.
1810 * intl/plural-exp.h: Switch to gettext copyright.
1811 Use ANSI definitions and prototypes.
1812 (struct expression): Move definition of enum operator outside
1813 of struct definition.
1814 * intl/plural.c: Regenerate.
1815 * intl/plural.y: Switch to gettext copyright.
1816 Use ANSI definitions and prototypes.
1818 * intl/textdomain.c: Switch to gettext copyright.
1819 Use ANSI definitions and prototypes.
1820 Use gl_* locking primitives rather than __libc_* ones.
1822 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1824 * debug/warning-nop.c: Add used atrribute.
1826 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1828 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1830 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1831 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1832 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1834 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1835 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1838 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1839 Undefine after defining function. Define as weak alias of
1840 __wcschr. Use libc_hidden_weak.
1841 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1842 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1843 (libc_hidden_def): Also define __GI___wcschr alias.
1844 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1845 __wcschr and define as weak alias of __wcschr.
1846 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1848 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1849 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1850 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1851 libc_hidden_weak. Do not use libc_hidden_def.
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1853 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1854 __GI___wcschr alias.
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1856 [IS_IN (libc)] (wcschr): Define as macro expanding to
1858 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1859 [IS_IN (libc)] (__wcschr_power6): Likewise.
1860 [IS_IN (libc)] (__wcschr_power7): Likewise.
1861 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1863 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1865 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1866 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1867 __wcschr and define as weak alias of __wcschr. Use
1868 libc_hidden_builtin_def.
1869 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1870 as weak alias of __wcschr. Use libc_hidden_weak.
1871 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1873 * time/era.c (_nl_init_era_entries): Likewise.
1874 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1876 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1877 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1879 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1881 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1882 format for long int variable.
1884 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1887 * manual/search.texi: (Array Sort Function): Remove claim how to make
1890 2014-12-10 Andreas Schwab <schwab@suse.de>
1893 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1894 user-controlled locks.
1896 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1898 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1901 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1903 * configure.ac (--disable-werror): New configure option.
1904 (enable_werror): New AC_SUBST.
1905 * configure: Regenerated.
1906 * config.make.in (enable-werror): New variable.
1907 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1909 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1910 * manual/install.texi (Configuring and compiling): Document
1912 * INSTALL: Regenerated.
1913 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1914 (CFLAGS-tst-chk2.c): Likewise.
1915 (CFLAGS-tst-chk3.c): Likewise.
1916 (CFLAGS-tst-chk4.cc): Likewise.
1917 (CFLAGS-tst-chk5.cc): Likewise.
1918 (CFLAGS-tst-chk6.cc): Likewise.
1919 (CFLAGS-tst-lfschk1.c): Likewise.
1920 (CFLAGS-tst-lfschk2.c): Likewise.
1921 (CFLAGS-tst-lfschk3.c): Likewise.
1922 (CFLAGS-tst-lfschk4.cc): Likewise.
1923 (CFLAGS-tst-lfschk5.cc): Likewise.
1924 (CFLAGS-tst-lfschk6.cc): Likewise.
1926 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1927 (main): Disable -Wdeprecated-declarations around calls to
1928 register_printf_function.
1930 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1931 (do_test): Disable -Wdiv-by-zero around some calls to
1932 fwrite_unlocked and fread_unlocked.
1934 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1935 (DIAG_POP_NEEDS_COMMENT): Likewise.
1936 (_DIAG_STR1): Likewise.
1937 (_DIAG_STR): Likewise.
1938 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1939 * stdio-common/bug21.c: Include <libc-internal.h>.
1940 (do_test): Disable -Wformat around call to sscanf.
1941 * stdio-common/scanf14.c: Include <libc-internal.h>.
1942 (main): Disable -Wformat around some calls to scanf functions.
1944 2014-12-09 Torvald Riegel <triegel@redhat.com>
1946 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1948 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1951 stack variable alignment.
1953 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1956 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1957 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1958 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1959 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1960 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1961 __getrlimit instead of getrlimit.
1962 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1963 __gettimeofday instead of gettimeofday.
1964 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1966 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1968 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1969 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1971 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1972 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1974 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1976 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1977 for wide-character tests.
1979 2014-12-04 Roland McGrath <roland@hack.frob.com>
1981 * io/openat64.c: #include <libc-internal.h>
1982 (__openat64): Prototypify. Use ignore_value on MODE.
1983 * io/openat.c: Likewise.
1984 * misc/reboot.c: #include <libc-internal.h>
1985 (reboot): Prototypify. Use ignore_value on HOWTO.
1986 * misc/ptrace.c: #include <libc-internal.h>
1987 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1989 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1991 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1992 XPG4, UNIX98 and XOPEN2K.
1993 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1995 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1997 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1999 * libio/fileops.c: Use ISO C style for function definitions.
2000 * libio/iofopen.c: Likewise.
2001 * libio/wfileops.c: Likewise.
2004 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2006 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2007 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2008 (fgets_func): Function pointer to fgets and fgetws.
2009 (do_ftell_test): Add test to verify ftell value after read
2011 (do_test): Set fgets_func.
2013 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2014 O_TRUNC flag for w and w+ modes.
2015 (do_rewind_test): Likewise.
2016 (do_ftell_test): Likewise.
2017 (do_write_test): Likewise.
2020 * libio/fileops.c (do_ftell): Seek only when there are
2022 * libio/wfileops.c (do_ftell_wide): Likewise.
2023 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2025 (do_one_test): Call it.
2027 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2029 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2030 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2031 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2033 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2034 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2035 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2037 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2039 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2041 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2044 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2045 as weak alias of __getifaddrs. Use libc_hidden_weak.
2046 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2047 __freeifaddrs. Use libc_hidden_weak.
2048 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2049 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2050 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2051 __freeifaddrs. Use libc_hidden_weak.
2052 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2053 __getifaddrs and define as weak alias of __getifaddrs. Use
2055 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2056 __freeifaddrs. Use libc_hidden_weak.
2057 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2059 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2060 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2062 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2065 * sysdeps/mips/start.S (__start): Use indirect jump to call
2068 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2070 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2072 * nptl/tst-mutex1.c: Include <stdbool.h>.
2073 [!ATTR] (ATTR_NULL): New macro.
2074 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2075 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2076 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2078 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2082 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2083 Change conditional to [__USE_MISC].
2086 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2088 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2090 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2092 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2094 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2095 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2096 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2097 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2098 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2099 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2100 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2101 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2102 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2104 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2106 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2109 Remove strpbrk objects.
2110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2111 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2112 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2113 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2114 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2115 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2117 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2118 Remove strcspn objects.
2119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2120 (__libc_ifunc_impl_list): Remove strcspn implementation.
2121 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2122 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2123 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2124 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2127 Remove strspn objetcs.
2128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2129 (__libc_ifunc_impl_list): Remove strspn implementation.
2130 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2131 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2132 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2133 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2135 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2139 (mem2mem_check): Add a terminator to the chain of checking blocks.
2140 (malloc_check_get_size): Use it here.
2141 (mem2chunk_check): Ditto.
2143 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2145 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2146 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2148 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2150 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2152 * nptl/nptl-init.c: Include libc-internal.h.
2153 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2155 * elf/ldconfig.c (search_dir): Expand comment.
2157 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2159 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2161 (linknamespace-symlist-stdlibs-tests): Likewise.
2162 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2163 instead of $(objpfx)symlist-stdlibs.
2164 (linknamespace-libs-isoc): New variable.
2165 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2166 (linknamespace-libs-ISO): New variable.
2167 (linknamespace-libs-ISO99): Likewise.
2168 (linknamespace-libs-ISO11): Likewise.
2169 (linknamespace-libs-XPG3): Likewise.
2170 (linknamespace-libs-XPG4): Likewise.
2171 (linknamespace-libs-POSIX): Likewise.
2172 (linknamespace-libs-UNIX98): Likewise.
2173 (linknamespace-libs-XOPEN2K): Likewise.
2174 (linknamespace-libs-POSIX2008): Likewise.
2175 (linknamespace-libs-XOPEN2K8): Likewise.
2176 ($(objpfx)symlist-stdlibs): Replace by
2177 $(linknamespace-symlist-stdlibs-tests). Use
2178 $(linknamespace-libs-$*) as set of libraries.
2179 ($(linknamespace-header-tests)): Update dependencies. Use
2180 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2181 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2182 * conform/linknamespace.pl: Remove comment about considering
2183 definitions of symbols from irrelevant libraries.
2185 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2188 * elf/dl-tls.c: Include <atomic.h>.
2189 (oom): Remove #ifdef SHARED/#endif.
2190 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2191 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2192 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2194 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2195 * nptl/Makefile (tests): Add tst-stack4.
2196 (modules-names): Add tst-stack4mod.
2197 ($(objpfx)tst-stack4): New.
2198 (tst-stack4mod.sos): Likewise.
2199 ($(objpfx)tst-stack4.out): Likewise.
2200 ($(tst-stack4mod.sos)): Likewise.
2202 * nptl/tst-stack4.c: New file.
2203 * nptl/tst-stack4mod.c: Likewise.
2205 2014-11-27 J. Brown <jb999@gmx.de>
2207 * sysdeps/x86/bits/string.h: Add recent CPUs.
2209 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2211 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2214 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2217 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2220 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2222 * nscd/connections.c: Include libc-internal.h because of macro
2225 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2227 * string/bits/string3.h (__warn_memset_zero_len): Don't
2228 declare for gcc newer than 5.0.
2229 (memset): Don't test for zero-length __LEN for gcc newer than
2232 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2234 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2235 size_t for %zu format.
2237 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2238 difference, not %ju.
2240 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2242 * include/libc-internal.h (ignore_value): New macro.
2243 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2246 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2249 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2250 pthread_cleanup_push to void *.
2252 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2257 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2258 instead of 1L << 52.
2260 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2261 * libio/bug-rewind2.c (do_test): Likewise.
2263 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2264 * debug/test-strcpy_chk-ifunc.c: Likewise.
2265 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2266 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2267 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2268 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2269 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2270 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2271 * Rules [$(multi-arch) = no] (tests): Do not filter out
2273 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2274 * debug/Makefile (tests-ifunc): Remove variable.
2275 (tests): Do not add $(tests-ifunc).
2276 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2277 (tests): Do not add $(tests-ifunc).
2278 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2279 [TEST_IFUNC]: Remove conditionals.
2280 * string/test-string.h (TEST_IFUNC): Remove macro.
2281 [TEST_IFUNC]: Remove conditionals.
2283 * string/test-strchr.c [!WIDE] (L): New macro.
2284 [WIDE] (L): Likewise.
2285 (check1): Use CHAR instead of char. Use L on string and character
2288 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2290 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2292 * sysdeps/powerpc/bits/atomic.h
2293 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2294 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2295 (atomic_exchange_and_add_acq): Likewise.
2296 (atomic_exchange_and_add_rel): Likewise.
2297 * sysdeps/powerpc/powerpc32/bits/atomic.h
2298 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2299 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2300 * sysdeps/powerpc/powerpc64/bits/atomic.h
2301 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2302 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2304 2014-11-26 Torvald Riegel <triegel@redhat.com>
2306 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2307 Change synchronization of __sched_fifo_min_prio and
2308 __sched_fifo_max_prio.
2309 * nptl/pthread_mutexattr_getprioceiling.c
2310 (pthread_mutexattr_getprioceiling): Likewise.
2311 * nptl/pthread_mutexattr_setprioceiling.c
2312 (pthread_mutexattr_setprioceiling): Likewise.
2313 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2314 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2317 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2319 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2322 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2324 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2325 third argument const.
2327 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2329 fnmatch: work around GCC compiler warning bug with uninit var
2330 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2331 This works around a bug with x86-64 GCC 4.9.2 and earlier
2332 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2333 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2334 used uninitialized in this function [-Wmaybe-uninitialized]".
2336 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2338 * posix/bug-regex31.c (main): Return RES not 0.
2340 2014-11-25 Anton Blanchard <anton@samba.org>
2342 * sysdeps/powerpc/bits/atomic.h
2343 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2345 2014-11-24 Sterling Augustine <saugustine@google.com>
2347 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2349 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2352 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2354 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2357 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2358 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2360 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2361 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2363 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2365 * string/strncpy.c (strncpy): Improve performance by using memset.
2367 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2369 * string/strcpy.c (strcpy):
2370 Improve performance by using strlen and memcpy.
2372 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2374 * string/strcoll_l.c (get_next_seq): __always_inline.
2375 * string/strcoll_l.c (do_compare): __always_inline.
2377 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2379 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2381 * include/mqueue.h: Likewise.
2382 * include/stdlib.h: Likewise.
2384 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2385 (get_null_defines): Adjust.
2386 * sunrpc/Makefile: Adjust comment.
2387 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2388 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2389 (CFLAGS-interp.c): Likewise.
2390 (CFLAGS-ldconfig.c): Likewise.
2391 (CPPFLAGS-.os): Likewise.
2392 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2393 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2394 * extra-modules.mk (extra-modules.mk): Likewise.
2395 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2396 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2397 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2398 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2399 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2400 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2401 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2402 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2403 * iconvdata/Makefile (CPPFLAGS): Likewise.
2404 (cpp-srcs-left): Add libof for all iconvdata routines.
2405 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2406 * include/assert.h: Likewise.
2407 * include/ctype.h: Likewise.
2408 * include/errno.h: Likewise.
2409 * include/libc-symbols.h: Likewise.
2410 * include/math.h: Likewise.
2411 * include/netdb.h: Likewise.
2412 * include/resolv.h: Likewise.
2413 * include/stdio.h: Likewise.
2414 * include/stdlib.h: Likewise.
2415 * include/string.h: Likewise.
2416 * include/sys/stat.h: Likewise.
2417 * include/wctype.h: Likewise.
2418 * intl/l10nflist.c: Likewise.
2419 * libidn/idn-stub.c: Likewise.
2420 * libio/libioP.h: Likewise.
2421 * nptl/libc_multiple_threads.c: Likewise.
2422 * nptl/pthreadP.h: Likewise.
2423 * posix/regex_internal.h: Likewise.
2424 * resolv/res_hconf.c: Likewise.
2425 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2426 * sysdeps/arm/memmove.S: Likewise.
2427 * sysdeps/arm/sysdep.h: Likewise.
2428 * sysdeps/generic/_itoa.h: Likewise.
2429 * sysdeps/generic/symbol-hacks.h: Likewise.
2430 * sysdeps/gnu/errlist.awk: Likewise.
2431 * sysdeps/gnu/errlist.c: Likewise.
2432 * sysdeps/i386/i586/memcpy.S: Likewise.
2433 * sysdeps/i386/i586/memset.S: Likewise.
2434 * sysdeps/i386/i686/memcpy.S: Likewise.
2435 * sysdeps/i386/i686/memmove.S: Likewise.
2436 * sysdeps/i386/i686/mempcpy.S: Likewise.
2437 * sysdeps/i386/i686/memset.S: Likewise.
2438 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2439 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2440 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2441 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2442 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2443 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2444 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2445 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2446 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2448 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2449 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2450 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2451 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2452 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2453 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2454 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2455 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2456 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2457 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2458 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2459 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2460 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2461 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2462 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2463 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2464 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2465 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2474 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2475 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2478 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2479 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2482 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2483 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2484 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2485 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2486 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2488 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2489 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2491 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2492 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2493 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2494 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2495 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2496 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2497 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2498 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2499 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2500 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2501 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2502 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2503 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2504 * sysdeps/posix/closedir.c: Likewise.
2505 * sysdeps/posix/opendir.c: Likewise.
2506 * sysdeps/posix/readdir.c: Likewise.
2507 * sysdeps/posix/rewinddir.c: Likewise.
2508 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2509 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2510 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2512 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2513 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2515 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2517 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2522 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2525 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2534 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2543 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2544 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2545 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2546 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2547 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2548 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2549 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2550 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2551 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2552 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2553 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2554 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2555 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2556 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2557 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2558 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2559 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2560 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2561 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2562 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2563 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2565 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2566 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2567 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2568 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2569 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2570 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2571 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2572 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2573 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2574 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2575 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2576 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2577 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2578 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2579 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2580 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2581 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2582 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2583 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2584 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2585 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2586 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2587 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2588 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2589 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2590 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2592 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2593 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2594 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2595 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2596 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2597 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2598 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2599 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2600 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2604 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2606 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2607 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2608 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2609 * sysdeps/unix/alpha/sysdep.S: Likewise.
2610 * sysdeps/unix/alpha/sysdep.h: Likewise.
2611 * sysdeps/unix/make-syscalls.sh: Likewise.
2612 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2613 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2614 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2615 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2616 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2617 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2618 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2619 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2620 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2621 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2622 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2623 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2624 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2625 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2626 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2627 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2628 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2629 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2630 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2631 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2632 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2633 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2634 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2635 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2636 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2637 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2638 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2641 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2642 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2646 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2651 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2652 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2653 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2654 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2655 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2656 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2659 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2662 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2663 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2664 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2665 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2666 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2668 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2670 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2671 * sysdeps/x86_64/memcpy.S: Likewise.
2672 * sysdeps/x86_64/memmove.c: Likewise.
2673 * sysdeps/x86_64/memset.S: Likewise.
2674 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2675 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2676 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2677 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2678 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2681 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2682 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2683 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2684 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2685 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2686 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2687 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2688 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2689 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2690 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2691 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2692 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2693 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2694 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2695 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2698 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2699 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2700 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2701 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2702 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2703 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2704 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2705 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2706 * sysdeps/x86_64/strcmp.S: Likewise.
2708 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2710 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2711 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2712 * elf/rtld-Rules: Likewise.
2713 * elf/setup-vdso.h: Likewise.
2714 * include/assert.h: Likewise.
2715 * include/bits/stdlib-float.h: Likewise.
2716 * include/errno.h: Likewise.
2717 * include/sys/stat.h: Likewise.
2718 * include/unistd.h: Likewise.
2719 * sysdeps/aarch64/setjmp.S: Likewise.
2720 * sysdeps/alpha/setjmp.S: Likewise.
2721 * sysdeps/arm/__longjmp.S: Likewise.
2722 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2723 * sysdeps/arm/setjmp.S: Likewise.
2724 * sysdeps/arm/sysdep.h: Likewise.
2725 * sysdeps/generic/_itoa.h: Likewise.
2726 * sysdeps/generic/dl-sysdep.h: Likewise.
2727 * sysdeps/generic/ldsodefs.h: Likewise.
2728 * sysdeps/i386/dl-tls.h: Likewise.
2729 * sysdeps/i386/setjmp.S: Likewise.
2730 * sysdeps/m68k/setjmp.c: Likewise.
2731 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2732 * sysdeps/mach/hurd/opendir.c: Likewise.
2733 * sysdeps/posix/getcwd.c: Likewise.
2734 * sysdeps/posix/opendir.c: Likewise.
2735 * sysdeps/posix/profil.c: Likewise.
2736 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2737 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2739 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2740 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2741 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2743 * sysdeps/s390/dl-tls.h: Likewise.
2744 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2745 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2746 * sysdeps/sh/sh3/setjmp.S: Likewise.
2747 * sysdeps/sh/sh4/setjmp.S: Likewise.
2748 * sysdeps/unix/alpha/sysdep.h: Likewise.
2749 * sysdeps/unix/arm/sysdep.S: Likewise.
2750 * sysdeps/unix/i386/sysdep.S: Likewise.
2751 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2752 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2753 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2754 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2756 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2757 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2758 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2759 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2760 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2761 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2762 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2766 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2769 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2770 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2774 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2775 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2779 * sysdeps/x86_64/setjmp.S: Likewise.
2781 * include/math.h: Use IS_IN instead of IS_IN_libm.
2782 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2783 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2784 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2785 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2787 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2788 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2790 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2791 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2792 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2793 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2794 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2795 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2796 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2797 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2798 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2799 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2800 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2801 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2802 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2803 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2804 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2805 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2806 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2807 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2809 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2810 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2811 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2812 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2813 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2814 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2825 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2826 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2827 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2828 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2829 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2836 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2838 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2839 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2840 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2841 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2842 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2843 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2844 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2845 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2846 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2849 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2851 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2853 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2854 * nptl/pthreadP.h: Likewise.
2855 * nptl_db/structs.def: Likewise.
2856 * sysdeps/arm/sysdep.h: Likewise.
2857 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2858 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2859 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2860 * sysdeps/unix/alpha/sysdep.h: Likewise.
2861 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2863 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2864 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2865 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2866 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2868 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2869 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2870 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2871 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2872 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2873 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2874 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2879 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2882 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2883 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2884 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2885 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2886 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2888 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2889 * nptl/pthreadP.h: Likewise.
2890 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2891 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2892 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2893 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2894 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2895 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2896 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2897 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2898 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2899 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2900 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2901 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2908 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2911 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2912 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2915 * dlfcn/dladdr.c: Use IS_IN.
2916 * dlfcn/dladdr1.c: Likewise.
2917 * dlfcn/dlclose.c: Likewise.
2918 * dlfcn/dlerror.c: Likewise.
2919 * dlfcn/dlinfo.c: Likewise.
2920 * dlfcn/dlmopen.c: Likewise.
2921 * dlfcn/dlopen.c: Likewise.
2922 * dlfcn/dlsym.c: Likewise.
2923 * dlfcn/dlvsym.c: Likewise.
2925 * include/ifaddrs.h: Use IS_IN.
2926 * inet/check_pf.c: Likewise.
2927 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2928 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2930 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2932 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2933 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2935 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2936 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2939 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2941 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2942 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2943 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2944 * include/libc-symbols.h (IS_IN_LIB): New macro.
2945 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2946 * include/netdb.h: Likewise.
2947 * include/stap-probe.h: Remove all uses of IN_LIB.
2949 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2950 instead of IN_MODULE.
2951 * include/libc-symbols.h (IN_MODULE): Define using
2953 (PASTE_NAME, PASTE_NAME1): New macros.
2954 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2956 (STAP_PROBE_ASM): Likewise.
2958 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2960 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2961 __mach_init in dlopened libc.
2963 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2965 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2966 * sysdeps/arm/preconfigure: Regenerate.
2968 2014-11-21 Roland McGrath <roland@hack.frob.com>
2970 * nptl/pthread_create.c (__pthread_create_2_1): Set
2971 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2972 when copying values from IATTR into PD.
2974 2014-11-21 Will Newton <will.newton@linaro.org>
2975 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2977 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2978 Refactor inline-asm. Also add comment.
2980 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2981 ElfW macro instead of hardcoded Elf64 types.
2982 (la_aarch64_gnu_pltenter): Likewise.
2983 * sysdeps/aarch64/dl-machine.h
2984 (elf_machine_runtime_setup): Use ElfW(Addr).
2986 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2987 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2988 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2989 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2990 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2991 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2992 (R_AARCH64_TLS_DTPMOD): This.
2993 (R_AARCH64_TLS_DTPREL64): Rename to ...
2994 (R_AARCH64_TLS_DTPREL): This.
2995 (R_AARCH64_TLS_TPREL64): Rename to ...
2996 (R_AARCH64_TLS_TPREL): This.
2997 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2998 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2999 R_AARCH64_TLS_TPREL64.
3000 (elf_machine_rela): Likewise.
3002 2014-11-21 Torvald Riegel <triegel@redhat.com>
3004 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3005 by setting it to 0. 64b atomics are not supported currently.
3007 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3010 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3011 search domain names.
3013 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3017 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3019 * posix/tst-getaddrinfo5.c: New.
3020 * posix/Makefile (tests): Add it.
3022 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3026 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3027 after parsing line but before break_if_match.
3028 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3029 if there is a protocol mismatch.
3031 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3033 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3034 because the potential race is on the user-supplied stream.
3036 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3038 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3039 string literal if not passed a buffer.
3040 * manual/job.texi (ctermid): Update reasoning, note deviation
3041 from posix, suggest mtasurace when not passed a buffer, for
3042 future non-preliminary safety notes.
3044 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3046 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3047 of not passing it a buffer.
3048 Reported by Peng Haitao.
3050 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3052 * manual/Makefile ($(objpfx)stamp-summary): Require
3053 check-safety.sh to pass.
3054 * manual/check-safety.sh: Wish for verification that every
3055 @deftypefn and @deftypefun is followed by a @safety remark.
3057 2014-11-20 Roland McGrath <roland@hack.frob.com>
3059 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3061 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3062 PTHREAD_CANCEL_ASYNCHRONOUS.
3063 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3066 * nptl/default-sched.h: New file.
3067 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3068 * nptl/pthread_create.c: Include it.
3069 (__pthread_create_2_1): Use collect_default_sched instead of making
3070 Linux syscalls here directly.
3072 2014-11-20 Torvald Riegel <triegel@redhat.com>
3074 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3075 __pthread_once): Use C11 atomics.
3077 2014-11-20 Torvald Riegel <triegel@redhat.com>
3079 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3081 2014-11-20 Torvald Riegel <triegel@redhat.com>
3083 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3084 atomic_thread_fence_acquire, atomic_thread_fence_release,
3085 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3086 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3087 atomic_compare_exchange_weak_relaxed,
3088 atomic_compare_exchange_weak_acquire,
3089 atomic_compare_exchange_weak_release,
3090 atomic_exchange_acquire, atomic_exchange_release,
3091 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3092 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3093 atomic_fetch_and_acquire,
3094 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3096 2014-11-20 Torvald Riegel <triegel@redhat.com>
3098 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3099 USE_ATOMIC_COMPILER_BUILTINS): Define.
3100 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3101 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3102 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3104 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3106 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3108 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3110 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3111 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3112 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3114 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3116 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3117 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3118 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3119 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3120 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3121 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3122 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3124 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3125 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3126 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3128 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3129 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3130 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3131 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3132 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3133 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3134 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3135 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3136 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3137 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3138 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3139 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3141 2014-11-19 Roland McGrath <roland@hack.frob.com>
3143 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3144 the sched_priority value here. It was already checked when the user
3145 called pthread_attr_setschedparam.
3147 * nptl/tst-bad-schedattr.c: New file.
3148 * nptl/Makefile (tests): Add it.
3150 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3151 Florian Weimer <fweimer@redhat.com>
3152 Joseph Myers <joseph@codesourcery.com>
3153 Adam Conrad <adconrad@0c3.net>
3154 Andreas Schwab <schwab@suse.de>
3155 Brooks <bmoses@google.com>
3158 * wordexp-test.c (__dso_handle): Add prototype.
3159 (__register_atfork): Likewise.
3160 (__app_register_atfork): New function.
3161 (registered_forks): New global.
3162 (register_fork): New function.
3163 (test_case): Add 3 new tests for WRDE_CMDSUB.
3164 (main): Call __app_register_atfork.
3165 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3166 fork count is non-zero fail the test.
3167 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3169 (parse_dollars): Remove check for WRDE_NOCMD.
3170 (parse_dquote): Likewise.
3172 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3174 * Makeconfig (built-modules): List non-library modules to be
3176 (module-cppflags): Include libc-modules.h for
3177 everything except shlib-versions.v.i.
3179 (before-compile): Add libc-modules.h.
3180 ($(common-objpfx)libc-modules.h,
3181 $(common-objpfx)libc-modules.stmp): New targets.
3182 (common-generated): Add libc-modules.h and libc-modules.stmp.
3183 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3184 * include/libc-symbols.h: Don't include libc-modules.h.
3185 * include/libc-modules.h: Remove file.
3186 * scripts/gen-libc-modules.awk: New script to generate
3188 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3189 Depend on libc-modules.stmp.
3191 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3193 * Makeconfig (in-module): Get value of libof set for the
3195 (CPPFLAGS): Use $(in-module).
3196 * Makerules: Don't suffix routine names for nonlib.
3197 * include/libc-modules.h: New file.
3198 * include/libc-symbols.h: Include libc-modules.h
3199 (IS_IN): New macro to replace IS_IN_* macros.
3200 * elf/Makefile: Set libof-* for each routine.
3201 * elf/rtld-Rules: Likewise.
3202 * extra-modules.mk: Likewise.
3203 * iconv/Makefile: Likewise.
3204 * iconvdata/Makefile: Likewise.
3205 * locale/Makefile: Likewise.
3206 * malloc/Makefile: Likewise.
3207 * nss/Makefile: Likewise.
3208 * sysdeps/gnu/Makefile: Likewise.
3209 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3210 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3211 * sysdeps/s390/s390-64/Makefile: Likewise.
3212 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3213 CPPFLAGS for nscd instead of nonlib.
3215 2014-11-18 Roland McGrath <roland@hack.frob.com>
3217 * nptl/createthread.c: New file.
3219 * nptl/createthread.c: Moved ...
3220 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3222 * nptl/createthread.c: Add proper top-line comment.
3223 (do_clone): Folded into ...
3224 (create_thread): ... here. Take new arguments STOPPED_START and
3225 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3226 increment __nptl_threads, do event-reporting logic, do
3227 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3228 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3229 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3230 just send SIGCANCEL.
3231 * nptl/pthread_create.c: Forward-declare create_thread before
3232 including createthread.c.
3233 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3234 declaration, and new macro START_THREAD_SELF to replace argument.
3235 Remove return statement.
3236 (report_thread_creation): New function.
3237 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3238 synchronization logic, and __nptl_nthreads increment here, around
3239 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3240 PD->parent_cancelhandling here, before create_thread. When
3241 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3242 __deallocate_stack, and ENOMEM translation here.
3244 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3247 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3248 (mptwo): Rename to __mptwo.
3249 (__inv): Use __mptwo instead of mptwo.
3250 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3251 (mptwo): Rename to __mptwo.
3252 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3253 of mpone and __mptwo instead of mptwo.
3254 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3257 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3258 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3259 of mpone and __mptwo instead of mptwo.
3260 (__mpranred): Use __mpone instead of mpone.
3261 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3263 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3264 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3265 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3266 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3267 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3268 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3269 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3270 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3271 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3272 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3273 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3274 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3275 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3276 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3277 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3278 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3279 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3280 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3281 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3283 2014-11-18 Tom de Vries <tom@codesoucery.com>
3285 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3286 replace BSD Handler xref with BSD Signal Handling.
3288 2014-11-17 Richard Henderson <rth@redhat.com>
3290 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3291 (_FP_PACK_RAW_2): Remove.
3292 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3293 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3294 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3295 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3296 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3297 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3298 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3299 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3300 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3301 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3302 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3303 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3304 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3305 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3306 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3307 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3309 2014-11-14 Roland McGrath <roland@hack.frob.com>
3311 * signal/signal.h [__USE_MISC]
3312 (struct sigvec): Remove type.
3313 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3314 (sigvec): Remove declaration.
3315 * sysdeps/posix/sigvec.c: Moved ...
3316 * signal/sigvec.c: ... here, replacing old file.
3317 (struct sigvec): New type, copied from old signal.h definition.
3318 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3319 (__sigvec): Convert definition to prototype.
3320 (sigvec): Replace weak_alias with compat_symbol.
3321 * signal/Versions (libc: GLIBC_2.21): New version set.
3322 * include/signal.h: Remove __sigvec declaration.
3323 * sysdeps/unix/bsd/sigvec.c: Remove file.
3324 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3325 * manual/signal.texi (BSD Handler): Remove subsection.
3326 Move siginterrupt up to ...
3327 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3328 (Blocking in BSD): Fold subsection into its parent.
3329 * NEWS: Mention sigvec removal.
3331 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3333 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3334 (DLA_FMS): Make definition conditional only on [__FMA4__].
3335 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3338 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3339 Make definition conditional only on [PROF].
3340 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3342 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3343 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3345 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3347 * include/signal.h (__sigpause): Move declaration above call to
3349 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3351 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3352 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3354 2014-11-14 David S. Miller <davem@davemloft.net>
3356 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3357 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3359 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3361 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3362 * configure: Regenerated.
3363 * manual/install.texi (Tools for Compilation): Document a
3364 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3365 compiler verified to work.
3366 * INSTALL: Regenerated.
3368 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3369 redeclare with asm name.
3370 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3371 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3372 including <string.h>.
3373 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3374 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3375 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3376 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3377 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3378 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3379 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3381 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3383 * stdlib/strtol.c (__strtol): Use prototype definition.
3386 * stdlib/strtol.c (SYM__): New macro.
3388 (__strtol): Likewise.
3389 (strtol): Rename to __strtol and define as weak alias of
3390 __strtol. Use libc_hidden_weak.
3392 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3394 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3395 Use numbered labels in inline assembly.
3397 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3399 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3400 Add setjmp LIBC_PROBE.
3401 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3403 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3404 Add longjmp, longjmp_target LIBC_PROBE.
3405 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3408 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3410 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3411 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3412 to get rid of unused variable warning.
3414 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3416 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3417 Check for unwind_backtrace == NULL only in SHARED case.
3418 (__backchain_backtrace): Compile only in SHARED case.
3419 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3421 (__backchain_backtrace): Declare as static.
3423 2014-11-12 Roland McGrath <roland@hack.frob.com>
3425 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3426 (__libc_multiple_threads_ptr): Variable moved ...
3427 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3429 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3431 * conform/GlibcConform.pm: New file.
3432 * conform/conformtest.pl: Use GlibcConform module.
3433 * conform/linknamespace.pl: New file.
3434 * conform/list-header-symbols.pl: Likewise.
3435 * conform/Makefile (linknamespace-symlists-base): New variable.
3436 (linknamespace-symlists-tests): Likewise.
3437 (linknamespace-header-base): Likewise.
3438 (linknamespace-header-tests): Likewise.
3439 (tests-special): Add new tests.
3440 ($(linknamespace-symlists-tests)): New rule.
3441 (linknamespace-libs): New variable.
3442 ($(objpfx)symlist-stdlibs): New rule.
3443 ($(linknamespace-header-tests)): Likewise.
3444 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3445 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3446 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3447 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3448 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3449 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3450 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3451 (test-xfail-ISO/math.h/linknamespace): Likewise.
3452 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3453 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3454 (test-xfail-ISO/time.h/linknamespace): Likewise.
3455 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3456 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3457 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3458 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3459 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3460 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3461 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3462 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3463 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3464 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3465 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3466 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3467 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3468 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3469 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3470 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3471 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3472 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3473 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3474 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3475 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3476 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3477 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3478 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3479 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3480 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3481 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3482 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3483 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3484 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3485 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3486 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3487 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3488 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3489 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3490 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3491 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3492 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3493 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3494 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3495 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3496 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3497 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3498 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3499 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3500 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3501 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3502 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3503 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3504 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3505 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3506 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3507 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3508 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3509 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3510 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3511 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3512 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3513 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3514 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3515 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3516 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3517 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3518 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3519 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3520 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3521 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3522 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3523 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3524 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3525 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3526 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3527 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3528 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3529 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3530 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3531 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3532 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3533 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3534 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3535 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3536 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3537 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3538 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3539 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3540 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3541 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3542 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3543 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3544 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3545 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3546 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3547 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3548 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3549 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3550 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3551 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3552 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3553 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3554 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3555 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3556 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3557 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3558 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3559 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3560 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3561 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3562 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3563 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3564 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3565 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3566 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3567 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3568 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3569 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3570 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3571 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3572 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3573 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3574 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3575 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3576 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3577 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3578 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3579 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3580 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3581 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3582 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3583 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3584 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3585 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3586 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3587 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3588 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3589 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3590 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3591 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3592 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3593 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3594 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3595 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3596 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3597 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3598 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3599 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3600 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3601 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3602 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3603 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3604 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3607 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3611 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3612 (memmem): Rename to __memmem and define as weak alias of
3613 __memmem. Use libc_hidden_weak.
3614 (__memmem): Use libc_hidden_def.
3615 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3616 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3620 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3621 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3622 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3623 and define as weak alias of __fgets_unlocked. Use
3625 (__fgets_unlocked): Use libc_hidden_def.
3626 * include/stdio.h (__fgets_unlocked): Declare. Use
3628 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3629 __fgets_unlocked instead of fgets_unlocked.
3630 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3631 (GET_NPROCS_CONF_PARSER): Likewise.
3632 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3633 (GET_NPROCS_CONF_PARSER): Likewise.
3636 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3637 weak alias of __wmemset. Use libc_hidden_weak.
3638 (__wmemset): Use libc_hidden_def.
3639 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3640 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3644 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3645 with asm name __mempcpy.
3646 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3649 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3650 and define as weak alias of __rawmemchr.
3651 (__rawmemchr): Do not define as strong alias of rawmemchr.
3654 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3656 (qsort): Call __qsort_r instead of qsort_r.
3657 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3658 (__qsort_r): Declare. Call libc_hidden_proto.
3659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3661 * nscd/gai.c (__qsort_r): Define to qsort_r.
3662 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3663 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3664 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3667 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3668 define as weak alias of __malloc_info.
3671 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3672 as weak alias of __rewinddir. Don't use libc_hidden_def.
3673 (__rewinddir): Use libc_hidden_def.
3674 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3675 as weak alias of __rewinddir. Don't use libc_hidden_def.
3676 (__rewinddir): Use libc_hidden_def.
3677 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3678 weak alias of __rewinddir. Don't use libc_hidden_def.
3679 (__rewinddir): Use libc_hidden_def.
3680 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3681 (__rewinddir): Use libc_hidden_proto.
3682 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3684 (__getcwd): Use __rewinddir instead of rewinddir.
3687 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3688 alias of __fileno. Use libc_hidden_weak.
3689 (__fileno): Use libc_hidden_def.
3690 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3691 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3693 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3695 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3696 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3698 (fread_unlocked): Don't use libc_hidden_ver.
3699 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3700 and define as weak alias of __fread_unlocked. Don't use
3702 (__fread_unlocked): Use libc_hidden_def.
3703 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3704 (ftello): Don't use libc_hidden_proto.
3705 (__ftello): Declare. Use libc_hidden_proto.
3706 (fread_unlocked): Don't use libc_hidden_proto.
3707 (__fread_unlocked): Declare. Use libc_hidden_proto.
3708 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3709 and __ftello instead of fileno, fread_unlocked and ftello.
3711 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3713 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3715 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3717 (_dl_start_user): Likewise.
3718 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3720 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3721 Siddhesh Poyarekar <siddhesh@redhat.com>
3723 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3724 Move argv and envp down instead of moving argc up.
3725 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3727 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3730 * test-skeleton.c (main): Return successful if one of
3731 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3732 * string/tst-strcoll-overflow.c: Define expected status.
3734 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3737 * locale/iso-639.def: Define Bhili and Tulu language codes.
3739 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3741 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3743 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3746 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3748 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3750 * configure.ac: Updated check of minimal required version to
3752 * manual/install.texi (Tools for Compilation): Updated version
3754 * configure: Regenerated.
3755 * INSTALL: Likewise.
3757 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3759 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3762 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3764 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3765 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3766 (__waitpid): Don't define as alias. Use libc_hidden_def not
3768 (waitpid): Define as alias of __waitpid.
3769 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3771 (__waitpid): Don't define as alias. Use libc_hidden_def not
3773 (waitpid): Define as alias of __waitpid.
3774 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3775 __libc_waitpid alias.
3776 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3777 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3779 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3780 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3781 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3783 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3785 (__waitpid): Don't define as alias. Use libc_hidden_def not
3787 (waitpid): Define as alias of __waitpid.
3789 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3791 * manual/llio.texi: Add comment that write safety has been
3794 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3795 (localplt-build-dso): Add elf/ld.so.
3796 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3797 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3800 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3805 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3806 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3807 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3808 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3809 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3810 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3811 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3812 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3813 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3815 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3817 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3820 * include/libc-symbols.h (INTUSE): Remove macro.
3822 (INTVARDEF): Likewise.
3823 (_INTVARDEF): Likewise.
3824 (INTDEF2): Likewise.
3825 (INTVARDEF2): Likewise.
3826 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3827 rtld_hidden_def instead of INTVARDEF.
3828 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3829 (_dl_starting_up_internal): Remove declaration.
3830 (_dl_starting_up): Use rtld_hidden_proto.
3831 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3833 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3834 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3836 * elf/dl-writev.h (_dl_writev): Likewise.
3837 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3838 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3839 _dl_starting_up_internal.
3841 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3843 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3846 2014-11-05 Will Newton <will.newton@linaro.org>
3848 * benchtests/Makefile: (bench-malloc): Add malloc thread
3849 scalability benchmark.
3850 * benchtests/bench-malloc-threads.c: New file.
3852 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3854 * sysdeps/aarch64/strchrnul.S: New file.
3856 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3858 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3860 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3862 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3864 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3868 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3871 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3873 * catgets/test-gencat.c: Use test-skeleton.c.
3874 * catgets/tst-catgets.c: Likewise.
3875 * csu/tst-empty.c: Likewise.
3876 * elf/tst-audit2.c: Likewise.
3877 * elf/tst-global1.c: Likewise.
3878 * elf/tst-pathopt.c: Likewise.
3879 * elf/tst-piemod1.c: Likewise.
3880 * elf/tst-tls10.c: Likewise.
3881 * elf/tst-tls11.c: Likewise.
3882 * elf/tst-tls12.c: Likewise.
3883 * gnulib/tst-gcc.c: Likewise.
3884 * iconvdata/tst-e2big.c: Likewise.
3885 * iconvdata/tst-loading.c: Likewise.
3886 * iconv/tst-iconv1.c: Likewise.
3887 * iconv/tst-iconv2.c: Likewise.
3888 * inet/test-inet6_opt.c: Likewise.
3889 * inet/tst-gethnm.c: Likewise.
3890 * inet/tst-network.c: Likewise.
3891 * inet/tst-ntoa.c: Likewise.
3892 * intl/tst-codeset.c: Likewise.
3893 * intl/tst-gettext2.c: Likewise.
3894 * intl/tst-gettext3.c: Likewise.
3895 * intl/tst-ngettext.c: Likewise.
3896 * intl/tst-translit.c: Likewise.
3897 * io/test-stat.c: Likewise.
3898 * libio/test-fmemopen.c: Likewise.
3899 * libio/tst-freopen.c: Likewise.
3900 * libio/tst-sscanf.c: Likewise.
3901 * libio/tst-ungetwc1.c: Likewise.
3902 * libio/tst-ungetwc2.c: Likewise.
3903 * libio/tst-widetext.c: Likewise.
3904 * localedata/tst-ctype.c: Likewise.
3905 * localedata/tst-digits.c: Likewise.
3906 * localedata/tst-leaks.c: Likewise.
3907 * localedata/tst-mbswcs1.c: Likewise.
3908 * localedata/tst-mbswcs2.c: Likewise.
3909 * localedata/tst-mbswcs3.c: Likewise.
3910 * localedata/tst-mbswcs4.c: Likewise.
3911 * localedata/tst-mbswcs5.c: Likewise.
3912 * localedata/tst-setlocale.c: Likewise.
3913 * localedata/tst-trans.c: Likewise.
3914 * localedata/tst-wctype.c: Likewise.
3915 * localedata/tst-xlocale1.c: Likewise.
3916 * login/tst-grantpt.c: Likewise.
3917 * malloc/tst-calloc.c: Likewise.
3918 * malloc/tst-malloc.c: Likewise.
3919 * malloc/tst-mallocstate.c: Likewise.
3920 * malloc/tst-mcheck.c: Likewise.
3921 * malloc/tst-mtrace.c: Likewise.
3922 * malloc/tst-obstack.c: Likewise.
3923 * math/atest-exp2.c: Likewise.
3924 * math/atest-exp.c: Likewise.
3925 * math/atest-sincos.c: Likewise.
3926 * math/test-matherr.c: Likewise.
3927 * math/test-misc.c: Likewise.
3928 * math/test-powl.c: Likewise.
3929 * math/tst-definitions.c: Likewise.
3930 * misc/tst-dirname.c: Likewise.
3931 * misc/tst-efgcvt.c: Likewise.
3932 * misc/tst-fdset.c: Likewise.
3933 * misc/tst-hsearch.c: Likewise.
3934 * misc/tst-mntent2.c: Likewise.
3935 * nptl/tst-sem7.c: Likewise.
3936 * nptl/tst-sem8.c: Likewise.
3937 * nptl/tst-sem9.c: Likewise.
3938 * nss/test-netdb.c: Likewise.
3939 * posix/tst-fnmatch.c: Likewise.
3940 * posix/tst-getlogin.c: Likewise.
3941 * posix/tst-gnuglob.c: Likewise.
3942 * posix/tst-mmap.c: Likewise.
3943 * pwd/tst-getpw.c: Likewise.
3944 * resolv/tst-inet_ntop.c: Likewise.
3945 * rt/tst-timer.c: Likewise.
3946 * stdio-common/test-fseek.c: Likewise.
3947 * stdio-common/test-popen.c: Likewise.
3948 * stdio-common/test-vfprintf.c: Likewise.
3949 * stdio-common/tst-cookie.c: Likewise.
3950 * stdio-common/tst-fileno.c: Likewise.
3951 * stdio-common/tst-gets.c: Likewise.
3952 * stdio-common/tst-obprintf.c: Likewise.
3953 * stdio-common/tst-perror.c: Likewise.
3954 * stdio-common/tst-sprintf2.c: Likewise.
3955 * stdio-common/tst-sprintf3.c: Likewise.
3956 * stdio-common/tst-sprintf.c: Likewise.
3957 * stdio-common/tst-swprintf.c: Likewise.
3958 * stdio-common/tst-tmpnam.c: Likewise.
3959 * stdio-common/tst-unbputc.c: Likewise.
3960 * stdio-common/tst-wc-printf.c: Likewise.
3961 * stdlib/tst-environ.c: Likewise.
3962 * stdlib/tst-fmtmsg.c: Likewise.
3963 * stdlib/tst-limits.c: Likewise.
3964 * stdlib/tst-rand48-2.c: Likewise.
3965 * stdlib/tst-rand48.c: Likewise.
3966 * stdlib/tst-random2.c: Likewise.
3967 * stdlib/tst-random.c: Likewise.
3968 * stdlib/tst-strtol.c: Likewise.
3969 * stdlib/tst-strtoll.c: Likewise.
3970 * stdlib/tst-tls-atexit.c: Likewise.
3971 * stdlib/tst-xpg-basename.c: Likewise.
3972 * string/test-ffs.c: Likewise.
3973 * string/tst-bswap.c: Likewise.
3974 * string/tst-inlcall.c: Likewise.
3975 * string/tst-strtok.c: Likewise.
3976 * string/tst-strxfrm.c: Likewise.
3977 * sysdeps/x86_64/tst-audit10.c: Likewise.
3978 * sysdeps/x86_64/tst-audit3.c: Likewise.
3979 * sysdeps/x86_64/tst-audit4.c: Likewise.
3980 * sysdeps/x86_64/tst-audit5.c: Likewise.
3981 * time/tst-ftime_l.c: Likewise.
3982 * time/tst-getdate.c: Likewise.
3983 * time/tst-mktime3.c: Likewise.
3984 * time/tst-mktime.c: Likewise.
3985 * time/tst-posixtz.c: Likewise.
3986 * time/tst-strptime2.c: Likewise.
3987 * time/tst-strptime3.c: Likewise.
3988 * wcsmbs/tst-btowc.c: Likewise.
3989 * wcsmbs/tst-mbrtowc.c: Likewise.
3990 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3991 * wcsmbs/tst-wchar-h.c: Likewise.
3992 * wcsmbs/tst-wcpncpy.c: Likewise.
3993 * wcsmbs/tst-wcrtomb.c: Likewise.
3994 * wcsmbs/tst-wcsnlen.c: Likewise.
3995 * wcsmbs/tst-wcstof.c: Likewise.
3997 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4000 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4002 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4004 (_dl_mcount): Use rtld_hidden_proto.
4005 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4007 * elf/rtld.c (_rtld_global_ro): Likewise.
4010 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4011 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4012 of _dl_init_internal.
4013 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4014 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4015 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4016 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4017 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4018 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4019 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4020 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4021 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4022 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4023 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4024 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4025 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4026 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4027 * sysdeps/tile/dl-start.S (_start): Likewise.
4028 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4029 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4032 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4033 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4034 (rtld_progname): Make macro definition unconditional.
4035 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4037 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4038 (dl_main): Likewise.
4039 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4040 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4041 instead of _dl_argv_internal.
4042 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4043 __GI__dl_argv instead of INTUSE(_dl_argv).
4044 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4045 __GI__dl_argv instead of _dl_argv_internal.
4047 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4048 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4050 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4051 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4053 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4054 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4056 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4057 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4059 2014-11-04 Andreas Schwab <schwab@suse.de>
4061 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4063 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4065 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4066 mtvsrd instruction in binary form.
4068 2014-11-03 Andreas Schwab <schwab@suse.de>
4071 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4072 for less than MB_LEN_MAX use a local buffer of that size.
4073 * libio/tst-fputws.c: New file.
4074 * libio/Makefile (tests): Add tst-fputws.
4076 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4078 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4079 the size of the fpu_fr.fpu_dregs[] array.
4081 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4083 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4084 (__nanosleep): Do not define as alias.
4085 (nanosleep): Define as alias of __nanosleep.
4086 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4087 __libc_nanosleep name.
4089 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4091 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4092 install.texi in comment.
4094 2014-10-31 Torvald Riegel <triegel@redhat.com>
4096 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4097 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4098 ... add here and use lwsync or sync ...
4099 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4100 ... and add here using lwsync.
4102 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4104 * elf/dl-machine-reject-phdr.h: New file.
4105 * elf/dl-load.c: #include that.
4106 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4107 if that returned true.
4109 2014-10-31 Roland McGrath <roland@hack.frob.com>
4112 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4113 gen-as-const-headers chunk. Add a big scare comment after the last
4114 safe place to touch before-compile.
4116 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4118 * manual/install.texi (Tools for Compilation): Update autoconf
4119 version requirements.
4120 * INSTALL: Regenerated.
4122 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4123 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4124 (__libc_pselect): Likewise.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4132 2014-10-31 Torvald Riegel <triegel@redhat.com>
4134 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4135 correct barrier instruction.
4136 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4138 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4141 2014-10-30 Roland McGrath <roland@hack.frob.com>
4143 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4144 after defining inlines. Instead, just use parens to defeat macro
4145 expansion of __isctype in its declaration.
4147 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4149 * include/sys/uio.h (__libc_readv): Remove declaration.
4150 (__libc_writev): Likewise.
4151 * misc/readv.c (__libc_readv): Rename to __readv.
4152 (__readv): Do not define as alias.
4153 (readv): Define as alias of __readv.
4154 * misc/writev.c (__libc_writev): Rename to __writev.
4155 (__writev): Do not define as alias.
4156 (writev): Define as alias of __writev.
4157 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4158 (__readv): Do not define as alias.
4159 (readv): Define unconditionally as alias of __readv.
4160 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4161 (__writev): Do not define as alias.
4162 (writev): Define unconditionally as alias of __writev.
4163 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4165 (writev): Do not define __libc_writev name.
4167 2014-10-30 Roland McGrath <roland@hack.frob.com>
4169 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4170 (convert_charseq): New function, broken out of ...
4171 (use_from_charmap): ... here. Call it.
4172 (use_to_charmap): Use convert_charseq and free instead of duplicating
4173 its code with a variable-length stack struct.
4175 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4177 * include/fcntl.h (__libc_creat): Remove declaration.
4178 * io/creat.c (__libc_creat): Rename to creat.
4179 (creat): Do not define as alias.
4180 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4181 of creat instead of __libc_creat.
4182 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4184 (creat): Do not define as alias.
4185 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4187 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4192 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4194 * manual/llio.texi: Add comments discussing why write() may be
4195 considered MT-unsafe on Linux.
4197 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4199 * dl-load.c (local_strdup): Remove.
4200 (expand_dynamic_string_token): Use __strdup.
4201 (decompose_rpath): Likewise.
4202 (_dl_map_object): Likewise.
4204 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4207 * sysdeps/generic/unwind-dw2-fde.c
4208 (__register_frame_info_bases_internal): Do not declare.
4209 (__register_frame_info_table_bases_internal): Likewise.
4210 (__deregister_frame_info_bases_internal): Likewise.
4211 (__register_frame_info_bases): Declare and use hidden_proto before
4212 definition. Use hidden_def instead of INTDEF.
4213 (__register_frame_info_table_bases): Likewise.
4214 (__deregister_frame_info_bases): Likewise.
4215 (__register_frame_info): Do not use INTUSE.
4216 (__register_frame): Likewise.
4217 (__register_frame_info_table): Likewise.
4218 (__register_frame_table): Likewise.
4219 (__deregister_frame_info): Likewise.
4220 (__deregister_frame): Likewise.
4222 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4225 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4227 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4229 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4232 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4235 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4236 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4237 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4238 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4239 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4240 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4241 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4242 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4243 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4244 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4245 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4246 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4247 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4249 (setfsuid): Likewise.
4250 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4251 (setfsuid): Likewise.
4252 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4253 (setfsuid): Likewise.
4254 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4256 (setfsuid): Likewise.
4257 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4258 (setfsuid): Likewise.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4261 (setfsuid): Likewise.
4263 2014-10-27 Andreas Schwab <schwab@suse.de>
4266 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4267 check for Slow_SSE4_2 feature bit.
4268 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4269 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4270 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4271 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4273 2014-10-24 Roland McGrath <roland@hack.frob.com>
4275 * configure.ac: Validate compiler version with a empirical test of
4276 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4278 * configure: Regenerated.
4280 * inet/htons.c (htons): Prototypify.
4281 * inet/htonl.c (htonl): Likewise.
4283 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4285 * string/strncat.c (strncat): Improve performance by using strlen.
4287 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4289 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4291 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4293 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4294 Call libc_fetestexcept_aarch64.
4296 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4298 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4299 Call libc_feholdexcept_aarch64.
4301 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4303 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4304 Call get_rounding_mode.
4306 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4308 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4311 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4313 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4316 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4319 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4320 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4321 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4322 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4323 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4324 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4325 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4326 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4327 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4328 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4329 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4330 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4331 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4332 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4333 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4334 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4335 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4336 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4337 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4338 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4339 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4340 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4341 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4342 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4343 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4344 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4345 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4346 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4347 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4348 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4349 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4350 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4351 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4352 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4353 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4359 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4361 (geteuid): Likewise.
4364 (getresgid): Likewise.
4365 (getresuid): Likewise.
4366 (getgroups): Likewise.
4367 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4368 (geteuid): Likewise.
4371 (getresgid): Likewise.
4372 (getresuid): Likewise.
4373 (getgroups): Likewise.
4374 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4375 (geteuid): Likewise.
4378 (getresgid): Likewise.
4379 (getresuid): Likewise.
4380 (getgroups): Likewise.
4381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4383 (geteuid): Likewise.
4386 (getresgid): Likewise.
4387 (getresuid): Likewise.
4388 (getgroups): Likewise.
4389 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4390 (geteuid): Likewise.
4393 (getresgid): Likewise.
4394 (getresuid): Likewise.
4395 (getgroups): Likewise.
4396 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4398 (geteuid): Likewise.
4401 (getgroups): Likewise.
4404 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4405 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4406 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4407 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4408 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4409 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4410 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4411 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4412 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4413 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4414 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4415 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4418 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4421 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4425 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4433 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4435 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4438 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4440 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4443 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4445 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4446 Remove unused include.
4448 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4450 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4451 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4452 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4453 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4455 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4456 Helge Deller <deller@gmx.de>
4459 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4460 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4461 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4463 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4466 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4467 Remove macro definition.
4468 (__ashrdi3_v_glibc20): Likewise.
4469 (__lshrdi3_v_glibc20): Likewise.
4470 (__cmpdi2_v_glibc20): Likewise.
4471 (__ucmpdi2_v_glibc20): Likewise.
4472 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4473 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4474 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4475 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4476 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4477 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4479 2014-10-22 Roland McGrath <roland@hack.frob.com>
4481 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4482 old GNU extension [0] syntax.
4483 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4484 alloca rather than an array member with variable length.
4485 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4486 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4487 (parse_opt): ... here. Likewise use alloca there.
4488 Validate the -i argument before checking for rootness.
4489 (send_shutdown): New function, broken out of ...
4490 (parse_opt): ... here.
4492 2014-10-22 Roland McGrath <roland@hack.frob.com>
4494 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4495 macro to get at the _rt_local_ro field.
4496 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4497 ([PIC] case) or _dl_hwcap ([!PIC] case).
4498 * sysdeps/arm/setjmp.S: Likewise.
4500 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4501 * sysdeps/arm/configure.ac: New check to define it.
4502 * sysdeps/arm/configure: Regenerated.
4503 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4504 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4505 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4506 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4507 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4508 Use move/movt pair instead of a load.
4509 (LDST_GLOBAL): Macro removed.
4510 (LDR_GLOBAL): New macro replaces it.
4511 (LDR_HIDDEN): New macro.
4512 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4513 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4515 * setjmp/tst-setjmp-static.c: New file.
4516 * setjmp/Makefile (tests): Add it.
4517 (tests-static): New variable.
4519 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4522 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4524 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4527 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4529 2014-10-21 Roland McGrath <roland@hack.frob.com>
4531 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4533 2014-10-20 Roland McGrath <roland@hack.frob.com>
4535 * io/fts.c (dirent_not_directory): New function.
4536 (fts_build): Call it.
4538 2014-10-20 Roland McGrath <roland@hack.frob.com>
4540 * nptl/version.c (__nptl_main): Use normal __write rather than
4542 (banner): Update copyright years.
4544 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4546 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4547 * nptl/pthread_cond_timedwait.c: Likewise.
4548 * nptl/pthread_mutex_timedlock.c: Likewise.
4549 * nptl/sem_timedwait.c: Likewise.
4551 * sysdeps/nptl/bits/libc-lock.h
4552 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4553 (__libc_lock_init_recursive): Return void, not 0.
4554 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4555 (__libc_rwlock_init): Likewise.
4556 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4558 2014-10-20 Torvald Riegel <triegel@redhat.com>
4561 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4562 (__pthread_once_slow): ... here.
4563 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4564 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4566 2014-10-20 Torvald Riegel <triegel@redhat.com>
4569 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4570 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4571 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4572 * nptl/pthread_once.c (__pthread_once): Likewise.
4575 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4578 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4580 (writev): Use __libc_writev as strong name.
4581 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4582 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4584 2014-10-17 Roland McGrath <roland@hack.frob.com>
4586 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4588 * sysdeps/i386/nptl/tls.h
4589 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4590 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4592 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4593 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4594 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4595 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4596 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4597 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4599 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4600 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4602 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4604 (__pthread_mutex_init): ... here. Call it.
4605 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4606 Conditionalize PI cases on [__NR_futex].
4607 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4608 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4609 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4611 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4612 conditional on [SIGSETXID].
4613 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4614 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4615 is defined. Likewise for SIGSETXID.
4616 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4617 Conditionalize definitions on [SIGSETXID].
4618 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4619 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4620 unblocking on [SIGCANCEL].
4622 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4623 [__NR_set_robust_list].
4625 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4627 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4628 (do_compare): Likewise.
4630 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4633 * string/strcoll_l.c: Don't include stdio.h.
4634 (coll_seq): Remove members idxarr and rulearr.
4635 (get_next_seq_cached): Remove function.
4636 (get_next_seq): Likewise.
4637 (get_next_seq_nocache): Rename to get_next_seq.
4638 (do_compare): Remove function.
4639 (do_compare_nocache): Rename to do_compare.
4640 (STRCOLL): Remove weight and rules cache.
4642 2014-10-16 Roland McGrath <roland@hack.frob.com>
4644 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4645 * sysdeps/arm/sfp-machine.h: ... to here.
4646 * sysdeps/arm/Implies: Remove arm/soft-fp.
4648 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4650 * conform/data/sys/utsname.h-data (*_t): Allow.
4651 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4652 [POSIX] (WEXITED): Do not expect constant.
4653 [POSIX] (WSTOPPED): Likewise.
4654 [POSIX] (WNOHANG): Likewise.
4655 [POSIX] (WNOWAIT): Likewise.
4656 [POSIX] (siginfo_t): Do not expect type or elements.
4657 [POSIX] (pid_t): Do not expect type.
4658 [POSIX] (signal.h): Do not allow header.
4659 [POSIX] (sys/resource.h): Likewise.
4660 [POSIX] (si_*): Do not allow pattern.
4661 [POSIX] (W*): Likewise.
4662 [POSIX] (P_*): Likewise.
4663 [POSIX] (BUS_*): Likewise.
4664 [POSIX] (CLD_*): Likewise.
4665 [POSIX] (FPE_*): Likewise.
4666 [POSIX] (ILL_*): Likewise.
4667 [POSIX] (POLL_*): Likewise.
4668 [POSIX] (SEGV_*): Likewise.
4669 [POSIX] (SI_*): Likewise.
4670 [POSIX] (TRAP_*): Likewise.
4671 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4674 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4677 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4678 infinite loop when __recvmsg returns 0.
4680 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4682 * CANCEL-FCT-WAIVE: Remove file.
4683 * CANCEL-FILE-WAIVE: Likewise.
4686 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4687 instead of INTVARDEF.
4688 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4689 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4690 rtld_hidden_data_def instead of INTVARDEF.
4691 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4692 * elf/dl-deps.c (expand_dst): Likewise.
4693 * elf/dl-load.c (_dl_dst_count): Likewise.
4694 (_dl_dst_substitute): Likewise.
4695 (decompose_rpath): Likewise.
4696 (_dl_init_paths): Likewise.
4697 (open_path): Likewise.
4698 (_dl_map_object): Likewise.
4699 * elf/rtld.c (dl_main): Likewise.
4700 (process_dl_audit): Likewise.
4701 (process_envvars): Likewise.
4702 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4704 (__libc_enable_secure): Use rtld_hidden_proto.
4706 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4709 (add_path): New function broken out of _dl_rtld_di_serinfo.
4710 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4712 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4714 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4715 parentheses around macro arguments.
4716 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4718 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4721 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4722 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4723 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4724 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4725 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4727 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4728 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4729 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4730 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4731 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4732 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4734 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4739 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4740 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4741 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4742 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4743 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4745 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4746 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4747 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4748 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4749 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4750 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4751 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4760 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4761 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4762 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4764 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4765 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4773 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4774 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4775 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4776 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4777 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4778 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4779 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4780 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4781 (_FP_FRAC_SRS_1): Likewise.
4782 (_FP_FRAC_CLZ_1): Likewise.
4783 (_FP_MUL_MEAT_1_imm): Likewise.
4784 (_FP_MUL_MEAT_1_wide): Likewise.
4785 (_FP_MUL_MEAT_1_hard): Likewise.
4786 (_FP_SQRT_MEAT_1): Likewise.
4787 (_FP_FRAC_ASSEMBLE_1): Likewise.
4788 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4789 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4790 (__FP_CLZ_2): Likewise.
4791 (_FP_MUL_MEAT_2_wide): Likewise.
4792 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4793 (_FP_MUL_MEAT_2_gmp): Likewise.
4794 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4795 (_FP_SQRT_MEAT_2): Likewise.
4796 (_FP_FRAC_ASSEMBLE_2): Likewise.
4797 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4798 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4799 (_FP_FRAC_CLZ_4): Likewise.
4800 (_FP_MUL_MEAT_4_wide): Likewise.
4801 (_FP_MUL_MEAT_4_gmp): Likewise.
4802 (_FP_SQRT_MEAT_4): Likewise.
4803 (_FP_FRAC_ASSEMBLE_4): Likewise.
4804 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4805 * soft-fp/op-common.h (_FP_CMP): Likewise.
4806 (_FP_CMP_EQ): Likewise.
4807 (_FP_CMP_UNORD): Likewise.
4808 (_FP_TO_INT): Likewise.
4809 (_FP_FROM_INT): Likewise.
4810 [!__FP_CLZ] (__FP_CLZ): Likewise.
4811 (_FP_DIV_HELP_imm): Likewise.
4812 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4814 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4815 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4817 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4819 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4820 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4823 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4825 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4826 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4827 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4828 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4829 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4830 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4832 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4833 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4834 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4838 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4839 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4841 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4843 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4844 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4845 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4846 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4847 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4848 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4849 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4850 (FP_UNPACK_RAW_SP): Likewise.
4851 (FP_PACK_RAW_S): Likewise.
4852 (FP_PACK_RAW_SP): Likewise.
4853 (FP_UNPACK_S): Likewise.
4854 (FP_UNPACK_SP): Likewise.
4855 (FP_UNPACK_SEMIRAW_S): Likewise.
4856 (FP_UNPACK_SEMIRAW_SP): Likewise.
4857 (FP_PACK_S): Likewise.
4858 (FP_PACK_SP): Likewise.
4859 (FP_PACK_SEMIRAW_S): Likewise.
4860 (FP_PACK_SEMIRAW_SP): Likewise.
4861 (_FP_SQRT_MEAT_S): Likewise.
4862 (FP_CMP_S): Likewise.
4863 (FP_CMP_EQ_S): Likewise.
4864 (FP_CMP_UNORD_S): Likewise.
4865 (FP_TO_INT_S): Likewise.
4866 (FP_FROM_INT_S): Likewise.
4868 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4870 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4871 (FP_EX_INVALID_IMZ): Likewise.
4872 (FP_EX_INVALID_IMZ_FMA): Likewise.
4873 (FP_EX_INVALID_ISI): Likewise.
4874 (FP_EX_INVALID_ZDZ): Likewise.
4875 (FP_EX_INVALID_IDI): Likewise.
4876 (FP_EX_INVALID_SQRT): Likewise.
4877 (FP_EX_INVALID_CVI): Likewise.
4878 (FP_EX_INVALID_VC): Likewise.
4879 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4880 "invalid" exceptions.
4881 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4882 (_FP_ADD_INTERNAL): Likewise.
4883 (_FP_MUL): Likewise.
4884 (_FP_FMA): Likewise.
4885 (_FP_DIV): Likewise.
4886 (_FP_CMP_CHECK_NAN): Likewise.
4887 (_FP_SQRT): Likewise.
4888 (_FP_TO_INT): Likewise.
4889 (FP_EXTEND): Likewise.
4891 2014-10-09 Allan McRae <allan@archlinux.org>
4893 * po/fr.po: Update French translation from translation project.
4895 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4898 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4900 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4901 (__cxa_atexit): Use libc_hidden_proto.
4902 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4905 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4907 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4908 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4909 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4910 [!_ISOMAC] (__iswctype_internal): Likewise.
4911 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4912 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4914 (fcntl): Remove __fcntl_internal alias.
4915 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4916 __connect_internal alias.
4917 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4920 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4921 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4923 (_FP_CHECK_FLUSH_ZERO): New macro.
4924 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4925 (_FP_CMP): Likewise.
4926 (_FP_CMP_EQ): Likewise.
4927 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4929 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4930 (FP_TRUNC): Likewise.
4932 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4933 treated as invalid conversion, not as normal exponent.
4935 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4936 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4937 (_FP_CMP_EQ): Likewise.
4938 (_FP_CMP_UNORD): Likewise.
4939 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4940 (FP_CMP_EQ_D): Likewise.
4941 (FP_CMP_UNORD_D): Likewise.
4942 * soft-fp/extended.h (FP_CMP_E): Likewise.
4943 (FP_CMP_EQ_E): Likewise.
4944 (FP_CMP_UNORD_E): Likewise.
4945 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4946 (FP_CMP_EQ_Q): Likewise.
4947 (FP_CMP_UNORD_Q): Likewise.
4948 * soft-fp/single.h (FP_CMP_S): Likewise.
4949 (FP_CMP_EQ_S): Likewise.
4950 (FP_CMP_UNORD_S): Likewise.
4951 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4952 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4953 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4954 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4955 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4956 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4957 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4958 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4959 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4960 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4961 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4962 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4963 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4965 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4967 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4968 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4970 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4972 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4973 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4974 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4975 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4977 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4979 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4980 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4982 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4984 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4985 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4986 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4987 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4990 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4991 a subnormal result, set the underflow exception if trapping on
4992 underflow is enabled.
4993 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4994 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4995 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4997 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4998 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4999 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5000 * soft-fp/extendxftf2.c (__extendxftf2): Use
5001 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5003 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5004 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5005 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5006 FP_HANDLE_EXCEPTIONS.
5007 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5008 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5009 FP_HANDLE_EXCEPTIONS.
5010 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5011 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5012 FP_HANDLE_EXCEPTIONS.
5013 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5014 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5015 FP_HANDLE_EXCEPTIONS.
5017 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5020 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5021 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5023 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5024 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5026 (__adjtimex): Define using libc_hidden_ver.
5027 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5029 (ntp_gettime): Call __adjtimex directly.
5030 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5032 (ntp_gettimex): Call __adjtimex directly.
5033 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5034 __adjtimex_internal alias.
5036 2014-10-08 Roland McGrath <roland@hack.frob.com>
5039 * nscd/nscd.c (more_help): Rewrite list of tables collection
5040 using xstrdup and asprintf.
5042 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5044 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5045 Roland McGrath <roland@hack.frob.com>
5047 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5048 (do_lookup_unique): ... local function 'enter' here; update callers.
5050 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5052 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5053 compat_symbol calls on [SHARED].
5054 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5055 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5057 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5058 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5059 (oldsetrlimit): Remove.
5060 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5062 (lchown): New syscall entry.
5063 (oldsetrlimit): Remove.
5064 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5066 (oldsetrlimit): Remove.
5067 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5070 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5071 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5072 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5073 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5074 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5075 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5077 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5082 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5084 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5085 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5086 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5087 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5088 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5090 (__old_sem_post): Likewise.
5092 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5094 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5095 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5096 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5097 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5098 Use INLINE_VSYSCALL macro.
5099 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5100 __vdso_clock_gettime.
5101 * sysdeps/unix/sysv/linux/tile/init-first.c
5102 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5103 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5104 __vdso_clock_gettime.
5106 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5107 to set up frame more cleanly.
5109 * sysdeps/tile/memcmp.c: New file.
5111 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5113 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5114 * sysdeps/tile/tilegx/strcasestr.c: New file.
5115 * sysdeps/tile/tilegx/strnlen.c: New file.
5116 * sysdeps/tile/tilegx/strstr.c: New file.
5118 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5120 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5122 * nptl/tst-setuid3.c: Write errors to stdout.
5124 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5127 (preload): New functions broken out of _dl_map_object_deps.
5128 (_dl_map_object_deps): Remove a nested function. Update call sites.
5130 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5133 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5134 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5136 2014-10-01 Steve Ellcey <sellcey@mips.com>
5138 * sysdeps/mips/strcmp.S: New.
5140 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5143 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5145 (mkdirat): Likewise.
5146 (readlinkat): Likewise.
5147 (renameat): Likewise.
5148 (symlinkat): Likewise.
5149 (unlinkat): Likewise.
5150 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5151 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5152 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5153 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5154 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5155 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5156 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5158 2014-09-30 Will Newton <will.newton@linaro.org>
5160 * math/math.h: Define long double math functions if
5161 _LIBC_TEST is defined.
5162 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5164 * localedata/Makefile: Move assignment to tests-special
5165 into an ifdef testing run-built-tests.
5166 * timezone/Makefile: Likewise.
5168 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5170 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5171 with $(BASH) not $(SHELL).
5173 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5174 Matthew LeGendre <legendre1@llnl.gov>
5177 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5180 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5182 * stdio-common/printf_fp.c
5183 (hack_digit): New function, broken out of ...
5184 (__printf_fp): ... local function here. Update call sites.
5185 hack_digit now takes an additional parameter that is a pointer
5186 to a struct of the referenced locals. Those locals moved inside
5187 the struct and references updated.
5189 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5191 * aclocal.m4: Require autoconf 2.69.
5192 * configure: Regenerated.
5193 * sysdeps/aarch64/configure: Likewise.
5194 * sysdeps/alpha/configure: Likewise.
5195 * sysdeps/arm/armv7/configure: Likewise.
5196 * sysdeps/arm/configure: Likewise.
5197 * sysdeps/ia64/configure: Likewise.
5198 * sysdeps/mach/configure: Likewise.
5199 * sysdeps/mips/configure: Likewise.
5200 * sysdeps/s390/configure: Likewise.
5201 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5204 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5206 * sysdeps/ia64/configure.ac: Likewise.
5208 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5211 specify symbol version for ld.so. Do not include entry for
5213 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5214 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5215 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5218 * Makeconfig [$(build-shared) = yes]
5219 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5221 [$(build-shared) = yes && $(soversions.mk-done) = t]
5222 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5223 [$(build-shared) = yes && $(soversions.mk-done) = t]
5224 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5226 [$(build-shared) = yes && $(soversions.mk-done) = t]
5227 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5229 [$(build-shared) = yes && $(soversions.mk-done) = t]
5230 (common-generated): Don't append gnu/lib-names.h and
5231 gnu/lib-names.stmp here.
5232 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5233 (lib-names-h-abi): New variable.
5234 [$(build-shared) = yes && $(soversions.mk-done) = t]
5235 (lib-names-stmp-abi): Likewise.
5236 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5237 abi-variants] (before-compile): Append
5238 $(common-objpfx)$(lib-names-h-abi).
5239 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5240 abi-variants] (common-generated): Append gnu/lib-names.h.
5241 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5242 abi-variants] (install-others-nosubdir): Depend on
5243 $(inst_includedir)/$(lib-names-h-abi).
5244 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5245 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5246 [$(build-shared) = yes && $(soversions.mk-done) = t]
5247 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5248 [$(build-shared) = yes && $(soversions.mk-done) = t]
5249 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5250 [$(build-shared) = yes && $(soversions.mk-done) = t]
5251 (common-generated): Append $(lib-names-h-abi) and
5252 $(lib-names-stmp-abi).
5253 * scripts/lib-names.awk: Do not handle multi being set.
5254 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5256 (abi-lp64_be-ld-soname): Likewise.
5257 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5259 (abi-hard-ld-soname): Likewise.
5260 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5261 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5263 (abi-o32_hard-ld-soname): Likewise.
5264 (abi-o32_soft_2008-ld-soname): Likewise.
5265 (abi-o32_hard_2008-ld-soname): Likewise.
5266 (abi-n32_soft-ld-soname): Likewise.
5267 (abi-n32_hard-ld-soname): Likewise.
5268 (abi-n32_soft_2008-ld-soname): Likewise.
5269 (abi-n32_hard_2008-ld-soname): Likewise.
5270 (abi-n64_soft-ld-soname): Likewise.
5271 (abi-n64_hard-ld-soname): Likewise.
5272 (abi-n64_soft_2008-ld-soname): Likewise.
5273 (abi-n64_hard_2008-ld-soname): Likewise.
5274 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5276 (abi-64-v2-ld-soname): Likewise.
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5279 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5281 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5283 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5285 (abi-64-ld-soname): Likewise.
5286 (abi-x32-ld-soname): Likewise.
5287 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5289 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5291 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5294 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5295 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5296 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5297 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5298 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5299 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5300 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5301 syscall entry for GLIBC_2.2 symbol version.
5302 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5305 (setrlimit): Likewise.
5306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5309 2014-09-23 Will Newton <will.newton@linaro.org>
5311 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5312 _LINUX_ARM_SYSDEP_H include guard too.
5313 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5316 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5318 * sysdeps/unix/sysv/linux/eventfd.c:
5319 Make first argument unsigned.
5320 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5321 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5323 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5325 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5326 * socket/sys/socket.h: Likewise
5327 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5329 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5331 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5333 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5335 * time/tst-ftime.c: New test.
5336 * time/Makefile (tests): Add tst-ftime.
5338 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5340 * soft-fp/extended.h: Fix comment formatting.
5341 * soft-fp/op-1.h: Likewise.
5342 * soft-fp/op-2.h: Likewise.
5343 * soft-fp/op-4.h: Likewise.
5344 * soft-fp/op-8.h: Likewise.
5345 * soft-fp/op-common.h: Likewise.
5346 * soft-fp/soft-fp.h: Likewise.
5348 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5350 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5353 * Makeconfig (soversions-default-setname): Remove variable.
5354 ($(common-objpfx)soversions.i): Don't pass default_setname to
5356 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5357 oldest_abi to abi-versions.awk.
5358 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5359 * config.make.in (oldest-abi): Remove variable.
5360 * configure.ac (--enable-oldest-abi): Remove configure option.
5361 * configure: Regenerated.
5362 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5364 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5365 * scripts/soversions.awk: Do not handle default_setname variable.
5366 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5368 * sysdeps/mach/hurd/configure: Regenerated.
5369 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5371 * sysdeps/unix/sysv/linux/configure: Regenerated.
5373 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5375 * elf/Makefile (CFLAGS-interp.c): Remove.
5376 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5378 * elf/interp.c: Include generated runtime-linker.h
5380 * Makerules (lib%.so): Don't include $(+interp) in
5382 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5383 * dlfcn/eval.c: Remove file.
5385 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5389 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5393 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5395 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5396 Jakub Jelinek <jakub@redhat.com>
5399 * libio/stdio.h: Check definition of __fortify_function
5400 instead of __extern_always_inline to include bits/stdio2.h.
5401 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5402 check if __extern_always_inline is defined.
5403 [__USE_MISC || __USE_XOPEN]: Likewise.
5404 [__USE_ISOC99] Likewise.
5405 * misc/sys/cdefs.h (__fortify_function): Define only if
5406 __extern_always_inline is defined.
5407 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5408 __extern_always_inline and __extern_inline only for g++-4.3
5409 and newer or a compatible gcc.
5411 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5414 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5415 last change to handle zero prefix length.
5417 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5419 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5422 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5425 2014-09-13 Allan McRae <allan@archlinux.org>
5427 * po/ru.po: Update Russian translation from translation project.
5429 2014-09-12 Roland McGrath <roland@hack.frob.com>
5431 * locale/programs/locale.c (show_locale_vars): Inline local function
5432 into its sole call site. Clean up some style nits.
5433 (print_item): New function, broken out of ...
5434 (show_info): ... local function here. Clean up style nits.
5436 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5438 (set_class_defaults): ... local function set_default here.
5439 Define set_default as a macro locally to pass constant parameters.
5440 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5441 rather than a shared local.
5443 * stdlib/rpmatch.c (try): New function, broken out of ...
5444 (rpmatch): ... local function here. Also, prototypify definition.
5446 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5448 * scripts/soversions.awk: Do not handle configuration names.
5449 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5450 vendor and os variables to soversions.awk.
5451 * configure.ac: Do not modify gnu-* host_os.
5452 * configure: Regenerated
5453 * shlib-versions: Remove first column with configuration names.
5454 * nptl/shlib-versions: Likewise.
5455 * nptl_db/shlib-versions: Likewise.
5456 * sysdeps/hppa/shlib-versions: Likewise.
5457 * sysdeps/m68k/shlib-versions: Likewise.
5458 * sysdeps/mach/hurd/shlib-versions: Likewise.
5459 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5460 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5461 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5462 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5463 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5464 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5465 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5466 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5469 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5470 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5471 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5472 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5473 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5474 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5475 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5476 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5479 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5482 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5484 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5486 * shlib-versions: Remove OS-specific entries. Moved to files in
5488 * sysdeps/mach/hurd/shlib-versions: New file.
5489 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5491 * nptl/shlib-versions: Remove architecture-specific entries.
5492 Moved to files in sysdeps.
5493 * shlib-versions: Likewise.
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5496 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5497 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5499 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5501 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5502 (UDP_NO_CHECK6_RX): Likewise.
5504 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5506 * sysdeps/posix/sysconf.c (__sysconf): Spell
5507 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5509 2014-08-12 Florian Weimer <fweimer@redhat.com>
5511 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5513 * iconv/Versions (__gconv_transliterate): Export for use from
5515 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5516 (struct __gconv_trans_data, __gconv_trans_fct,
5517 __gconv_trans_context_fct, __gconv_trans_query_fct,
5518 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5520 (struct __gconv_step_data): Remove __trans member.
5521 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5522 longer hidden. Remove unused trans_data argument.
5523 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5524 (__gconv_translit_find): Remove declaration.
5525 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5527 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5528 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5529 trans_data argument. Add hidden definition.
5530 (__gconv_translit_find): Remove.
5531 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5532 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5533 * iconv/skeleton.c: Remove transliteration initialization.
5534 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5535 __gconv_step_data initialization.
5536 * libio/iofwide.c (__libio_translit_): Remove.
5537 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5538 * wcsmbs/btowc.c (__btowc): Likewise.
5539 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5540 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5541 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5542 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5543 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5544 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5545 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5546 * wcsmbs/wctob.c (wctob): Likewise.
5548 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5551 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5552 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5554 * sysdeps/x86/Makefile: Adjust.
5556 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5557 Roland McGrath <roland@hack.frob.com>
5559 * locale/weight.h: Add include guard.
5560 (findidx): Make static rather than auto; take new parameters
5561 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5562 * locale/weightwc.h: Likewise.
5563 * posix/fnmatch_loop.c
5564 (FCT): Change type of EXTRA from int32_t to wint_t.
5565 Don't include either header inside the function.
5566 Call FINDIDX rather than findidx, and pass new arguments.
5567 #undef FINDIDX at the end of the file.
5568 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5569 FINDIDX before including fnmatch_loop.c for the non-wide version.
5570 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5571 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5572 for the wide version.
5573 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5574 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5575 Pass new arguments to findidx.
5576 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5577 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5578 Don't #include it inside the function. Pass new arguments to findidx.
5579 * posix/regex_internal.h
5580 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5581 (re_string_elem_size_at): Don't #include it inside the function.
5582 Pass new arguments to findidx.
5583 * string/strcoll_l.c: #include WEIGHT_H at top level.
5584 (get_next_seq): Don't #include it inside the function.
5585 Pass new arguments to findidx.
5586 (get_next_seq_nocache): Likewise.
5587 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5588 (STRXFRM): Don't #include it inside the function.
5589 Pass new arguments to findidx.
5591 2014-09-11 Florian Weimer <fweimer@redhat.com>
5594 * malloc/malloc.c (unlink): Turn asserts into a call to
5597 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5600 * libio/wfileops (do_ftell_wide): Free OUT.
5602 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5606 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5610 group if the current group is empty.
5612 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5614 * benchtests/bench-memset.c (test_main): Add more test from size
5615 from 32 to 512 bytes.
5616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5617 Add POWER8 memset object.
5618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5619 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5620 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5622 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5624 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5625 multiarch POWER8 memset optimization.
5626 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5627 POWER8 memset optimization.
5629 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5630 Remove bzero multiarch objects.
5631 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5632 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5633 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5634 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5636 [__bzero]: Redefine to specific name.
5637 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5638 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5639 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5641 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5642 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5644 2014-09-10 Florian Weimer <fweimer@redhat.com>
5646 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5647 warnings into errors.
5649 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5650 __cxa_thread_atexit_impl prototype.
5652 2014-09-09 Steve Ellcey <sellcey@mips.com>
5654 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5655 Fix capitalization of error message.
5657 2014-09-09 Steve Ellcey <sellcey@mips.com>
5659 * sysdeps/mips/preconfigure: Modify ABI tests.
5661 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5663 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5665 2014-09-07 Roland McGrath <roland@hack.frob.com>
5666 Carlos O'Donell <carlos@systemhalted.org>
5668 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5669 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5670 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5671 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5672 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5673 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5674 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5675 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5676 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5678 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5679 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5680 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5687 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5688 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5689 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5690 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5691 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5692 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5693 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5694 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5695 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5696 Deconditionalize the code that was previously under [RESET_PID].
5697 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5698 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5699 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5700 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5703 2014-09-08 Allan McRae <allan@archlinux.org>
5705 * version.h (RELEASE): Set to "development".
5706 (VERSION): Set to "2.20.90"
5708 2014-09-07 Allan McRae <allan@archlinux.org
5710 * version.h (RELEASE): Set to "stable".
5711 (VERSION): Set to "2.20"
5712 * include/features.h (__GLIBC_MINOR__): Set to 20.
5714 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5717 * po/ko.po: Update Korean translation from translation project.
5719 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5722 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5723 macro for handling signed relocations.
5725 2014-09-03 Florian Weimer <fweimer@redhat.com>
5728 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5729 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5731 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5732 * iconvdata/ibm935.c (BODY): Likewise.
5733 * iconvdata/ibm937.c (BODY): Likewise.
5734 * iconvdata/ibm939.c (BODY): Likewise.
5735 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5737 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5739 * iconvdata/run-iconv-test.sh: New test loop for checking for
5742 2014-09-02 Khem Raj <raj.khem@gmail.com>
5744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5747 2014-09-01 Allan McRae <allan@archlinux.org>
5749 * po/eo.po: Update Esperanto translation from translation project.
5751 * po/ca.po: Update Catalan translation from translation project.
5753 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5755 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5758 2014-08-27 Mark Wielaard <mjw@redhat.com>
5761 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5762 to call set_thread_area instead of hand written asm.
5763 (__NR_set_thread_area): Removed define.
5764 (TLS_FLAG_WRITABLE): Likewise.
5765 (__ASSUME_SET_THREAD_AREA): Remove check.
5766 (TLS_EBX_ARG): Remove define.
5767 (TLS_LOAD_EBX): Likewise.
5769 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5771 Simplify atomicity of socket creation in bind.
5773 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5774 looking up the name after linking the file.
5776 2014-08-27 Allan McRae <allan@archlinux.org>
5778 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5780 2014-08-26 Florian Weimer <fweimer@redhat.com>
5783 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5784 trans_compare, open_translit, __gconv_translit_find):
5785 Remove module loading code.
5787 2014-08-26 Allan McRae <allan@archlinux.org>
5789 * po/vi.po: Update Vietnamese translation from translation project.
5791 * po/uk.po: Update Ukrainian translation from translation project.
5793 * po/fr.po: Update French translation from translation project.
5795 * po/ru.po: Update Russian translation from translation project.
5797 * po/pl.po: Update Polish translation from translation project.
5799 * po/cs.po: Update Czech translation from translation project.
5801 * po/de.po: Update German translation from translation project.
5803 * po/bg.po: Update Bulgarian translation from translation project.
5805 * po/sv.po: Update Sweedish translation from translation project.
5807 * po/nl.po: Update Dutch translation from translation project.
5809 * po/es.po: Update Spanish translation from translation project.
5811 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5813 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5815 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5816 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5817 (CPPFLAGS-iconvconfig): Likewise.
5818 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5820 * include/libc-symbols.h: Remove unnecessary check for
5822 * nptl/pthreadP.h: Likewise.
5823 * sysdeps/aarch64/setjmp.S: Likewise.
5824 * sysdeps/alpha/setjmp.S: Likewise.
5825 * sysdeps/arm/sysdep.h: Likewise.
5826 * sysdeps/i386/setjmp.S: Likewise.
5827 * sysdeps/m68k/setjmp.c: Likewise.
5828 * sysdeps/posix/getcwd.c: Likewise.
5829 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5830 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5831 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5832 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5833 * sysdeps/sh/sh3/setjmp.S: Likewise.
5834 * sysdeps/sh/sh4/setjmp.S: Likewise.
5835 * sysdeps/unix/alpha/sysdep.h: Likewise.
5836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5838 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5839 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5844 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5847 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5849 * sysdeps/x86_64/setjmp.S: Likewise.
5851 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5854 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5856 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5857 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5859 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5861 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5864 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5865 and __x86_64__ when disabling x87 inline functions.
5867 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5870 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5871 asm statement with __cpuid_count.
5873 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5875 * configure.ac: Change __ehdr_start code to dereference the struct.
5876 Run readelf on the output to look for relocations.
5877 * configure: Regenerated.
5879 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5884 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5886 2014-08-12 Roland McGrath <roland@hack.frob.com>
5888 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5890 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5893 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5894 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5896 2014-08-12 Sean Anderson <seanga2@gmail.com>
5898 * malloc/malloc.c: Fix typo in comment.
5900 2014-08-09 Allan McRae <allan@archlinux.org>
5902 * Regenerate libc.po.
5904 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5906 * intl/tst-gettext2.sh: Check every lang file for creation.
5908 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5910 * sysdeps/aarch64/fpu/math_private.h
5911 (libc_feholdsetround_noex_aarch64_ctx): New function.
5913 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5915 * sysdeps/arm/armv6/strcpy.S (strcpy):
5916 Fix performance issue in misaligned cases.
5918 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5920 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5921 Move definition from termios.h.
5922 (struct termio): Likewise.
5923 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5924 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5925 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5926 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5929 Move definition to ioctl-types.h
5930 (struct termio): Likewise.
5931 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5932 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5933 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5934 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5937 2014-08-05 Richard Henderson <rth@redhat.com>
5939 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5941 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5943 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5944 Use __feraiseexcept.
5945 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5946 Protect libm symbols with IS_IN_libm.
5948 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5950 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5952 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5954 2014-08-04 Will Newton <will.newton@linaro.org>
5956 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5959 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5961 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5962 variants for each function.
5964 2014-08-04 Roland McGrath <roland@hack.frob.com>
5966 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5968 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5969 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5971 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5972 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5973 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5974 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5975 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5976 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5977 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5978 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5979 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5980 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5981 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5982 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5983 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5984 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5987 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5988 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5989 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5990 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6003 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6004 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6007 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6008 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6009 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6010 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6011 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6012 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6013 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6014 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6015 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6017 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6019 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6021 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6022 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6023 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6025 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6026 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6028 2014-08-04 Roland McGrath <roland@hack.frob.com>
6030 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6031 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6032 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6033 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6034 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6035 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6037 2014-08-04 Roland McGrath <roland@hack.frob.com>
6039 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6040 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6041 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6042 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6044 2014-08-04 Roland McGrath <roland@hack.frob.com>
6046 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6047 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6048 (__libc_vfork): Define function under this name.
6049 (__vfork): Define as an alias.
6050 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6051 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6053 2014-08-04 Roland McGrath <roland@hack.frob.com>
6055 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6056 that was previously under [RESET_PID].
6057 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6059 2014-08-04 Andreas Schwab <schwab@suse.de>
6061 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6063 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6065 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6068 2014-08-01 Roland McGrath <roland@hack.frob.com>
6070 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6072 2014-08-01 Richard Henderon <rth@redhat.com>
6074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6075 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6076 typo in exact zero test.
6077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6081 2014-08-01 Roland McGrath <roland@hack.frob.com>
6083 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6084 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6085 * sysdeps/arm/sysdep.h: ... here.
6086 [!__ASSEMBLER__]: Include <stdint.h>.
6088 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6090 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6091 (HAVE_WCTYPE_H): Likewise.
6092 (HAVE_ISWCTYPE): Likewise.
6093 (ENABLE_NLS): Likewise.
6094 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6095 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6097 * posix/regex_internal.c: Check if DEBUG is defined and is
6100 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6101 (HAVE_MBSRTOWCS): Likewise.
6102 * posix/fnmatch.c: Include string.h unconditionally.
6104 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6106 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6109 2014-07-31 Roland McGrath <roland@hack.frob.com>
6111 * sysdeps/generic/safe-fatal.h: New file.
6112 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6113 * nptl/forward.c: Include it.
6114 (__pthread_unwind): Use __safe_fatal as default action, rather
6115 than a bogus use of INTERNAL_SYSCALL that could never work.
6117 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6118 * configure.ac (libc_cv_builtin_trap): New test.
6119 * configure: Regenerated.
6120 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6121 (ABORT_INSTRUCTION): Define using __builtin_trap.
6123 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6124 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6125 * sysdeps/nptl/nptl-signals.h: New file.
6126 * nptl/pthreadP.h: Include <nptl-signals.h>.
6128 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6130 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6131 (ONE_DIRECTION): Define.
6132 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6133 (ONE_DIRECTION): Define.
6134 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6135 (ONE_DIRECTION): Define.
6137 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6139 * sysdeps/s390/Makefile: Delete file.
6140 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6141 * sysdeps/s390/__longjmp.c: Delete file.
6142 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6143 Remove fields __flags and __reserved.
6144 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6146 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6147 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6148 * sysdeps/s390/rtld-setjmp.S: Likewise.
6149 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6150 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6151 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6152 * sysdeps/s390/s390-32/setjmp.S: ... here.
6154 (__sigsetjmp): Remove setting __flags field.
6155 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6156 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6157 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6158 * sysdeps/s390/s390-64/setjmp.S: ... here.
6160 (__sigsetjmp): Remove setting __flags field.
6161 * sysdeps/s390/setjmp.S: Delete file.
6162 * sysdeps/s390/sigjmp.c: Likewise.
6163 * sysdeps/s390/v1-longjmp.c: Likewise.
6164 * sysdeps/s390/v1-setjmp.h: Likewise.
6165 * sysdeps/s390/v1-sigjmp.c: Likewise.
6166 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6167 Remove v1-longjmp_chk.
6168 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6169 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6170 Include debug/longjmp_chk.c and add versioning.
6171 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6172 Include nptl/pt-longjmp.c and add versioning.
6173 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6174 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6175 Include __longjmp.c.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6179 (__getcontext): Remove setting __flags field.
6181 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6182 Don't restore upper high grps.
6183 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6185 (__swapcontext): Remove setting uc_flags field.
6186 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6188 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6189 Include __longjmp.c.
6190 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6192 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6193 (__getcontext): Remove setting __flags field.
6195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6196 (__swapcontext): Remove setting uc_flags field.
6197 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6198 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6199 Remove fields uc_high_gprs and __reserved.
6200 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6201 New file with reverted content.
6202 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6205 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6208 2014-07-31 Andreas Schwab <schwab@suse.de>
6210 * config.h.in (HAVE_IFUNC): Define to 0.
6211 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6214 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6217 memmove-avx-unaligned, memcpy-avx-unaligned and
6218 mempcpy-avx-unaligned.
6219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6220 Add tests for AVX memcpy functions.
6221 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6222 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6224 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6225 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6227 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6230 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6231 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6232 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6234 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6237 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6240 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6243 * manual/llio.texi: Add section about open file description locks.
6244 * manual/examples/ofdlocks.c: Example of open file description
6246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6247 F_OFD_SETLK, and F_OFD_SETLKW.
6249 2014-07-23 Allan McRae <allan@archlinux.org>
6251 * po/es.po: Update Spanish translation from translation project.
6253 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6255 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6257 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6260 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6261 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6262 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6264 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6267 * math/fesetenv.c (__fesetenv)
6268 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6269 * math/feupdateenv.c (__feupdateenv)
6270 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6272 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6273 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6274 (__ASSUME_SOCKETCALL): Do not define.
6276 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6277 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6278 (__ASSUME_SOCKETCALL): Do not define.
6279 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6280 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6281 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6282 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6283 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6284 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6285 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6286 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6288 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6289 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6290 (__ASSUME_SOCKETCALL): Do not define.
6291 (__ASSUME_IPC64): Define unconditionally.
6292 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6293 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6294 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6295 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6296 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6297 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6298 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6301 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6302 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6303 (__ASSUME_SOCKETCALL): Do not define.
6304 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6305 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6306 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6307 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6308 (__ASSUME_REQUEUE_PI): Define unconditionally.
6309 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6310 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6311 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6312 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6313 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6314 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6316 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6317 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6318 (__ASSUME_SOCKETCALL): Do not define.
6319 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6320 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6321 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6322 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6323 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6324 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6326 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6327 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6328 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6329 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6330 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6331 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6333 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6334 (__ASSUME_GETCPU_SYSCALL): Likewise.
6336 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6337 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6338 cases for individual architectures.
6339 * sysdeps/gnu/configure: Regenerated.
6340 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6341 LIBC_SLIBDIR_RTLDDIR.
6342 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6343 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6344 LIBC_SLIBDIR_RTLDDIR.
6345 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6347 LIBC_SLIBDIR_RTLDDIR.
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6350 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6351 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6353 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6354 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6356 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6357 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6358 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6359 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6361 * sysdeps/aarch64/shlib-versions: Move to ...
6362 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6363 * sysdeps/alpha/shlib-versions: Move to ...
6364 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6365 * sysdeps/arm/shlib-versions: Move to ...
6366 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6367 * sysdeps/hppa/shlib-versions: Move all contents except for
6368 libgcc_s entry to ...
6369 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6371 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6372 * sysdeps/ia64/shlib-versions: Move to ...
6373 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6375 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6376 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6377 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6378 * sysdeps/microblaze/shlib-versions: Move to ...
6379 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6380 * sysdeps/mips/shlib-versions: Move to ...
6381 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6383 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6384 * sysdeps/tile/shlib-versions: Move to ...
6385 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6386 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6388 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6389 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6391 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6393 2014-07-17 Will Newton <will.newton@linaro.org>
6395 * sysdeps/arm/bits/atomic.h
6396 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6397 (__arch_compare_and_exchange_bool_16_int): Likewise.
6398 (__arch_compare_and_exchange_bool_64_int): Likewise.
6400 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6401 into an #else block.
6403 2014-07-16 Roland McGrath <roland@hack.frob.com>
6405 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6406 just Linux configurations. Test empirically that the compiler sets
6407 __ARM_EABI__, rather than using the tuple to decide.
6408 * sysdeps/arm/preconfigure: Regenerated.
6409 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6410 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6411 contents appended ...
6412 * sysdeps/arm/configure.ac: ... here.
6413 * sysdeps/arm/configure: Regenerated.
6415 2014-07-15 Roland McGrath <roland@hack.frob.com>
6417 * nptl/pthread_kill.c: New file.
6418 * nptl/pthread_sigmask.c: New file.
6419 * nptl/pthread_sigqueue.c: New file.
6421 * sysdeps/nptl/lowlevellock.h: New file.
6422 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6423 * sysdeps/nptl/lowlevellock-futex.h: New file.
6425 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6426 Remove dead declarations.
6428 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6430 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6431 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6433 * sysdeps/x86_64/configure.ac: Likewise.
6434 * sysdeps/i386/configure: Regenerated.
6435 * sysdeps/x86_64/configure: Likewise.
6436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6437 memset-avx2 only if config-cflags-avx2 is yes.
6438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6439 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6441 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6442 only if HAVE_AVX2_SUPPORT is defined.
6443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6445 2014-07-14 Alan Modra <amodra@gmail.com>
6448 * elf/elf.h (DT_PPC64_NUM): Correct value.
6449 * NEWS: Add to fixed bug list.
6451 2014-07-13 Jim Meyering <meyering@fb.com>
6454 regex: don't deref NULL upon heap allocation failure
6455 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6456 failure in one more place.
6457 To trigger the segfault, configure grep -with-included-regex,
6458 build it, and run these commands:
6459 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6461 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6463 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6465 2014-07-11 Richard Henderson <rth@redhat.com>
6467 * sysdeps/aarch64/libm-test-ulps: Update.
6469 2014-07-10 Florian Weimer <fweimer@redhat.com>
6472 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6473 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6474 (__nptl_setxid): Initialize error member. Call
6475 __nptl_setxid_error.
6476 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6477 * nptl/descr.h (struct xid_command): Add error member.
6478 * nptl/tst-setuid3.c: New file.
6479 * nptl/Makefile (tests): Add it.
6481 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6483 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6485 (__lll_trylock): Use __lll_base_trylock.
6486 (__lll_cond_trylock): Likewise.
6488 2014-07-10 Roland McGrath <roland@hack.frob.com>
6490 * nptl/pthread_create.c (start_thread): Use atomic_or and
6491 lll_futex_wake directly rather than lll_robust_dead.
6492 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6493 (lll_robust_dead): Macro removed.
6494 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6495 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6496 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6497 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6499 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6500 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6501 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6502 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6503 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6504 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6505 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6506 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6507 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6510 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6511 Use atomic_compare_and_exchange_val_acq directly rather than
6513 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6514 (__lll_robust_trylock, lll_robust_trylock): Removed.
6515 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6516 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6517 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6518 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6519 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6520 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6521 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6522 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6523 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6524 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6525 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6526 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6527 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6528 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6530 2014-07-02 Florian Weimer <fweimer@redhat.com>
6532 * manual/locale.texi (Locale Names): New section documenting
6533 locale name syntax. Adjust menu and node chaining accordingly.
6534 (Choosing Locale): Reference Locale Names, Locale Categories.
6535 Mention setting LC_ALL=C. Reflect that name syntax is now
6537 (Locale Categories): New section title. Reference Locale Names.
6538 LC_ALL is an environment variable, but not a category.
6539 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6540 description, now in Locale Name. Reference that section. Locale
6541 name syntax is now documented.
6543 2014-07-02 Florian Weimer <fweimer@redhat.com>
6546 * locale/findlocale.c (name_present, valid_locale_name): New
6548 (_nl_find_locale): Use the loc_name variable to store name
6549 candidates. Call name_present and valid_locale_name to check and
6550 validate locale names. Return an error if the locale is invalid.
6552 2014-07-02 Florian Weimer <fweimer@redhat.com>
6554 * locale/setlocale.c (setlocale): Use strdup for allocating
6555 composite name copy.
6557 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6559 Sync up with gnulib.
6560 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6561 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6562 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6563 and _GL_ARG_NONNULL.
6564 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6565 [!_LIBC]: Include code for Windows and Cygwin.
6566 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6567 Include prototype for int strerror_r.
6568 [!_LIBC] (is_open): New function.
6569 (flush_stdout): New function.
6570 (print_errno_message): Use it.
6572 (error_at_line): Likewise.
6573 (error_tail) Add function attribute macros. Use
6576 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6578 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6580 * io/ftw.c: Include sys/param.h unconditionally.
6582 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6585 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6587 (freecache): New function to free CACHE on exit.
6589 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6592 2014-07-09 David S. Miller <davem@davemloft.net>
6594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6596 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6597 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6598 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6599 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6600 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6601 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6602 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6603 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6604 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6605 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6606 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6607 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6608 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6610 2014-07-09 Andreas Schwab <schwab@suse.de>
6612 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6614 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6615 (do_test): Likewise.
6617 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6619 2014-07-09 Will Newton <will.newton@linaro.org>
6621 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6622 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6623 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6624 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6625 * sysdeps/hppa/start.S (_start): Likewise.
6627 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6629 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6631 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6634 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6636 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6637 after checking that it is non-NULL.
6639 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6641 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6643 * sysdeps/powerpc/memmove.c: Remove file.
6644 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6645 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6646 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6647 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6649 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6650 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6651 string memmove instead of removed powerpc one.
6653 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6654 [weak_alias]: Fix compiler warning due trailing data.
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6656 [weak_alias]: Likewise.
6657 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6658 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6661 (__libc_ifunc_impl_list): Add memmove functions.
6663 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6665 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6667 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6669 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6671 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6673 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6675 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6677 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6679 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6681 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6683 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6685 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6687 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6689 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6691 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6693 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6695 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6697 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6700 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6702 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6703 to avoid alignment traps in non-cacheable memory.
6704 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6709 file: multiarch power7 memmove.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6711 multiarch default memmove.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6713 multiarch memove for powerpc32/power4.
6715 * string/bcopy.c: Use full path to include memmove.c.
6716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6718 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6719 bcopy for powerpc64.
6720 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6721 bcopy for powerpc64.
6722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6723 and memmove implementations.
6724 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6725 optimized multiarch memmove for POWER7/powerpc64.
6726 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6727 default multiarch memmove for powerpc64.
6728 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6729 multiarch for powerpc64.
6730 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6731 for POWER7/powerpc64.
6732 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6733 memmove for POWER7/powerpc64.
6735 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6738 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6739 __ELF_NATIVE_CLASS equal to 64.
6741 2014-07-07 Roland McGrath <roland@hack.frob.com>
6743 * sysdeps/nptl/lowlevellock.h: File removed.
6745 * NEWS: NPTL is no longer an add-on!
6746 * nptl/internaltypes.h: Moved ...
6747 * sysdeps/nptl/internaltypes.h: ... here.
6748 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6749 * sysdeps/nptl/fork.c: Likewise.
6750 * sysdeps/nptl/gai_misc.h: Likewise.
6751 * sysdeps/nptl/librt-cancellation.c: Likewise.
6752 * sysdeps/nptl/jmp-unwind.c: Likewise.
6753 * sysdeps/nptl/setxid.h: Likewise.
6754 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6755 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6756 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6757 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6758 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6759 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6760 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6761 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6762 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6763 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6764 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6765 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6766 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6767 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6768 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6769 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6770 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6771 * nptl/Makeconfig: Moved ...
6772 * sysdeps/nptl/Makeconfig: ... here.
6773 * nptl/configure: File removed.
6774 * nptl/ANNOUNCE: File removed.
6775 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6776 * sysdeps/unix/sysv/linux/configure: Regenerated.
6778 * nptl/Makefile (routines): Add libc_pthread_init,
6779 libc_multiple_threads, register-atfork and unregister-atfork.
6780 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6781 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6782 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6783 pthread-pi-defines.sym, structsem.sym.
6784 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6785 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6786 [$(subdir) = nptl] (tests): Add tst-setgetname.
6787 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6788 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6789 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6790 [!LIBC_SIGACTION]: Remove aliases.
6791 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6792 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6793 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6794 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6795 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6796 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6798 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6800 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6801 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6802 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6803 __libc_allocate_rtsig_private.
6804 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6805 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6806 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6807 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6808 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6809 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6810 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6811 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6812 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6813 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6814 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6815 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6816 * nptl/internaltypes.h: ... here.
6817 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6818 * sysdeps/nptl/jmp-unwind.c: ... here.
6819 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6820 * nptl/libc-lowlevellock.c: ... here.
6821 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6822 * nptl/libc_multiple_threads.c: ... here.
6823 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6824 * nptl/libc_pthread_init.c: ... here.
6825 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6826 * nptl/lowlevelbarrier.sym: ... here.
6827 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6828 * nptl/lowlevelcond.sym: ... here.
6829 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6830 * nptl/lowlevellock.c: ... here.
6831 * nptl/lowlevellock.h: Moved ...
6832 * sysdeps/nptl/lowlevellock.h: ... here.
6833 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6834 * nptl/lowlevelrobustlock.c: ... here.
6835 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6836 * nptl/lowlevelrobustlock.sym: ... here.
6837 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6838 * nptl/lowlevelrwlock.sym: ... here.
6839 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6840 * nptl/pt-fork.c: ... here.
6841 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6842 * nptl/pthread-pi-defines.sym: ... here.
6843 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6844 * nptl/pthread_attr_getaffinity.c: ... here.
6845 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6846 * nptl/pthread_attr_setaffinity.c: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6848 * nptl/pthread_mutex_cond_lock.c: ... here.
6849 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6851 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6852 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6853 * nptl/pthread_once.c: ... here, replacing old file.
6854 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6855 * nptl/pthread_yield.c: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6857 * nptl/register-atfork.c: ... here.
6858 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6859 * nptl/sem_post.c: ... here.
6860 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6861 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6862 * nptl/sem_timedwait.c: ... here.
6863 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6864 * nptl/sem_trywait.c: ... here.
6865 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6866 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6867 * nptl/sem_wait.c: ... here.
6868 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6869 * nptl/structsem.sym: ... here.
6870 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6871 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6872 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6873 * nptl/unregister-atfork.c: ... here.
6874 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6875 * nptl/unwindbuf.sym: ... here.
6876 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6877 * sysdeps/nptl/fork.c: ... here.
6878 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6879 * sysdeps/nptl/fork.h: ... here.
6880 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6881 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6882 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6883 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6884 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6885 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6886 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6887 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6888 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6889 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6890 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6891 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6892 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6893 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6894 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6895 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6896 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6897 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6898 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6899 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6900 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6901 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6902 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6903 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6904 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6905 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6906 * sysdeps/unix/sysv/linux/raise.c: ... here.
6907 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6908 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6909 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6910 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6911 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6912 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6913 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6914 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6915 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6916 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6917 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6918 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6919 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6920 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6921 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6923 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6925 * sysdeps/generic/memcopy.h: Add comment for
6926 MEMCPY_OK_FOR_FWD_MEMMOVE.
6928 2014-07-04 Will Newton <will.newton@linaro.org>
6930 * string/memchr.c: Merge from gnulib.
6931 [_LIBC]: Remove conditionals.
6932 (__ptr_t): Remove define.
6933 (LONG_MAX_32_BITS): Likewise.
6934 (LONG_MAX): Likewise.
6935 (MEMCHR): Use ANSI prototype and optimize algorithm.
6937 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6939 2014-07-03 Roland McGrath <roland@hack.frob.com>
6941 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6942 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6944 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6945 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6946 in a bare environment with no <stdlib.h> installed.
6947 * sysdeps/nptl/configure: Regenerated.
6949 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6951 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6952 AC_EGREP_CPP for kernel header checks, so they only succeed if
6953 including <linux/version.h> actually works right.
6954 * sysdeps/unix/sysv/linux/configure: Regenerated.
6956 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6957 value so it's not diagnosed as unused.
6959 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6960 thing) with "ifeq ($(subdir),rt)".
6962 2014-07-03 Richard Henderson <rth@redhat.com>
6964 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6965 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6966 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6968 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6969 (math_force_eval): New.
6971 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6972 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6974 * sysdeps/alpha/fpu/s_round.c: Remove file.
6975 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6977 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6978 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6979 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6980 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6981 (_dl_start, print_statistics): Likewise.
6982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6983 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6985 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6986 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6987 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6988 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6990 (HP_SMALL_TIMING_AVAIL): Define.
6991 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6992 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6993 (HP_SMALL_TIMING_AVAIL): Define.
6994 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6995 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6997 * sysdeps/aarch64/hp-timing.h: New file.
6999 * sysdeps/generic/hp-timing.h: Remove dead comment.
7000 * sysdeps/generic/hp-timing-common.h: New file.
7001 * sysdeps/alpha/hp-timing.h: Include it.
7002 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7003 * sysdeps/i386/i686/hp-timing.h: Likewise.
7004 * sysdeps/ia64/hp-timing.h: Likewise.
7005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7006 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7007 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7008 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7009 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7010 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7013 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7014 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7015 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7016 * elf/rtld.c (_dl_start_final): Likewise.
7017 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7018 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7019 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7020 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7021 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7022 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7023 (HP_TIMING_DIFF_INIT): Remove.
7024 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7025 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7026 (HP_TIMING_DIFF_INIT): Remove.
7027 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7028 * sysdeps/i386/i686/hp-timing.c: Remove file.
7029 * sysdeps/x86_64/hp-timing.c: Remove file.
7030 * sysdeps/ia64/hp-timing.c: Remove file.
7031 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7032 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7034 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7036 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7037 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7038 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7039 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7041 (HP_TIMING_ACCUM): Remove.
7042 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7044 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7046 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7047 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7048 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7049 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7050 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7053 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7055 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7057 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7059 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7061 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7063 Sync up with gettext.
7064 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7065 [_MSC_VER]: Include malloc.h
7066 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7067 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7068 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7069 TEMP_FAILURE_RETRY. Cast return of alloca.
7070 [!_LIBC] Call gl_rwlock_init.
7071 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7073 2014-07-02 Roland McGrath <roland@hack.frob.com>
7075 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7076 before checking its value.
7078 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7080 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7082 * debug/memcpy_chk.c: Don't include pagecopy.h.
7083 * debug/mempcpy_chk.c: Likewise.
7084 * string/memcpy.c: Likewise.
7085 * string/memmove.c: Likewise.
7086 * sysdeps/powerpc/memmove.c: Likewise.
7087 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7088 definition of PAGE_COPY_FWD_MAYBE here...
7089 * sysdeps/generic/pagecopy.h: ... from here.
7090 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7092 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7093 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7095 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7099 (__libc_ifunc_impl_list): Likewise.
7100 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7101 multiarch strcat for PPC64.
7102 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7103 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7105 2014-07-02 Roland McGrath <roland@hack.frob.com>
7107 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7109 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7111 * intl/loadmsgcat.c: Remove declaration of
7112 get_sysdep_segment_value.
7113 (get_sysdep_segment_value): Use ISO C style.
7114 (_nl_load_domain): Use ISO C style. Get rid of redundant
7115 semicolon. Fix typo and formatting in comment.
7116 (_nl_unload_domain): Use ISO C style.
7118 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7120 2014-07-02 Will Newton <will.newton@linaro.org>
7122 * malloc/obstack.c: Merge from gnulib master.
7123 [HAVE_CONFIG_H]: Remove conditional code.
7124 [!_LIBC]: Include config.h.
7125 [!ELIDE_CODE]: Don't include inttypes.h, include
7126 stdint.h unconditionally.
7127 (print_and_abort): Mark as _Noreturn.
7128 (_obstack_allocated_p): Mark as __attribute_pure__.
7129 (obstack_free): Rename to __obstack_free.
7130 [!__attribute__]: Remove conditional code.
7131 * malloc/obstack.h: Merge from gnulib master.
7132 [__cplusplus]: Move conditional down.
7133 [!__attribute_pure__]: Define __attribute_pure__ here
7134 if it is not already defined.
7135 (_obstack_memory_used): Mark as __attribute_pure__.
7136 [!__obstack_free]: Define as obstack_free.
7137 [__GNUC__]: Remove check for ancient NeXT gcc.
7139 2014-07-02 Will Newton <will.newton@linaro.org>
7140 Paul Eggert <eggert@cs.ucla.edu>
7142 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7144 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7146 * resolv/gethnamaddr.c: Add comment warning that the file is
7149 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7151 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7154 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7155 entry for aio_cancel and aio_cancel64.
7156 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7157 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7158 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7159 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7160 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7161 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7162 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7163 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7164 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7165 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7166 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7167 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7168 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7170 2014-07-01 Roland McGrath <roland@hack.frob.com>
7172 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7173 * nptl/pthread_mutex_lock.c: Likewise.
7174 * nptl/pthread_mutex_timedlock.c: Likewise.
7175 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7177 2014-07-01 Richard henderson <rth@redhat.com>
7179 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7180 (__isnan, __isnanl): Remove.
7181 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7183 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7185 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7187 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7189 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7191 * resolv/nss_dns/dns-host.c (getanswer_r)
7192 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7194 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7197 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7199 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7200 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7202 2014-07-01 Roland McGrath <roland@hack.frob.com>
7204 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7205 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7207 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7208 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7210 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7211 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7213 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7214 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7216 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7217 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7218 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7219 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7221 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7222 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7223 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7224 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7227 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7229 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7230 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7231 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7232 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7233 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7234 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7235 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7236 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7238 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7239 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7240 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7242 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7243 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7244 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7245 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7246 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7247 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7248 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7250 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7251 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7253 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7254 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7255 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7256 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7257 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7259 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7261 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7262 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7263 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7266 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7270 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7272 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7273 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7277 * sysdeps/arm/libm-test-ulps: Regenerated.
7279 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7280 Roland McGrath <roland@hack.frob.com>
7282 * test-skeleton.c (signal_handler): Kill the whole process group
7283 before killing the child individually.
7284 (main): Report any failure on `setpgid'.
7286 2014-06-30 Roland McGrath <roland@hack.frob.com>
7288 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7289 from _TLS_H to _ARM_NPTL_TLS_H.
7290 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7291 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7293 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7297 (__expm1l): Return argument unchanged when small but not
7300 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7302 (_FP_UNPACK_RAW_1_P): Likewise.
7303 (_FP_PACK_RAW_1): Likewise.
7304 (_FP_PACK_RAW_1_P): Likewise.
7305 (_FP_MUL_MEAT_1_wide): Likewise.
7306 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7307 (_FP_MUL_MEAT_1_hard): Likewise.
7308 (_FP_DIV_MEAT_1_imm): Likewise.
7309 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7310 (_FP_DIV_MEAT_1_udiv): Likewise.
7311 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7312 (_FP_UNPACK_RAW_2): Likewise.
7313 (_FP_UNPACK_RAW_2_P): Likewise.
7314 (_FP_PACK_RAW_2): Likewise.
7315 (_FP_PACK_RAW_2_P): Likewise.
7316 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7317 (_FP_MUL_MEAT_2_wide): Likewise.
7318 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7319 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7320 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7321 (_FP_MUL_MEAT_2_gmp): Likewise.
7322 (_FP_DIV_MEAT_2_udiv): Likewise.
7323 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7324 (_FP_FRAC_SRL_4): Likewise.
7325 (_FP_FRAC_SRST_4): Likewise.
7326 (_FP_FRAC_SRS_4): Likewise.
7327 (_FP_UNPACK_RAW_4): Likewise.
7328 (_FP_UNPACK_RAW_4_P): Likewise.
7329 (_FP_PACK_RAW_4): Likewise.
7330 (_FP_PACK_RAW_4_P): Likewise.
7331 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7332 (_FP_MUL_MEAT_4_wide): Likewise.
7333 (_FP_MUL_MEAT_4_gmp): Likewise.
7334 (umul_ppppmnnn): Likewise.
7335 (_FP_DIV_MEAT_4_udiv): Likewise.
7336 (__FP_FRAC_ADD_4): Likewise.
7337 (__FP_FRAC_SUB_3): Likewise.
7338 (__FP_FRAC_SUB_4): Likewise.
7339 (__FP_FRAC_DEC_3): Likewise.
7340 (__FP_FRAC_DEC_4): Likewise.
7341 (__FP_FRAC_ADDI_4): Likewise.
7342 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7343 (_FP_FRAC_SRL_8): Likewise.
7344 (_FP_FRAC_SRS_8): Likewise.
7346 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7348 (FP_UNPACK_RAW_EP): Likewise.
7349 (FP_PACK_RAW_E): Likewise.
7350 (FP_PACK_RAW_EP): Likewise.
7351 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7352 (_FP_ISSIGNAN): Likewise.
7353 (_FP_ADD_INTERNAL): Likewise.
7354 (_FP_FMA): Likewise.
7355 (_FP_CMP): Likewise.
7356 (_FP_SQRT): Likewise.
7357 (_FP_TO_INT): Likewise.
7358 (_FP_FROM_INT): Likewise.
7359 (FP_EXTEND): Likewise.
7360 (_FP_DIV_MEAT_N_loop): Likewise.
7362 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7364 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7367 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7370 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7371 result with correct sign in case of exponents that produce
7372 overflow except for X very close to 1.
7374 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7376 mktime: merge #if/#ifdef usage from glibc
7377 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7378 as that works with both Glibc's and Gnulib's style.
7379 See thread starting at Siddhesh Poyarekar's bug report at:
7380 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7382 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7384 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7385 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7386 * sysdeps/tile/tilegx/memmove.c: Remove file.
7388 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7390 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7391 abi-name definition.
7392 * scripts/soversions.awk: Do not handle or generate ABI lines.
7393 * shlib-versions: Remove ABI entries.
7394 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7395 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7397 2014-06-27 Roland McGrath <roland@hack.frob.com>
7399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7400 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7402 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7404 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7407 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7410 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7412 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7414 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7416 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7418 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7420 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7423 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7430 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7431 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7433 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7434 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7435 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7438 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7440 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7442 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7444 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7447 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7449 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7450 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7453 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7455 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7457 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7460 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7463 Identical file removed.
7464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7466 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7467 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7468 Identical file removed.
7469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7470 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7471 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7473 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7475 Identical file removed.
7476 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7477 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7479 Identical file removed.
7480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7483 Identical file removed.
7484 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7485 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7486 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7487 Identical file removed.
7488 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7490 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7492 Identical file removed.
7493 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7495 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7496 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7497 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7498 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7499 Identical file removed.
7500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7502 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7505 Identical file removed.
7506 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7508 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7510 Identical file removed.
7511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7513 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7514 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7515 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7517 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7520 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7521 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7522 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7524 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7525 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7526 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7527 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7528 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7530 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7533 * nscd/nscd.c (monitor_child): Return exit status of child
7534 instead of return value from wait syscall.
7536 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7538 * configure.ac (libc_commonpagesize): Remove variable.
7539 (libc_relro_required): Likewise.
7540 (libc_cv_z_relro): Remove configure test.
7541 * configure: Regenerated.
7542 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7544 (libc_relro_required): Likewise.
7545 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7546 (libc_relro_required): Likewise.
7547 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7548 (libc_relro_required): Likewise.
7549 * sysdeps/arm/preconfigure: Regenerated.
7550 * sysdeps/ia64/preconfigure: Remove file.
7551 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7553 (libc_relro_required): Likewise.
7557 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7558 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7559 recompute overflowing results in original rounding mode.
7560 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7561 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7562 recompute overflowing results in original rounding mode.
7563 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7564 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7565 recompute overflowing results in original rounding mode.
7566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7567 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7568 recompute overflowing results in original rounding mode.
7569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7570 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7571 recompute overflowing results in original rounding mode.
7572 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7573 (libc_feholdsetround_ctx): New macro.
7574 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7575 * sysdeps/i386/fpu/libm-test-ulps: Update.
7576 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7578 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7580 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7581 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7582 corresponding .cpsetup call.
7584 2014-06-26 Roland McGrath <roland@hack.frob.com>
7586 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7587 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7588 * sysdeps/arm/Makefile [$(subdir) = csu]
7589 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7590 (static-only-routines): Add aeabi_read_tp here.
7591 (shared-only-routines): Add libc-aeabi_read_tp here.
7592 (CFLAGS-libc-start.c): Add -fexceptions here.
7593 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7594 (sysdep_routines, static-only-routines, shared-only-routines):
7595 Don't add to these here.
7596 (CFLAGS-libc-start.c): Likewise.
7598 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7599 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7600 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7601 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7602 * sysdeps/arm/Makefile [$(subdir) = rt]
7603 (librt-sysdep_routines, librt-shared-only-routines):
7604 Append rt-aeabi_unwind_cpp_pr1 here.
7605 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7606 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7607 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7608 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7609 Append nptl-aeabi_unwind_cpp_pr1 here.
7610 (tests): Filter out tst-cleanupx4 here.
7611 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7612 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7613 Don't do those here.
7615 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7617 * scripts/list-sources.sh: Do not handle ports specially.
7619 2014-06-26 Roland McGrath <roland@hack.frob.com>
7621 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7622 * sysdeps/arm/feupdateenv.c: Likewise.
7624 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7626 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7628 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7629 trailing whitespace removed.
7630 * scripts/config.guess: Update to version 2014-03-23.
7631 * scripts/config.sub: Update to version 2014-05-01
7632 * scripts/install-sh: Update to version 2013-12-25.23.
7633 * scripts/move-if-change: Update from gnulib.
7635 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7637 * debug/memmove_chk.c: Remove pagecopy.h include.
7639 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7641 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7642 identical to gnulib mktime.
7644 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7646 * configure.ac: Do not test for machine being rs6000. Do not test
7648 * configure: Regenerated.
7650 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7652 * configure: Regenerated.
7653 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7654 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7655 Remove configure test.
7656 * sysdeps/arm/configure: Regenerated.
7657 * sysdeps/nptl/configure.ac: Do not check
7658 libc_cv_asm_cfi_directives.
7659 * sysdeps/nptl/configure: Regenerated.
7660 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7661 * sysdeps/x86_64/nptl/configure: Remove generated file.
7662 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7664 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7666 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7668 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7669 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7670 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7673 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7674 instead of whether it is defined.
7675 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7676 * sysdeps/hppa/dl-machine.h: Likewise.
7677 * sysdeps/ia64/dl-machine.h: Likewise.
7678 * sysdeps/m68k/dl-machine.h: Likewise.
7679 * sysdeps/microblaze/dl-machine.h: Likewise.
7680 * sysdeps/mips/dl-machine.: Likewise.
7681 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7682 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7683 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7684 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7685 * sysdeps/sh/dl-machine.h: Likewise.
7686 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7687 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7688 * sysdeps/tile/dl-machine.h: Likewise.
7689 * sysdeps/x86_64/dl-machine.h: Likewise.
7691 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7693 (verify_persistent_db): Likewise.
7695 2014-06-26 Roland McGrath <roland@hack.frob.com>
7697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7698 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7700 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7703 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7706 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7708 Identical file removed.
7709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7712 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7714 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7718 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7721 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7723 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7725 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7728 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7730 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7732 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7734 Identical file removed.
7735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7736 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7741 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7744 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7746 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7748 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7750 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7752 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7755 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7758 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7760 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7763 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7765 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7769 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7770 * sysdeps/unix/sysv/linux/s390/Versions
7771 (libpthread: GLIBC_2.19): New version set.
7772 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7773 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7774 (librt: GLIBC_2.3.3): New version set.
7775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7776 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7777 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7778 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7779 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7780 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7781 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7782 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7783 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7784 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7785 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7786 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7787 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7788 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7789 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7791 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7793 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7794 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7795 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7796 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7797 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7798 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7799 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7801 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7803 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7804 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7805 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7806 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7808 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7810 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7811 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7813 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7815 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7817 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7819 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7822 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7823 (__libc_vfork): Define the function under this name.
7824 [!NOT_IN_libc] (__vfork): Make this an alias.
7825 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7827 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7828 (__libc_vfork): Define the function under this name.
7829 [!NOT_IN_libc] (__vfork): Make this an alias.
7830 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7831 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7832 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7833 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7835 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7837 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7838 code that was previously under [RESET_PID].
7839 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7840 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7844 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7845 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7846 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7847 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7848 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7849 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7850 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7851 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7852 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7853 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7855 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7857 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7858 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7859 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7861 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7863 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7864 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7869 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7870 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7871 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7872 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7879 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7880 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7881 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7882 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7883 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7885 2014-06-25 Roland McGrath <roland@hack.frob.com>
7887 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7888 that was previously under [RESET_PID].
7889 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7891 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7893 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7894 not undefine and redefine.
7895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7896 [O_CLOEXEC]: Make code unconditional.
7897 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7898 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7899 <kernel-features.h>.
7900 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7901 conditional variable definition.
7902 (shm_open) [O_CLOEXEC]: Make code unconditional.
7903 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7906 * configure.ac (USE_REGPARMS): Don't define here.
7907 * configure: Regenerated.
7908 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7909 * sysdeps/i386/configure: Regenerated.
7911 * nptl/createthread.c: Don't include kernel-features.h.
7912 * nptl/pthread_cancel.c: Likewise.
7913 * nptl/pthread_condattr_setclock.c: Likewise.
7914 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7915 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7916 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7917 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7918 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7919 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7920 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7923 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7924 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7925 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7926 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7927 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7928 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7929 * nscd/gai.c: Likewise.
7930 * nss/nss_db/db-open.c: Likewise.
7931 * sysdeps/generic/ldsodefs.h: Likewise.
7932 * sysdeps/sh/nptl/tls.h: Likewise.
7933 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7934 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7935 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7936 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7937 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7938 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7939 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7940 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7942 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7943 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7944 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7945 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7946 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7947 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7948 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7949 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7950 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7951 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7952 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7954 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7955 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7956 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7960 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7961 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7962 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7963 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7964 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7965 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7966 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7967 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7968 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7969 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7970 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7971 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7972 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7973 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7974 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7975 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7976 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7977 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7978 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7979 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7980 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7981 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7982 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7983 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7984 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7985 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7986 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7987 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7988 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7990 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8013 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8014 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8015 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8016 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8017 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8018 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8019 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8020 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8021 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8022 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8023 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8024 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8025 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8026 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8027 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8028 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8029 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8030 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8031 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8032 * sysdeps/unix/sysv/linux/system.c: Likewise.
8033 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8034 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8035 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8036 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8037 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8039 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8041 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8042 * configure: Regenerated.
8043 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8045 * configure.ac (base_machine): Do not set specially for particular
8047 * configure: Regenerated.
8048 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8049 settings from configure.ac.
8050 * sysdeps/i386/preconfigure: New file.
8051 * sysdeps/s390/preconfigure: Likewise.
8052 * sysdeps/sh/preconfigure: Likewise.
8053 * sysdeps/sparc/preconfigure: Likewise.
8055 2014-06-25 Roland McGrath <roland@hack.frob.com>
8057 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8058 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8059 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8060 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8061 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8062 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8063 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8064 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8065 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8066 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8067 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8068 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8069 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8070 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8071 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8072 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8073 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8074 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8075 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8077 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8078 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8079 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8080 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8081 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8082 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8083 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8084 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8085 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8086 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8087 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8088 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8089 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8090 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8091 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8092 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8093 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8094 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8095 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8096 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8097 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8098 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8099 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8100 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8102 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8104 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8105 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8106 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8108 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8109 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8110 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8112 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8113 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8114 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8117 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8119 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8122 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8125 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8127 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8130 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8132 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8136 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8139 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8142 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8144 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8147 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8155 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8158 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8166 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8168 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8172 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8175 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8178 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8180 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8185 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8187 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8189 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8191 * timezone/checktab.awk: Update from tzcode 2014e.
8192 * timezone/private.h: Likewise.
8193 * timezone/tzfile.h: Likewise.
8194 * timezone/zdump.c: Likewise.
8195 * timezone/zic.c: Likewise.
8197 * sysdeps/unix/sysv/linux/kernel-features.h
8198 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8199 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8200 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8201 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8202 Remove conditional code.
8204 2014-06-25 Will Newton <will.newton@linaro.org>
8206 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8207 (_dl_arm_cap_flags): Add HWCAP2 values.
8208 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8209 (_DL_HWCAP_COUNT): Increase to 37.
8210 (_DL_HWCAP_LAST): New define.
8211 (_DL_HWCAP2_LAST): New define.
8212 (_dl_procinfo): Add support for printing
8214 (_dl_string_hwcap): Use _dl_hwcap_string.
8216 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8220 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8222 * README: Do not mention ports directory.
8224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8226 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8227 <kernel-features.h>.
8228 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8229 conditional variable definition.
8230 (__futimes): Update comment.
8231 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8232 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8235 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8236 arguments close to 0.
8237 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8239 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8241 * math/auto-libm-test-in: Add more tests of exp10.
8242 * math/auto-libm-test-out: Regenerated.
8243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8245 * sysdeps/unix/sysv/linux/kernel-features.h
8246 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8247 * sysdeps/unix/sysv/linux/readv.c: Do not include
8248 <kernel-features.h>.
8249 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8250 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8251 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8253 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8255 * sysdeps/unix/sysv/linux/writev.c: Do not include
8256 <kernel-features.h>.
8257 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8258 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8259 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8261 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8264 2014-06-25 Will Newton <will.newton@linaro.org>
8266 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8267 comment changes throughout the file. Remove checks
8268 for HAVE_*_H definitions that are not required.
8269 (__gen_tempname): Call abort if an unknown kind value is
8272 2014-06-25 Andreas Schwab <schwab@suse.de>
8275 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8276 scalbln, scalblnf, scalblnl in libc.
8278 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8281 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8282 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8283 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8285 2014-06-24 Roland McGrath <roland@hack.frob.com>
8287 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8288 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8289 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8290 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8292 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8293 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8295 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8296 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8297 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8299 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8300 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8301 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8302 * sysdeps/x86/bits/semaphore.h: ... here.
8303 * sysdeps/x86/nptl/elide.h: Moved ...
8304 * sysdeps/x86/elide.h: ... here.
8305 * sysdeps/x86_64/nptl/Implies: File removed.
8306 * sysdeps/i386/nptl/Implies: File removed.
8308 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8311 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8312 return the argument for normal arguments with exponent below -64.
8313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8315 * math/auto-libm-test-in: Add another test of expm1.
8316 * math/auto-libm-test-out: Regenerated.
8319 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8320 calling __erfcl for arguments at least 16.
8321 * math/auto-libm-test-in: Add more tests of erf.
8322 * math/auto-libm-test-out: Regenerated.
8324 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8325 individual architectures.
8326 * sysdeps/unix/sysv/linux/configure: Regenerated.
8327 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8328 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8329 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8330 (ldd_rewrite_script): Define variable.
8331 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8336 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8337 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8338 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8339 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8340 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8341 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8342 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8343 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8345 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8348 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8349 Rename member __data.d to __data.__elision_data.
8351 2014-06-24 Wilco <wdijkstr@arm.com>
8353 * NEWS: Add 16918 to fixed bug list.
8355 2014-06-24 Wilco <wdijkstr@arm.com>
8357 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8359 2014-06-24 Wilco <wdijkstr@arm.com>
8361 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8362 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8363 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8364 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8365 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8366 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8367 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8370 2014-06-24 Wilco <wdijkstr@arm.com>
8372 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8374 2014-06-24 Wilco <wdijkstr@arm.com>
8376 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8377 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8378 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8379 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8381 2014-06-24 Wilco <wdijkstr@arm.com>
8384 * sysdeps/arm/feupdateenv.c (feupdateenv):
8385 Rewrite to reduce FPSCR accesses and fix return value.
8387 2014-06-24 Wilco <wdijkstr@arm.com>
8389 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8390 Optimize to avoid unnecessary FPSCR writes.
8391 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8392 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8393 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8394 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8396 2014-06-24 Wilco <wdijkstr@arm.com>
8398 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8399 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8400 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8401 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8402 Call libc_fetestexcept_vfp.
8403 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8404 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8405 __SOFTFP__ ifdef so that they can be built for softfp.
8407 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8409 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8410 argument type signed char.
8412 * Makerules (check-abi): Dump diff of symlist if the test
8415 2014-06-23 Roland McGrath <roland@hack.frob.com>
8417 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8420 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8421 Remove unused variable ST.
8423 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8427 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8428 small arguments before calling __expm1.
8429 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8430 small arguments before calling __expm1f.
8431 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8432 small arguments before calling __expm1l.
8433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8435 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8436 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8437 spurious underflow for some cosh tests.
8438 * math/auto-libm-test-out: Regenerated.
8439 * sysdeps/i386/fpu/libm-test-ulps: Update.
8442 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8443 (__ieee754_y1): Set errno if return value overflows.
8444 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8445 (__ieee754_y1f): Set errno if return value overflows.
8446 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8447 (__ieee754_y1l): Set errno if return value overflows.
8448 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8449 (__ieee754_y1l): Set errno if return value overflows.
8450 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8451 * math/auto-libm-test-out: Regenerated.
8453 * math/gen-auto-libm-tests.c: Document use of
8454 ignore-zero-inf-sign.
8455 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8456 (input_flags): Add ignore-zero-inf-sign.
8457 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8458 * math/gen-libm-test.pl (generate_testfile): Handle
8459 ignore-zero-inf-sign.
8460 * math/auto-libm-test-in: Mark some cpow tests with
8461 ignore-zero-inf-sign and some with xfail-rounding.
8462 * math/auto-libm-test-out: Regenerated.
8463 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8464 * sysdeps/i386/fpu/libm-test-ulps: Update.
8465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8468 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8469 overflowing or underflowing operations take place with sign of
8471 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8472 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8473 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8474 (__ieee754_pow): Recompute overflowing and underflowing results in
8475 original rounding mode.
8476 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8477 (__powl_helper): Allow negative argument X and scale negated value
8478 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8479 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8480 overflowing or underflowing operations take place with sign of
8482 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8484 * math/auto-libm-test-in: Add more tests of pow.
8485 * math/auto-libm-test-out: Regenerated.
8486 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8487 (pow_tonearest_test_data): Remove.
8488 (pow_test_tonearest): Likewise.
8489 (pow_towardzero_test_data): Likewise.
8490 (pow_test_towardzero): Likewise.
8491 (pow_downward_test_data): Likewise.
8492 (pow_test_downward): Likewise.
8493 (pow_upward_test_data): Likewise.
8494 (pow_test_upward): Likewise.
8495 (main): Don't call removed functions.
8496 * sysdeps/i386/fpu/libm-test-ulps: Update.
8497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8499 2014-06-23 Roland McGrath <roland@hack.frob.com>
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8675 2014-06-23 Will Newton <will.newton@linaro.org>
8676 Wilco <wdijkstr@arm.com>
8678 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8679 implementation. Include get-rounding-mode.h.
8680 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8681 [!libc_feholdsetround_noex_ctx]: Define
8682 libc_feholdsetround_noex_ctx.
8683 [!libc_feholdsetround_noexf_ctx]: Define
8684 libc_feholdsetround_noexf_ctx.
8685 [!libc_feholdsetround_noexl_ctx]: Define
8686 libc_feholdsetround_noexl_ctx.
8687 (libc_feholdsetround_ctx): New function.
8688 (libc_feresetround_ctx): New function.
8689 (libc_feholdsetround_noex_ctx): New function.
8690 (libc_feresetround_noex_ctx): New function.
8692 2014-06-23 Roland McGrath <roland@hack.frob.com>
8694 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8695 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8696 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8697 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8698 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8699 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8701 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8702 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8703 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8704 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8705 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8706 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8708 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8709 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8710 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8711 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8713 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8716 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8717 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8718 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8721 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8723 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8725 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8727 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8730 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8731 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8733 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8735 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8738 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8739 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8740 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8741 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8742 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8743 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8744 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8749 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8752 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8754 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8756 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8758 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8759 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8762 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8765 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8766 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8767 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8768 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8769 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8770 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8772 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8774 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8775 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8776 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8778 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8779 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8780 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8781 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8782 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8785 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8792 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8797 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8798 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8799 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8800 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8801 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8802 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8803 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8804 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8805 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8807 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8810 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8811 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8812 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8813 (IPV6_PMTUDISC_INTERFACE): Likewise.
8814 (IPV6_PMTUDISC_OMIT): Likewise.
8816 2014-06-23 Andreas Schwab <schwab@suse.de>
8818 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8819 Remove unused errout label.
8821 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8823 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8824 macro: hardware supports Vector Crypto instructions.
8826 2014-06-23 Will Newton <will.newton@linaro.org>
8828 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8829 rather than __builtin_expect.
8831 * elf/dl-lookup.c (undefined_msg): Remove variable.
8832 (_dl_lookup_symbol_x): Replace undefined_msg with string
8835 * elf/dl-lookup.c (do_lookup_unique): New function.
8836 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8837 to a separate function.
8839 2014-06-23 Andreas Schwab <schwab@suse.de>
8842 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8843 before reading the next line.
8845 2014-06-23 Will Newton <will.newton@linaro.org>
8847 * test-skeleton.c (signal_handler): Use printf and %m
8848 rather than perror. Use printf rather than fprintf to
8849 stderr. Use puts rather than fputs to stderr.
8852 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8854 * nscd/nscd.c (thread_info_t): Remove typedef.
8855 (thread_info): Remove variable.
8857 2014-06-21 Allan McRae <allan@archlinux.org>
8859 * NEWS: Mention CVE-2014-4043.
8861 2014-06-20 Roland McGrath <roland@hack.frob.com>
8863 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8864 * nptl/smp.h: ... here.
8866 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8868 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8869 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8870 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8871 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8873 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8874 * nptl/stack-aliasing.h: New file.
8875 * sysdeps/i386/i686/stack-aliasing.h: New file.
8876 * sysdeps/i386/i686/nptl/Makefile: File removed.
8877 * sysdeps/x86_64/stack-aliasing.h: New file.
8878 * sysdeps/x86_64/nptl/Makefile
8879 (CFLAGS-pthread_create.c): Variable removed.
8881 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8882 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8884 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8885 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8888 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8890 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8891 (__ASSUME_SIGFRAME_V2): Remove macro.
8892 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8893 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8894 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8895 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8896 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8897 Declare as function. Remove conditional macro definitions.
8898 (__default_rt_sa_restorer): Likewise.
8899 (__default_sa_restorer_v1): Remove declaration.
8900 (__default_sa_restorer_v2): Likewise.
8901 (__default_rt_sa_restorer_v1): Likewise.
8902 (__default_rt_sa_restorer_v2): Likewise.
8903 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8904 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8905 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8907 2014-06-20 Roland McGrath <roland@hack.frob.com>
8909 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8910 (libpthread-routines): Add sysdep.
8911 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8912 * sysdeps/unix/sysv/linux/sparc/Versions
8913 (libpthread: GLIBC_2.3.3): New version set.
8914 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8915 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8916 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8917 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8918 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8919 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8921 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8922 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8923 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8924 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8925 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8926 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8927 * sysdeps/sparc/nptl/sem_init.c: ... here.
8928 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8929 * sysdeps/sparc/nptl/sem_post.c: ... here.
8930 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8931 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8932 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8933 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8934 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8935 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8936 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8937 (libpthread-routines): Add cpu_relax.
8938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8940 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8941 (librt: GLIBC_2.3.3): New version set.
8942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8943 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8945 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8948 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8951 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8953 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8955 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8957 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8959 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8962 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8970 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8974 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8978 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8982 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8985 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8991 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8993 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8996 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8998 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9000 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9002 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9004 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9005 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9006 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9007 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9008 * nscd/nscd.c: Likewise.
9009 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9010 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9011 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9012 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9014 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9015 <kernel-features.h>.
9016 (init_mq_netlink): Remove conditional have_sock_cloexec
9017 definitions. Remove code conditional on have_sock_cloexec < 0.
9018 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9019 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9020 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9021 <kernel-features.h>.
9022 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9023 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9025 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9028 Add tests for memset_chk and memset.
9030 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9033 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9036 * elf/tst-dl-iter-static.c: New file.
9037 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9039 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9042 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9044 * sysdeps/unix/sysv/linux/kernel-features.h
9045 (__ASSUME_F_GETOWN_EX): Remove macro.
9046 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9047 <kernel-features.h>.
9048 (miss_F_GETOWN_EX): Remove variable or macro.
9049 (do_fcntl): Do not check miss_F_GETOWN_EX.
9050 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9055 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9056 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9058 * sysdeps/unix/sysv/linux/kernel-features.h
9059 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9060 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9061 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9062 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9064 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9067 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9068 Fix calculation of the symbol's value.
9069 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9070 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9071 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9072 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9073 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9074 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9075 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9076 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9077 (modules-names): Add `tst-armtlsdescmod',
9078 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9079 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9080 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9081 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9082 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9083 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9084 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9085 ($(objpfx)tst-armtlsdescloc): New dependency.
9086 ($(objpfx)tst-armtlsdescextnow): Likewise.
9087 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9088 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9090 * sysdeps/arm/configure: Regenerate.
9092 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9094 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9095 (__atfct_seterrno_2): Likewise.
9096 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9097 <kernel-features.h>.
9098 (__ASSUME_ATFCTS): Do not undefine and redefine.
9099 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9100 (__have_atfcts): Remove conditional definition.
9101 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9102 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9103 unreachable if [__ASSUME_ATFCTS].
9104 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9105 not undefine and redefine.
9106 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9107 <kernel-features.h>.
9108 (faccessat) [__NR_faccessat]: Make code unconditional.
9109 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9110 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9111 <kernel-features.h>.
9112 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9113 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9114 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9115 <kernel-features.h>.
9116 (fchownat) [__NR_fchownat]: Make code unconditional.
9117 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9118 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9119 <kernel-features.h>.
9120 (futimesat) [__NR_futimesat]: Make code unconditional.
9121 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9122 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9123 <kernel-features.h>.
9124 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9125 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9126 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9127 <kernel-features.h>.
9128 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9129 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9130 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9131 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9132 <kernel-features.h>.
9133 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9134 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9135 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9136 <kernel-features.h>.
9137 (linkat) [__NR_linkat]: Make code unconditional.
9138 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9139 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9140 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9141 <kernel-features.h>.
9142 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9143 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9144 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9145 <kernel-features.h>.
9146 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9147 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9148 * sysdeps/unix/sysv/linux/openat.c: Do not include
9149 <kernel-features.h>.
9150 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9151 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9152 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9153 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9154 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9155 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9156 <kernel-features.h>.
9157 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9158 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9159 result of INLINE_SYSCALL directly, not via int variable.
9160 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9161 <kernel-features.h>.
9162 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9163 (renameat) [__NR_renameat]: Make code unconditional.
9164 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9165 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9166 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9167 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9168 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9169 (__ASSUME_ATFCTS): Do not undefine and redefine.
9170 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9171 <kernel-features.h>.
9172 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9173 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9174 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9175 <kernel-features.h>.
9176 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9177 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9178 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9179 (__ASSUME_ATFCTS): Do not undefine and redefine.
9180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9181 <kernel-features.h>.
9182 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9183 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9184 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9185 <kernel-features.h>.
9186 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9187 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9189 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9191 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9193 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9196 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9197 constructed tree before returning error.
9198 * posix/bug-regexp36.c: Expand test case.
9200 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9203 * math/libm-test.inc (scalbln_test_date):
9204 Add errno expectations.
9205 * math/w_scalblnf.c: New File.
9206 Add wrapper which checks for setting errno to ERANGE.
9207 Add weak_alias for corresponding scalbln function.
9208 * math/w_scalbln.c: Likewise.
9209 * math/w_scalblnl.c: Likewise.
9210 * math/Makefile (libm-calls): Add w_scalbln.
9211 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9212 Remove weak_alias for corresponding scalbln function.
9213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9215 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9217 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9218 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9219 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9220 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9221 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9222 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9223 Remove long_double_symbol for scalblnl function in libm, libc.
9224 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9225 Add wrapper which checks for setting errno to ERANGE.
9226 Add long_double_symbol for scalblnl function in libm, libc.
9227 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9228 Remove long_double_symbol for scalblnl in libm.
9229 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9230 Add wrapper which checks for setting errno to ERANGE.
9231 Add long_double_symbol for scalblnl function in libm.
9232 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9233 Do not use wrapper because of own implementation.
9235 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9237 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9238 3 bytes for __pad1 for x32.
9239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9241 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9242 H.J. Lu <hongjiu.lu@intel.com>
9244 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9245 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9246 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9247 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9248 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9250 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9253 * posix/regcomp.c (parse_expression): Deallocate partially
9254 constructed tree before returning error.
9255 * posix/Makefile.c (tests): Add bug-regex36.
9256 (generated): Add bug-regex36.mtrace.
9257 (tests-special): Add $(objpfx)bug-regex36-mem.out
9258 (bug-regex36-ENV): New variable.
9259 ($(objpfx)bug-regex36-mem.out): New rule.
9260 * posix/bug-regex36.c: New file.
9262 2014-06-19 Will Newton <will.newton@linaro.org>
9264 * malloc/malloc.c (systrim): If extra is zero then return
9267 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9269 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9271 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9273 * sysdeps/aarch64/strchr.S: New file.
9275 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9278 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9279 from arguments -2 or below.
9280 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9281 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9283 2014-06-18 Andreas Schwab <schwab@suse.de>
9286 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9287 of a bracket expr not to run off the end of the string.
9288 * posix/Makefile (tests): Add tst-fnmatch3.
9289 * posix/tst-fnmatch3.c: New file.
9291 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9293 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9294 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9295 [$(cross-compiling) = no]: Likewise.
9296 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9297 [$(cross-compiling) = no]: Likewise.
9299 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9302 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9303 double, adjusted for any remainder from the high double.
9304 * math/libm-test.inc (nearbyint): Add tests.
9307 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9309 * nptl/sysdeps/powerpc/Makefile: Moved ...
9310 * sysdeps/powerpc/nptl/Makefile: ... here.
9311 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9312 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9313 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9314 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9315 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9316 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9317 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9318 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9319 * nptl/sysdeps/powerpc/tls.h: Moved ...
9320 * sysdeps/powerpc/nptl/tls.h: ... here.
9322 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9326 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9327 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9328 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9329 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9330 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9331 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9332 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9333 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9335 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9339 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9341 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9344 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9347 2014-06-16 Florian Weimer <fweimer@redhat.com>
9350 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9351 non-executed part of the test.
9353 2014-06-16 Andreas Schwab <schwab@suse.de>
9355 * string/bits/string2.h (strdup, strndup): Update feature guard.
9357 2014-06-14 David S. Miller <davem@davemloft.net>
9359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9361 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9363 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9364 that was previously under [RESET_PID].
9365 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9367 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9368 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9369 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9370 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9371 (__libc_vfork): New strong alias.
9372 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9374 2014-06-14 Andi Kleen <ak@linux.intel.com>
9376 * sysdeps/generic/elide.h: New file.
9378 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9380 * Makefile (installed-headers): Adjust path of pthread.h header.
9382 2014-06-13 Roland McGrath <roland@hack.frob.com>
9384 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9385 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9386 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9387 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9389 * nptl/sysdeps/s390/Makefile: Moved ...
9390 * sysdeps/s390/nptl/Makefile: ... here.
9391 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9392 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9393 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9394 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9395 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9396 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9397 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9398 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9399 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9400 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9401 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9402 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9403 * nptl/sysdeps/s390/tls.h: Moved ...
9404 * sysdeps/s390/nptl/tls.h: ... here.
9406 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9407 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9409 2014-06-13 David S. Miller <davem@davemloft.net>
9411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9414 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9418 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9419 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9420 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9421 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9422 Remove RESET_PID cpp guards.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9424 Remove RESET_PID cpp guards.
9425 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9427 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9429 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9432 2014-06-13 Andi Kleen <ak@linux.intel.com>
9434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9439 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9455 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9456 (pthread_rwlock_rdlock): Add elision.
9457 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9458 (pthread_rwlock_wrlock): Add elision.
9459 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9460 (pthread_rwlock_trywrlock): Add elision.
9461 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9462 (pthread_rwlock_tryrdlock): Add elision.
9463 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9464 (pthread_rwlock_tryrdlock): Add elision unlock.
9465 * nptl/sysdeps/pthread/pthread.h:
9466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9467 (PTHREAD_RWLOCK_INITIALIZER,
9468 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9469 Handle new elision field.
9470 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9471 * sysdeps/arm/nptl/bits/pthreadtypes.h
9472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9473 * sysdeps/sh/nptl/bits/pthreadtypes.h
9474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9475 * sysdeps/tile/nptl/bits/pthreadtypes.h
9476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9477 * sysdeps/a/nptl/bits/pthreadtypes.h
9478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9479 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9481 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9483 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9485 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9487 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9489 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9491 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9493 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9495 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9496 (elision_init): Set try_xbegin to zero when no RTM.
9497 * sysdeps/x86/nptl/bits/pthreadtypes.h
9498 (pthread_rwlock_t): Change __pad1 to __rwelision.
9499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9501 2014-06-13 Andi Kleen <ak@linux.intel.com>
9503 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9504 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9505 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9506 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9508 2014-06-13 Meador Inge <meadori@codesourcery.com>
9511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9512 that the cached result has been set before returning it.
9514 2014-06-12 Roland McGrath <roland@hack.frob.com>
9516 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9517 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9519 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9521 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9523 * nptl/sysdeps/sparc/Makefile: Moved ...
9524 * sysdeps/sparc/nptl/Makefile: ... here.
9525 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9526 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9527 * nptl/sysdeps/sparc/tls.h: Moved ...
9528 * sysdeps/sparc/nptl/tls.h: ... here.
9529 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9530 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9531 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9532 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9533 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9534 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9535 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9536 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9537 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9538 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9539 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9540 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9541 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9542 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9543 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9544 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9545 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9548 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9551 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9552 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9554 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9558 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9560 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9561 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9563 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9564 (struct list_links): Type removed.
9565 (struct thread_node, struct timer_node): Replace struct list_links
9566 with struct list_head.
9567 (list_unlink_ip): Likewise.
9568 * sysdeps/pthread/timer_routines.c
9569 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9570 (list_append, list_insbefore): Likewise.
9571 (list_init): Function removed.
9572 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9573 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9574 * sysdeps/pthread/Makefile: ... here, new file.
9576 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9577 * sysdeps/nptl/Implies: ... here.
9578 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9579 * nptl/sysdeps/pthread/list.h: Moved ...
9580 * include/list.h: ... here.
9581 * nptl/sysdeps/pthread/createthread.c: Moved ...
9582 * nptl/createthread.c: ... here.
9583 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9584 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9585 * nptl/pt-longjmp.c: ... here.
9586 * nptl/sysdeps/pthread/Makefile: Moved ...
9587 * sysdeps/nptl/Makefile: ... here.
9588 * nptl/sysdeps/pthread/Subdirs: Moved ...
9589 * sysdeps/nptl/Subdirs: ... here.
9590 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9591 * sysdeps/nptl/aio_misc.h: ... here.
9592 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9593 * sysdeps/nptl/bits/libc-lock.h: ... here.
9594 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9595 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9596 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9597 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9598 * nptl/sysdeps/pthread/configure: Moved ...
9599 * sysdeps/nptl/configure: ... here.
9600 * nptl/sysdeps/pthread/configure.ac: Moved ...
9601 * sysdeps/nptl/configure.ac: ... here.
9602 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9603 * sysdeps/nptl/gai_misc.h: ... here.
9604 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9605 * sysdeps/nptl/librt-cancellation.c: ... here.
9606 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9607 * sysdeps/nptl/malloc-machine.h: ... here.
9608 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9609 * sysdeps/nptl/pthread-functions.h: ... here.
9610 * nptl/sysdeps/pthread/pthread.h: Moved ...
9611 * sysdeps/nptl/pthread.h: ... here.
9612 * nptl/sysdeps/pthread/setxid.h: Moved ...
9613 * sysdeps/nptl/setxid.h: ... here.
9614 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9615 * sysdeps/nptl/sigfillset.c: ... here.
9616 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9617 * sysdeps/nptl/tcb-offsets.h: ... here.
9618 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9619 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9620 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9621 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9622 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9623 * sysdeps/pthread/allocalim.h: ... here.
9624 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9625 * sysdeps/pthread/bits/sigthread.h: ... here.
9626 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9627 * sysdeps/pthread/flockfile.c: ... here.
9628 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9629 * sysdeps/pthread/ftrylockfile.c: ... here.
9630 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9631 * sysdeps/pthread/funlockfile.c: ... here.
9632 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9633 * sysdeps/pthread/posix-timer.h: ... here.
9634 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9635 * sysdeps/pthread/timer_create.c: ... here.
9636 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9637 * sysdeps/pthread/timer_delete.c: ... here.
9638 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9639 * sysdeps/pthread/timer_getoverr.c: ... here.
9640 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9641 * sysdeps/pthread/timer_gettime.c: ... here.
9642 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9643 * sysdeps/pthread/timer_routines.c: ... here.
9644 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9645 * sysdeps/pthread/timer_settime.c: ... here.
9646 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9647 * sysdeps/pthread/tst-timer.c: ... here.
9648 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9649 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9651 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9652 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9654 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9655 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9656 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9657 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9658 Update #include target.
9659 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9660 * sysdeps/i386/i686/nptl/Makefile: ... here.
9661 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9662 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9663 Update #include target.
9664 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9665 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9666 * nptl/sysdeps/i386/Makefile: Moved ...
9667 * sysdeps/i386/nptl/Makefile: ... here.
9668 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9669 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9670 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9671 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9672 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9673 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9674 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9675 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9676 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9677 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9678 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9679 * nptl/sysdeps/i386/tls.h: Moved ...
9680 * sysdeps/i386/nptl/tls.h: ... here.
9682 * sysdeps/sh/Makefile [$(subdir) = csu]
9683 (gen-as-const-headers): Add tcb-offsets.sym.
9684 * nptl/sysdeps/sh/Makefile: File removed.
9685 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9686 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9687 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9688 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9689 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9690 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9691 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9692 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9693 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9694 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9695 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9696 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9697 * nptl/sysdeps/sh/tls.h: Moved ...
9698 * sysdeps/sh/nptl/tls.h: ... here.
9699 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9700 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9701 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9702 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9704 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9705 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9706 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9707 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9708 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9710 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9712 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9714 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9716 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9718 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9720 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9722 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9725 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9726 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9728 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9729 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9730 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9731 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9732 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9733 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9734 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9735 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9736 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9737 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9738 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9739 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9740 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9741 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9742 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9743 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9744 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9745 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9746 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9748 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9750 * posix/spawn_faction_addopen.c: Include string.h.
9752 2014-06-11 Roland McGrath <roland@hack.frob.com>
9754 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9755 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9756 * nptl/sysdeps/x86_64/Makefile: Moved ...
9757 * sysdeps/x86_64/nptl/Makefile: ... here.
9758 * nptl/sysdeps/x86_64/configure: Moved ...
9759 * sysdeps/x86_64/nptl/configure: ... here.
9760 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9761 * sysdeps/x86_64/nptl/configure.ac: ... here.
9762 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9763 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9764 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9765 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9766 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9767 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9768 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9769 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9770 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9771 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9772 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9773 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9774 * nptl/sysdeps/x86_64/tls.h: Moved ...
9775 * sysdeps/x86_64/nptl/tls.h: ... here.
9776 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9777 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9778 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9779 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9781 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9783 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9787 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9789 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9791 [POSIX] (off_t): Likewise.
9792 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9793 [POSIX] (S_ISBLK): Require macro.
9794 [POSIX] (S_ISCHR): Likewise.
9795 [POSIX] (S_ISDIR): Likewise.
9796 [POSIX] (S_ISFIFO): Likewise.
9797 [POSIX] (S_ISREG): Likewise.
9798 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9800 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9802 [POSIX] (time_t): Likewise.
9803 [POSIX] (timer_t): Likewise.
9805 2014-06-11 Florian Weimer <fweimer@redhat.com>
9808 * posix/spawn_int.h (struct __spawn_action): Make the path string
9809 non-const to support deallocation.
9810 * posix/spawn_faction_addopen.c
9811 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9812 * posix/spawn_faction_destroy.c
9813 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9814 path in all spawn_do_open actions.
9815 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9816 posix_spawn_file_actions_addopen.
9818 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9820 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9821 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9822 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9823 conditional code always true.
9824 (__libc_vfork): New alias.
9826 2014-06-11 Roland McGrath <roland@hack.frob.com>
9828 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9829 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9831 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9833 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9834 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9836 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9837 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9839 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9840 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9842 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9844 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9845 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9846 multiarch strcmp for PPC64.
9847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9848 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9850 multiarch optimizations.
9851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9852 (__libc_ifunc_impl_list): Likewise.
9854 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9856 * benchtests/scripts/validate_benchout.py: New script.
9857 * benchtests/Makefile (bench-func): Call it.
9858 * benchtests/scripts/benchout.schema.json: New file.
9860 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9862 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9863 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9864 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9865 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9866 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9867 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9868 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9869 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9870 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9871 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9872 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9873 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9874 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9875 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9876 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9877 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9981 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9982 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9987 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9990 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9992 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9994 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9996 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9998 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10000 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10003 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10006 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10008 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10009 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10011 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10012 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10013 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10014 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10015 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10016 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10017 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10019 2014-06-10 Wilco <wdijkstr@arm.com>
10021 * math/test-fenv-return.c: New file.
10022 * math/Makefile: Add new test test-fenv-return.
10024 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10027 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10028 when x - 1 is zero.
10029 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10030 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10031 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10032 0.0L for an argument of 1.0L.
10033 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10035 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10036 value when x - 1 is zero.
10037 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10038 * sysdeps/i386/fpu/libm-test-ulps: Update.
10039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10041 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10044 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10046 2014-06-09 Roland McGrath <roland@hack.frob.com>
10048 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10049 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10051 2014-06-09 Roland McGrath <roland@hack.frob.com>
10053 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10054 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10056 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10057 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10059 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10060 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10062 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10063 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10065 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10066 if not already defined.
10067 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10068 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10069 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10070 (TLS_INIT_TP): Use it.
10071 (TLS_DEFINE_INIT_TP): New macro.
10072 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10074 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10076 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10078 [POSIX] (IXANY): Likewise.
10079 [POSIX] (OLCUC): Likewise.
10080 [POSIX || POSIX2008] (CBAUD): Do not allow.
10081 [POSIX || POSIX2008] (DEFECHO): Likewise.
10082 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10083 [POSIX || POSIX2008] (ECHOKE): Likewise.
10084 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10085 [POSIX || POSIX2008] (EXTA): Likewise.
10086 [POSIX || POSIX2008] (EXTB): Likewise.
10087 [POSIX || POSIX2008] (FLUSHO): Likewise.
10088 [POSIX || POSIX2008] (LOBLK): Likewise.
10089 [POSIX || POSIX2008] (PENDIN): Likewise.
10090 [POSIX || POSIX2008] (SWTCH): Likewise.
10091 [POSIX || POSIX2008] (VDISCARD): Likewise.
10092 [POSIX || POSIX2008] (VDSUSP): Likewise.
10093 [POSIX || POSIX2008] (VLNEXT): Likewise.
10094 [POSIX || POSIX2008] (VREPRINT): Likewise.
10095 [POSIX || POSIX2008] (VSTATUS): Likewise.
10096 [POSIX || POSIX2008] (VWERASE): Likewise.
10097 (B*): Change to B[0123456789]*.
10098 * conform/data/time.h-data [POSIX || UNIX98]
10099 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10100 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10101 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10102 [POSIX] (tm_*): Do not allow.
10104 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10106 * Makefile (install): Don't set LANGUAGE.
10107 * Makefile.in (install): Likewise.
10108 * assert/Makefile (test-assert-ENV): Remove variable.
10109 (test-assert-perr-ENV): Likewise.
10110 * elf/Makefile (neededtest4-ENV): Likewise.
10111 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10112 [$(cross-compiling) = no]: Don't set LANGUAGE.
10113 * io/ftwtest-sh (LANG): Remove variable.
10114 * libio/Makefile (tst-widetext-ENV): Likewise.
10115 * manual/install.texi (Running make install): Don't refer to
10116 environment settings for make install.
10117 * INSTALL: Regenerated.
10118 * nptl/tst-tls6.sh: Don't set LANG.
10119 * posix/globtest.sh (LANG): Remove variable.
10120 * string/Makefile (tester-ENV): Likewise.
10121 (inl-tester-ENV): Likewise.
10122 (noinl-tester-ENV): Likewise.
10123 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10124 [$(cross-compiling) = no]: Don't set LANGUAGE.
10125 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10126 without explicit environment settings.
10128 2014-06-06 Roland McGrath <roland@hack.frob.com>
10130 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10131 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10132 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10133 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10135 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10137 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10138 other files in the crypt directory.
10139 * crypt/crypt.c: Remove duplicate includes.
10140 * crypt/crypt-entry.c: Likewise.
10141 * crypt/crypt_util.c: Likewise.
10143 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10145 * Makeconfig (run-program-env): New variable.
10146 (run-program-prefix-before-env): Likewise.
10147 (run-program-prefix-after-env): Likewise.
10148 (run-program-prefix): Define in terms of new variables.
10149 (built-program-cmd-before-env): New variable.
10150 (built-program-cmd-after-env): Likewise.
10151 (built-program-cmd): Define in terms of new variables.
10152 (test-program-prefix-before-env): New variable.
10153 (test-program-prefix-after-env): Likewise.
10154 (test-program-prefix): Define in terms of new variables.
10155 (test-program-cmd-before-env): New variable.
10156 (test-program-cmd-after-env): Likewise.
10157 (test-program-cmd): Define in terms of new variables.
10158 * Rules (make-test-out): Use $(run-program-env).
10159 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10160 (help): Do not mention environment variables. Mention
10161 --timeoutfactor option.
10162 (timeoutfactor): New variable.
10163 (blacklist_exports): Remove function.
10164 (exports): Remove variable.
10165 (command): Do not include ${exports}.
10166 * manual/install.texi (Configuring and compiling): Do not mention
10167 test wrappers preserving environment variables. Mention that last
10168 assignment to a variable must take precedence.
10169 * INSTALL: Regenerated.
10170 * benchtests/Makefile (run-bench): Use $(run-program-env).
10171 * catgets/Makefile ($(objpfx)test1.cat): Use
10172 $(built-program-cmd-before-env), $(run-program-env) and
10173 $(built-program-cmd-after-env).
10174 ($(objpfx)test2.cat): Do not specify environment variables
10176 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10177 $(run-program-env) and $(built-program-cmd-after-env).
10178 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10179 $(run-program-env) and $(test-program-cmd-after-env).
10180 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10182 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10183 run_program_env and test_program_cmd_after_env arguments.
10184 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10185 * elf/tst-pathopt.sh: Use run_program_env argument.
10186 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10187 $(test-wrapper-env) and $(run-program-env).
10188 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10189 run_program_env arguments.
10190 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10191 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10192 $(test-program-prefix-before-env), $(run-program-env) and
10193 $(test-program-prefix-after-env).
10194 ($(objpfx)tst-gettext2.out): Likewise.
10195 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10196 run_program_env and test_program_prefix_after_env arguments.
10197 * intl/tst-gettext2.sh: Likewise.
10198 * intl/tst-gettext4.sh: Do not set environment variables
10200 * intl/tst-gettext6.sh: Likewise.
10201 * intl/tst-translit.sh: Likewise.
10202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10203 $(test-program-prefix-before-env), $(run-program-env) and
10204 $(test-program-prefix-after-env).
10205 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10206 run_program_env and test_program_prefix_after_env arguments.
10207 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10208 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10209 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10210 explicitly with each use of ${test_wrapper_env}.
10211 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10212 $(test-program-prefix-before-env), $(run-program-env) and
10213 $(test-program-prefix-after-env).
10214 * posix/tst-getconf.sh: Do not set environment variables
10216 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10217 run_program_env and test_program_prefix_after_env arguments.
10218 * stdio-common/tst-printf.sh: Do not set environment variables
10220 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10221 $(test-program-prefix-before-env), $(run-program-env) and
10222 $(test-program-prefix-after-env).
10223 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10224 run_program_env and test_program_prefix_after_env arguments.
10225 Split $test calls into $test_pre and $test.
10226 * timezone/Makefile (build-testdata): Use
10227 $(built-program-cmd-before-env), $(run-program-env) and
10228 $(built-program-cmd-after-env).
10230 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10232 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10233 strlen for non SHARED builds.
10235 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10237 * nptl/allocatestack.c (check_list): Inlined function...
10238 (__reclaim_stacks): ... here.
10240 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10243 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10246 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10248 * Rules (make-test-out): Include
10249 LOCPATH=$(common-objpfx)localedata in default environment.
10250 * debug/Makefile (tst-chk1-ENV): Remove variable.
10251 (tst-chk2-ENV): Likewise.
10252 (tst-chk3-ENV): Likewise.
10253 (tst-chk4-ENV): Likewise.
10254 (tst-chk5-ENV): Likewise.
10255 (tst-chk6-ENV): Likewise.
10256 (tst-lfschk1-ENV): Likewise.
10257 (tst-lfschk2-ENV): Likewise.
10258 (tst-lfschk3-ENV): Likewise.
10259 (tst-lfschk4-ENV): Likewise.
10260 (tst-lfschk5-ENV): Likewise.
10261 (tst-lfschk6-ENV): Likewise.
10262 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10263 (tst-iconv7-ENV): Likewise.
10264 * intl/Makefile (LOCPATH-ENV): Likewise.
10265 (tst-codeset-ENV): Likewise.
10266 (tst-gettext3-ENV): Likewise.
10267 (tst-gettext5-ENV): Likewise.
10268 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10269 (tst-fopenloc-ENV): Likewise.
10270 (tst-fgetws-ENV): Remove variable.
10271 (tst-ungetwc1-ENV): Likewise.
10272 (tst-ungetwc2-ENV): Likewise.
10273 (bug-ungetwc2-ENV): Likewise.
10274 (tst-swscanf-ENV): Likewise.
10275 (bug-ftell-ENV): Likewise.
10276 (tst-fgetwc-ENV): Likewise.
10277 (tst-fseek-ENV): Likewise.
10278 (tst-ftell-partial-wide-ENV): Likewise.
10279 (tst-ftell-active-handler-ENV): Likewise.
10280 (tst-ftell-append-ENV): Likewise.
10281 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10282 (tst-regexloc-ENV): Likewise.
10283 (bug-regex1-ENV): Likewise.
10284 (tst-regex-ENV): Likewise.
10285 (tst-regex2-ENV): Likewise.
10286 (bug-regex5-ENV): Likewise.
10287 (bug-regex6-ENV): Likewise.
10288 (bug-regex17-ENV): Likewise.
10289 (bug-regex18-ENV): Likewise.
10290 (bug-regex19-ENV): Likewise.
10291 (bug-regex20-ENV): Likewise.
10292 (bug-regex22-ENV): Likewise.
10293 (bug-regex23-ENV): Likewise.
10294 (bug-regex25-ENV): Likewise.
10295 (bug-regex26-ENV): Likewise.
10296 (bug-regex30-ENV): Likewise.
10297 (bug-regex32-ENV): Likewise.
10298 (bug-regex33-ENV): Likewise.
10299 (bug-regex34-ENV): Likewise.
10300 (bug-regex35-ENV): Likewise.
10301 (tst-rxspencer-ENV): Likewise.
10302 (tst-rxspencer-no-utf8-ENV): Likewise.
10303 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10304 (tst-sscanf-ENV): Likewise.
10305 (tst-swprintf-ENV): Likewise.
10306 (tst-swscanf-ENV): Likewise.
10307 (test-vfprintf-ENV): Likewise.
10308 (scanf13-ENV): Likewise.
10309 (bug14-ENV): Likewise.
10310 (tst-grouping-ENV): Likewise.
10311 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10312 (tst-strtod3-ENV): Likewise.
10313 (tst-strtod4-ENV): Likewise.
10314 (tst-strtod5-ENV): Likewise.
10315 (testmb2-ENV): Likewise./
10316 * string/Makefile (tst-strxfrm-ENV): Likewise.
10317 (tst-strxfrm2-ENV): Likewise.
10318 (bug-strcoll1-ENV): Likewise.
10319 (test-strcasecmp-ENV): Likewise.
10320 (test-strncasecmp-ENV): Likewise.
10321 * time/Makefile (tst-strptime-ENV): Likewise.
10322 (tst-ftime_l-ENV): Likewise.
10323 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10324 (tst-mbrtowc-ENV): Likewise.
10325 (tst-wcrtomb-ENV): Likewise.
10326 (tst-mbrtowc2-ENV): Likewise.
10327 (tst-c16c32-1-ENV): Likewise.
10328 (tst-mbsnrtowcs-ENV): Likewise.
10330 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10332 * manual/resource.texi (How to get information about the memory
10333 subsystem?): Fix typo.
10334 Reported by Peon de la Parra Ivan <peon@keba.com>
10336 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10339 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10340 (pthread_spin_lock): Branch out of spin loop to proper location.
10341 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10342 (pthread_spin_lock): Likewise.
10344 * nptl/tst-spin4.c: New test.
10345 * nptl/Makefile (tests): Add tst-spin4.
10347 2014-06-03 Andreas Schwab <schwab@suse.de>
10350 * resolv/res_send.c (send_dg): Reload file descriptor after
10353 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10355 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10357 2014-06-03 Richard Henderson <rth@redhat.com>
10359 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10360 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10361 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10362 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10363 in the SAVE_PID block.
10364 (__libc_vfork): New alias.
10365 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10367 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10368 child in registers, not on the stack. Remove RESET_PID conditionals.
10369 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10371 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10373 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10375 2014-06-03 Wilco <wdijkstr@arm.com>
10377 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10378 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10379 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10380 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10381 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10384 2014-06-03 Wilco <wdijkstr@arm.com>
10386 * sysdeps/aarch64/fpu/math_private.h
10387 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10388 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10389 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10390 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10393 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10395 * crypt/crypt-private.h: Include ufc-crypt.h.
10396 (__b64_from_24bit): Declare extern.
10397 * crypt/crypt_util.c(__b64_from_24bit): New function.
10398 (b64t): New static const variable.
10399 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10400 (b64t): Remove variable.
10401 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10402 * crypt/sha256-crypt.c: Include crypt-private.h.
10403 (b64t): Remove variable.
10404 (__sha256_crypt_r): Remove b64_from_24bit and replace
10405 with __b64_from_24bit.
10406 * crypt/sha512-crypt.c: Likewise.
10408 2014-06-02 Roland McGrath <roland@hack.frob.com>
10410 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10411 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10412 Label the code __libc_vfork rather than __vfork.
10413 [!NOT_IN_libc] (vfork): Define as weak alias.
10414 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10415 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10416 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10418 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 * malloc/malloc.c (malloc_info): Fix format specifier for
10423 2014-06-02 Wilco <wdijkstr@arm.com>
10425 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10428 2014-06-02 Wilco <wdijkstr@arm.com>
10431 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10432 Rewrite to reduce FPCR/FPSR accesses.
10434 2014-06-01 David S. Miller <davem@davemloft.net>
10436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10438 2014-05-31 David S. Miller <davem@davemloft.net>
10440 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10441 to occur in round to nearest mode when |x| >= 2.0
10443 2014-05-30 Richard Henderson <rth@twiddle.net>
10445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10446 (PSEUDO_RET_NOERRNO): Remove.
10447 (ret): Don't redefine.
10448 (ret_NOERRNO): Define in terms of ret.
10449 (ret_ERRVAL): Likewise.
10451 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10452 use of PSEUDO_RET; perform the error check directly.
10454 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10456 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10459 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10461 * malloc/malloc (malloc_info): Fix formatting.
10463 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10464 Roland McGrath <roland@hack.frob.com>
10466 * malloc/malloc (malloc_info): Also print mmapped statistics.
10468 2014-05-30 Roland McGrath <roland@hack.frob.com>
10470 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10471 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10473 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10475 * malloc/malloc.c (malloc_info): Inline mi_arena.
10477 2014-05-29 Richard Henderson <rth@twiddle.net>
10479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10480 Remove comma before expanding ASM_ARGS_##nr.
10481 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10482 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10484 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10485 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10486 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10487 (ASM_ARGS_1): Add leading comma.
10489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10490 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10491 to __errno_location.
10492 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10493 Remove the expected plt for __errno_location.
10495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10496 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10500 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10501 it and break it down.
10502 (DOCARGS_0, DOCARGS_1): Do nothing.
10503 (DOCARGS_2): Update to store into the new stack frame.
10504 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10505 (UNDOCARGS_1): Update to restore from the new stack frame.
10506 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10507 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10510 (SINGLE_THREAD_P): New parameter for result regno.
10511 (PSEUDO): Update to match; use cbz instead of beq.
10513 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10514 Use ENTRY to define the _nocancel entry point. Share the syscall
10515 and syscall error check paths with the cancel path.
10518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10519 whitespace; tabs before and after asm mnemonics.
10521 2014-05-29 Eric Wong <normalperson@yhbt.net>
10524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10525 Call fstat64 or stat64 internally, depending on arguments passed.
10526 Replace stat buffer argument with file descriptor argument.
10527 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10528 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10529 Pass fd to __internal_statvfs instead of calling fstat64.
10530 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10531 Pass fd to __internal_statvfs64 instead of calling fstat64.
10532 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10533 Pass -1 to __internal_statvfs instead of calling stat64.
10534 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10535 Pass -1 to __internal_statvfs64 instead of calling stat64.
10537 2014-05-28 Roland McGrath <roland@hack.frob.com>
10539 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10540 that was previously under [RESET_PID].
10541 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10543 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10544 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10546 2014-05-27 Roland McGrath <roland@hack.frob.com>
10548 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10550 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10551 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10553 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10555 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10557 2014-05-27 Andreas Schwab <schwab@suse.de>
10559 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10561 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10562 * elf/rtld.c (init_tls, dl_main): Likewise.
10563 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10564 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10565 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10566 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10567 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10568 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10569 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10570 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10571 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10572 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10573 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10574 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10575 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10576 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10577 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10578 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10579 * sysdeps/generic/tls.h: Update description.
10581 2014-05-27 Will Newton <will.newton@linaro.org>
10584 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10585 and restore r2 rather than just restoring.
10587 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10590 * libio/tst-ftell-append.c: New test case.
10591 * libio/Makefile (tests): Add test case.
10592 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10594 * libio/wfileops.c (do_ftell_wide): Likewise.
10596 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10600 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10604 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10605 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10606 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10607 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10608 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10609 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10616 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10617 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10618 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10619 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10620 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10622 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10623 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10625 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10627 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10629 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10630 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10631 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10634 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10635 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10636 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10659 conditional [RESET_PID].
10660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10668 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10669 (__libc_vfork): New strong alias.
10670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10677 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10678 (__libc_vfork): New strong alias.
10679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10684 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10686 * malloc/malloc.c (mi_arena): New function.
10687 (malloc_info): Remove nested function mi_arena. Call non-nosted
10690 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10692 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10694 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10695 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10696 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10697 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10698 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10699 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10700 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10702 2014-05-26 Andreas Schwab <schwab@suse.de>
10705 * locale/programs/repertoire.c (repertoire_read): Add slash
10706 between I18NPATH element and file name.
10707 * locale/programs/locfile.c (locfile_read): Likewise.
10709 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10711 * nptl/pthread_mutexattr_settype.c
10712 (__pthread_mutexattr_settype):
10713 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10715 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10717 * nptl/tst-mutex5 (do_test):
10718 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10720 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10722 * benchtests/README: Document 'init' directive.
10723 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10725 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10726 (parse_file): Recognize 'init' directive.
10728 2014-05-26 Kyle McMartin <kyle@redhat.com>
10731 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10732 alignment of struct pthread.
10734 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10737 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10738 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10739 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10740 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10742 2014-05-25 Richard Henderson <rth@twiddle.net>
10744 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10745 (SINGLE_THREAD_P_PIC): Remove.
10746 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10747 (SINGLE_THREAD_P_PIC): Remove.
10749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10750 branch to syscall error ...
10751 (PSEUDO): ... here.
10752 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10753 from __local_syscall_error to .Lsyscall_error.
10754 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10755 (SYSCALL_ERROR): Update label name.
10757 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10758 Do not use DOARGS/UNDOARGS.
10759 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10760 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10761 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10762 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10763 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10765 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10768 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10769 define if !NOT_IN_libc.
10770 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10771 define with non-default symbol versions.
10773 2014-05-23 Richard Henderson <rth@twiddle.net>
10775 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10776 (vfork, __vfork): Define via compat_symbol.
10778 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10779 [!HAVE_IFUNC] (vfork_compat): Remove.
10780 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10782 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10785 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10786 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10789 2014-05-23 Richard Henderson <rth@twiddle.net>
10791 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10792 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10793 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10794 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10796 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10797 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10798 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10799 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10800 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10801 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10803 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10804 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10805 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10806 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10807 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10808 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10809 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10810 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10811 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10812 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10813 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10817 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10818 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10819 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10821 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10823 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10825 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10826 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10827 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10828 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10829 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10830 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10831 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10832 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10833 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10834 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10835 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10836 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10837 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10838 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10839 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10840 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10841 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10842 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10843 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10844 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10845 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10847 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10849 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10850 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10851 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10853 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10854 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10855 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10856 before exiting on error.
10857 (__libc_vfork): New strong alias.
10858 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10859 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10861 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10862 that was previously under [RESET_PID].
10863 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10865 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10867 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10870 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10871 value when x - 1 is zero.
10872 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10873 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10874 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10875 0.0L for an argument of 1.0L.
10876 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10878 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10879 value when x - 1 is zero.
10880 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10881 * sysdeps/i386/fpu/libm-test-ulps: Update.
10882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10884 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10886 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10887 alphasort and versionsort.
10889 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10891 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10893 [copysignf]: Likewise.
10895 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10897 * crypt/md5-crypt.c: Fix formatting.
10899 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10901 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10902 (b64_from_24bit): New function.
10904 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10907 libc_hidden_builtin_def to ifunc.
10908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10909 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10911 2014-05-21 Roland McGrath <roland@hack.frob.com>
10913 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10914 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10916 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10918 * nscd/Depend (linuxthreads): Remove.
10920 * resolv/Depend (linuxthreads): Remove.
10921 * rt/Depend (linuxthreads): Remove.
10923 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10924 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10925 $(common-objpfx)elf/.
10926 (link-libc-before-gnulib): Likewise.
10927 (elfobjdir): Remove variable.
10928 * Makefile (install): Use $(elf-objpfx) instead of
10929 $(common-objpfx)elf/.
10930 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10932 (link-libc-deps): Likewise.
10933 ($(common-objpfx)libc.so): Likewise.
10934 ($(common-objpfx)linkobj/libc.so): Likewise.
10935 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10936 instead of $(common-objpfx)elf/.
10937 (symbolic-link-list): Likewise.
10938 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10939 [$(cross-compiling) = no]: Likewise.
10940 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10942 (static-gnulib-arch): Likewise.
10943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10944 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10945 $(common-objpfx)elf/.
10947 2014-05-21 Richard Henderson <rth@redhat.com>
10949 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10950 (SINGLE_THREAD_P): Use the correct width load. Fold
10951 into the ldr offset.
10953 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10954 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10956 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10958 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10959 (libgcc_s_resume): Use __attribute_used__.
10960 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10963 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10965 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10966 optimization when used with float constants.
10968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10970 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10973 * locale/nl_langinfo_l.c: Make direct reference to every
10974 _nl_current_CATEGORY symbol.
10975 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10976 (tests-static): Add tst-langinfo-static.
10977 (tests-special): Add tst-langinfo-static.out.
10978 ($(objpfx)tst-langinfo.out): Redirect output.
10979 ($(objpfx)tst-langinfo-static.out): New.
10980 * localedata/tst-langinfo.sh: Send output to stdout.
10981 * localedata/tst-langinfo-static.c: New file.
10984 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10985 when the shift amount is modulo the limb size.
10987 2014-05-20 Richard Henderson <rth@redhat.com>
10990 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10991 Change type of sa_flags from unsigned int to int.
10994 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10996 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10998 2014-05-20 Will Newton <will.newton@linaro.org>
11000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11001 Test the return value of the system call in the nocancel case.
11003 2014-05-20 Will Newton <will.newton@linaro.org>
11004 Yvan Roux <yvan.roux@linaro.org>
11006 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11007 #include of asm/ptrace.h.
11008 (PTRACE_GET_THREAD_AREA): Remove #undef.
11009 (PTRACE_GETHBPREGS): Likewise.
11010 (PTRACE_SETHBPREGS): Likewise.
11011 (struct user_regs_struct): New structure.
11012 (struct user_fpsimd_struct): New structure.
11013 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11014 #include of asm/ptrace.h and second #include of sys/user.h.
11015 (PTRACE_GET_THREAD_AREA): Remove #undef.
11016 (PTRACE_GETHBPREGS): Likewise.
11017 (PTRACE_SETHBPREGS): Likewise.
11018 (ELF_NGREG): Use new struct user_regs_struct.
11019 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11021 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11026 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11030 membar to avoid block loads/stores to overlap previous stores.
11032 2014-05-17 Richard Henderson <rth@redhat.com>
11034 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11035 Create the __##syscall_name##_nocancel entry point.
11036 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11037 Remove; let the sysdep-cancel.h code create it.
11039 2014-05-17 David S. Miller <davem@davemloft.net>
11041 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11042 Protect with __USE_GNU.
11043 (TIOCSET_TEMPT): Likewise.
11044 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11045 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11046 these are already provided in bits/ioctl-types.h
11048 2014-05-16 Roland McGrath <roland@hack.frob.com>
11050 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11051 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11053 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11054 Use wait4 regardless of [__NR_waitpid].
11056 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11059 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11060 (_FP_NANSIGN_Q): Set the quiet bit.
11062 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11064 * benchtests/Makefile
11065 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11066 not $(common-objpfx)math/libm.so.
11067 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11068 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11069 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11070 $(common-objpfx)dlfcn/libdl.so.
11071 ($(objpfx)tst-audit8): Depend on $(libm), not
11072 $(common-objpfx)math/libm.so.
11073 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11074 not $(common-objpfx)dlfcn/libdl.so.
11076 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11077 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11078 [$(build-shared) = yes].
11079 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11080 $(common-objpfx)nptl/libpthread.so.
11081 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11082 $(common-objpfx)math/libm.so$(libm.so-version) or
11083 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11084 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11085 $(common-objpfx)dlfcn/libdl.so.
11086 * setjmp/Makefile (link-libm): Remove variable.
11087 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11088 * stdio-common/Makefile (link-libm): Remove variable.
11089 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11090 * stdlib/Makefile (link-libm): Remove variable.
11091 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11092 ($(objpfx)tst-strtod-round): Likewise.
11093 ($(objpfx)tst-tininess): Likewise.
11094 ($(objpfx)tst-strtod-underflow): Likewise.
11095 ($(objpfx)tst-strtod6): Likewise.
11096 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11097 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11098 $(common-objpfx)dlfcn/libdl.so.
11100 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11102 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11103 BSD terminal modes definitions.
11105 2014-05-16 Roland McGrath <roland@hack.frob.com>
11107 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11108 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11110 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11111 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11112 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11113 Don't do #include_next.
11114 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11115 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11116 Don't do #include_next.
11117 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11118 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11119 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11120 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11122 2014-05-16 Allan McRae <allan@archlinux.org>
11124 * po/sv.po: Update Swedish translation from translation project.
11126 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11129 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11132 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11133 errno if the TIOCGPTN ioctl fails with an error different than
11135 * login/tst-ptsname.c: New file.
11136 * login/Makefile (tests): Add tst-ptsname.
11139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11142 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11146 herrno to return EAI_AGAIN.
11148 2014-05-14 Roland McGrath <roland@hack.frob.com>
11150 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11151 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11152 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11153 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11154 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11155 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11156 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11157 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11159 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11161 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11163 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11164 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11165 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11167 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11168 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11169 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11170 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11171 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11172 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11173 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11175 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11176 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11177 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11178 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11179 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11181 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11183 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11186 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11190 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11194 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11196 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11200 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11202 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11208 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11210 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11212 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11215 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11217 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11221 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11223 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11227 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11229 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11231 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11233 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11236 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11238 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11241 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11242 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11243 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11244 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11246 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11248 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11250 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11251 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11252 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11253 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11254 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11255 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11256 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11257 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11258 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11259 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11260 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11261 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11262 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11263 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11264 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11265 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11266 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11267 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11268 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11270 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11272 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11273 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11275 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11276 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11277 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11279 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11280 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11282 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11285 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11286 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11288 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11291 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11293 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11296 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11298 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11300 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11302 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11305 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11306 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11308 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11310 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11311 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11312 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11313 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11314 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11316 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11318 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11321 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11322 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11323 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11324 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11325 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11330 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11331 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11333 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11336 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11337 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11338 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11339 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11341 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11343 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11345 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11347 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11350 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11351 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11353 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11355 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11356 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11357 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11358 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11359 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11361 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11363 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11366 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11367 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11368 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11369 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11370 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11372 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11373 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11374 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11376 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11379 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11382 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11387 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11388 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11389 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11392 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11393 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11394 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11395 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11396 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11397 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11398 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11399 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11401 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11406 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11407 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11409 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11416 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11417 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11418 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11420 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11421 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11422 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11423 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11424 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11425 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11426 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11428 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11429 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11431 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11432 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11434 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11435 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11436 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11437 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11438 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11439 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11440 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11441 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11442 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11443 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11445 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11446 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11447 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11448 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11450 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11453 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11455 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11458 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11460 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11462 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11464 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11467 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11470 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11472 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11476 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11477 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11478 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11479 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11480 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11481 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11482 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11483 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11484 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11485 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11486 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11488 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11489 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11490 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11491 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11492 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11494 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11495 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11496 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11497 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11498 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11499 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11500 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11501 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11502 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11503 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11508 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11509 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11510 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11511 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11512 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11513 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11514 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11515 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11516 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11517 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11518 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11519 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11520 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11521 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11548 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11552 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11558 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11559 that was previously under [RESET_PID].
11560 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11561 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11562 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11564 * sysdeps/i386/nptl/Implies: New file.
11565 * sysdeps/x86_64/nptl/Implies: New file.
11566 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11567 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11568 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11569 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11571 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11572 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11573 (__libc_vfork): New strong alias.
11574 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11575 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11577 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11578 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11579 (__libc_vfork): New strong alias.
11580 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11581 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11583 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11584 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11585 (__libc_vfork): New strong alias.
11586 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11587 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11588 * nptl/pt-vfork.c: New file.
11589 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11590 (libpthread: GLIBC_2.20): New version set (empty).
11592 2014-05-14 Will Newton <will.newton@linaro.org>
11594 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11597 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11600 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11601 arguments with exponent 65 or above.
11602 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11603 arguments 0x1p113L or above.
11604 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11605 to arguments 0x1p107L or above.
11606 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11607 positive arguments with exponent 65 or above.
11608 * math/auto-libm-test-in: Add more tests of log1p.
11609 * math/auto-libm-test-out: Regenerated.
11612 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11613 non-finite arguments is +0.
11614 * math/s_cacosf.c (__cacosf): Likewise.
11615 * math/s_cacosl.c (__cacosl): Likewise.
11616 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11617 * sysdeps/i386/fpu/libm-test-ulps: Update.
11618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11621 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11623 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11624 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11625 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11626 for explicit high bit of mantissa when testing for argument equal
11628 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11629 * sysdeps/i386/fpu/libm-test-ulps: Update.
11630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11633 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11634 (__erf): Scale by 16 instead of 8 in potentially underflowing
11635 case. Ensure exception if result actually underflows.
11636 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11637 (__erff): Scale by 16 instead of 8 in potentially underflowing
11638 case. Ensure exception if result actually underflows.
11639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11640 (efx8): Remove variable.
11641 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11642 case. Ensure exception if result actually underflows.
11643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11644 (efx8): Remove variable.
11645 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11646 case. Ensure exception if result actually underflows.
11647 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11648 (efx8): Remove variable.
11649 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11650 case. Ensure exception if result actually underflows.
11651 * math/auto-libm-test-in: Add more tests of erf.
11652 * math/auto-libm-test-out: Regenerated.
11654 2014-05-14 Andreas Schwab <schwab@suse.de>
11656 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11657 Remove code conditionalized on USE___THREAD.
11659 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11660 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11663 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11665 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11666 Define unconditionally.
11667 (__ASSUME_O_CLOEXEC): Likewise.
11668 (__ASSUME_SOCK_CLOEXEC): Likewise.
11669 (__ASSUME_IN_NONBLOCK): Likewise.
11670 (__ASSUME_PIPE2): Likewise.
11671 (__ASSUME_EVENTFD2): Likewise.
11672 (__ASSUME_SIGNALFD4): Likewise.
11673 (__ASSUME_DUP3): Likewise.
11674 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11675 (__ASSUME_DUP3): Do not define.
11676 (__ASSUME_EVENTFD2): Likewise.
11677 (__ASSUME_IN_NONBLOCK): Likewise.
11678 (__ASSUME_O_CLOEXEC): Likewise.
11679 (__ASSUME_PIPE2): Likewise.
11680 (__ASSUME_SIGNALFD4): Likewise.
11681 (__ASSUME_SOCK_CLOEXEC): Likewise.
11682 (__ASSUME_UTIMES): Undefine.
11683 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11684 (__ASSUME_UTIMES): Do not define.
11685 (__ASSUME_O_CLOEXEC): Likewise.
11686 (__ASSUME_SOCK_CLOEXEC): Likewise.
11687 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11688 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11690 (__ASSUME_PIPE2): Likewise.
11691 (__ASSUME_EVENTFD2): Likewise.
11692 (__ASSUME_SIGNALFD4): Likewise.
11693 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11694 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11696 (__ASSUME_EVENTFD2): Likewise.
11697 (__ASSUME_SIGNALFD4): Likewise.
11698 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11699 (__ASSUME_32BITUIDS): Likewise.
11700 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11701 (__ASSUME_IPC64): Likewise.
11702 (__ASSUME_ST_INO_64_BIT): Likewise.
11703 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11704 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11706 (__ASSUME_UTIMES): Do not define.
11707 (__ASSUME_PSELECT): Likewise.
11708 (__ASSUME_PPOLL): Likewise.
11709 (__ASSUME_O_CLOEXEC): Likewise.
11710 (__ASSUME_SOCK_CLOEXEC): Likewise.
11711 (__ASSUME_IN_NONBLOCK): Likewise.
11712 (__ASSUME_PIPE2): Likewise.
11713 (__ASSUME_EVENTFD2): Likewise.
11714 (__ASSUME_SIGNALFD4): Likewise.
11715 (__ASSUME_DUP3): Likewise.
11716 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11717 (__ASSUME_UTIMES): Likewise.
11718 (__ASSUME_O_CLOEXEC): Likewise.
11719 (__ASSUME_SOCK_CLOEXEC): Likewise.
11720 (__ASSUME_IN_NONBLOCK): Likewise.
11721 (__ASSUME_PIPE2): Likewise.
11722 (__ASSUME_EVENTFD2): Likewise.
11723 (__ASSUME_SIGNALFD4): Likewise.
11724 (__ASSUME_DUP3): Likewise.
11725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11726 (__ASSUME_UTIMES): Likewise.
11727 (__ASSUME_O_CLOEXEC): Likewise.
11728 (__ASSUME_SOCK_CLOEXEC): Likewise.
11729 (__ASSUME_IN_NONBLOCK): Likewise.
11730 (__ASSUME_PIPE2): Likewise.
11731 (__ASSUME_EVENTFD2): Likewise.
11732 (__ASSUME_SIGNALFD4): Likewise.
11733 (__ASSUME_DUP3): Likewise.
11734 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11736 (__ASSUME_UTIMES): Likewise.
11737 (__ASSUME_EVENTFD2): Likewise.
11738 (__ASSUME_SIGNALFD4): Likewise.
11739 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11740 (__ASSUME_O_CLOEXEC): Likewise.
11741 (__ASSUME_SOCK_CLOEXEC): Likewise.
11742 (__ASSUME_IN_NONBLOCK): Likewise.
11743 (__ASSUME_PIPE2): Likewise.
11744 (__ASSUME_EVENTFD2): Likewise.
11745 (__ASSUME_SIGNALFD4): Likewise.
11746 (__ASSUME_DUP3): Likewise.
11747 (__ASSUME_UTIMES): Undefine.
11749 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11750 feclearexcept. Remove symbol versioning code.
11751 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11752 symbol versioning code.
11753 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11754 symbol versioning code.
11755 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11756 feupdateenv. Remove symbol versioning code.
11757 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11758 fegetexceptflag. Remove symbol versioning code.
11759 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11760 fesetexceptflag. Remove symbol versioning code.
11761 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11762 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11763 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11764 (__posix_fadvise64_l32): Remove prototype.
11765 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11768 2014-05-13 Roland McGrath <roland@hack.frob.com>
11770 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11771 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11772 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11773 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11775 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11777 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11778 current working directory
11780 2014-05-13 Roland McGrath <roland@hack.frob.com>
11782 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11783 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11784 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11785 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11786 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11787 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11788 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11789 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11790 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11791 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11792 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11793 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11794 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11795 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11796 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11797 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11798 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11799 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11800 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11801 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11802 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11803 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11804 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11805 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11806 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11807 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11808 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11809 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11810 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11811 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11812 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11813 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11814 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11815 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11816 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11817 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11818 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11819 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11820 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11821 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11822 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11823 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11825 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11826 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11828 * sysdeps/unix/sysv/linux/arm/Makefile
11829 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11830 Add rt-aeabi_unwind_cpp_pr1.
11831 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11832 Add nptl-aeabi_unwind_cpp_pr1.
11833 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11834 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11835 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11836 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11837 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11838 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11840 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11841 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11842 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11843 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11845 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11846 Deconditionalize the code that was previously under [RESET_PID].
11847 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11849 * sysdeps/generic/exit-thread.h: New file.
11850 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11851 * include/unistd.h (__exit_thread): Remove declaration.
11852 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11853 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11854 * csu/libc-start.c: Include <exit-thread.h>.
11855 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11856 * nptl/pthread_create.c: Include <exit-thread.h>.
11857 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11858 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11859 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11860 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11861 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11862 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11863 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11864 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11865 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11866 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11867 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11868 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11869 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11870 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11871 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11872 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11873 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11875 2014-05-13 Andreas Schwab <schwab@suse.de>
11877 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11879 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11881 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11882 (__ASSUME_UTIMES): Do not condition on kernel version.
11883 (__ASSUME_PSELECT): Define unconditionally.
11884 (__ASSUME_PPOLL): Likewise.
11885 (__ASSUME_ATFCTS): Likewise.
11886 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11887 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11888 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11889 (__ASSUME_UTIMENSAT): Define unconditionally.
11890 (__ASSUME_PRIVATE_FUTEX): Likewise.
11891 (__ASSUME_FALLOCATE): Likewise.
11892 (__ASSUME_O_CLOEXEC): Likewise.
11893 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11894 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11895 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11896 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11897 (__ASSUME_IN_NONBLOCK): Likewise.
11898 (__ASSUME_PIPE2): Likewise.
11899 (__ASSUME_EVENTFD2): Likewise.
11900 (__ASSUME_SIGNALFD4): Likewise.
11901 (__ASSUME_DUP3): Likewise.
11902 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11903 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11904 (__ASSUME_AT_RANDOM): Likewise.
11905 (__ASSUME_PREADV): Likewise.
11906 (__ASSUME_PWRITEV): Likewise.
11907 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11908 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11909 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11910 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11911 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11912 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11913 (__ASSUME_O_CLOEXEC): Define unconditionally.
11914 (__ASSUME_PSELECT): Do not undefine conditionally.
11915 (__ASSUME_PPOLL): Likewise.
11916 (__ASSUME_ATFCTS): Likewise.
11917 (__ASSUME_SET_ROBUST_LIST): Likewise.
11918 (__ASSUME_UTIMENSAT): Likewise.
11919 (__ASSUME_FDATASYNC): Define unconditionally.
11920 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11921 (__ASSUME_SIGFRAME_V2): Likewise.
11922 )__ASSUME_EVENTFD2): Likewise.
11923 (__ASSUME_SIGNALFD4): Likewise.
11924 (__ASSUME_PSELECT): Do not undefine conditionally.
11925 (__ASSUME_PPOLL): Likewise.
11926 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11927 (__ASSUME_PSELECT): Define unconditionally.
11928 (__ASSUME_PPOLL): Likewise.
11929 (__ASSUME_O_CLOEXEC): Likewise.
11930 (__ASSUME_SOCK_CLOEXEC): Likewise.
11931 (__ASSUME_IN_NONBLOCK): Likewise.
11932 (__ASSUME_PIPE2): Likewise.
11933 (__ASSUME_EVENTFD2): Likewise.
11934 (__ASSUME_SIGNALFD4): Likewise.
11935 (__ASSUME_DUP3): Likewise.
11936 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11937 (__ASSUME_O_CLOEXEC): Likewise.
11938 (__ASSUME_SOCK_CLOEXEC): Likewise.
11939 (__ASSUME_IN_NONBLOCK): Likewise.
11940 (__ASSUME_PIPE2): Likewise.
11941 (__ASSUME_EVENTFD2): Likewise.
11942 (__ASSUME_SIGNALFD4): Likewise.
11943 (__ASSUME_DUP3): Likewise.
11944 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11945 (__ASSUME_EVENTFD2): Likewise.
11946 (__ASSUME_SIGNALFD4): Likewise.
11947 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11949 2014-05-12 Andreas Schwab <schwab@suse.de>
11952 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11953 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11954 than maximum RPC packet size.
11955 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11956 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11957 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11958 (_nss_nis_getservbyport_r): Likewise.
11960 2014-05-12 Will Newton <will.newton@linaro.org>
11962 * malloc/Makefile (tests): Add tst-mallopt.
11963 * malloc/tst-mallopt.c: New file.
11965 2014-05-09 Roland McGrath <roland@hack.frob.com>
11967 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11968 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11970 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11972 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11973 (tst-tlsmod6.so): Likewise.
11975 2014-05-09 Roland McGrath <roland@hack.frob.com>
11977 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11979 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11982 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11983 and <dl-procinfo.h>.
11984 (__fegetenv): Save SSE state in envp->__eip if supported.
11985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11986 envp->__eip if supported.
11987 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11988 and <dl-procinfo.h>.
11989 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11990 __data_offset and __data_selector in environment to 0. Set SSE
11991 state if supported.
11992 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11994 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11996 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11998 2014-05-09 Will Newton <will.newton@linaro.org>
12000 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12001 and libc_relro_required for ARM.
12002 * sysdeps/arm/preconfigure: Regenerate.
12004 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12005 Stefan Liebler <stli@linux.vnet.ibm.com>
12007 * config.make.in (enable-lock-elision): New Makefile variable.
12008 * configure.ac: Likewise.
12009 * configure: Regenerate.
12010 * sysdeps/s390/configure.ac:
12011 Add check for gcc transactions support.
12012 * sysdeps/s390/configure: Regenerate.
12013 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12014 Build elision files if enabled.
12015 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12016 Add lock elision support for s390.
12017 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12018 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12019 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12020 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12021 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12022 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12023 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12025 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12027 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12029 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12031 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12032 (__lll_timedlock_elision, __lll_lock_elision)
12033 (__lll_unlock_elision, __lll_trylock_elision)
12034 (lll_timedlock_elision, lll_lock_elision)
12035 (lll_unlock_elision, lll_trylock_elision): Add.
12036 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12037 (pthread_mutex_t): Add lock elision support for s390.
12039 2014-05-14 Wilco <wdijkstr@arm.com>
12041 * sysdeps/arm/fclrexcpt.c: Cleanup.
12042 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12043 * sysdeps/arm/feenablxcpt.c: Cleanup.
12044 * sysdeps/arm/fegetenv.c: Cleanup.
12045 * sysdeps/arm/fegetexcept.c: Cleanup.
12046 * sysdeps/arm/fegetround.c: Cleanup.
12047 * sysdeps/arm/feholdexcpt.c: Cleanup.
12048 * sysdeps/arm/fesetenv.c: Cleanup.
12049 * sysdeps/arm/fesetround.c: Cleanup.
12050 * sysdeps/arm/feupdateenv.c: Cleanup.
12051 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12052 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12053 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12054 * sysdeps/arm/ftestexcept.c: Cleanup.
12055 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12056 * sysdeps/arm/setfpucw.c: Cleanup.
12058 2014-05-09 Will Newton <will.newton@linaro.org>
12060 * sysdeps/arm/armv7/strcmp.S: New file.
12061 * NEWS: Mention addition of ARMv7 optimized strcmp.
12063 2014-05-08 Roland McGrath <roland@hack.frob.com>
12065 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12066 look for %.ac rather than %.in.
12068 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12069 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12070 * sysdeps/mach/hurd/configure: Regenerated.
12071 * sysdeps/unix/sysv/linux/configure: Regenerated.
12073 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12075 2014-05-07 Steve Ellcey <sellcey@mips.com>
12078 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12082 2014-05-07 Andreas Schwab <schwab@suse.de>
12084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12085 when skipping over non-matching result from nscd.
12087 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12090 * nptl/sockperf.c (client): Check socket return value.
12093 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12094 nscd security class.
12096 2014-05-06 Roland McGrath <roland@hack.frob.com>
12098 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12099 * sysdeps/arm/unwind.h: ... here.
12101 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12104 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12107 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12109 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12110 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12111 multiarch strncpy for PPC64.
12112 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12113 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12115 multiarch optimizations.
12116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12117 (__libc_ifunc_impl_list): Likewise.
12118 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12119 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12120 multiarch stpncpy for PPC64.
12121 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12122 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12124 2014-05-06 Andreas Schwab <schwab@suse.de>
12127 * gmon/mcount.c (_MCOUNT_DECL): Use
12128 atomic_compare_and_exchange_bool_acq instead of
12129 catomic_compare_and_exchange_bool_acq.
12131 2014-05-05 Roland McGrath <roland@hack.frob.com>
12133 * elf/Makefile (others, install-bin): Remove pldd.
12134 (pldd-modules): Variable removed.
12135 ($(objpfx)pldd): Target removed.
12136 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12137 (others, install-bin): Append pldd here.
12138 ($(objpfx)pldd): New target.
12140 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12141 to 0, so the first #if test emitted later doesn't see it undefined.
12142 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12143 * sysdeps/gnu/errlist.c: Regenerated.
12145 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12148 [libc_hidden_builtin_def]: Define to empty value.
12149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12150 [libc_hidden_builtin_def]: Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12152 [libc_hidden_builtin_def]: Likewise.
12153 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12154 [libc_hidden_builtin_def]: Likewise.
12155 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12156 __redirect_memcpy and define ifunc as default hidden symbol.
12157 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12158 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12160 2014-05-04 Adam Conrad <adconrad@0c3.net>
12162 * locale/iso-4217.def: Reintroduce XDR currency.
12164 2014-05-04 Allan McRae <allan@archlinux.org>
12166 * po/eo.po: Update Esperanto translation from translation project.
12168 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12170 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12171 and FEATURE_INDEX_MAX to 1.
12172 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12174 2014-05-01 Steve Ellcey <sellcey@mips.com>
12176 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12177 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12178 * iconvdata/big5.c (ONE_DIRECTION): Define.
12179 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12180 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12181 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12182 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12183 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12184 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12185 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12186 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12187 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12188 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12189 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12190 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12191 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12192 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12193 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12194 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12195 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12196 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12197 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12198 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12199 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12200 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12201 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12202 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12203 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12204 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12205 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12206 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12207 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12208 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12209 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12210 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12211 * iconvdata/johab.c (ONE_DIRECTION): Define.
12212 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12213 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12214 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12215 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12216 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12217 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12218 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12219 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12220 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12221 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12223 2014-05-01 Roland McGrath <roland@hack.frob.com>
12225 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12226 (_IO_JUMPS_OFFSET): Define to 0.
12228 * nptl/sysdeps/pthread/bits/libc-lock.h
12229 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12230 (__libc_lock_define_initialized_recursive): Always define using
12231 initializer. Modern compilers treat uninitialized (implicit zero) and
12232 explicit zero initializers the same (i.e. put the datum in bss).
12234 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12236 * nscd/nscd-client.h: Include <string.h>.
12238 2014-05-01 David S. Miller <davem@davemloft.net>
12241 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12242 multiple zero bytes exist at the end of a string.
12243 Reported by Aurelien Jarno <aurelien@aurel32.net>
12245 * string/test-strcmp.c (check): Add explicit test for situations where
12246 there are multiple zero bytes after the first.
12248 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12251 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12252 when compiling wprintf.
12253 * stdio-common/tstdiomisc.c (t3): New function.
12256 2014-05-01 Steve Ellcey <sellcey@mips.com>
12258 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12259 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12260 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12261 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12263 2014-05-01 Steve Ellcey <sellcey@mips.com>
12265 * stdlib/longlong.h: Updated from GCC.
12267 2014-05-01 Will Newton <will.newton@linaro.org>
12268 Bernard Ogden <bernie.ogden@linaro.org>
12270 * NEWS: Update fixed bug list.
12273 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12275 2014-04-30 David S. Miller <davem@davemloft.net>
12277 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12278 (libc_feholdexcept_setround_sparc_ctx): New function.
12279 (libc_fesetenv_sparc_ctx): Likewise.
12280 (libc_feupdateenv_sparc_ctx): Likewise.
12281 (libc_feholdsetround_sparc_ctx): Likewise.
12282 (libc_feholdexcept_setround_ctx): Define.
12283 (libc_feholdexcept_setroundf_ctx): Likewise.
12284 (libc_feholdexcept_setroundl_ctx): Likewise.
12285 (libc_fesetenv_ctx): Likewise.
12286 (libc_fesetenvf_ctx): Likewise.
12287 (libc_fesetenvl_ctx): Likewise.
12288 (libc_feupdateenv_ctx): Likewise.
12289 (libc_feupdateenvf_ctx): Likewise.
12290 (libc_feupdateenvl_ctx): Likewise.
12291 (libc_feresetround_ctx): Likewise.
12292 (libc_feresetroundf_ctx): Likewise.
12293 (libc_feresetroundl_ctx): Likewise.
12294 (libc_feholdsetround_ctx): Likewise.
12295 (libc_feholdsetroundf_ctx): Likewise.
12296 (libc_feholdsetroundl_ctx): Likewise.
12298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12299 with __USE_GNU instead of XOPEN cpp guards.
12301 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12305 with XOPEN cpp guards.
12307 2014-04-30 Julian Brown <julian@codesourcery.com>
12310 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12313 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12316 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12318 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12319 * sysdeps/unix/sysv/linux/configure: Regenerated.
12320 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12321 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12322 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12323 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12324 * README: Update reference to required Linux kernel version.
12325 * manual/install.texi (Linux): Update reference to required Linux
12326 kernel headers version.
12327 * INSTALL: Regenerated.
12329 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12331 [POSIX] (limits.h): Likewise.
12332 [POSIX] (math.h): Likewise.
12333 [POSIX] (sys/wait.h): Likewise.
12334 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12336 [POSIX] (stddef.h): Do not allow header inclusion.
12338 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12340 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12342 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12344 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12345 Return immediately after lll_futex_wake.
12347 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12350 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12352 (datahead_init_pos): Call datahead_init_common early.
12353 (datahead_init_neg): Likewise.
12355 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12356 datahead_init_neg): New functions.
12357 * nscd/aicache.c (addhstaiX): Use them.
12358 * nscd/grpcache.c (cache_addgr): Likewise.
12359 * nscd/hstcache.c (cache_addhst): Likewise.
12360 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12361 * nscd/netgroupcache.c (do_notfound): Likewise.
12362 (addgetnetgrentX): Likewise.
12363 (addinnetgrX): Likewise.
12364 * nscd/pwdcache.c (cache_addpw): Likewise.
12365 * nscd/servicescache.c (cache_addserv): Likewise.
12367 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12368 Atsushi Onoe <atsushi@onoe.org>
12373 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12374 one response is valid.
12375 * resolv/res_send.c (send_dg): Check for validity of other
12376 response if the current response is a referral.
12378 2014-04-29 Steve Ellcey <sellcey@mips.com>
12380 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12382 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12385 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12386 Always divide by positive zero when computing -Inf result.
12387 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12388 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12390 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12392 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12393 FPSCR if value do not change.
12394 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12395 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12396 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12397 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12398 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12399 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12402 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12404 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12405 * sysdeps/unix/sysv/linux/hppa: Move directory from
12406 ports/systeps/unix/sysv/linux/hppa.
12407 * README: Update listing for hppa-*-linux-gnu.
12409 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12412 * manual/stdio.texi (Hook functions): Fix types of stream hook
12415 * socket/sys/socket.h: Fix typo in comment.
12417 2014-04-28 Wilco <wdijkstr@arm.com>
12419 * sysdeps/arm/fenv_private.h: New file.
12420 * sysdeps/arm/math_private.h: New file.
12421 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12423 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12425 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12427 (La_x86_64_retval): Likewise.
12429 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12431 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12432 fpsr if value didn't change.
12433 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12434 to fpcr if value didn't change.
12435 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12436 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12437 fpsr or fpcr if value didn't change.
12438 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12439 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12440 fpcr if value didn't change.
12441 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12442 to fpsr if value didn't change.
12444 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12446 * nptl/tst-sem3.c: Use test-skeleton.c
12447 (main): Rename to do_test. Use return instead of
12449 * nptl/tst-sem4.c: Use test-skeleton.c
12450 (main): Rename to do_test.
12452 2014-04-22 David S. Miller <davem@davemloft.net>
12454 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12455 (struct sigaction): New struct member __glibc_reserved0, change
12456 type of sa_flags to int.
12458 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12460 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12461 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12463 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12465 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12466 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12468 2014-04-22 Will Newton <will.newton@linaro.org>
12469 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12471 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12472 (__longjmp): Add longjmp and longjmp_target SystemTap
12474 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12475 (__sigsetjmp): Add setjmp SystemTap probe.
12477 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12479 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12480 match manual order.
12482 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12484 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12486 * sysdeps/powerpc/fpu/fenv_private.h
12487 (libc_feholdexcept_setroundl_ctx): Define to
12488 libc_feholdexcept_setround_ppc_ctx.
12489 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12490 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12491 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12492 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12494 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12496 * sysdeps/aarch64/math-tests.h: New file.
12498 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12500 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12503 Check and set bit_AVX2_Usable.
12504 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12506 (bit_AVX2): Likewise.
12507 (index_AVX2_Usable): Likewise.
12508 (CPUID_AVX2): Likewise.
12509 (HAS_AVX2): Likewise.
12511 2014-04-17 Will Newton <will.newton@linaro.org>
12513 * manual/setjmp.texi (System V contexts): Add note that
12514 calling setcontext on a context created by a call to a
12515 signal handler is undefined. Update text to note that
12516 setcontext from a signal handler is possible but not
12520 * stdlib/tst-setcontext.c: Include signal.h.
12521 (main): Check that the signal stack before and
12522 after swapcontext is the same.
12524 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12525 Re-implement to restore registers in user code and avoid
12526 rt_sigreturn system call.
12528 2014-04-17 Wilco <wdijkstr@arm.com>
12530 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12531 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12532 * math/test-fenv.c: Skip exception trap tests on targets which only
12533 support non-stop mode.
12535 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12536 Wilco Dijkstra <wilco.dijkstra@arm.com>
12538 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12539 (libc_feholdsetround_aarch64_ctx)
12540 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12541 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12542 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12543 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12544 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12545 (libc_feresetround_noexl_ctx): Define.
12547 2014-04-16 Richard Henderson <rth@redhat.com>
12549 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12551 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12554 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12555 const from the non-libc, non-ldso copy.
12557 * sysdeps/alpha/libm-test-ulps: Regenerate.
12559 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12560 Wilco Dijkstra <wilco.dijkstra@arm.com>
12562 * sysdeps/aarch64/fpu/math_private.h: New file.
12564 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12566 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12568 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12571 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12572 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12574 Intel MPX bound registers before _dl_profile_fixup.
12575 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12576 registers after _dl_profile_fixup. Save and restore bound
12577 registers bnd0/bnd1 when calling _dl_call_pltexit.
12578 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12579 (LR_BND_OFFSET): Likewise.
12580 (LRV_BND0_OFFSET): Likewise.
12581 (LRV_BND1_OFFSET): Likewise.
12583 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12585 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12587 * sysdeps/mach/hurd/i386/tls.h: ... here.
12588 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12589 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12592 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12594 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12596 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12598 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12600 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12603 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12604 * sysdeps/s390/configure: Regenerate.
12607 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12608 Set round-to-nearest internally to reduce error accumulation.
12610 2014-04-16 Alan Modra <amodra@gmail.com>
12614 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12615 * math/libm-test.inc (frexp_test_data): Add tests.
12616 * NEWS: Update fixed bug list.
12618 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12620 * benchtests/Makefile: Depend on libraries in build directory.
12621 (bench-math): Separate out math tests.
12622 (bench-pthread): Separate out pthread tests.
12623 (bench): Include math and pthread tests.
12625 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12628 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12629 _dl_debug_initialize.
12631 * configure.ac: Remove SELinux header check.
12632 * configure: Regenerate.
12633 * nscd/selinux.c (perms): Array of const char* to permission names.
12634 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12635 default policy. Call string_to_security_class and string_to_av_perm to
12636 translate strings. Enforce default policy and call avs_has_perm with
12637 results of translated strings.
12639 2014-04-13 David S. Miller <davem@davemloft.net>
12641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12643 2014-04-12 Allan McRae <allan@archlinux.org>
12646 * manual/string.texi (Collation Functions): Fix qsort argument
12648 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12650 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12652 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12653 Make the test a no-op if there are no exceptions defined.
12655 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12657 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12658 enable-hardcoded-path-in-tests
12660 2014-04-11 Will Newton <will.newton@linaro.org>
12662 * benchtests/Makefile (extra-objs): Add json-lib.o.
12663 (bench-func): Tidy up JSON output.
12664 * benchtests/bench-skeleton.c: Include json-lib.h.
12665 (main): Use JSON library functions to do output of
12667 * benchtests/bench-timing-type.c (main): Output the
12668 timing type simply, leaving formatting to the user.
12669 * benchtests/json-lib.c: New file.
12670 * benchtests/json-lib.h: Likewise.
12672 2014-04-11 Torvald Riegel <triegel@redhat.com>
12675 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12676 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12677 memory barriers. Add comments.
12678 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12679 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12680 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12681 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12682 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12683 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12685 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12687 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12688 * sysdeps/s390/s390-64/configure.ac: ... this ...
12689 * sysdeps/s390/configure.ac: ... to here.
12690 * sysdeps/s390/s390-32/configure: Delete file.
12691 * sysdeps/s390/s390-64/configure: Delete file.
12692 * sysdeps/s390/configure: Regenerate.
12694 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12696 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12698 2014-04-11 Will Newton <will.newton@linaro.org>
12700 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12701 to zero if it is not defined elsewhere. (mtrim): Test
12702 the value of MALLOC_DEBUG with #if rather than #ifdef.
12704 2014-04-10 Torvald Riegel <triegel@redhat.com>
12706 * benchtests/pthread_once-inputs: New file.
12707 * benchtests/pthread_once-source.c: New file.
12708 * benchtests/README: Update documentation.
12710 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12711 H.J. Lu <hongjiu.lu@intel.com>
12714 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12715 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12716 * sysdeps/x86_64/configure: Regenerated.
12717 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12719 (REGISTER_SAVE_RAX): Likewise.
12720 (REGISTER_SAVE_RCX): Likewise.
12721 (REGISTER_SAVE_RDX): Likewise.
12722 (REGISTER_SAVE_RSI): Likewise.
12723 (REGISTER_SAVE_RDI): Likewise.
12724 (REGISTER_SAVE_R8): Likewise.
12725 (REGISTER_SAVE_R9): Likewise.
12726 (REGISTER_SAVE_BND0): Likewise.
12727 (REGISTER_SAVE_BND1): Likewise.
12728 (REGISTER_SAVE_BND2): Likewise.
12729 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12730 bound registers when calling _dl_fixup.
12732 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12734 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12735 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12737 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12738 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12739 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12740 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12741 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12742 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12743 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12745 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12748 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12749 pathconf(_PC_NAME_MAX).
12751 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12753 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12754 Remove macro usage.
12755 (__PTHREAD_SPINS): Move definition to ...
12756 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12757 (__PTHREAD_SPINS): ... here.
12758 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12759 (__PTHREAD_SPIN): Likewise.
12760 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12761 (__PTHREAD_SPIN): Likewise.
12762 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12763 (__PTHREAD_SPIN): Likewise.
12764 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12765 (__PTHREAD_SPIN): Likewise.
12766 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12767 (__PTHREAD_SPIN): Likewise.
12768 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12769 (__PTHREAD_SPIN): Likewise.
12770 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12771 (__PTHREAD_SPIN): Likewise.
12772 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12773 (__PTHREAD_SPIN): Likewise.
12774 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12775 (__PTHREAD_SPIN): Likewise.
12776 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12777 (__PTHREAD_SPIN): Likewise.
12778 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12779 (__PTHREAD_SPIN): Likewise.
12780 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12781 (__PTHREAD_SPIN): Likewise.
12783 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12784 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12785 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12786 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12788 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12789 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12790 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12791 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12792 correct imply path.
12793 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12794 strlen symbol for non multi-arch builds.
12795 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12796 missing hidden_def and weak_alias.
12798 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12800 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12802 2014-04-07 Will Newton <will.newton@linaro.org>
12804 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12805 and contents. [!_LIBC] Remove #ifndef and contents.
12806 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12807 * string/memccpy.c (__memccpy): Use ANSI prototype.
12808 * string/memfrob.c (memfrob): Likewise.
12809 * string/strcoll.c (STRCOLL): Likewise.
12810 * string/strlen.c (strlen): Likewise.
12811 * string/strtok.c (STRTOK): Likewise.
12812 * string/strcat.c: Remove unused #include of memcopy.h.
12813 (strcat): Use ANSI prototype.
12814 * string/strchr.c: Remove unused #include of memcopy.h.
12815 (strchr): Use ANSI prototype.
12816 * string/strcmp.c: Remove unused #include of memcopy.h.
12817 (strcmp): Use ANSI prototype.
12818 * string/strcpy.c: Remove unused #include of memcopy.h.
12819 (strcpy): Use ANSI prototype.
12821 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12823 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12824 * config.make.in (config-extra-cppflags): Set it from
12825 libc_extra_cppflags.
12826 * configure.ac (libc_extra_cflags): Make it accumulate over
12827 configure fragments.
12828 (libc_extra_cppflags): New flag.
12829 * configure. Regenerate.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12831 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12832 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12836 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12837 result for FE_DOWNWARD rounding mode.
12838 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12842 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12844 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12845 in function argument name.
12847 2014-04-03 David Svoboda <svoboda@cert.org>
12850 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12853 2014-04-03 Roland McGrath <roland@hack.frob.com>
12855 * elf/dl-unmap-segments.h: New file.
12856 * sysdeps/generic/ldsodefs.h
12857 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12858 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12859 * elf/dl-fptr.c: Likewise.
12860 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12861 * sysdeps/aarch64/tlsdesc.c: Likewise.
12862 * sysdeps/arm/tlsdesc.c: Likewise.
12863 * sysdeps/i386/tlsdesc.c: Likewise.
12864 * sysdeps/tile/dl-runtime.c: Likewise.
12865 * sysdeps/x86_64/tlsdesc.c: Likewise.
12866 * elf/dl-load.h: New file.
12867 * elf/dl-load.c: Include it.
12868 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12869 Macros moved to dl-load.h.
12870 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12871 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12872 Use _dl_unmap_segments in place of __munmap.
12873 Break out segment-mapping loop into ...
12874 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12876 2014-04-03 Will Newton <will.newton@linaro.org>
12878 * elf/dl-lookup.c (do_lookup_x): Remove comment
12879 referring to nested function and move variable
12880 declarations down to before first use.
12882 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12886 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12888 * math/s_catanf.c (__catanf): Likewise.
12889 * math/s_catanh.c (__catanh): Likewise.
12890 * math/s_catanhf.c (__catanhf): Likewise.
12891 * math/s_catanhl.c (__catanhl): Likewise.
12892 * math/s_catanl.c (__catanl): Likewise.
12893 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12894 by positive zero when computing -Inf result.
12895 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12896 (catanh_test): Likewise.
12897 * sysdeps/i386/fpu/libm-test-ulps: Update.
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12901 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12902 instead of using underflowing value in computing result.
12903 * math/s_clog10.c (__clog10): Likewise.
12904 * math/s_clog10f.c (__clog10f): Likewise.
12905 * math/s_clog10l.c (__clog10l): Likewise.
12906 * math/s_clogf.c (__clogf): Likewise.
12907 * math/s_clogl.c (__clogl): Likewise.
12908 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12909 (clog10_test): Likewise.
12910 * sysdeps/i386/fpu/libm-test-ulps: Update.
12911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12913 2014-04-02 Alan Modra <amodra@gmail.com>
12916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12917 output when value is near a power of two. Use int64_t for lx and
12918 remove casts. Use decimal rather than hex exponent constants.
12919 Don't use long double multiplication when double will suffice.
12920 * math/libm-test.inc (nextafter_test_data): Add tests.
12921 * NEWS: Add 16739 and 16786 to bug list.
12923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12925 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12927 2014-04-01 Will Newton <will.newton@linaro.org>
12929 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12930 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12932 2014-04-01 Florian Weimer <fweimer@redhat.com>
12935 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12936 * nptl/tst-setuid2.c: New file.
12937 * nptl/Makefile (xtests): Add tst-setuid2.
12939 2014-04-01 Alan Modra <amodra@gmail.com>
12942 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12944 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12948 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12949 set errno as appropriate.
12950 * math/w_scalbf.c (__scalbf): Likewise.
12951 * math/w_scalbl.c (__scalbl): Likewise.
12952 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12953 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12954 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12955 Add more NaN tests.
12958 * math/w_atan2.c: Include <errno.h>.
12959 (__atan2): Set errno for result underflowing to zero.
12960 * math/w_atan2f.c: Include <errno.h>.
12961 (__atan2f): Set errno for result underflowing to zero.
12962 * math/w_atan2l.c: Include <errno.h>.
12963 (__atan2l): Set errno for result underflowing to zero.
12964 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12966 * math/auto-libm-test-out: Regenerated.
12968 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12970 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12971 Encode instruction correctly in little endian.
12972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12978 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12981 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12984 * sysdeps/unix/sysv/linux/kernel-features.h
12985 [__sparc__ && !__arch64__ && !__sparc_v9__]
12986 (__ASSUME_SET_ROBUST_LIST): Do not define.
12987 [__sparc__ && !__arch64__ && !__sparc_v9__]
12988 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12989 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12991 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12992 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12993 (__ASSUME_REQUEUE_PI): Likewise.
12994 (__ASSUME_SET_ROBUST_LIST): Likewise.
12995 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12996 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12999 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13001 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13003 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13005 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13006 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13008 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13009 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13015 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13017 2014-03-31 Will Newton <will.newton@linaro.org>
13019 * benchtests/Makefile (bench): Add ffs and ffsll to list
13021 * benchtests/ffs-inputs: New file.
13022 * benchtests/ffsll-inputs: Likewise.
13024 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13027 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13028 too large before casting to int.
13029 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13030 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13031 * math/libm-test.inc (scalb_test_data): Add more tests.
13033 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13035 * benchtests/Makefile (DETAILED_OPT): New make option.
13036 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13038 * benchtests/bench-skeleton.c: Include stdbool.h.
13039 (main): Store and print timings per input.
13040 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13041 member to each argument value.
13042 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13043 (_print_arg_data): Initialize per-input timing to 0.
13045 * benchtests/Makefile (timing-type): New binary.
13046 (bench-clean): Also remove bench-timing-type.
13047 (bench): New target for timing-type.
13048 (bench-func): Print output in JSON format.
13049 * benchtests/bench-skeleton.c (main): Print output in JSON
13051 * benchtests/bench-timing-type.c: New file.
13052 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13053 (TIMING_PRINT_STATS): Remove.
13054 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13057 * benchtests/bench-modf.c: Remove.
13058 * benchtests/modf-inputs: New inputs file.
13060 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13063 * math/s_clog10.c (M_PI_LOG10E): New macro.
13064 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13065 imaginary parts are 0.
13066 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13067 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13068 imaginary parts are 0.
13069 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13070 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13071 imaginary parts are 0.
13072 * math/libm-test.inc (clog10_test_data): Update expected results
13073 for when real and imaginary parts are 0.
13075 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13077 * elf/dl-load.c: Finish conversion of __builtin_expect into
13078 __glibc_{un}likely.
13080 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13084 1+x for argument with exponent below -67.
13085 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13087 * math/auto-libm-test-in: Add more tests of exp.
13088 * math/auto-libm-test-out: Regenerated.
13090 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13093 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13094 (nscd_getnetgrent): Use it.
13097 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13100 2014-03-27 Andi Kleen <ak@linux.intel.com>
13102 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13103 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13104 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13105 (lll_robust_unlock): Remove out of line section. Use cfi
13107 (LLL_STUB_UNWIND_INFO*): Remove.
13108 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13109 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13110 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13111 (lll_robust_unlock): Remove out of line section. Use cfi
13113 (LLL_STUB_UNWIND_INFO*): Remove.
13115 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13118 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13121 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13123 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13125 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13128 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13130 * math/test-fenv-preserve.c: New file.
13131 * math/Makefile (tests): Add test-fenv-preserve.
13133 2014-03-26 Will Newton <will.newton@linaro.org>
13135 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13137 2014-03-25 Roland McGrath <roland@hack.frob.com>
13139 * scripts/versionlist.awk: Partition the version sets and emit all
13140 GLIBC_* (sorted) before all others (sorted).
13142 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13144 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13145 GLIBC_2.2.5 version.
13147 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13149 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13152 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13157 2014-03-25 Andreas Schwab <schwab@suse.de>
13159 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13160 label to be used after in6ailist is initialized.
13162 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13164 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13165 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13167 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13171 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13173 (fp_formats): Update initializers.
13174 (init_fp_formats): Initialize new field.
13175 (output_for_one_input_case): Allow underflow for results up to
13177 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13178 * math/auto-libm-test-in: Don't mark some underflows from asin and
13180 * math/auto-libm-test-out: Regenerated.
13181 * sysdeps/i386/fpu/libm-test-ulps: Update.
13182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13184 2014-03-25 Andreas Schwab <schwab@suse.de>
13186 * libio/Makefile (tst-ftell-partial-wide-ENV)
13187 (tst-ftell-active-handler-ENV): Define.
13189 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13191 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13193 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13195 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13197 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13199 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13200 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13201 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13203 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13206 * elf/dl-load.c (open_verify): Add mode parameter.
13207 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13208 (open_path): Change from boolean 'secure' to complete flag 'mode'
13209 (_dl_map_object): Adjust.
13210 * elf/Makefile (tests): Add tst-dlopen-aout.
13211 * elf/tst-dlopen-aout.c: New test.
13213 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13216 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13217 (struct stat): Rename member pad0 to __glibc_reserved0.
13220 * sysdeps/s390/s390-32/bits/wordsize.h
13221 (__WORDSIZE32_SIZE_ULONG): New define.
13222 * sysdeps/s390/s390-64/bits/wordsize.h
13223 (__WORDSIZE32_SIZE_ULONG): Likewise.
13224 * sysdeps/generic/stdint.h (SIZE_MAX):
13225 Define as UL if __WORDSIZE32_SIZE_ULONG.
13228 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13229 (__glibc_reserved0): New variable.
13230 (sa_flags): Change type to int.
13232 * posix/Makefile (before-compile): Use += before-compile instead
13235 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13236 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13238 2014-03-20 Andreas Schwab <schwab@suse.de>
13241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13242 non-matching result from nscd.
13244 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13246 * scripts/bench.py: Moved to ...
13247 * benchtests/scripts/bench.py: ... here.
13248 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13250 2014-03-24 Andreas Schwab <schwab@suse.de>
13253 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13254 alloca_account and account alloca use for struct in6ailist.
13256 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13259 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13260 rounding mode to recompute results that overflow to infinity or
13262 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13264 * math/auto-libm-test-out: Regenerated.
13265 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13266 (ccosh_test): Likewise.
13267 (csin_test_data): Use plus_oflow.
13268 (csin_test): Use ALL_RM_TEST.
13269 (csinh_test_data): Use plus_oflow.
13270 (csinh_test): Use ALL_RM_TEST.
13271 * sysdeps/i386/fpu/libm-test-ulps: Update.
13272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13274 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13276 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13277 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13278 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13281 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13282 when x - 1 is zero.
13283 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13284 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13285 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13286 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13288 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13289 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13291 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13292 * sysdeps/i386/fpu/libm-test-ulps: Update.
13293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13295 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13297 * scripts/bench.pl: Remove file.
13298 * scripts/bench.py: New benchmark script.
13299 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13300 * benchtests/README: Mention python dependency.
13301 * scripts/pylintrc: New file.
13302 * scripts/pylint: New file.
13304 * bits/mathdef.h: Use #ifdef instead of #if.
13305 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13306 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13307 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13308 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13309 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13310 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13312 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13313 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13315 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13317 and strpbrk-ppc64 objects.
13318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13319 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13320 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13321 multiarch strpbrk for POWER7.
13322 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13323 multiarch strpbrk for PPC64.
13324 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13326 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13327 strpbrk for POWER7.
13329 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13331 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13332 (atan_test): Likewise.
13333 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13334 (atanh_test): Use ALL_RM_TEST.
13335 (atan2_test_data): Likewise.
13336 (cabs_test): Likewise.
13337 (cacosh_test): Likewise.
13338 (carg_test): Likewise.
13339 (casin_test): Likewise.
13340 (casinh_test): Likewise.
13341 (cbrt_test): Likewise.
13342 (csqrt_test): Likewise.
13343 (erf_test): Likewise.
13344 (erfc_test): Likewise.
13345 (pow10_test): Likewise.
13346 (exp2_test): Likewise.
13347 (hypot_test): Likewise.
13348 (j0_test): Likewise.
13349 (j1_test): Likewise.
13350 (lgamma_test): Likewise.
13351 (gamma_test): Likewise.
13352 (sincos_test): Likewise.
13353 (tanh_test): Likewise.
13354 (y0_test): Likewise.
13355 (y1_test): Likewise.
13356 * sysdeps/i386/fpu/libm-test-ulps: Update.
13357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13359 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13361 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13363 and strcspn-ppc64 objects.
13364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13365 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13366 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13367 multiarch strcspn for POWER7.
13368 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13369 multiarch strcspn for PPC64.
13370 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13372 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13373 strcspn for POWER7.
13375 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13377 * math/gen-libm-test.pl (generate_testfile): Expect only function
13378 name as argument to AUTO_TESTS_* and pass results for all rounding
13379 modes to parse_args.
13380 (parse_auto_input): Separate inputs of automatic tests from
13381 outputs before storing in %auto_tests.
13382 * math/libm-test.inc (acos_test_data): Update call to
13384 (acos_test): Use ALL_RM_TEST.
13385 (acos_tonearest_test_data): Remove.
13386 (acos_test_tonearest): Likewise.
13387 (acos_towardzero_test_data): Likewise.
13388 (acos_test_towardzero): Likewise.
13389 (acos_downward_test_data): Likewise.
13390 (acos_test_downward): Likewise.
13391 (acos_upward_test_data): Likewise.
13392 (acos_test_upward): Likewise.
13393 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13394 (asin_test_data): Likewise.
13395 (asin_test): Use ALL_RM_TEST.
13396 (asin_tonearest_test_data): Remove.
13397 (asin_test_tonearest): Likewise.
13398 (asin_towardzero_test_data): Likewise.
13399 (asin_test_towardzero): Likewise.
13400 (asin_downward_test_data): Likewise.
13401 (asin_test_downward): Likewise.
13402 (asin_upward_test_data): Likewise.
13403 (asin_test_upward): Likewise.
13404 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13405 (atan_test_data): Likewise.
13406 (atanh_test_data): Likewise.
13407 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13408 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13409 (carg_test_data): Likewise.
13410 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13411 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13412 (ccosh_test_data): Likewise.
13413 (cexp_test_data): Likewise.
13414 (clog_test_data): Likewise.
13415 (clog10_test_data): Likewise.
13416 (cos_test_data): Update call to AUTO_TESTS_f_f.
13417 (cos_test): Use ALL_RM_TEST.
13418 (cos_tonearest_test_data): Remove.
13419 (cos_test_tonearest): Likewise.
13420 (cos_towardzero_test_data): Likewise.
13421 (cos_test_towardzero): Likewise.
13422 (cos_downward_test_data): Likewise.
13423 (cos_test_downward): Likewise.
13424 (cos_upward_test_data): Likewise.
13425 (cos_test_upward): Likewise.
13426 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13427 (cosh_test): Use ALL_RM_TEST.
13428 (cosh_tonearest_test_data): Remove.
13429 (cosh_test_tonearest): Likewise.
13430 (cosh_towardzero_test_data): Likewise.
13431 (cosh_test_towardzero): Likewise.
13432 (cosh_downward_test_data): Likewise.
13433 (cosh_test_downward): Likewise.
13434 (cosh_upward_test_data): Likewise.
13435 (cosh_test_upward): Likewise.
13436 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13437 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13438 (ctan_test_data): Likewise.
13439 (ctan_test): Use ALL_RM_TEST.
13440 (ctan_tonearest_test_data): Remove.
13441 (ctan_test_tonearest): Likewise.
13442 (ctan_towardzero_test_data): Likewise.
13443 (ctan_test_towardzero): Likewise.
13444 (ctan_downward_test_data): Likewise.
13445 (ctan_test_downward): Likewise.
13446 (ctan_upward_test_data): Likewise.
13447 (ctan_test_upward): Likewise.
13448 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13449 (ctanh_test): Use ALL_RM_TEST.
13450 (ctanh_tonearest_test_data): Remove.
13451 (ctanh_test_tonearest): Likewise.
13452 (ctanh_towardzero_test_data): Likewise.
13453 (ctanh_test_towardzero): Likewise.
13454 (ctanh_downward_test_data): Likewise.
13455 (ctanh_test_downward): Likewise.
13456 (ctanh_upward_test_data): Likewise.
13457 (ctanh_test_upward): Likewise.
13458 (erf_test_data): Update call to AUTO_TESTS_f_f.
13459 (erfc_test_data): Likewise.
13460 (exp_test_data): Likewise.
13461 (exp_test): Use ALL_RM_TEST.
13462 (exp_tonearest_test_data): Remove.
13463 (exp_test_tonearest): Likewise.
13464 (exp_towardzero_test_data): Likewise.
13465 (exp_test_towardzero): Likewise.
13466 (exp_downward_test_data): Likewise.
13467 (exp_test_downward): Likewise.
13468 (exp_upward_test_data): Likewise.
13469 (exp_test_upward): Likewise.
13470 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13471 (exp10_test): Use ALL_RM_TEST.
13472 (exp10_tonearest_test_data): Remove.
13473 (exp10_test_tonearest): Likewise.
13474 (exp10_towardzero_test_data): Likewise.
13475 (exp10_test_towardzero): Likewise.
13476 (exp10_downward_test_data): Likewise.
13477 (exp10_test_downward): Likewise.
13478 (exp10_upward_test_data): Likewise.
13479 (exp10_test_upward): Likewise.
13480 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13481 (expm1_test_data): Likewise.
13482 (expm1_test): Use ALL_RM_TEST.
13483 (expm1_tonearest_test_data): Remove.
13484 (expm1_test_tonearest): Likewise.
13485 (expm1_towardzero_test_data): Likewise.
13486 (expm1_test_towardzero): Likewise.
13487 (expm1_downward_test_data): Likewise.
13488 (expm1_test_downward): Likewise.
13489 (expm1_upward_test_data): Likewise.
13490 (expm1_test_upward): Likewise.
13491 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13492 (fma_test): Use ALL_RM_TEST.
13493 (fma_towardzero_test_data): Remove.
13494 (fma_test_towardzero): Likewise.
13495 (fma_downward_test_data): Likewise.
13496 (fma_test_downward): Likewise.
13497 (fma_upward_test_data): Likewise.
13498 (fma_test_upward): Likewise.
13499 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13500 (j0_test_data): Update call to AUTO_TESTS_f_f.
13501 (j1_test_data): Likewise.
13502 (jn_test_data): Update call to AUTO_TESTS_if_f.
13503 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13504 (log_test_data): Update call to AUTO_TESTS_f_f.
13505 (log10_test_data): Likewise.
13506 (log1p_test_data): Likewise.
13507 (log2_test_data): Likewise.
13508 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13509 (pow_tonearest_test_data): Likewise.
13510 (sin_test_data): Update call to AUTO_TESTS_f_f.
13511 (sin_test): Use ALL_RM_TEST.
13512 (sin_tonearest_test_data): Remove.
13513 (sin_test_tonearest): Likewise.
13514 (sin_towardzero_test_data): Likewise.
13515 (sin_test_towardzero): Likewise.
13516 (sin_downward_test_data): Likewise.
13517 (sin_test_downward): Likewise.
13518 (sin_upward_test_data): Likewise.
13519 (sin_test_upward): Likewise.
13520 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13521 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13522 (sinh_test): Use ALL_RM_TEST.
13523 (sinh_tonearest_test_data): Remove.
13524 (sinh_test_tonearest): Likewise.
13525 (sinh_towardzero_test_data): Likewise.
13526 (sinh_test_towardzero): Likewise.
13527 (sinh_downward_test_data): Likewise.
13528 (sinh_test_downward): Likewise.
13529 (sinh_upward_test_data): Likewise.
13530 (sinh_test_upward): Likewise.
13531 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13532 (sqrt_test): Use ALL_RM_TEST.
13533 (sqrt_tonearest_test_data): Remove.
13534 (sqrt_test_tonearest): Likewise.
13535 (sqrt_towardzero_test_data): Likewise.
13536 (sqrt_test_towardzero): Likewise.
13537 (sqrt_downward_test_data): Likewise.
13538 (sqrt_test_downward): Likewise.
13539 (sqrt_upward_test_data): Likewise.
13540 (sqrt_test_upward): Likewise.
13541 (tan_test_data): Update call to AUTO_TESTS_f_f.
13542 (tan_test): Use ALL_RM_TEST.
13543 (tan_tonearest_test_data): Remove.
13544 (tan_test_tonearest): Likewise.
13545 (tan_towardzero_test_data): Likewise.
13546 (tan_test_towardzero): Likewise.
13547 (tan_downward_test_data): Likewise.
13548 (tan_test_downward): Likewise.
13549 (tan_upward_test_data): Likewise.
13550 (tan_test_upward): Likewise.
13551 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13552 (tgamma_test_data): Likewise.
13553 (y0_test_data): Likewise.
13554 (y1_test_data): Likewise.
13555 (yn_test_data): Update call to AUTO_TESTS_if_f.
13556 (main): Do not call removed functions.
13558 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13560 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13561 (ldexp_test_data): Remove.
13562 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13564 (scalb_test): Use ALL_RM_TEST.
13566 2014-03-19 Andreas Schwab <schwab@suse.de>
13568 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13570 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13573 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13574 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13577 (__ASSUME_PREADV): Undefine.
13578 (__ASSUME_PWRITEV): Likewise.
13580 2014-03-18 Roland McGrath <roland@hack.frob.com>
13582 * bits/mman-linux.h: Add comment about non-Linux use.
13583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13584 bits/mman-linux.h resting place.
13586 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13587 * bits/mman-linux.h: ... here.
13589 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13591 * conform/conformtest.pl: Add standard definition when calling C
13592 preprocessor on data files.
13593 (checknamespace): Remove unused variable.
13595 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13597 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13598 minus_oflow, plus_uflow and minus_uflow in expected results.
13599 * math/libm-test.inc (scalbn_test_data): Add more tests of
13600 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13602 (scalbn_test): Use ALL_RM_TEST.
13603 (scalbln_test_data): Add more tests of negative arguments. Use
13604 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13605 (scalbln_test): Use ALL_RM_TEST.
13607 2014-03-18 Roland McGrath <roland@hack.frob.com>
13609 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13611 2014-03-18 Will Newton <will.newton@linaro.org>
13613 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13614 inaccurate comment.
13616 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13618 * Makerules [!subdir] (check-abi): Exit with error status if a
13621 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13623 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13624 for rint. Include results for all rounding modes.
13625 (nearbyint_test): Use ALL_RM_TEST.
13626 (rint_test_data): Include all tests used for nearbyint.
13628 2014-03-17 Will Newton <will.newton@linaro.org>
13630 * nptl/sysdeps/pthread/pthread.h: Revert previous
13633 * sysdeps/generic/ldsodefs.h: Revert previous
13636 * libio/genops.c: Revert previous change.
13637 * libio/libioP.h: Likewise.
13638 * stdio-common/vfprintf.c: Likewise.
13640 * sysdeps/generic/math_private.h: Revert previous
13643 * sysdeps/generic/math_private.h: Check whether
13644 HAVE_RM_CTX is defined with #ifdef rather
13647 * argp/argp-fmtstream.h: Check whether
13648 __STRICT_ANSI__ is defined with #ifdef rather
13650 * argp/argp.h: Likewise.
13652 * libio/genops.c: Check whether
13653 _IO_JUMPS_OFFSET is defined with #ifdef rather
13655 * libio/libioP.h: Likewise.
13656 * stdio-common/vfprintf.c: Likewise.
13658 * sysdeps/generic/ldsodefs.h: Check whether
13659 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13662 * nptl/sysdeps/pthread/pthread.h: Check
13663 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13666 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13668 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13670 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13674 * libio/fileops.c (_IO_file_open): Seek to end of file but
13675 don't cache the offset.
13676 (get_file_offset): Remove function.
13677 (do_ftell): Use cached offset when available.
13678 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13679 don't cache the offset.
13680 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13682 (do_one_test): Call it.
13683 (do_ftell_test): Fix up expected old offset for a+ mode.
13684 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13687 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13688 up test status with function return status.
13689 (do_write_test): Likewise.
13690 (do_append_test): Likewise.
13692 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13693 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13696 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13698 * math/gen-libm-test.pl (parse_args): Handle results specified for
13699 each rounding mode separately.
13700 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13701 tests and results from lrint_tonearest_test_data,
13702 lrint_towardzero_test_data, lrint_downward_test_data and
13703 lrint_upward_test_data.
13704 (lrint_test): Use ALL_RM_TEST.
13705 (lrint_tonearest_test_data): Remove.
13706 (lrint_test_tonearest): Likewise.
13707 (lrint_towardzero_test_data): Likewise.
13708 (lrint_test_towardzero): Likewise.
13709 (lrint_downward_test_data): Likewise.
13710 (lrint_test_downward): Likewise.
13711 (lrint_upward_test_data): Likewise.
13712 (lrint_test_upward): Likewise.
13713 (llrint_test_data): Merge in per-rounding-mode tests and results
13714 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13715 llrint_downward_test_data and llrint_upward_test_data.
13716 (llrint_test): Use ALL_RM_TEST.
13717 (llrint_tonearest_test_data): Remove.
13718 (llrint_test_tonearest): Likewise.
13719 (llrint_towardzero_test_data): Likewise.
13720 (llrint_test_towardzero): Likewise.
13721 (llrint_downward_test_data): Likewise.
13722 (llrint_test_downward): Likewise.
13723 (llrint_upward_test_data): Likewise.
13724 (llrint_test_upward): Likewise.
13725 (rint_test_data): Merge in per-rounding-mode tests and results
13726 from rint_tonearest_test_data, rint_towardzero_test_data,
13727 rint_downward_test_data and rint_upward_test_data. Add
13728 per-rounding-mode results for tests not in those arrays.
13729 (rint_test): Use ALL_RM_TEST.
13730 (rint_tonearest_test_data): Remove.
13731 (rint_test_tonearest): Likewise.
13732 (rint_towardzero_test_data): Likewise.
13733 (rint_test_towardzero): Likewise.
13734 (rint_downward_test_data): Likewise.
13735 (rint_test_downward): Likewise.
13736 (rint_upward_test_data): Likewise.
13737 (rint_test_upward): Likewise.
13738 (main): Don't call removed functions.
13740 2014-03-14 Roland McGrath <roland@hack.frob.com>
13742 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13743 "Compiled on ..." crapola. It is anti-useful.
13745 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13747 * scripts/evaluate-test.sh: Handle fourth argument to determine
13748 whether test run should stop on failure.
13749 * Makeconfig (stop-on-test-failure): New variable.
13750 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13751 $(stop-on-test-failure).
13752 * Makefile (tests): Give a summary of results from testing and
13753 exit with failure status if they include an ERROR or FAIL.
13754 (xtests): Likewise.
13755 * manual/install.texi (Configuring and compiling): Mention
13756 stop-on-test-failure=y.
13757 * INSTALL: Regenerated.
13759 2014-03-14 Roland McGrath <roland@hack.frob.com>
13761 * scripts/versionlist.awk: New file.
13762 * Makerules [$(build-shared) = yes]
13763 (postclean-generated): Add Versions.def, not Versions.def.v and
13765 ($(common-objpfx)Versions.def.v.i): Target removed.
13766 ($(common-objpfx)Versions.def): New target.
13767 ($(common-objpfx)Versions.all): Depend on that rather that
13768 $(common-objpfx)Versions.def.v.
13769 * Versions.def: File removed.
13771 * Makeconfig (+gccwarn): Add -Wundef.
13772 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13773 a dl-sysdep.h breaking its contract.
13774 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13775 * include/stackinfo.h: New file.
13776 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13777 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13778 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13779 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13780 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13781 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13782 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13783 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13784 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13785 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13786 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13787 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13788 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13789 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13790 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13792 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13795 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13797 * math/libm-test.inc (round_test_data): Add more tests.
13800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13802 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13807 * math/libm-test.inc (ceil_test_data): Add more tests.
13809 * math/libm-test.inc (trunc_test_data): Add more tests related to
13812 2014-03-14 Roland McGrath <roland@hack.frob.com>
13814 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13815 with #if rather than #ifdef.
13816 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13818 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13820 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13821 first. Disable AVX-512 GCC support if assembler doesn't support
13823 * sysdeps/x86_64/configure: Regenerated.
13825 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13827 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13828 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13829 (__old_pthread_attr_setstack): Likewise.
13830 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13831 [!_STACK_GROWS_DOWN]: Likewise.
13833 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13835 * config.make.in (have-bash2): Delete.
13836 * configure.ac (libc_cv_have_bash2): Delete.
13837 * configure: Regenerate.
13838 * elf/Makefile (common-ldd-rewrite): Rename to ...
13839 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13840 (sh-ldd-rewrite): Delete.
13841 (bash-ldd-rewrite): Delete.
13842 (have-bash2): Delete checks.
13843 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13846 * config.make.in (have-ksh): Delete.
13848 * configure.ac (libc_cv_have_ksh): Delete.
13849 * configure: Regenerate.
13851 * elf/Makefile: Delete $(have-ksh) check.
13852 ($(objpfx)sotruss): Change KSH to BASH.
13853 * elf/sotruss.ksh: Rename to ...
13854 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13855 function style to match POSIX. Drop ksh vim mode setting.
13857 * manual/time.texi (Specifying the Time Zone with TZ): Change
13858 Tuesday to Thursday.
13860 * debug/tst-longjmp_chk2.c: Update header comment.
13861 (stackoverflow_handler): Add comment. Call assert on pass value.
13863 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13866 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13867 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13868 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13869 (La_x86_64_vector): Add zmm.
13870 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13871 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13872 ($(objpfx)tst-audit10): New target.
13873 ($(objpfx)tst-audit10.out): Likewise.
13874 (tst-audit10-ENV): New.
13875 (AVX512-CFLAGS): Likewise.
13876 (CFLAGS-tst-audit10.c): Likewise.
13877 (CFLAGS-tst-auditmod10a.c): Likewise.
13878 (CFLAGS-tst-auditmod10b.c): Likewise.
13879 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13880 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13881 * sysdeps/x86_64/configure: Regenerated.
13882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13883 AVX-512 zmm register support.
13884 (_dl_x86_64_save_sse): Likewise.
13885 (_dl_x86_64_restore_sse): Likewise.
13886 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13887 size vector registers.
13888 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13889 (ZMM_SIZE): Likewise.
13890 * sysdeps/x86_64/tst-audit10.c: New file.
13891 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13892 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13894 2014-03-13 Roland McGrath <roland@hack.frob.com>
13896 * configure.ac (HAVE_EHDR_START): New check.
13897 * configure: Regenerated.
13898 * config.h.in (HAVE_EHDR_START): New #undef.
13899 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13900 assuming the lowest-addressed segment maps the start of the file.
13902 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13904 * INSTALL: Regenerated.
13906 2014-03-13 Will Newton <will.newton@linaro.org>
13908 * manual/setjmp.texi (System V contexts): Improve
13909 clarity and grammar of documentation.
13911 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13914 * elf/Makefile (tests): Add tst-pie2.
13915 (tests-pie): Add tst-pie2.
13916 * elf/tst-pie2.c: New file.
13917 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13919 * elf/rtld.c (map_doit): Load executable as lt_executable.
13920 (dl_main): Likewise.
13922 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13926 (__ASSUME_PSELECT): Undefine.
13928 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13932 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13935 selector for static builds.
13937 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13940 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13943 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13945 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13946 IFUNC selector for static builds.
13948 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13950 * sysdeps/mips/math_private.h [__mips_hard_float]
13951 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13952 libc_feresetround_mips_ctx.
13953 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13954 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13955 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13958 * math/s_nextafter.c (__nextafter): Do not return value from
13959 overflowing computation.
13960 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13961 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13962 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13964 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13966 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13967 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13969 2014-03-11 Roland McGrath <roland@hack.frob.com>
13971 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13972 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13973 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13974 the new mov targetting sp.
13976 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13979 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13980 Define it for static builds as well.
13981 (NO_BZERO_IMPL): Likewise.
13983 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13985 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13986 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13987 multiarch strspn for PPC64.
13988 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13991 (__libc_ifunc_impl_list): Likewise.
13992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13993 multiarch optimizations
13994 * string/strspn.c (strspn): Using macro to redefine symbol name.
13996 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13997 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13999 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14000 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14001 multiarch strncat for PPC64.
14002 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14003 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14005 (__libc_ifunc_impl_list): Likewise.
14006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14007 multiarch optimizations
14009 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14012 * nscd/nscd.service: Make service type forking.
14014 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14016 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14017 sign in non default rounding modes.
14018 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14020 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14022 * math/libm-test.inc (ALL_RM_TEST): New macro.
14023 (ceil_test): Use ALL_RM_TEST.
14024 (cimag_test): Likewise.
14025 (conj_test): Likewise.
14026 (copysign_test): Likewise.
14027 (cproj_test): Likewise.
14028 (creal_test): Likewise.
14029 (fabs_test): Likewise.
14030 (floor_test): Likewise.
14031 (fmax_test): Likewise.
14032 (fmin_test): Likewise.
14033 (fmod_test): Likewise.
14034 (fpclassify_test): Likewise.
14035 (frexp_test): Likewise.
14036 (ilogb_test): Likewise.
14037 (isfinite_test): Likewise.
14038 (finite_test): Likewise.
14039 (isgreater_test): Likewise.
14040 (isgreaterequal_test): Likewise.
14041 (isinf_test): Likewise.
14042 (isless_test): Likewise.
14043 (islessequal_test): Likewise.
14044 (islessgreater_test): Likewise.
14045 (isnan_test): Likewise.
14046 (isnormal_test): Likewise.
14047 (issignaling_test): Likewise.
14048 (isunordered_test): Likewise.
14049 (logb_test): Likewise.
14050 (logb_downward_test_data): Remove.
14051 (logb_test_downward): Likewise.
14052 (lround_test): Use ALL_RM_TEST.
14053 (llround_test): Likewise.
14054 (modf_test): Likewise.
14055 (nexttoward_test): Likewise.
14056 (remainder_test): Likewise.
14057 (drem_test): Likewise.
14058 (remainder_tonearest_test_data): Likewise.
14059 (remainder_test_tonearest): Likewise.
14060 (drem_test_tonearest): Likewise.
14061 (remainder_towardzero_test_data): Likewise.
14062 (remainder_test_towardzero): Likewise.
14063 (drem_test_towardzero): Likewise.
14064 (remainder_downward_test_data): Likewise.
14065 (remainder_test_downward): Likewise.
14066 (drem_test_downward): Likewise.
14067 (remainder_upward_test_data): Likewise.
14068 (remainder_test_upward): Likewise.
14069 (drem_test_upward): Likewise.
14070 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14071 (round_test): Use ALL_RM_TEST.
14072 (signbit_test): Likewise.
14073 (trunc_test): Likewise.
14074 (significand_test): Likewise.
14075 (main): Don't call removed functions.
14077 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14080 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14081 || __USE_XOPEN2K8].
14082 (ILL_ILLOPN): Likewise.
14083 (ILL_ILLADR): Likewise.
14084 (ILL_ILLTRP): Likewise.
14085 (ILL_PRVOPC): Likewise.
14086 (ILL_PRVREG): Likewise.
14087 (ILL_COPROC): Likewise.
14088 (ILL_BADSTK): Likewise.
14089 (FPE_INTDIV): Likewise.
14090 (FPE_INTOVF): Likewise.
14091 (FPE_FLTDIV): Likewise.
14092 (FPE_FLTOVF): Likewise.
14093 (FPE_FLTUND): Likewise.
14094 (FPE_FLTRES): Likewise.
14095 (FPE_FLTINV): Likewise.
14096 (FPE_FLTSUB): Likewise.
14097 (SEGV_MAPERR): Likewise.
14098 (SEGV_ACCERR): Likewise.
14099 (BUS_ADRALN): Likewise.
14100 (BUS_ADRERR): Likewise.
14101 (BUS_OBJERR): Likewise.
14102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14103 (TRAP_TRACE): Likewise.
14104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14106 (CLD_KILLED): Likewise.
14107 (CLD_DUMPED): Likewise.
14108 (CLD_TRAPPED): Likewise.
14109 (CLD_STOPPED): Likewise.
14110 (CLD_CONTINUED): Likewise.
14111 (POLL_IN): Likewise.
14112 (POLL_OUT): Likewise.
14113 (POLL_MSG): Likewise.
14114 (POLL_ERR): Likewise.
14115 (POLL_PRI): Likewise.
14116 (POLL_HUP): Likewise.
14117 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14119 (ILL_ILLOPN): Likewise.
14120 (ILL_ILLADR): Likewise.
14121 (ILL_ILLTRP): Likewise.
14122 (ILL_PRVOPC): Likewise.
14123 (ILL_PRVREG): Likewise.
14124 (ILL_COPROC): Likewise.
14125 (ILL_BADSTK): Likewise.
14126 (FPE_INTDIV): Likewise.
14127 (FPE_INTOVF): Likewise.
14128 (FPE_FLTDIV): Likewise.
14129 (FPE_FLTOVF): Likewise.
14130 (FPE_FLTUND): Likewise.
14131 (FPE_FLTRES): Likewise.
14132 (FPE_FLTINV): Likewise.
14133 (FPE_FLTSUB): Likewise.
14134 (SEGV_MAPERR): Likewise.
14135 (SEGV_ACCERR): Likewise.
14136 (BUS_ADRALN): Likewise.
14137 (BUS_ADRERR): Likewise.
14138 (BUS_OBJERR): Likewise.
14139 (BUS_MCEERR_AR): Likewise.
14140 (BUS_MCEERR_AO): Likewise.
14141 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14142 (TRAP_TRACE): Likewise.
14143 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14145 (CLD_KILLED): Likewise.
14146 (CLD_DUMPED): Likewise.
14147 (CLD_TRAPPED): Likewise.
14148 (CLD_STOPPED): Likewise.
14149 (CLD_CONTINUED): Likewise.
14150 (POLL_IN): Likewise.
14151 (POLL_OUT): Likewise.
14152 (POLL_MSG): Likewise.
14153 (POLL_ERR): Likewise.
14154 (POLL_PRI): Likewise.
14155 (POLL_HUP): Likewise.
14156 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14157 (ILL_ILLOPN): Likewise.
14158 (ILL_ILLADR): Likewise.
14159 (ILL_ILLTRP): Likewise.
14160 (ILL_PRVOPC): Likewise.
14161 (ILL_PRVREG): Likewise.
14162 (ILL_COPROC): Likewise.
14163 (ILL_BADSTK): Likewise.
14164 (FPE_INTDIV): Likewise.
14165 (FPE_INTOVF): Likewise.
14166 (FPE_FLTDIV): Likewise.
14167 (FPE_FLTOVF): Likewise.
14168 (FPE_FLTUND): Likewise.
14169 (FPE_FLTRES): Likewise.
14170 (FPE_FLTINV): Likewise.
14171 (FPE_FLTSUB): Likewise.
14172 (SEGV_MAPERR): Likewise.
14173 (SEGV_ACCERR): Likewise.
14174 (BUS_ADRALN): Likewise.
14175 (BUS_ADRERR): Likewise.
14176 (BUS_OBJERR): Likewise.
14177 (BUS_MCEERR_AR): Likewise.
14178 (BUS_MCEERR_AO): Likewise.
14179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14180 (TRAP_TRACE): Likewise.
14181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14183 (CLD_KILLED): Likewise.
14184 (CLD_DUMPED): Likewise.
14185 (CLD_TRAPPED): Likewise.
14186 (CLD_STOPPED): Likewise.
14187 (CLD_CONTINUED): Likewise.
14188 (POLL_IN): Likewise.
14189 (POLL_OUT): Likewise.
14190 (POLL_MSG): Likewise.
14191 (POLL_ERR): Likewise.
14192 (POLL_PRI): Likewise.
14193 (POLL_HUP): Likewise.
14194 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14196 (ILL_ILLOPN): Likewise.
14197 (ILL_ILLADR): Likewise.
14198 (ILL_ILLTRP): Likewise.
14199 (ILL_PRVOPC): Likewise.
14200 (ILL_PRVREG): Likewise.
14201 (ILL_COPROC): Likewise.
14202 (ILL_BADSTK): Likewise.
14203 (ILL_BADIADDR): Likewise.
14204 (ILL_BREAK): Likewise.
14205 (FPE_INTDIV): Likewise.
14206 (FPE_INTOVF): Likewise.
14207 (FPE_FLTDIV): Likewise.
14208 (FPE_FLTOVF): Likewise.
14209 (FPE_FLTUND): Likewise.
14210 (FPE_FLTRES): Likewise.
14211 (FPE_FLTINV): Likewise.
14212 (FPE_FLTSUB): Likewise.
14213 (FPE_DECOVF): Likewise.
14214 (FPE_DECDIV): Likewise.
14215 (FPE_DECERR): Likewise.
14216 (FPE_INVASC): Likewise.
14217 (FPE_INVDEC): Likewise.
14218 (SEGV_MAPERR): Likewise.
14219 (SEGV_ACCERR): Likewise.
14220 (SEGV_PSTKOVF): Likewise.
14221 (BUS_ADRALN): Likewise.
14222 (BUS_ADRERR): Likewise.
14223 (BUS_OBJERR): Likewise.
14224 (BUS_MCEERR_AR): Likewise.
14225 (BUS_MCEERR_AO): Likewise.
14226 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14227 (TRAP_TRACE): Likewise.
14228 (TRAP_BRANCH): Likewise.
14229 (TRAP_HWBKPT): Likewise.
14230 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14232 (CLD_KILLED): Likewise.
14233 (CLD_DUMPED): Likewise.
14234 (CLD_TRAPPED): Likewise.
14235 (CLD_STOPPED): Likewise.
14236 (CLD_CONTINUED): Likewise.
14237 (POLL_IN): Likewise.
14238 (POLL_OUT): Likewise.
14239 (POLL_MSG): Likewise.
14240 (POLL_ERR): Likewise.
14241 (POLL_PRI): Likewise.
14242 (POLL_HUP): Likewise.
14243 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14244 (ILL_ILLOPN): Likewise.
14245 (ILL_ILLADR): Likewise.
14246 (ILL_ILLTRP): Likewise.
14247 (ILL_PRVOPC): Likewise.
14248 (ILL_PRVREG): Likewise.
14249 (ILL_COPROC): Likewise.
14250 (ILL_BADSTK): Likewise.
14251 (FPE_INTDIV): Likewise.
14252 (FPE_INTOVF): Likewise.
14253 (FPE_FLTDIV): Likewise.
14254 (FPE_FLTOVF): Likewise.
14255 (FPE_FLTUND): Likewise.
14256 (FPE_FLTRES): Likewise.
14257 (FPE_FLTINV): Likewise.
14258 (FPE_FLTSUB): Likewise.
14259 (SEGV_MAPERR): Likewise.
14260 (SEGV_ACCERR): Likewise.
14261 (BUS_ADRALN): Likewise.
14262 (BUS_ADRERR): Likewise.
14263 (BUS_OBJERR): Likewise.
14264 (BUS_MCEERR_AR): Likewise.
14265 (BUS_MCEERR_AO): Likewise.
14266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14267 (TRAP_TRACE): Likewise.
14268 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14270 (CLD_KILLED): Likewise.
14271 (CLD_DUMPED): Likewise.
14272 (CLD_TRAPPED): Likewise.
14273 (CLD_STOPPED): Likewise.
14274 (CLD_CONTINUED): Likewise.
14275 (POLL_IN): Likewise.
14276 (POLL_OUT): Likewise.
14277 (POLL_MSG): Likewise.
14278 (POLL_ERR): Likewise.
14279 (POLL_PRI): Likewise.
14280 (POLL_HUP): Likewise.
14281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14282 (ILL_ILLOPN): Likewise.
14283 (ILL_ILLADR): Likewise.
14284 (ILL_ILLTRP): Likewise.
14285 (ILL_PRVOPC): Likewise.
14286 (ILL_PRVREG): Likewise.
14287 (ILL_COPROC): Likewise.
14288 (ILL_BADSTK): Likewise.
14289 (FPE_INTDIV): Likewise.
14290 (FPE_INTOVF): Likewise.
14291 (FPE_FLTDIV): Likewise.
14292 (FPE_FLTOVF): Likewise.
14293 (FPE_FLTUND): Likewise.
14294 (FPE_FLTRES): Likewise.
14295 (FPE_FLTINV): Likewise.
14296 (FPE_FLTSUB): Likewise.
14297 (SEGV_MAPERR): Likewise.
14298 (SEGV_ACCERR): Likewise.
14299 (BUS_ADRALN): Likewise.
14300 (BUS_ADRERR): Likewise.
14301 (BUS_OBJERR): Likewise.
14302 (BUS_MCEERR_AR): Likewise.
14303 (BUS_MCEERR_AO): Likewise.
14304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14305 (TRAP_TRACE): Likewise.
14306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14308 (CLD_KILLED): Likewise.
14309 (CLD_DUMPED): Likewise.
14310 (CLD_TRAPPED): Likewise.
14311 (CLD_STOPPED): Likewise.
14312 (CLD_CONTINUED): Likewise.
14313 (POLL_IN): Likewise.
14314 (POLL_OUT): Likewise.
14315 (POLL_MSG): Likewise.
14316 (POLL_ERR): Likewise.
14317 (POLL_PRI): Likewise.
14318 (POLL_HUP): Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14320 (ILL_ILLOPN): Likewise.
14321 (ILL_ILLADR): Likewise.
14322 (ILL_ILLTRP): Likewise.
14323 (ILL_PRVOPC): Likewise.
14324 (ILL_PRVREG): Likewise.
14325 (ILL_COPROC): Likewise.
14326 (ILL_BADSTK): Likewise.
14327 (FPE_INTDIV): Likewise.
14328 (FPE_INTOVF): Likewise.
14329 (FPE_FLTDIV): Likewise.
14330 (FPE_FLTOVF): Likewise.
14331 (FPE_FLTUND): Likewise.
14332 (FPE_FLTRES): Likewise.
14333 (FPE_FLTINV): Likewise.
14334 (FPE_FLTSUB): Likewise.
14335 (SEGV_MAPERR): Likewise.
14336 (SEGV_ACCERR): Likewise.
14337 (BUS_ADRALN): Likewise.
14338 (BUS_ADRERR): Likewise.
14339 (BUS_OBJERR): Likewise.
14340 (BUS_MCEERR_AR): Likewise.
14341 (BUS_MCEERR_AO): Likewise.
14342 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14343 (TRAP_TRACE): Likewise.
14344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14346 (CLD_KILLED): Likewise.
14347 (CLD_DUMPED): Likewise.
14348 (CLD_TRAPPED): Likewise.
14349 (CLD_STOPPED): Likewise.
14350 (CLD_CONTINUED): Likewise.
14351 (POLL_IN): Likewise.
14352 (POLL_OUT): Likewise.
14353 (POLL_MSG): Likewise.
14354 (POLL_ERR): Likewise.
14355 (POLL_PRI): Likewise.
14356 (POLL_HUP): Likewise.
14357 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14358 (ILL_ILLOPN): Likewise.
14359 (ILL_ILLADR): Likewise.
14360 (ILL_ILLTRP): Likewise.
14361 (ILL_PRVOPC): Likewise.
14362 (ILL_PRVREG): Likewise.
14363 (ILL_COPROC): Likewise.
14364 (ILL_BADSTK): Likewise.
14365 (ILL_DBLFLT): Likewise.
14366 (ILL_HARDWALL): Likewise.
14367 (FPE_INTDIV): Likewise.
14368 (FPE_INTOVF): Likewise.
14369 (FPE_FLTDIV): Likewise.
14370 (FPE_FLTOVF): Likewise.
14371 (FPE_FLTUND): Likewise.
14372 (FPE_FLTRES): Likewise.
14373 (FPE_FLTINV): Likewise.
14374 (FPE_FLTSUB): Likewise.
14375 (SEGV_MAPERR): Likewise.
14376 (SEGV_ACCERR): Likewise.
14377 (BUS_ADRALN): Likewise.
14378 (BUS_ADRERR): Likewise.
14379 (BUS_OBJERR): Likewise.
14380 (BUS_MCEERR_AR): Likewise.
14381 (BUS_MCEERR_AO): Likewise.
14382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14383 (TRAP_TRACE): Likewise.
14384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14386 (CLD_KILLED): Likewise.
14387 (CLD_DUMPED): Likewise.
14388 (CLD_TRAPPED): Likewise.
14389 (CLD_STOPPED): Likewise.
14390 (CLD_CONTINUED): Likewise.
14391 (POLL_IN): Likewise.
14392 (POLL_OUT): Likewise.
14393 (POLL_MSG): Likewise.
14394 (POLL_ERR): Likewise.
14395 (POLL_PRI): Likewise.
14396 (POLL_HUP): Likewise.
14397 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14398 (ILL_ILLOPN): Likewise.
14399 (ILL_ILLADR): Likewise.
14400 (ILL_ILLTRP): Likewise.
14401 (ILL_PRVOPC): Likewise.
14402 (ILL_PRVREG): Likewise.
14403 (ILL_COPROC): Likewise.
14404 (ILL_BADSTK): Likewise.
14405 (FPE_INTDIV): Likewise.
14406 (FPE_INTOVF): Likewise.
14407 (FPE_FLTDIV): Likewise.
14408 (FPE_FLTOVF): Likewise.
14409 (FPE_FLTUND): Likewise.
14410 (FPE_FLTRES): Likewise.
14411 (FPE_FLTINV): Likewise.
14412 (FPE_FLTSUB): Likewise.
14413 (SEGV_MAPERR): Likewise.
14414 (SEGV_ACCERR): Likewise.
14415 (BUS_ADRALN): Likewise.
14416 (BUS_ADRERR): Likewise.
14417 (BUS_OBJERR): Likewise.
14418 (BUS_MCEERR_AR): Likewise.
14419 (BUS_MCEERR_AO): Likewise.
14420 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14421 (TRAP_TRACE): Likewise.
14422 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14424 (CLD_KILLED): Likewise.
14425 (CLD_DUMPED): Likewise.
14426 (CLD_TRAPPED): Likewise.
14427 (CLD_STOPPED): Likewise.
14428 (CLD_CONTINUED): Likewise.
14429 (POLL_IN): Likewise.
14430 (POLL_OUT): Likewise.
14431 (POLL_MSG): Likewise.
14432 (POLL_ERR): Likewise.
14433 (POLL_PRI): Likewise.
14434 (POLL_HUP): Likewise.
14435 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14436 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14439 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14440 before #include of <time.h>.
14441 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14442 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14443 (test-xfail-UNIX98/sched.h/conform): Likewise.
14445 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14447 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14448 error absence of trapping exception support.
14449 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14451 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14453 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14454 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14455 * timezone/Makefile (testdata): Move definition above include of
14457 (test-zones): New variable.
14458 (tests-special): Add zone files.
14459 (build-testdata): Use $(evaluate-test).
14461 * elf/Makefile (tests-special): Rename tests to end with .out.
14462 ($(objpfx)noload-mem): Likewise.
14463 ($(objpfx)tst-leaks1-mem): Likewise.
14464 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14465 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14466 $(objpfx)test-iconvconfig.out.
14467 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14468 set -e inside subshell and redirect output to file.
14469 * iconvdata/Makefile (generated): Rename tests to end with .out.
14471 (tests-special): Rename tests to end with .out.
14472 ($(objpfx)mtrace-tst-loading): Likewise.
14473 * intl/Makefile (generated): Likewise.
14474 (tests-special): Likewise.
14475 ($(objpfx)mtrace-tst-gettext): Likewise.
14476 * misc/Makefile (generated): Likewise.
14477 (tests-special): Likewise.
14478 ($(objpfx)tst-error1-mem): Likewise.
14479 * nptl/Makefile (tests-special): Likewise.
14480 ($(objpfx)tst-stack3-mem): Likewise.
14481 (generated): Likewise.
14482 * posix/Makefile (generated): Likewise.
14483 (tests-special): Likewise.
14484 (xtests-special): Likewise.
14485 ($(objpfx)tst-fnmatch-mem): Likewise.
14486 ($(objpfx)bug-regex2-mem): Likewise.
14487 ($(objpfx)bug-regex14-mem): Likewise.
14488 ($(objpfx)bug-regex21-mem): Likewise.
14489 ($(objpfx)bug-regex31-mem): Likewise.
14490 ($(objpfx)tst-vfork3-mem): Likewise.
14491 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14492 ($(objpfx)tst-pcre-mem): Likewise.
14493 ($(objpfx)tst-boost-mem): Likewise.
14494 ($(objpfx)bug-ga2-mem): Likewise.
14495 ($(objpfx)bug-glob2-mem): Likewise.
14496 * resolv/Makefile (generate): Likewise.
14497 (tests-special): Likewise.
14498 (xtests-special): Likewise.
14499 (generated): Likewise.
14500 ($(objpfx)mtrace-tst-leaks): Likewise.
14501 ($(objpfx)mtrace-tst-leaks2): Likewise.
14503 * scripts/merge-test-results.sh: New file.
14504 * Makefile (tests-special-notdir): New variable.
14505 (tests): Run merge-test-results.sh.
14506 (xtests): Likewise.
14507 * Rules (tests-special-notdir): New variable.
14508 (xtests-special-notdir): Likewise.
14509 (tests): Run merge-test-results.sh
14510 (xtests): Likewise.
14512 * Makeconfig (test-xfail-name): New variable.
14513 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14514 compute variable name for expected failures.
14515 * conform/Makefile (conformtest-headers-data): New variable.
14516 (conformtest-standards): Likewise.
14517 (conformtest-headers-ISO): Likewise.
14518 (conformtest-headers-ISO99): Likewise.
14519 (conformtest-headers-ISO11): Likewise.
14520 (conformtest-headers-POSIX): Likewise.
14521 (conformtest-headers-XPG3): Likewise.
14522 (conformtest-headers-XPG4): Likewise.
14523 (conformtest-headers-UNIX98): Likewise.
14524 (conformtest-headers-XOPEN2K): Likewise.
14525 (conformtest-headers-POSIX2008): Likewise.
14526 (conformtest-headers-XOPEN2K8): Likewise.
14527 (conformtest-header-list-base): Likewise.
14528 (conformtest-header-list-tests): Likewise.
14529 (conformtest-header-base): Likewise.
14530 (conformtest-header-tests): Likewise.
14531 (tests-special): Add $(conformtest-header-list-tests). If
14532 [$(fast-check) && !$(cross-compiling)], add
14533 $(conformtest-header-tests) instead of
14534 $(objpfx)run-conformtest.out.
14535 (generated): Add $(conformtest-header-list-base). If
14536 [$(fast-check) && !$(cross-compiling)], add
14537 $(conformtest-header-base). Remove previous setting.
14538 ($(conformtest-header-list-tests)): New target.
14539 (test-xfail-run-conformtest): Remove variable.
14540 ($(objpfx)run-conformtest.out): Remove target.
14541 (test-xfail-ISO11/complex.h/conform): New variable.
14542 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14543 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14544 (test-xfail-XPG3/varargs.h/conform): Likewise.
14545 (test-xfail-XPG4/varargs.h/conform): Likewise.
14546 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14547 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14548 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14549 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14550 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14551 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14552 (test-xfail-XPG3/ftw.h/conform): Likewise.
14553 (test-xfail-XPG3/grp.h/conform): Likewise.
14554 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14555 (test-xfail-XPG3/limits.h/conform): Likewise.
14556 (test-xfail-XPG3/pwd.h/conform): Likewise.
14557 (test-xfail-XPG3/search.h/conform): Likewise.
14558 (test-xfail-XPG3/signal.h/conform): Likewise.
14559 (test-xfail-XPG3/stdio.h/conform): Likewise.
14560 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14561 (test-xfail-XPG3/string.h/conform): Likewise.
14562 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14563 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14564 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14565 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14566 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14567 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14568 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14569 (test-xfail-XPG3/termios.h/conform): Likewise.
14570 (test-xfail-XPG3/time.h/conform): Likewise.
14571 (test-xfail-XPG3/unistd.h/conform): Likewise.
14572 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14573 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14574 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14575 (test-xfail-XPG4/netdb.h/conform): Likewise.
14576 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14577 (test-xfail-XPG4/signal.h/conform): Likewise.
14578 (test-xfail-XPG4/stdio.h/conform): Likewise.
14579 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14580 (test-xfail-XPG4/stropts.h/conform): Likewise.
14581 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14582 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14583 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14584 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14585 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14586 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14587 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14588 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14589 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14590 (test-xfail-XPG4/termios.h/conform): Likewise.
14591 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14592 (test-xfail-XPG4/unistd.h/conform): Likewise.
14593 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14594 (test-xfail-POSIX/sched.h/conform): Likewise.
14595 (test-xfail-POSIX/signal.h/conform): Likewise.
14596 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14597 (test-xfail-POSIX/tar.h/conform): Likewise.
14598 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14599 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14600 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14601 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14602 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14603 (test-xfail-UNIX98/sched.h/conform): Likewise.
14604 (test-xfail-UNIX98/signal.h/conform): Likewise.
14605 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14606 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14607 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14608 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14609 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14610 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14611 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14612 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14613 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14614 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14615 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14616 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14617 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14618 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14619 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14620 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14621 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14622 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14623 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14624 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14625 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14626 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14627 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14628 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14629 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14630 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14631 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14632 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14633 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14634 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14635 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14636 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14637 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14638 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14639 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14640 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14641 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14642 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14643 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14644 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14645 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14646 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14647 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14648 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14649 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14650 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14651 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14652 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14653 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14654 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14655 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14656 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14657 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14658 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14659 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14660 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14661 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14662 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14663 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14664 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14665 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14666 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14667 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14668 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14669 (conformtest-cc-flags): Likewise.
14670 ($(conformtest-header-tests): New target.
14671 * conform/check-header-lists.sh: New file.
14672 * conform/run-conformtest.sh: Remove.
14674 * conform/conformtest.pl: Allow ' and \ in values given for
14676 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14678 [POSIX] (sys/types.h): Likewise.
14679 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14681 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14683 * conform/data/signal.h-data (SIGIO): Remove expectation.
14684 [XPG3] (SIGBUS): Do not expect.
14685 [POSIX || XPG3] (SIGPOLL): Likewise.
14686 [POSIX || XPG3] (SIGPROF): Likewise.
14687 [POSIX || XPG3] (SIGSYS): Likewise.
14688 [XPG3] (SIGTRAP): Likewise.
14689 [POSIX || XPG3] (SIGURG): Likewise.
14690 [POSIX || XPG3] (SIGVTALRM): Likewise.
14691 [POSIX || XPG3] (SIGXCPU): Likewise.
14692 [POSIX || XPG3] (SIGXFSZ): Likewise.
14693 [POSIX] (SA_SIGINFO): Expect.
14694 [XPG3] (siginfo_t): Do not expect type or contents.
14695 [POSIX] (si_pid): Do not expect element.
14696 [POSIX] (si_uid): Likewise.
14697 [POSIX] (si_addr): Likewise.
14698 [POSIX] (si_status): Likewise.
14699 [POSIX] (si_band): Likewise.
14700 [XPG4] (si_value): Likewise.
14701 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14702 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14703 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14704 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14705 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14706 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14707 [POSIX || XPG3] (ILL_COPROC): Likewise.
14708 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14709 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14710 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14711 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14712 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14713 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14714 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14715 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14716 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14717 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14718 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14719 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14720 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14721 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14722 [POSIX || XPG3] (CLD_EXITED): Likewise.
14723 [POSIX || XPG3] (CLD_KILLED): Likewise.
14724 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14725 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14726 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14727 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14728 [POSIX || XPG3] (POLL_IN): Likewise.
14729 [POSIX || XPG3] (POLL_OUT): Likewise.
14730 [POSIX || XPG3] (POLL_MSG): Likewise.
14731 [POSIX || XPG3] (POLL_ERR): Likewise.
14732 [POSIX || XPG3] (POLL_PRI): Likewise.
14733 [POSIX || XPG3] (POLL_HUP): Likewise.
14734 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14735 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14736 (SIG*): Do not allow.
14737 [XPG3] (si_*): Likewise.
14738 [XPG3] (SI_*): Likewise.
14739 [XPG3 || XPG4] (sigev_*): Likewise.
14740 [XPG3 || XPG4] (SIGEV_*): Likewise.
14741 [XPG3 || XPG4] (sival_*): Likewise.
14742 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14743 [POSIX || XPG3] (BUS_*): Likewise.
14744 [POSIX || XPG3] (CLD_*): Likewise.
14745 [POSIX || XPG3] (FPE_*): Likewise.
14746 [POSIX || XPG3] (ILL_*): Likewise.
14747 [POSIX || XPG3] (POLL_*): Likewise.
14748 [POSIX || XPG3] (SEGV_*): Likewise.
14749 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14750 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14751 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14752 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14753 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14754 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14755 Specify type and value.
14756 (TVERSLEN): Likewise.
14757 (REGTYPE): Likewise.
14758 (AREGTYPE): Likewise.
14759 (LNKTYPE): Likewise.
14760 (SYMTYPE): Likewise.
14761 (CHRTYPE): Likewise.
14762 (BLKTYPE): Likewise.
14763 (DIRTYPE): Likewise.
14764 (FIFOTYPE): Likewise.
14765 (CONTTYPE): Likewise.
14769 (TUREAD): Likewise.
14770 (TUWRITE): Likewise.
14771 (TUEXEC): Likewise.
14772 (TGREAD): Likewise.
14773 (TGWRITE): Likewise.
14774 (TGEXEC): Likewise.
14775 (TOREAD): Likewise.
14776 (TOWRITE): Likewise.
14777 (TOEXEC): Likewise.
14778 [POSIX] (TSVTX): Expect constant.
14780 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14782 * Makefile (tests): Change dependencies to ....
14783 (tests-special): ... additions to this variable.
14784 (tests): Depend on $(tests-special).
14785 * Makerules (check-abi-list): New variable.
14786 (check-abi): Depend on $(check-abi-list).
14787 [$(subdir) = elf] (tests-special): Add
14788 $(objpfx)check-abi-libc.out.
14789 [$(build-shared) = yes && subdir] (tests-special): Add
14791 [$(build-shared) = yes && subdir] (tests): Do not depend on
14793 * Rules (tests): Depend on $(tests-special).
14794 (xtests): Depend on $(xtests-special).
14795 * catgets/Makefile (tests): Change dependencies to ....
14796 (tests-special): ... additions to this variable.
14797 * conform/Makefile (tests): Change dependencies to ....
14798 (tests-special): ... additions to this variable.
14799 * elf/Makefile (tests): Change dependencies to ....
14800 (tests-special): ... additions to this variable.
14801 * grp/Makefile (tests): Change dependencies to ....
14802 (tests-special): ... additions to this variable.
14803 * iconv/Makefile (xtests): Change dependencies to ....
14804 (xtests-special): ... additions to this variable.
14805 * iconvdata/Makefile (tests): Change dependencies to ....
14806 (tests-special): ... additions to this variable.
14807 * intl/Makefile (tests): Change dependencies to ....
14808 (tests-special): ... additions to this variable. Also add
14809 $(objpfx)tst-gettext.out.
14810 * io/Makefile (tests): Change dependencies to ....
14811 (tests-special): ... additions to this variable.
14812 * libio/Makefile (tests): Change dependencies to ....
14813 (tests-special): ... additions to this variable.
14814 * malloc/Makefile (tests): Change dependencies to ....
14815 (tests-special): ... additions to this variable.
14816 * misc/Makefile (tests): Change dependencies to ....
14817 (tests-special): ... additions to this variable.
14818 * nptl/Makefile (tests): Change dependencies to ....
14819 (tests-special): ... additions to this variable.
14820 * nptl_db/Makefile (tests): Change dependencies to ....
14821 (tests-special): ... additions to this variable.
14822 * posix/Makefile (tests): Change dependencies to ....
14823 (tests-special): ... additions to this variable.
14824 (xtests): Change dependencies to ....
14825 (xtests-special): ... additions to this variable.
14826 * resolv/Makefile (tests): Change dependencies to ....
14827 (tests-special): ... additions to this variable.
14828 (xtests): Change dependencies to ....
14829 (xtests-special): ... additions to this variable.
14830 * stdio-common/Makefile (tests): Change dependencies to ....
14831 (tests-special): ... additions to this variable.
14832 (do-tst-unbputc): Remove target.
14833 (do-tst-printf): Likewise.
14834 * stdlib/Makefile (tests): Change dependencies to ....
14835 (tests-special): ... additions to this variable.
14836 * string/Makefile (tests): Change dependencies to ....
14837 (tests-special): ... additions to this variable.
14838 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14839 (tests-special): ... additions to this variable.
14841 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14843 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14845 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14846 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14848 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14849 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14850 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14851 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14852 * conform/data/libgen.h-data [XPG3]: Likewise.
14853 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14854 * conform/data/ndbm.h-data [XPG3]: Likewise.
14855 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14856 * conform/data/netdb.h-data [XPG3]: Likewise.
14857 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14858 * conform/data/poll.h-data [XPG3]: Likewise.
14859 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14860 * conform/data/strings.h-data [XPG3]: Likewise.
14861 * conform/data/stropts.h-data [XPG3]: Likewise.
14862 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14863 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14864 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14866 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14867 * conform/data/sys/time.h-data [XPG3]: Likewise.
14868 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14869 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14870 * conform/data/sys/un.h-data [XPG3]: Likewise.
14871 * conform/data/syslog.h-data [XPG3]: Likewise.
14872 * conform/data/ucontext.h-data [XPG3]: Likewise.
14873 * conform/data/utmpx.h-data [XPG3]: Likewise.
14874 * conform/data/varargs.h-data [UNIX98]: Enable file.
14876 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14878 * math/libm-test.inc (struct test_f_f_data): Move expected results
14879 into structure for each rounding mode.
14880 (struct test_ff_f_data): Likewise.
14881 (struct test_ff_f_data_nexttoward): Likewise.
14882 (struct test_fi_f_data): Likewise.
14883 (struct test_fl_f_data): Likewise.
14884 (struct test_if_f_data): Likewise.
14885 (struct test_fff_f_data): Likewise.
14886 (struct test_c_f_data): Likewise.
14887 (struct test_f_f1_data): Likewise.
14888 (struct test_fF_f1_data): Likewise.
14889 (struct test_ffI_f1_data): Likewise.
14890 (struct test_c_c_data): Likewise.
14891 (struct test_cc_c_data): Likewise.
14892 (struct test_f_i_data): Likewise.
14893 (struct test_ff_i_data): Likewise.
14894 (struct test_f_l_data): Likewise.
14895 (struct test_f_L_data): Likewise.
14896 (struct test_fFF_11_data): Likewise.
14898 (RM_FE_DOWNWARD): Likewise.
14899 (RM_FE_TONEAREST): Likewise.
14900 (RM_FE_TOWARDZERO): Likewise.
14901 (RM_FE_UPWARD): Likewise.
14902 (RUN_TEST_LOOP_f_f): Update references to expected results.
14903 (RUN_TEST_LOOP_2_f): Likewise.
14904 (RUN_TEST_LOOP_fff_f): Likewise.
14905 (RUN_TEST_LOOP_c_f): Likewise.
14906 (RUN_TEST_LOOP_f_f1): Likewise.
14907 (RUN_TEST_LOOP_fF_f1): Likewise.
14908 (RUN_TEST_LOOP_fI_f1): Likewise.
14909 (RUN_TEST_LOOP_ffI_f1): Likewise.
14910 (RUN_TEST_LOOP_c_c): Likewise.
14911 (RUN_TEST_LOOP_cc_c): Likewise.
14912 (RUN_TEST_LOOP_f_i): Likewise.
14913 (RUN_TEST_LOOP_f_i_tg): Likewise.
14914 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14915 (RUN_TEST_LOOP_f_b): Likewise.
14916 (RUN_TEST_LOOP_f_b_tg): Likewise.
14917 (RUN_TEST_LOOP_f_l): Likewise.
14918 (RUN_TEST_LOOP_f_L): Likewise.
14919 (RUN_TEST_LOOP_fFF_11): Likewise.
14920 * math/gen-libm-test.pl (parse_args): Output four copies of
14921 expected results for each test.
14923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14924 (__ASSUME_UTIMES): Remove.
14925 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14926 (__ASSUME_UTIMES): Likewise.
14928 * math/gen-auto-libm-tests.c: Update comment on output format.
14929 (output_for_one_input_case): Generate before-rounding and
14930 after-rounding information as conditions on output flags not
14931 floating-point format.
14932 * math/auto-libm-test-out: Regenerated.
14933 * math/gen-libm-test.pl (cond_value): New function.
14934 (or_cond_value): Use cond_value.
14935 (generate_testfile): Handle conditional exceptions.
14937 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14939 * math/libm-test.inc (max_valid_error): New variable.
14940 (init_max_error): Take new argument specifying whether function
14941 results are exactly determined. Set max_valid_error and bound
14942 other variables for errors based on this argument.
14943 (set_max_error): Do not record results above max_valid_error.
14944 (check_float_internal): Only accept errors of up to 0.5ulps if
14945 also at most max_valid_error.
14946 (START): Take new argument EXACT and pass it to init_max_error.
14947 (acos_test): Update call to START.
14948 (acos_test_tonearest): Likewise.
14949 (acos_test_towardzero): Likewise.
14950 (acos_test_downward): Likewise.
14951 (acos_test_upward): Likewise.
14952 (acosh_test): Likewise.
14953 (asin_test): Likewise.
14954 (asin_test_tonearest): Likewise.
14955 (asin_test_towardzero): Likewise.
14956 (asin_test_downward): Likewise.
14957 (asin_test_upward): Likewise.
14958 (asinh_test): Likewise.
14959 (atan_test): Likewise.
14960 (atanh_test): Likewise.
14961 (atan2_test): Likewise.
14962 (cabs_test): Likewise.
14963 (cacos_test): Likewise.
14964 (cacosh_test): Likewise.
14965 (carg_test): Likewise.
14966 (casin_test): Likewise.
14967 (casinh_test): Likewise.
14968 (catan_test): Likewise.
14969 (catanh_test): Likewise.
14970 (cbrt_test): Likewise.
14971 (ccos_test): Likewise.
14972 (ccosh_test): Likewise.
14973 (ceil_test): Likewise.
14974 (cexp_test): Likewise.
14975 (cimag_test): Likewise.
14976 (clog_test): Likewise.
14977 (clog10_test): Likewise.
14978 (conj_test): Likewise.
14979 (copysign_test): Likewise.
14980 (cos_test): Likewise.
14981 (cos_test_tonearest): Likewise.
14982 (cos_test_towardzero): Likewise.
14983 (cos_test_downward): Likewise.
14984 (cos_test_upward): Likewise.
14985 (cosh_test): Likewise.
14986 (cosh_test_tonearest): Likewise.
14987 (cosh_test_towardzero): Likewise.
14988 (cosh_test_downward): Likewise.
14989 (cosh_test_upward): Likewise.
14990 (cpow_test): Likewise.
14991 (cproj_test): Likewise.
14992 (creal_test): Likewise.
14993 (csin_test): Likewise.
14994 (csinh_test): Likewise.
14995 (csqrt_test): Likewise.
14996 (ctan_test): Likewise.
14997 (ctan_test_tonearest): Likewise.
14998 (ctan_test_towardzero): Likewise.
14999 (ctan_test_downward): Likewise.
15000 (ctan_test_upward): Likewise.
15001 (ctanh_test): Likewise.
15002 (ctanh_test_tonearest): Likewise.
15003 (ctanh_test_towardzero): Likewise.
15004 (ctanh_test_downward): Likewise.
15005 (ctanh_test_upward): Likewise.
15006 (erf_test): Likewise.
15007 (erfc_test): Likewise.
15008 (exp_test): Likewise.
15009 (exp_test_tonearest): Likewise.
15010 (exp_test_towardzero): Likewise.
15011 (exp_test_downward): Likewise.
15012 (exp_test_upward): Likewise.
15013 (exp10_test): Likewise.
15014 (exp10_test_tonearest): Likewise.
15015 (exp10_test_towardzero): Likewise.
15016 (exp10_test_downward): Likewise.
15017 (exp10_test_upward): Likewise.
15018 (pow10_test): Likewise.
15019 (exp2_test): Likewise.
15020 (expm1_test): Likewise.
15021 (expm1_test_tonearest): Likewise.
15022 (expm1_test_towardzero): Likewise.
15023 (expm1_test_downward): Likewise.
15024 (expm1_test_upward): Likewise.
15025 (fabs_test): Likewise.
15026 (fdim_test): Likewise.
15027 (floor_test): Likewise.
15028 (fma_test): Likewise.
15029 (fma_test_towardzero): Likewise.
15030 (fma_test_downward): Likewise.
15031 (fma_test_upward): Likewise.
15032 (fmax_test): Likewise.
15033 (fmin_test): Likewise.
15034 (fmod_test): Likewise.
15035 (fpclassify_test): Likewise.
15036 (frexp_test): Likewise.
15037 (hypot_test): Likewise.
15038 (ilogb_test): Likewise.
15039 (isfinite_test): Likewise.
15040 (finite_test): Likewise.
15041 (isgreater_test): Likewise.
15042 (isgreaterequal_test): Likewise.
15043 (isinf_test): Likewise.
15044 (isless_test): Likewise.
15045 (islessequal_test): Likewise.
15046 (islessgreater_test): Likewise.
15047 (isnan_test): Likewise.
15048 (isnormal_test): Likewise.
15049 (issignaling_test): Likewise.
15050 (isunordered_test): Likewise.
15051 (j0_test): Likewise.
15052 (j1_test): Likewise.
15053 (jn_test): Likewise.
15054 (ldexp_test): Likewise.
15055 (lgamma_test): Likewise.
15056 (gamma_test): Likewise.
15057 (lrint_test): Likewise.
15058 (lrint_test_tonearest): Likewise.
15059 (lrint_test_towardzero): Likewise.
15060 (lrint_test_downward): Likewise.
15061 (lrint_test_upward): Likewise.
15062 (llrint_test): Likewise.
15063 (llrint_test_tonearest): Likewise.
15064 (llrint_test_towardzero): Likewise.
15065 (llrint_test_downward): Likewise.
15066 (llrint_test_upward): Likewise.
15067 (log_test): Likewise.
15068 (log10_test): Likewise.
15069 (log1p_test): Likewise.
15070 (log2_test): Likewise.
15071 (logb_test): Likewise.
15072 (logb_test_downward): Likewise.
15073 (lround_test): Likewise.
15074 (llround_test): Likewise.
15075 (modf_test): Likewise.
15076 (nearbyint_test): Likewise.
15077 (nextafter_test): Likewise.
15078 (nexttoward_test): Likewise.
15079 (pow_test): Likewise.
15080 (pow_test_tonearest): Likewise.
15081 (pow_test_towardzero): Likewise.
15082 (pow_test_downward): Likewise.
15083 (pow_test_upward): Likewise.
15084 (remainder_test): Likewise.
15085 (drem_test): Likewise.
15086 (remainder_test_tonearest): Likewise.
15087 (drem_test_tonearest): Likewise.
15088 (remainder_test_towardzero): Likewise.
15089 (drem_test_towardzero): Likewise.
15090 (remainder_test_downward): Likewise.
15091 (drem_test_downward): Likewise.
15092 (remainder_test_upward): Likewise.
15093 (drem_test_upward): Likewise.
15094 (remquo_test): Likewise.
15095 (rint_test): Likewise.
15096 (rint_test_tonearest): Likewise.
15097 (rint_test_towardzero): Likewise.
15098 (rint_test_downward): Likewise.
15099 (rint_test_upward): Likewise.
15100 (round_test): Likewise.
15101 (scalb_test): Likewise.
15102 (scalbn_test): Likewise.
15103 (scalbln_test): Likewise.
15104 (signbit_test): Likewise.
15105 (sin_test): Likewise.
15106 (sin_test_tonearest): Likewise.
15107 (sin_test_towardzero): Likewise.
15108 (sin_test_downward): Likewise.
15109 (sin_test_upward): Likewise.
15110 (sincos_test): Likewise.
15111 (sinh_test): Likewise.
15112 (sinh_test_tonearest): Likewise.
15113 (sinh_test_towardzero): Likewise.
15114 (sinh_test_downward): Likewise.
15115 (sinh_test_upward): Likewise.
15116 (sqrt_test): Likewise.
15117 (sqrt_test_tonearest): Likewise.
15118 (sqrt_test_towardzero): Likewise.
15119 (sqrt_test_downward): Likewise.
15120 (sqrt_test_upward): Likewise.
15121 (tan_test): Likewise.
15122 (tan_test_tonearest): Likewise.
15123 (tan_test_towardzero): Likewise.
15124 (tan_test_downward): Likewise.
15125 (tan_test_upward): Likewise.
15126 (tanh_test): Likewise.
15127 (tgamma_test): Likewise.
15128 (trunc_test): Likewise.
15129 (y0_test): Likewise.
15130 (y1_test): Likewise.
15131 (yn_test): Likewise.
15132 (significand_test): Likewise.
15134 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15135 individual tests in comment.
15136 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15137 (prev_max_error): New variable.
15138 (prev_real_max_error): Likewise.
15139 (prev_imag_max_error): Likewise.
15140 (compare_ulp_data): Don't refer to test names in comment.
15141 (find_test_ulps): Remove function.
15142 (find_function_ulps): Likewise.
15143 (find_complex_function_ulps): Likewise.
15144 (init_max_error): Take function name as argument. Look up ulps
15146 (print_ulps): Remove function.
15147 (print_max_error): Use prev_max_error instead of calling
15148 find_function_ulps.
15149 (print_complex_max_error): Use prev_real_max_error and
15150 prev_imag_max_error instead of calling find_complex_function_ulps.
15151 (check_float_internal): Take max_ulp parameter instead of calling
15152 find_test_ulps. Don't call print_ulps.
15153 (check_float): Update call to check_float_internal.
15154 (check_complex): Update calls to check_float_internal.
15155 (START): Pass argument to init_max_error.
15156 * math/gen-libm-test.pl (%results): Don't include "kind"
15158 (parse_ulps): Don't handle ulps of individual tests.
15159 (print_ulps_file): Likewise.
15160 (output_ulps): Likewise.
15161 * math/README.libm-test: Update.
15162 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15164 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15165 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15166 * sysdeps/arm/libm-test-ulps: Likewise.
15167 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15168 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15169 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15170 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15171 * sysdeps/microblaze/libm-test-ulps: Likewise.
15172 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15173 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15175 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15177 * sysdeps/sh/libm-test-ulps: Likewise.
15178 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15179 * sysdeps/tile/libm-test-ulps: Likewise.
15180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15182 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15184 * math/libm-test.inc (print_complex_max_error): Check separately
15185 whether real and imaginary errors are within allowed range and
15186 pass 0 to print_complex_function_ulps instead of value within
15189 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15191 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15193 (get_handles_fopen): Likewise.
15194 (do_write_test): Likewise.
15196 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15198 * libio/fileops.c (do_ftell): Use cached offset when
15200 * libio/iofwide.c (do_ftell_wide): Likewise.
15201 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15203 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15206 * libio/libioP.h (get_file_offset): New function.
15207 * libio/fileops.c (get_file_offset): Likewise.
15208 (do_ftell): Likewise.
15209 (_IO_new_file_seekoff): Split out ftell logic.
15210 * libio/wfileops.c (do_ftell_wide): Likewise.
15211 (_IO_wfile_seekoff): Split out ftell logic.
15212 * libio/tst-ftell-active-handler.c: New test case.
15213 * libio/Makefile (tests): Add it.
15215 2014-03-03 Roland McGrath <roland@hack.frob.com>
15217 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15218 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15220 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15223 * nscd/connections.c (nscd_init): Call do_exit.
15224 (start_threads): Call do_exit and notify_parent.
15225 (begin_drop_privileges): Call do_exit.
15226 (finish_drop_privileges): Likewise.
15227 * nscd/selinux.c (preserve_capabilities): Likewise.
15228 (install_real_capabilities): Likewise.
15229 (nscd_selinux_enabled): Likewise.
15230 (avc_create_thread): Likewise.
15231 (avc_alloc_lock): Likewise.
15232 (nscd_avc_init): Likewise.
15233 * nscd/nscd.c (parent_fd): New static variable.
15234 (main): Create a pipe between parent and child processes.
15235 Skip closing parent_fd.
15236 (monitor_child): New function.
15237 (do_exit): Likewise.
15238 (notify_parent): Likewise.
15239 * nscd/nscd.h (notify_parent): Likewise.
15240 (do_exit): Likewise.
15242 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15244 * malloc/malloc.c (__libc_calloc): Revert last change.
15246 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15250 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15252 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15256 (__libc_ifunc_impl_list): Likewise.
15257 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15259 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15260 * string/strrchr.c: Define STRRCHR.
15262 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15264 * benchtest/bench-strtok.c (simple_strtok): Delete.
15265 (strtok_string): Use as benchmark.
15266 * string/strtok (STRTOK): New macro.
15268 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15270 * manual/threads.texi: Add header and standard comments to all
15273 * elf/dl-lookup.c (check_match): New function.
15274 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15275 (do_lookup_x): Remove nested function check_match. Use non-nested
15276 function check_match.
15278 2014-02-28 Roland McGrath <roland@hack.frob.com>
15280 * csu/Makefile (generated, before-compile): Use += rather than =.
15281 * catgets/Makefile (generated, generated-dirs): Likewise.
15282 * debug/Makefile (generated): Likewise.
15283 * dlfcn/Makefile (generated): Likewise.
15284 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15285 * iconvdata/Makefile (before-compile, generated): Likewise.
15286 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15287 * libio/Makefile (generated): Likewise.
15288 * malloc/Makefile (generated): Likewise.
15289 * manual/Makefile (generated, generated-dirs): Likewise.
15290 * misc/Makefile (generated): Likewise.
15291 * posix/Makefile (generated): Likewise.
15292 * resolv/Makefile (generated): Likewise.
15293 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15294 * timezone/Makefile (generated, generated-dirs): Likewise.
15296 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15298 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15301 power8 implementation.
15302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15303 file: POWER8 llround ifunc implementation.
15304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15305 (__lllround): Add POWER8 implementation.
15306 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15307 POWER8 llround implementation.
15309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15310 power8 implementation.
15311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15312 file: POWER8 llrint ifunc implementation.
15313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15314 Add POWER8 implementation.
15315 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15316 POWER8 llrint implementation.
15318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15319 power8 implementation.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15321 file: POWER8 finite ifunc implementation.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15323 Add POWER8 implementation.
15324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15326 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15327 POWER8 finite implementation.
15328 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15331 power8 implementation.
15332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15333 file: POWER8 isinf ifunc implementation.
15334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15335 POWER8 implementation.
15336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15339 isinf implementation.
15340 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15342 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15343 (INIT_ARCH): Add hwcap2 initialization.
15344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15345 power8 implementation.
15346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15347 file: POWER8 isnan ifunc implementation.
15348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15349 POWER8 implementation.
15350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15353 isnan implementation.
15354 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15356 2014-02-27 Joey Ye <joey.ye@arm.com>
15358 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15359 (_FP_NANFRAC_Q): Set to zero.
15361 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15364 * math/auto-libm-test-in: New test inputs.
15365 * math/auto-libm-test-out: Regenerate.
15366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15371 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15373 * scripts/evaluate-test.sh: Take new argument indicating whether
15374 failure is expected.
15375 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15376 indicating whether failure is expected.
15377 * conform/Makefile (test-xfail-run-conformtest): New variable.
15378 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15380 * posix/Makefile (test-xfail-annexc): New variable.
15381 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15383 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15385 * argp/Makefile: Include Makeconfig immediately after defining
15387 * assert/Makefile: Likewise.
15388 * benchtests/Makefile: Likewise.
15389 * catgets/Makefile: Likewise.
15390 * conform/Makefile: Likewise.
15391 * crypt/Makefile: Likewise.
15392 * csu/Makefile: Likewise.
15393 (all): Remove target.
15394 * ctype/Makefile: Include Makeconfig immediately after defining
15396 * debug/Makefile: Likewise.
15397 * dirent/Makefile: Likewise.
15398 * dlfcn/Makefile: Likewise.
15399 * gmon/Makefile: Likewise.
15400 * gnulib/Makefile: Likewise.
15401 * grp/Makefile: Likewise.
15402 * gshadow/Makefile: Likewise.
15403 * hesiod/Makefile: Likewise.
15404 * hurd/Makefile: Likewise.
15405 (all): Remove target.
15406 * iconvdata/Makefile: Include Makeconfig immediately after
15408 * inet/Makefile: Likewise.
15409 * intl/Makefile: Likewise.
15410 * io/Makefile: Likewise.
15411 * libio/Makefile: Likewise.
15412 (all): Remove target.
15413 * locale/Makefile: Include Makeconfig immediately after defining
15415 * login/Makefile: Likewise.
15416 * mach/Makefile: Likewise.
15417 (all): Remove target.
15418 * malloc/Makefile: Include Makeconfig immediately after defining
15420 (all): Remove target.
15421 * manual/Makefile: Include Makeconfig immediately after defining
15423 * math/Makefile: Likewise.
15424 * misc/Makefile: Likewise.
15425 * nis/Makefile: Likewise.
15426 * nss/Makefile: Likewise.
15427 * po/Makefile: Likewise.
15428 (all): Remove target.
15429 * posix/Makefile: Include Makeconfig immediately after defining
15431 * pwd/Makefile: Likewise.
15432 * resolv/Makefile: Likewise.
15433 * resource/Makefile: Likewise.
15434 * rt/Makefile: Likewise.
15435 * setjmp/Makefile: Likewise.
15436 * shadow/Makefile: Likewise.
15437 * signal/Makefile: Likewise.
15438 * socket/Makefile: Likewise.
15439 * soft-fp/Makefile: Likewise.
15440 * stdio-common/Makefile: Likewise.
15441 * stdlib/Makefile: Likewise.
15442 * streams/Makefile: Likewise.
15443 * string/Makefile: Likewise.
15444 * sunrpc/Makefile: Likewise.
15445 (all): Remove target.
15446 * sysvipc/Makefile: Include Makeconfig immediately after defining
15448 * termios/Makefile: Likewise.
15449 * time/Makefile: Likewise.
15450 * timezone/Makefile: Likewise.
15451 (all): Remove target.
15452 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15454 * wctype/Makefile: Likewise.
15456 2014-02-26 Steve Ellcey <sellcey@mips.com>
15458 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15459 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15460 (libc_feholdexcept_setround_mips): Ditto.
15461 (libc_feholdsetround): New.
15462 (libc_feholdsetroundf): New.
15463 (libc_feholdsetroundl): New.
15464 (libc_feupdateenv_test_mips): New.
15465 (libc_feupdateenv_test): New.
15466 (libc_feupdateenv_testf): New.
15467 (libc_feupdateenv_testl): New.
15468 (libc_feresetround): New.
15469 (libc_feresetroundf): New.
15470 (libc_feresetroundl): New.
15471 (libc_fetestexcept_mips): New.
15472 (libc_fetestexcept): New.
15473 (libc_fetestexceptf): New.
15474 (libc_fetestexceptl): New.
15475 (HAVE_RM_CTX): New.
15476 (libc_feholdexcept_setround_mips_ctx): New.
15477 (libc_feholdexcept_setround_ctx): New.
15478 (libc_feholdexcept_setroundf_ctx): New.
15479 (libc_feholdexcept_setroundl_ctx): New.
15480 (libc_fesetenv_mips_ctx): New.
15481 (libc_fesetenv_ctx): New.
15482 (libc_fesetenv_ctxf): New.
15483 (libc_fesetenv_ctxl): New.
15484 (libc_feupdateenv_mips_ctx): New.
15485 (libc_feupdateenv_ctx): New.
15486 (libc_feupdateenvf_ctx): New.
15487 (libc_feupdateenvl_ctx): New.
15488 (libc_feholdsetround_mips_ctx): New.
15489 (libc_feholdsetround_ctx): New.
15490 (libc_feholdsetroundf_ctx): New.
15491 (libc_feholdsetroundl_ctx): New.
15492 (libc_feresetround_mips_ctx): New.
15493 (libc_feresetround_ctx): New.
15494 (libc_feresetroundf_ctx): New.
15495 (libc_feresetroundl_ctx): New.
15497 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15499 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15501 * manual/ipc.texi: New file.
15502 * manual/Makefile (chapters): Add ipc.
15503 * manual/job.texi: Add "Inter-Process Communication" to next.
15504 * manual/process.texi: Add "Inter-Process Communication" to prev.
15506 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15510 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15512 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15514 * manual/arith.texi: Fix spaces after sentences.
15515 * manual/charset.texi: Likewise.
15516 * manual/errno.texi: Likewise.
15517 * manual/install.texi: Likewise.
15518 * manual/llio.texi: Likewise.
15519 * manual/locale.texi: Likewise.
15520 * manual/maint.texi: Likewise.
15521 * manual/math.texi: Likewise.
15522 * manual/memory.texi: Likewise.
15523 * manual/message.texi: Likewise.
15524 * manual/probes.texi: Likewise.
15525 * manual/resource.texi: Likewise.
15526 * manual/signal.texi: Likewise.
15527 * manual/socket.texi: Likewise.
15528 * manual/stdio.texi: Likewise.
15529 * manual/string.texi: Likewise.
15530 * manual/time.texi: Likewise.
15531 * manual/users.texi: Likewise.
15533 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15536 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15537 _DEFAULT_SOURCE is defined.
15539 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15540 Carlos O'Donell <carlos@redhat.com>
15543 * elf/dl-tls.c (_dl_count_modids): New function.
15544 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15545 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15546 audit library and increment generation counter.
15547 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15548 * elf/tst-audit9.c: New file.
15549 * elf/tst-auditmod9a.c: New file.
15550 * elf/tst-auditmod9b.c: New file.
15551 * elf/Makefile: Add rules to build and run tst-audit9.
15553 2014-02-25 Florian Weimer <fweimer@redhat.com>
15556 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15558 2014-02-25 Will Newton <will.newton@linaro.org>
15560 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15561 (__longjmp): Restore sp and lr before restoring callee
15562 saved registers. Add longjmp and longjmp_target
15563 SystemTap probe point.
15564 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15565 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15566 Define to zero to match jmpbuf layout.
15567 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15568 (__sigsetjmp): Save sp and lr before saving callee
15569 saved registers. Add setjmp SystemTap probe point.
15571 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15573 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15575 2014-02-24 Andreas Schwab <schwab@suse.de>
15578 * elf/pldd.c (wait_for_ptrace_stop): New function.
15579 (main): Call it after attaching.
15581 2014-02-22 Roland McGrath <roland@hack.frob.com>
15583 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15584 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15585 Versions files is now verboten.
15586 * hurd/Versions (libc: GLIBC_2.0):
15587 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15588 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15589 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15590 * mach/Versions: Likewise.
15592 * csu/Versions: Remove unused %include.
15593 * resolv/Versions: Likewise.
15595 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15597 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15598 ($(objpfx)check-local-headers.out): Likewise.
15599 ($(objpfx)begin-end-check.out): Likewise.
15600 * Makerules (check-abi-%.out): Likewise.
15601 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15602 ($(objpfx)test2.cat): Likewise.
15603 ($(objpfx)de/libc.cat): Likewise.
15604 ($(objpfx)test-gencat.out): Likewise.
15605 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15606 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15607 ($(objpfx)noload-mem): Likewise.
15608 ($(objpfx)tst-pathopt.out): Likewise.
15609 ($(objpfx)tst-rtld-load-self.out): Likewise.
15610 ($(objpfx)tst-array1-cmp.out): Likewise.
15611 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15612 ($(objpfx)tst-array2-cmp.out): Likewise.
15613 ($(objpfx)tst-array3-cmp.out): Likewise.
15614 ($(objpfx)tst-array4-cmp.out): Likewise.
15615 ($(objpfx)tst-array5-cmp.out): Likewise.
15616 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15617 ($(objpfx)check-textrel.out): Likewise.
15618 ($(objpfx)check-execstack.out): Likewise.
15619 ($(objpfx)check-localplt.out): Likewise.
15620 ($(objpfx)order2-cmp.out): Likewise.
15621 ($(objpfx)tst-leaks1-mem): Likewise.
15622 ($(objpfx)tst-leaks1-static-mem): Likewise.
15623 ($(objpfx)tst-initorder-cmp.out): Likewise.
15624 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15625 ($(objpfx)tst-unused-dep.out): Likewise.
15626 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15627 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15628 * iconv/Makefile (test-iconvconfig): Likewise.
15629 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15630 ($(objpfx)iconv-test.out): Likewise.
15631 ($(objpfx)tst-tables.out): Likewise.
15632 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15633 ($(objpfx)tst-gettext.out): Likewise.
15634 ($(objpfx)tst-translit.out): Likewise.
15635 ($(objpfx)tst-gettext2.out): Likewise.
15636 ($(objpfx)tst-gettext4.out): Likewise.
15637 ($(objpfx)tst-gettext6.out): Likewise.
15638 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15639 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15640 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15641 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15643 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15644 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15645 ($(objpfx)wordexp-tst.out): Likewise.
15646 ($(objpfx)annexc.out): Likewise.
15647 ($(objpfx)tst-fnmatch-mem): Likewise.
15648 ($(objpfx)bug-regex2-mem): Likewise.
15649 ($(objpfx)bug-regex14-mem): Likewise.
15650 ($(objpfx)bug-regex21-mem): Likewise.
15651 ($(objpfx)bug-regex31-mem): Likewise.
15652 ($(objpfx)tst-vfork3-mem): Likewise.
15653 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15654 ($(objpfx)tst-pcre-mem): Likewise.
15655 ($(objpfx)tst-boost-mem): Likewise.
15656 ($(objpfx)tst-getconf.out): Likewise.
15657 ($(objpfx)bug-ga2-mem): Likewise.
15658 ($(objpfx)bug-glob2-mem): Likewise.
15659 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15660 ($(objpfx)mtrace-tst-leaks2): Likewise.
15661 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15662 ($(objpfx)tst-printf.out): Likewise.
15663 ($(objpfx)tst-setvbuf1.out): Likewise.
15664 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15665 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15666 ($(objpfx)tst-fmtmsg.out): Likewise.
15667 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15668 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15670 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15671 * bits/sigaction.h [__USE_MISC]: Likewise.
15672 * bits/waitstatus.h: Update #endif comments.
15673 * ctype/ctype.h: Likewise.
15674 * dirent/dirent.h: Likewise.
15675 [__USE_MISC]: Remove redundant conditionals.
15676 * grp/grp.h: Update #endif comments.
15677 [__USE_GNU]: Remove redundant conditionals.
15678 [__USE_MISC]: Likewise.
15679 * inet/netinet/in.h [__USE_GNU]: Likewise.
15680 * io/sys/stat.h [__USE_MISC]: Likewise.
15681 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15682 * libio/bits/stdio.h: Update #endif comments.
15683 [__USE_MISC]: Remove redundant conditionals.
15684 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15685 * libio/stdio.h: Update #endif comments.
15686 [__USE_MISC]: Remove redundant conditionals.
15687 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15688 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15689 * math/math.h: Update #else and #endif comments.
15690 [__USE_MISC]: Remove redundant conditionals.
15691 * misc/sys/uio.h: Update #endif comments.
15692 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15693 * posix/glob.h [__USE_MISC]: Likewise.
15694 * posix/sys/types.h: Update #endif comments.
15695 [__USE_MISC]: Remove redundant conditionals.
15696 * posix/sys/wait.h: Update #endif comments.
15697 [__USE_MISC]: Remove redundant conditionals.
15698 * posix/unistd.h: Update #endif comments.
15699 [__USE_MISC]: Remove redundant conditionals.
15700 * pwd/pwd.h [__USE_GNU]: Likewise.
15701 [__USE_MISC]: Likewise.
15702 * resolv/netdb.h [__USE_GNU]: Likewise.
15703 * signal/signal.h: Update #endif comments.
15704 [__USE_MISC]: Remove redundant conditionals.
15705 * stdlib/stdlib.h: Update #else and #endif comments.
15706 [__USE_MISC]: Remove redundant conditionals.
15707 [__USE_GNU]: Likewise.
15708 * string/bits/string2.h [__USE_MISC]: Likewise.
15709 * string/string.h: Update #endif comments.
15710 [__USE_MISC]: Remove redundant conditionals.
15711 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15713 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15714 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15715 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15717 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15721 [__USE_MISC]: Remove redundant conditionals.
15722 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15723 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15724 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15725 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15726 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15728 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15729 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15731 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15732 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15734 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15736 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15737 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15739 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15741 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15742 * sysdeps/x86/bits/string.h: Update #endif comments.
15743 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15745 * time/sys/time.h: Update #endif comments.
15746 * time/time.h: Likewise.
15747 [__USE_MISC]: Remove redundant conditionals.
15749 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15752 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15754 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15756 * Versions.def (librt): Add GLIBC_2.17.
15758 2014-02-21 Adam Conrad <adconrad@0c3.net>
15760 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15761 synonym for _SYS_AUXV_H to allow direct inclusion.
15762 * sysdeps/sparc/bits/hwcap.h: Likewise.
15763 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15764 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15765 * sysdeps/sparc/sysdep.h: Likewise.
15767 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15769 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15771 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15773 * benchtests/bench-strrchr.c: Print length instead of position.
15775 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15778 * sysdeps/unix/sysv/linux/kernel-features.h
15779 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15780 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15781 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15782 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15784 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15785 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15786 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15787 (__ASSUME_SENDMMSG): Define instead of using previous
15788 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15790 (__ASSUME_SENDMMSG_SYSCALL): Define.
15791 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15792 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15795 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15798 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15800 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15801 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15802 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15803 [__ASSUME_SENDMMSG]: Change conditionals to
15804 [__ASSUME_SENDMMSG_SOCKETCALL].
15805 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15806 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15808 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15809 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15811 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15812 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15813 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15814 [!__ASSUME_SENDMMSG]: Change conditional to
15815 [!__ASSUME_SENDMMSG_SOCKETCALL].
15816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15817 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15821 * sysdeps/unix/sysv/linux/kernel-features.h
15822 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15823 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15824 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15825 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15826 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15827 [__i386__ || __sparc__]
15828 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15829 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15830 (__ASSUME_RECVMMSG): Define instead of using previous
15831 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15833 (__ASSUME_RECVMMSG_SYSCALL): Define.
15834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15835 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15838 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15840 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15843 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15844 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15845 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15846 [__ASSUME_RECVMMSG]: Change condition to
15847 [__ASSUME_RECVMMSG_SOCKETCALL].
15848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15849 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15851 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15852 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15855 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15856 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15857 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15858 [!__ASSUME_RECVMMSG]: Change condition to
15859 [!__ASSUME_RECVMMSG_SOCKETCALL].
15860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15861 (__ASSUME_RECVMMSG_SYSCALL): Define.
15864 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15865 __powerpc__ || __s390__ || __sh__ || __sparc__]
15866 (__ASSUME_SOCKETCALL): Define.
15867 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15868 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15869 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15870 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15871 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15872 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15873 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15874 (__ASSUME_ACCEPT4): Define instead of using previous
15875 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15876 __powerpc__ || __sparc__ || __s390__)] condition.
15877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15878 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15879 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15880 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15881 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15882 [!__ASSUME_ACCEPT4]: Change condition to
15883 [!__ASSUME_ACCEPT4_SOCKETCALL].
15884 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15885 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15886 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15887 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15888 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15889 __ASSUME_ACCEPT4_SYSCALL.
15890 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15891 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15892 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15893 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15894 __ASSUME_ACCEPT4_SYSCALL.
15895 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15896 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15897 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15898 [__ASSUME_ACCEPT4]: Change condition to
15899 [__ASSUME_ACCEPT4_SOCKETCALL].
15900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15901 (__ASSUME_SOCKETCALL): Define.
15902 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15904 (__ASSUME_SOCKETCALL): Define.
15905 (__ASSUME_ACCEPT4): Remove.
15906 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15909 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15911 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15912 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15914 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15916 (HWCAP_ARM_LPAE): Likewise.
15917 (HWCAP_ARM_EVTSTRM): Likewise.
15918 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15919 Add vpfd32, lpae and evtstrm.
15920 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15923 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15925 * math/auto-libm-test-in: Add tests of clog10.
15926 * math/auto-libm-test-out: Regenerated.
15927 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15928 * sysdeps/i386/fpu/libm-test-ulps: Update.
15929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15931 2014-02-18 Andreas Schwab <schwab@suse.de>
15934 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15935 Store non-zero if the second buffer was newly allocated.
15936 (send_dg): Likewise.
15937 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15938 to send_vc and send_dg.
15939 (res_nsend): Pass NULL for ansp2_malloced.
15940 * resolv/res_query.c (__libc_res_nquery): Add parameter
15941 answerp2_malloced and pass it down to __libc_res_nsend.
15942 (res_nquery): Pass additional NULL to __libc_res_nquery.
15943 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15944 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15945 second answer buffer if answerp2_malloced was set.
15946 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15947 (__libc_res_nquerydomain): Add parameter
15948 answerp2_malloced and pass it down to __libc_res_nquery.
15949 (res_nquerydomain): Pass additional NULL to
15950 __libc_res_nquerydomain.
15951 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15952 additional NULL to __libc_res_nsend and __libc_res_nquery.
15953 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15954 additional NULL to __libc_res_nsearch.
15955 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15956 parameter of __libc_res_nsearch to check for separately allocated
15958 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15960 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15961 additional NULL to __libc_res_nquery.
15962 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15963 __libc_res_nsearch.
15964 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15965 * include/resolv.h: Update prototypes of __libc_res_nquery,
15966 __libc_res_nsearch, __libc_res_nsend.
15968 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15970 * math/auto-libm-test-in: Add tests of fma.
15971 * math/auto-libm-test-out: Regenerated.
15972 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15973 (fma_towardzero_test_data): Likewise.
15974 (fma_downward_test_data): Likewise.
15975 (fma_upward_test_data): Likewise.
15976 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15978 (rounding_modes): Add values for new field.
15979 (func_calc_method): Add value mpfr_fff_f.
15980 (func_calc_desc): Add mpfr_fff_f union field.
15981 (test_function): Add field exact_args.
15982 (FUNC): Add macro argument EXACT_ARGS.
15983 (FUNC_mpfr_f_f): Update call to FUNC.
15984 (FUNC_mpfr_f_f): Likewise.
15985 (FUNC_mpfr_ff_f): Likewise.
15986 (FUNC_mpfr_if_f): Likewise.
15987 (FUNC_mpc_c_f): Likewise.
15988 (FUNC_mpc_c_c): Likewise.
15989 (test_functions): Add fma. Update calls to FUNC.
15990 (handle_input_arg): Add argument exact_args.
15991 (add_test): Update call to handle_input_arg.
15992 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15993 (output_for_one_input_case): Update call to calc_generic_results.
15994 Recalculate exact zero results in each rounding mode.
15996 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15997 non-negative before setting low bit.
15998 * math/auto-libm-test-in: Mark one asin test possibly having
15999 spurious underflow.
16000 * math/auto-libm-test-out: Regenerated.
16001 * sysdeps/i386/fpu/libm-test-ulps: Update.
16002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16004 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16006 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16007 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16008 ports/sysdeps/unix/sysv/linux/microblaze.
16009 * README: Add missing listing for microblaze*-*-linux-gnu.
16011 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16013 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16016 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16018 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16019 * sysdeps/unix/sysv/linux/ia64: Move directory from
16020 ports/sysdeps/unix/sysv/linux/ia64.
16021 * README: Update listing for ia64-*-linux-gnu.
16023 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16024 Joseph Myers <joseph@codesourcery.com>
16026 * Makeconfig (test-name): New variable.
16027 (evaluate-test): Likewise.
16028 * Makerules (do-test-clean): Remove .test-result files.
16029 (common-mostlyclean): Likewise.
16030 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16031 * scripts/evaluate-test.sh: New file.
16033 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16035 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16036 separate $(objpfx)tst-fopenloc-cmp.out and
16037 $(objpfx)tst-fopenloc-mem.out targets.
16038 (tests): Update dependencies.
16039 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16040 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16041 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16042 (tst-rxspencer-no-utf8-ARGS): New variable.
16043 (tst-rxspencer-no-utf8-ENV): Likewise.
16044 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16045 instead of $(objpfx)tst-rxspencer-mem.
16046 ($(objpfx)tst-rxspencer-mem): Change target to
16047 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16048 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16049 * posix/tst-rxspencer-no-utf8.c: New file.
16051 * elf/Makefile ($(objpfx)order.out): Remove rule.
16052 [$(run-built-tests) = yes] (tests): Depend on
16053 $(objpfx)order-cmp.out.
16054 ($(objpfx)order-cmp.out): New rule.
16055 [$(run-built-tests) = yes] (tests): Depend on
16056 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16057 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16058 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16059 $(objpfx)tst-array5-static-cmp.out.
16060 ($(objpfx)tst-array1.out): Remove rule.
16061 ($(objpfx)tst-array1-cmp.out): New rule.
16062 ($(objpfx)tst-array1-static.out): Remove rule.
16063 ($(objpfx)tst-array1-static-cmp.out): New rule.
16064 ($(objpfx)tst-array2.out): Remove rule.
16065 ($(objpfx)tst-array2-cmp.out): New rule.
16066 ($(objpfx)tst-array3.out): Remove rule.
16067 ($(objpfx)tst-array3-cmp.out): New rule.
16068 ($(objpfx)tst-array4.out): Remove rule.
16069 ($(objpfx)tst-array4-cmp.out): New rule.
16070 ($(objpfx)tst-array5.out): Remove rule.
16071 ($(objpfx)tst-array5-cmp.out): New rule.
16072 ($(objpfx)tst-array5-static.out): Remove rule.
16073 ($(objpfx)tst-array5-static-cmp.out): New rule.
16074 [$(run-built-tests) = yes] (tests): Depend on
16075 $(objpfx)order2-cmp.out.
16076 ($(objpfx)order2.out): Remove rule.
16077 ($(objpfx)order2-cmp.out): New rule.
16078 ($(objpfx)tst-initorder.out): Remove rule.
16079 [$(run-built-tests) = yes] (tests): Depend on
16080 $(objpfx)tst-initorder-cmp.out.
16081 ($(objpfx)tst-initorder-cmp.out): New rule.
16082 ($(objpfx)tst-initorder2.out): Remove rule.
16083 [$(run-built-tests) = yes] (tests): Depend on
16084 $(objpfx)tst-initorder2-cmp.out.
16085 ($(objpfx)tst-initorder2-cmp.out): New rule.
16086 [$(run-built-tests) = yes] (tests): Depend on
16087 $(objpfx)tst-unused-dep-cmp.out.
16088 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16089 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16090 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16091 on $(objpfx)tst-setvbuf1-cmp.out.
16092 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16093 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16094 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16095 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16096 ($(objpfx)tst-svc.out): Remove rule.
16097 ($(objpfx)tst-svc-cmp.out): New rule.
16099 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16101 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16102 * ctype/ctype.h [__USE_MISC]: Likewise.
16103 * dirent/dirent.h [__USE_MISC]: Likewise.
16104 * grp/grp.h [__USE_MISC]: Likewise.
16105 * io/fcntl.h [__USE_MISC]: Likewise.
16106 * io/sys/stat.h [__USE_MISC]: Likewise.
16107 * libio/stdio.h [__USE_MISC]: Likewise.
16108 * posix/unistd.h [__USE_MISC]: Likewise.
16109 * pwd/pwd.h [__USE_MISC]: Likewise.
16110 * stdlib.h [__USE_MISC]: Likewise.
16111 * string/bits/string2.h [__USE_MISC]: Likewise.
16112 * string/string.h [__USE_MISC]: Likewise.
16113 * time/time.h [__USE_MISC]: Likewise.
16115 2014-02-13 Andreas Schwab <schwab@suse.de>
16118 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16119 second answer buffer if it was separately allocated.
16121 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16123 * sysdeps/mips/math-tests.h: Include <features.h>.
16124 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16125 (ROUNDING_TESTS_long_double): Do not define.
16126 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16127 (EXCEPTION_TESTS_long_double): Likewise.
16128 * sysdeps/mips/mips64/libm-test-ulps: Update.
16130 * include/features.h (__USE_BSD): Remove macro definitions.
16131 (__USE_SVID): Likewise.
16132 (_BSD_SOURCE): Likewise.
16133 (_SVID_SOURCE): Likewise.
16134 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16135 from definition of _DEFAULT_SOURCE.
16136 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16138 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16139 * bits/mman.h [__USE_BSD]: Likewise.
16140 * bits/termios.h [__USE_BSD]: Likewise.
16141 * bits/waitstatus.h [__USE_BSD]: Likewise.
16142 * ctype/ctype.h [__USE_SVID]: Likewise.
16143 * dirent/dirent.h [__USE_BSD]: Likewise.
16144 * grp/grp.h [__USE_SVID]: Likewise.
16145 [__USE_BSD]: Likewise.
16146 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16147 * io/fcntl.h [__USE_BSD]: Likewise.
16148 * io/ftw.h [__USE_BSD]: Likewise.
16149 * io/sys/stat.h [__USE_BSD]: Likewise.
16150 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16151 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16152 * libio/stdio.h [__USE_SVID]: Likewise.
16153 [__USE_BSD]: Likewise.
16154 * math/math.h [__USE_SVID]: Likewise.
16155 [__USE_BSD]: Likewise.
16156 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16157 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16158 * misc/search.h [__USE_SVID]: Likewise.
16159 * misc/sys/mman.h [__USE_BSD]: Likewise.
16160 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16161 * misc/sys/uio.h [__USE_BSD]: Likewise.
16162 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16163 * posix/glob.h [__USE_BSD]: Likewise.
16164 * posix/regex.h [__USE_BSD]: Likewise.
16165 * posix/sys/types.h [__USE_BSD]: Likewise.
16166 [__USE_SVID]: Likewise.
16167 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16168 * posix/sys/wait.h [__USE_BSD]: Likewise.
16169 [__USE_SVID]: Likewise.
16170 * posix/unistd.h [__USE_BSD]: Likewise.
16171 [__USE_SVID]: Likewise.
16172 * pwd/pwd.h [__USE_SVID]: Likewise.
16173 * resolv/netdb.h [__USE_BSD]: Likewise.
16174 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16175 * signal/signal.h [__USE_BSD]: Likewise.
16176 [__USE_SVID]: Likewise.
16177 * socket/sys/socket.h [__USE_BSD]: Likewise.
16178 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16179 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16180 [__USE_SVID]: Likewise.
16181 * string/bits/string2.h [__USE_BSD]: Likewise.
16182 [__USE_SVID]: Likewise.
16183 * string/bits/string3.h [__USE_BSD]: Likewise.
16184 * string/endian.h [__USE_BSD]: Likewise.
16185 * string/string.h [__USE_SVID]: Likewise.
16186 [__USE_BSD]: Likewise.
16187 * string/strings.h [__USE_BSD]: Likewise.
16188 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16189 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16191 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16192 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16193 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16197 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16200 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16201 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16203 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16205 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16206 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16211 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16212 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16213 * termios/termios.h [__USE_BSD]: Likewise.
16214 * time/sys/time.h [__USE_BSD]: Likewise.
16215 * time/time.h [__USE_BSD]: Likewise.
16216 [__USE_SVID]: Likewise.
16218 * Makefile (subdir_targets): Remove subdir_lint.out.
16220 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16221 (do-tst-printf): Likewise.
16222 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16223 $(objpfx)tst-printf.out.
16225 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16227 * Makerules (check-abi-%): Change target to
16228 $(objpfx)check-abi-%.out.
16229 (check-abi target): Update dependencies.
16230 (check-abi-pattern variable): Redirect output of diff to $@.
16231 (check-abi variable): Likewise.
16232 * elf/Makefile (check-abi): Update dependencies.
16234 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16236 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16237 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16239 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16240 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16241 value has largest subnormal exponent.
16242 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16243 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16244 * sysdeps/aarch64/soft-fp/sfp-machine.h
16245 (_FP_TININESS_AFTER_ROUNDING): New macro.
16246 * sysdeps/alpha/soft-fp/sfp-machine.h
16247 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16248 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16250 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16252 * sysdeps/mips/soft-fp/sfp-machine.h
16253 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16254 * sysdeps/powerpc/soft-fp/sfp-machine.h
16255 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16256 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16259 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16261 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16262 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16265 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16268 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16271 2014-02-12 Richard Henderson <rth@redhat.com>
16273 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16274 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16275 * sysdeps/unix/sysv/linux/alpha: Move directory from
16276 ports/sysdeps/unix/sysv/linux/alpha.
16277 * README: Update listing for alpha-*-linux-gnu.
16279 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16281 * include/features.h: Update comment documenting feature test
16283 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16285 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16286 (_SVID_SOURCE): Likewise.
16287 (_DEFAULT_SOURCE): Update description of default features.
16288 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16290 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16291 (S_ISVTX): Likewise.
16292 * manual/math.texi (Mathematical Constants): Likewise.
16293 * manual/signal.texi (Interrupted Primitives): Likewise.
16294 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16295 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16296 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16297 Don't refer to _SVID_SOURCE in warning text.
16299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16301 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16303 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16304 * sysdeps/mips/dl-lookup.c: Remove.
16305 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16307 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16310 * math/auto-libm-test-in: Add testcase for expl.
16311 * math/auto-libm-test-out: Regenerate.
16312 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16313 calculation of unsafe.
16314 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16316 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16318 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16319 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16320 ports/sysdeps/unix/sysv/linux/aarch64.
16321 * README: Update listing for aarch64*-*-linux-gnu.
16323 2014-02-11 Will Newton <will.newton@linaro.org>
16325 * manual/probes.texi (Mathematical Function Probes): Use
16326 "triggered" instead of "hit".
16328 * manual/probes.texi (Internal Probes): Add documentation
16329 of setjmp, longjmp and longjmp_target probes.
16331 * include/stap-probe.h: Add comment about probe argument
16334 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16335 definition. (tr_where, tr_freehook, tr_mallochook,
16336 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16338 2014-02-11 David S. Miller <davem@davemloft.net>
16340 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16341 processing int_tests.
16343 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16345 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16346 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16347 * sysdeps/unix/sysv/linux/mips: Move directory from
16348 ports/sysdeps/unix/sysv/linux/mips.
16349 * README: Update listing for mips-*-linux-gnu and
16350 mips64-*-linux-gnu.
16352 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16354 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16355 * sysdeps/unix/sysv/linux/m68k: Move directory from
16356 ports/sysdeps/unix/sysv/linux/m68k.
16357 * README: Update listing for m68k-*-linux-gnu.
16359 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16361 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16362 * sysdeps/unix/sysv/linux/generic: Move directory from
16363 ports/sysdeps/unix/sysv/linux/generic.
16364 * sysdeps/unix/sysv/linux/tile: Move directory from
16365 ports/sysdeps/unix/sysv/linux/tile.
16366 * README: Update listing for tile*-*-linux-gnu.
16368 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16370 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16372 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16373 * catgets/open_catalog.c (__open_catalog): Likewise.
16374 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16375 * debug/confstr_chk.c: Likewise.
16376 * debug/fread_chk.c (__fread_chk): Likewise.
16377 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16378 * debug/getgroups_chk.c: Likewise.
16379 * debug/mbsnrtowcs_chk.c: Likewise.
16380 * debug/mbsrtowcs_chk.c: Likewise.
16381 * debug/mbstowcs_chk.c: Likewise.
16382 * debug/memcpy_chk.c: Likewise.
16383 * debug/memmove_chk.c: Likewise.
16384 * debug/mempcpy_chk.c: Likewise.
16385 * debug/memset_chk.c: Likewise.
16386 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16387 * debug/strcat_chk.c (__strcat_chk): Likewise.
16388 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16389 * debug/strncat_chk.c (__strncat_chk): Likewise.
16390 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16391 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16392 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16393 * debug/wcpncpy_chk.c: Likewise.
16394 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16395 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16396 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16397 * debug/wcsncpy_chk.c: Likewise.
16398 * debug/wcsnrtombs_chk.c: Likewise.
16399 * debug/wcsrtombs_chk.c: Likewise.
16400 * debug/wcstombs_chk.c: Likewise.
16401 * debug/wmemcpy_chk.c: Likewise.
16402 * debug/wmemmove_chk.c: Likewise.
16403 * debug/wmempcpy_chk.c: Likewise.
16404 * debug/wmemset_chk.c: Likewise.
16405 * dirent/scandirat.c (SCANDIRAT): Likewise.
16406 * dlfcn/dladdr1.c (dladdr1): Likewise.
16407 * dlfcn/dladdr.c (dladdr): Likewise.
16408 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16409 * dlfcn/dlerror.c (__dlerror): Likewise.
16410 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16411 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16412 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16413 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16414 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16415 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16416 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16417 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16419 * elf/dl-conflict.c: Likewise.
16420 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16421 * elf/dl-dst.h: Likewise.
16422 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16423 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16424 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16425 * elf/dl-init.c (call_init, _dl_init): Likewise.
16426 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16427 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16428 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16430 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16432 * elf/dl-minimal.c (__libc_memalign): Likewise.
16433 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16434 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16435 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16436 * elf/dl-sym.c (do_sym): Likewise.
16437 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16438 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16439 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16440 * elf/dl-writev.h (_dl_writev): Likewise.
16441 * elf/ldconfig.c (search_dir): Likewise.
16442 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16443 (dl_main): Likewise.
16444 * elf/setup-vdso.h (setup_vdso): Likewise.
16445 * grp/compat-initgroups.c (compat_call): Likewise.
16446 * grp/fgetgrent.c (fgetgrent): Likewise.
16447 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16448 * grp/putgrent.c (putgrent): Likewise.
16449 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16451 * hurd/hurdinit.c: Likewise.
16452 * iconvdata/8bit-gap.c (struct): Likewise.
16453 * iconvdata/ansi_x3.110.c : Likewise.
16454 * iconvdata/big5.c : Likewise.
16455 * iconvdata/big5hkscs.c : Likewise.
16456 * iconvdata/cp1255.c: Likewise.
16457 * iconvdata/cp1258.c : Likewise.
16458 * iconvdata/cp932.c : Likewise.
16459 * iconvdata/euc-cn.c: Likewise.
16460 * iconvdata/euc-jisx0213.c : Likewise.
16461 * iconvdata/euc-jp.c: Likewise.
16462 * iconvdata/euc-jp-ms.c : Likewise.
16463 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16464 * iconvdata/gb18030.c : Likewise.
16465 * iconvdata/gbbig5.c (const): Likewise.
16466 * iconvdata/gbgbk.c: Likewise.
16467 * iconvdata/gbk.c : Likewise.
16468 * iconvdata/ibm1364.c : Likewise.
16469 * iconvdata/ibm930.c : Likewise.
16470 * iconvdata/ibm932.c: Likewise.
16471 * iconvdata/ibm933.c : Likewise.
16472 * iconvdata/ibm935.c : Likewise.
16473 * iconvdata/ibm937.c : Likewise.
16474 * iconvdata/ibm939.c : Likewise.
16475 * iconvdata/ibm943.c: Likewise.
16476 * iconvdata/iso_11548-1.c: Likewise.
16477 * iconvdata/iso-2022-cn.c : Likewise.
16478 * iconvdata/iso-2022-cn-ext.c : Likewise.
16479 * iconvdata/iso-2022-jp-3.c: Likewise.
16480 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16481 * iconvdata/iso-2022-kr.c : Likewise.
16482 * iconvdata/iso646.c (gconv_end): Likewise.
16483 * iconvdata/iso_6937-2.c : Likewise.
16484 * iconvdata/iso_6937.c : Likewise.
16485 * iconvdata/iso8859-1.c: Likewise.
16486 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16487 * iconvdata/shift_jisx0213.c : Likewise.
16488 * iconvdata/sjis.c : Likewise.
16489 * iconvdata/t.61.c : Likewise.
16490 * iconvdata/tcvn5712-1.c : Likewise.
16491 * iconvdata/tscii.c: Likewise.
16492 * iconvdata/uhc.c : Likewise.
16493 * iconvdata/unicode.c (gconv_end): Likewise.
16494 * iconvdata/utf-16.c (gconv_end): Likewise.
16495 * iconvdata/utf-32.c (gconv_end): Likewise.
16496 * iconvdata/utf-7.c (base64): Likewise.
16497 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16498 * iconv/gconv_close.c (__gconv_close): Likewise.
16499 * iconv/gconv_open.c (__gconv_open): Likewise.
16500 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16501 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16502 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16503 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16504 (ucs4le_internal_loop_single): Likewise.
16505 * iconv/iconv.c (iconv): Likewise.
16506 * iconv/iconv_close.c: Likewise.
16507 * iconv/loop.c (SINGLE): Likewise.
16508 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16509 * include/atomic.h: Likewise.
16510 * inet/inet6_option.c (option_alloc): Likewise.
16511 * intl/bindtextdom.c (set_binding_values): Likewise.
16512 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16513 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16514 * intl/localealias.c (read_alias_file): Likewise.
16515 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16516 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16517 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16518 * libio/fmemopen.c (fmemopen): Likewise.
16519 * libio/iofgets.c (_IO_fgets): Likewise.
16520 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16521 * libio/iofgetws.c (fgetws): Likewise.
16522 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16523 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16524 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16525 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16526 * locale/findlocale.c (_nl_find_locale): Likewise.
16527 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16528 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16530 * locale/setlocale.c (setlocale): Likewise.
16531 * login/programs/pt_chown.c (main): Likewise.
16532 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16533 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16534 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16535 (mmap, mmap64, mremap, munmap): Likewise.
16536 * math/e_exp2l.c: Likewise.
16537 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16538 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16539 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16540 * math/s_catan.c (__catan): Likewise.
16541 * math/s_catanf.c (__catanf): Likewise.
16542 * math/s_catanh.c (__catanh): Likewise.
16543 * math/s_catanhf.c (__catanhf): Likewise.
16544 * math/s_catanhl.c (__catanhl): Likewise.
16545 * math/s_catanl.c (__catanl): Likewise.
16546 * math/s_ccosh.c (__ccosh): Likewise.
16547 * math/s_ccoshf.c (__ccoshf): Likewise.
16548 * math/s_ccoshl.c (__ccoshl): Likewise.
16549 * math/s_cexp.c (__cexp): Likewise.
16550 * math/s_cexpf.c (__cexpf): Likewise.
16551 * math/s_cexpl.c (__cexpl): Likewise.
16552 * math/s_clog10.c (__clog10): Likewise.
16553 * math/s_clog10f.c (__clog10f): Likewise.
16554 * math/s_clog10l.c (__clog10l): Likewise.
16555 * math/s_clog.c (__clog): Likewise.
16556 * math/s_clogf.c (__clogf): Likewise.
16557 * math/s_clogl.c (__clogl): Likewise.
16558 * math/s_csin.c (__csin): Likewise.
16559 * math/s_csinf.c (__csinf): Likewise.
16560 * math/s_csinh.c (__csinh): Likewise.
16561 * math/s_csinhf.c (__csinhf): Likewise.
16562 * math/s_csinhl.c (__csinhl): Likewise.
16563 * math/s_csinl.c (__csinl): Likewise.
16564 * math/s_csqrt.c (__csqrt): Likewise.
16565 * math/s_csqrtf.c (__csqrtf): Likewise.
16566 * math/s_csqrtl.c (__csqrtl): Likewise.
16567 * math/s_ctan.c (__ctan): Likewise.
16568 * math/s_ctanf.c (__ctanf): Likewise.
16569 * math/s_ctanh.c (__ctanh): Likewise.
16570 * math/s_ctanhf.c (__ctanhf): Likewise.
16571 * math/s_ctanhl.c (__ctanhl): Likewise.
16572 * math/s_ctanl.c (__ctanl): Likewise.
16573 * math/w_pow.c: Likewise.
16574 * math/w_powf.c: Likewise.
16575 * math/w_powl.c: Likewise.
16576 * math/w_scalb.c (sysv_scalb): Likewise.
16577 * math/w_scalbf.c (sysv_scalbf): Likewise.
16578 * math/w_scalbl.c (sysv_scalbl): Likewise.
16579 * misc/error.c (error_tail): Likewise.
16580 * misc/pselect.c (__pselect): Likewise.
16581 * nis/nis_callback.c (__nis_create_callback): Likewise.
16582 * nis/nis_call.c (__nisfind_server): Likewise.
16583 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16584 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16586 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16587 * nis/nis_lookup.c (nis_lookup): Likewise.
16588 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16589 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16590 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16591 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16592 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16593 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16594 * nis/nss_compat/compat-initgroups.c (add_group)
16595 (internal_getgrent_r): Likewise.
16596 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16597 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16598 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16599 (internal_getspnam_r): Likewise.
16600 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16601 (_nss_nis_getaliasbyname_r): Likewise.
16602 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16603 (_nss_nis_getntohost_r): Likewise.
16604 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16605 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16606 (_nss_nis_getgrgid_r): Likewise.
16607 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16608 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16609 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16610 (_nss_nis_gethostbyname4_r): Likewise.
16611 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16612 (initgroups_netid): Likewise.
16613 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16614 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16615 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16616 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16617 (_nss_nis_getprotobynumber_r): Likewise.
16618 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16619 (_nss_nis_getsecretkey): Likewise.
16620 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16621 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16622 (_nss_nis_getpwuid_r): Likewise.
16623 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16624 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16625 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16626 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16627 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16628 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16629 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16631 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16632 (_nss_nisplus_getntohost_r): Likewise.
16633 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16634 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16635 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16636 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16638 * nis/nss_nisplus/nisplus-initgroups.c
16639 (_nss_nisplus_initgroups_dyn): Likewise.
16640 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16641 (_nss_nisplus_getnetbyaddr_r): Likewise.
16642 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16643 (_nss_nisplus_getprotobynumber_r): Likewise.
16644 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16645 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16646 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16648 * nis/nss_nisplus/nisplus-service.c
16649 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16650 (_nss_nisplus_getservbyport_r): Likewise.
16651 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16652 (_nss_nisplus_getspnam_r): Likewise.
16653 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16655 * nscd/aicache.c (addhstaiX): Likewise.
16656 * nscd/cache.c (cache_search, prune_cache): Likewise.
16657 * nscd/connections.c (register_traced_file, send_ro_fd)
16658 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16659 (main_loop_epoll): Likewise.
16660 * nscd/grpcache.c (addgrbyX): Likewise.
16661 * nscd/hstcache.c (addhstbyX): Likewise.
16662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16663 * nscd/mem.c (gc, mempool_alloc): Likewise.
16664 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16665 (addinnetgrX): Likewise.
16666 * nscd/nscd-client.h (__nscd_acquire_maplock)
16667 (__nscd_drop_map_ref): Likewise.
16668 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16669 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16670 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16672 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16674 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16675 (__nscd_get_map_ref): Likewise.
16676 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16677 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16679 * nscd/pwdcache.c (addpwbyX): Likewise.
16680 * nscd/selinux.c (preserve_capabilities): Likewise.
16681 * nscd/servicescache.c (addservbyX): Likewise.
16682 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16683 * posix/fnmatch.c (fnmatch): Likewise.
16684 * posix/getopt.c (_getopt_internal_r): Likewise.
16685 * posix/glob.c (glob, glob_in_dir): Likewise.
16686 * posix/wordexp.c (exec_comm_child): Likewise.
16687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16688 (getanswer_r, gaih_getanswer_slice): Likewise.
16689 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16690 * resolv/res_init.c: Likewise.
16691 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16692 * resolv/res_query.c (__libc_res_nquery): Likewise.
16693 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16695 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16696 * stdio-common/perror.c (perror): Likewise.
16697 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16698 * stdio-common/tmpnam.c (tmpnam): Likewise.
16699 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16700 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16701 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16703 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16704 * stdlib/putenv.c (putenv): Likewise.
16705 * stdlib/setenv.c (__add_to_environ): Likewise.
16706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16707 * stdlib/strtol_l.c (INTERNAL): Likewise.
16708 * string/memmem.c (memmem): Likewise.
16709 * string/strerror.c (strerror): Likewise.
16710 * string/strnlen.c (__strnlen): Likewise.
16711 * string/test-memmem.c (simple_memmem): Likewise.
16712 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16713 * sunrpc/pm_getport.c (__get_socket): Likewise.
16714 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16715 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16716 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16717 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16719 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16720 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16721 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16722 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16723 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16724 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16728 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16729 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16731 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16732 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16734 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16735 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16736 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16737 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16738 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16739 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16741 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16745 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16747 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16748 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16749 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16750 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16751 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16754 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16755 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16758 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16760 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16762 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16764 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16766 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16770 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16772 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16773 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16774 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16775 * sysdeps/posix/sleep.c: Likewise.
16776 * sysdeps/posix/tempname.c: Likewise.
16777 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16778 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16780 * sysdeps/powerpc/powerpc32/dl-machine.h
16781 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16784 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16785 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16787 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16788 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16789 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16790 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16791 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16792 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16793 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16794 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16795 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16798 (elf_machine_lazy_rel): Likewise.
16799 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16801 (elf_machine_lazy_rel): Likewise.
16802 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16803 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16804 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16805 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16806 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16807 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16808 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16811 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16812 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16813 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16814 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16815 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16816 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16817 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16818 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16819 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16820 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16821 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16823 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16824 (__posix_fallocate64_l64): Likewise.
16825 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16826 (posix_fallocate): Likewise.
16827 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16830 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16831 (getifaddrs_internal): Likewise.
16832 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16833 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16834 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16835 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16836 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16837 (__posix_fallocate64_l64): Likewise.
16838 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16840 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16841 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16842 (__get_clockfreq): Likewise.
16843 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16844 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16845 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16848 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16849 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16850 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16852 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16853 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16854 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16855 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16856 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16857 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16858 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16860 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16861 (posix_fallocate): Likewise.
16862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16863 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16864 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16865 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16866 (elf_machine_rela, elf_machine_rela_relative)
16867 (elf_machine_lazy_rel): Likewise.
16868 * time/asctime.c (asctime_internal): Likewise.
16869 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16870 * time/tzset.c (__tzset_parse_tz): Likewise.
16871 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16872 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16873 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16874 * wcsmbs/wcsmbsload.h: Likewise.
16877 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16879 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16880 (arena_get2): Remove THREAD_STATS conditionals.
16881 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16882 (__malloc_stats, int): Likewise.
16884 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16887 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16889 * manual/setjmp.texi: Fix typos/grammar errors.
16891 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16892 Only return early when n is <= 0. Delete unused return statement.
16894 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16895 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16896 * debug/tst-longjmp_chk3.c: New file.
16898 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16899 (test_main): Replace code with set_fortify_handler call.
16900 * debug/test-strcpy_chk.c: Likewise.
16901 * debug/tst-chk1.c: Likewise.
16902 * debug/tst-longjmp_chk.c: Likewise.
16903 * test-skeleton.c: Include fcntl.h & paths.h
16904 (set_fortify_handler): Define.
16906 * debug/tst-longjmp_chk.c: Add header comment and include
16907 ../test-skeleton.c.
16908 (do_test): Mark static.
16909 (TEST_FUNCTION): Define.
16911 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16912 (IP_PMTUDISC_INTERFACE): Likewise.
16913 (IP_MULTICAST_IF): Likewise.
16914 (IP_MULTICAST_TTL): Likewise.
16915 (IP_MULTICAST_LOOP): Likewise.
16916 (IP_ADD_MEMBERSHIP): Likewise.
16917 (IP_DROP_MEMBERSHIP): Likewise.
16918 (IP_UNBLOCK_SOURCE): Likewise.
16919 (IP_BLOCK_SOURCE): Likewise.
16920 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16921 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16922 (IP_MSFILTER): Likewise.
16923 (MCAST_JOIN_GROUP): Likewise.
16924 (MCAST_BLOCK_SOURCE): Likewise.
16925 (MCAST_UNBLOCK_SOURCE): Likewise.
16926 (MCAST_LEAVE_GROUP): Likewise.
16927 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16928 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16929 (MCAST_MSFILTER): Likewise.
16930 (IP_MULTICAST_ALL): Likewise.
16931 (IP_UNICAST_IF): Likewise.
16933 * timezone/Makefile: Delete $(have-ksh) check.
16934 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16935 * timezone/tzselect.ksh: Add +x mode bits.
16937 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16938 (ANON_INODE_FS_MAGIC): Likewise.
16939 (BDEVFS_MAGIC): Likewise.
16940 (BINFMTFS_MAGIC): Likewise.
16941 (BTRFS_TEST_MAGIC): Likewise.
16942 (CRAMFS_MAGIC_WEND): Likewise.
16943 (DEBUGFS_MAGIC): Likewise.
16944 (ECRYPTFS_SUPER_MAGIC): Likewise.
16945 (EXT3_SUPER_MAGIC): Likewise.
16946 (EXT4_SUPER_MAGIC): Likewise.
16947 (FUTEXFS_SUPER_MAGIC): Likewise.
16948 (HOSTFS_SUPER_MAGIC): Likewise.
16949 (HUGETLBFS_MAGIC): Likewise.
16950 (MINIX3_SUPER_MAGIC): Likewise.
16951 (MTD_INODE_FS_MAGIC): Likewise.
16952 (NILFS_SUPER_MAGIC): Likewise.
16953 (OPENPROM_SUPER_MAGIC): Likewise.
16954 (PIPEFS_MAGIC): Likewise.
16955 (PSTOREFS_MAGIC): Likewise.
16956 (QNX6_SUPER_MAGIC): Likewise.
16957 (RAMFS_MAGIC): Likewise.
16958 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16959 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16960 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16961 (SECURITYFS_MAGIC): Likewise.
16962 (SELINUX_MAGIC): Likewise.
16963 (SMACK_MAGIC): Likewise.
16964 (SOCKFS_MAGIC): Likewise.
16965 (SQUASHFS_MAGIC): Likewise.
16966 (STACK_END_MAGIC): Likewise.
16967 (TMPFS_MAGIC): Likewise.
16968 (USBDEVICE_SUPER_MAGIC): Likewise.
16969 (V9FS_MAGIC): Likewise.
16970 (XENFS_SUPER_MAGIC): Likewise.
16971 (CRAMFS_MAGIC): Fix typo in comment.
16972 (EXT2_SUPER_MAGIC): Update comment.
16973 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16975 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16977 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16978 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16979 * sysdeps/unix/sysv/linux/arm: Move directory from
16980 ports/sysdeps/unix/sysv/linux/arm.
16981 * README: Update listing for arm-*-linux-gnueabi.
16983 * README: Remove mention of am33.
16985 2014-02-07 Roland McGrath <roland@hack.frob.com>
16987 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16988 than the comma operator, to avoid "rhs of comma has no effect"
16990 (__sigfillset, __sigandset, __sigorset): Likewise.
16991 * include/signal.h (__sigemptyset): Likewise.
16992 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16994 2014-02-07 Allan McRae <allan@archlinux.org>
16996 * version.h (RELEASE): Set to "development".
16997 (VERSION): Set to "2.19.90"
16998 * NEWS: Add 2.20 section.
17000 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17003 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17005 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17007 * manual/contrib.texi: Update entry for Carlos O'Donell,
17008 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17010 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17012 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17014 * sysdeps/unix/sysv/linux/kernel-features.h
17015 [__LINUX_KERNEL_VERSION >= 0x020621]
17016 (__ASSUME_PROC_PID_TASK_COMM): Define.
17018 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17021 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17022 conversion when destination buffer does not have enough space.
17023 * libio/tst-ftell-partial-wide.c: New test case.
17024 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17026 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17027 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17028 Leonard and Allan McRae.
17030 2014-02-04 David S. Miller <davem@davemloft.net>
17032 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17035 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17064 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17067 * shlib-versions: Likewise.
17069 2014-02-04 Roland McGrath <roland@hack.frob.com>
17070 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17072 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17073 (abilist-pattern): New variable, set to %-le.abilist.
17075 * Makerules (abilist-pattern): New variable.
17076 (vpath): Use $(abilist-pattern) in place of %.abilist.
17077 (check-abi-% pattern rule): Likewise.
17078 (check-abi, update-abi): Likewise.
17080 2014-02-04 Eric Wong <normalperson@yhbt.net>
17082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17084 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17086 * manual/startup.texi: Add next, previous, and top entries for
17087 the `Program Arguments' and `Environment Variables' nodes.
17089 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17091 * manual/macros.texi: Add comments before MTASC-safety macros.
17093 * manual/users.texi: Document MTASC-safety properties.
17095 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17096 (pthread_getspecific, pthread_setspecific): Format with
17097 @deftypefun, and add @safety note.
17098 * manual/signal.texi: Move comments that analyze the above
17099 functions to their home place.
17101 2014-02-03 Allan McRae <allan@archlinux.org>
17103 * po/sl.po: Update Slovenian translation from translation project.
17105 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17107 * manual/time.texi (timegm): Add missing blank after @c.
17108 Reported by Joseph Myers <joseph@codesourcery.com>.
17110 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17112 * manual/check-safety.sh: New.
17113 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17115 * manual/terminal.texi: Document MTASC-safety properties.
17117 * manual/filesys.texi: Document MTASC-safety properties.
17119 * manual/errno.texi: Document MTASC-safety properties.
17121 * manual/intro.texi: Document safety identifiers and
17124 * manual/string.texi (wcstok): Fix prototype.
17125 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17127 * manual/time.texi: Document MTASC-safety properties.
17129 * manual/string.texi: Document MTASC-safety properties.
17131 * manual/threads.texi: Document MTASC-safety properties.
17133 * manual/stdio.texi: Document MTASC-safety properties.
17135 * manual/syslog.texi: Document MTASC-safety properties.
17137 * manual/sysinfo.texi: Document MTASC-safety properties.
17139 * manual/startup.texi: Document MTASC-safety properties.
17141 * manual/socket.texi: Document MTASC-safety properties.
17143 * manual/signal.texi: Document MTASC-safety properties.
17145 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17147 * manual/setjmp.texi: Document MTASC-safety properties.
17149 * manual/search.texi: Document MTASC-safety properties.
17151 * manual/resource.texi: Document MTASC-safety properties.
17153 * manual/process.texi: Document MTASC-safety properties.
17155 * manual/platform.texi: Document MTASC-safety properties.
17157 * manual/pipe.texi: Document MTASC-safety properties.
17159 * manual/pattern.texi: Document MTASC-safety properties.
17161 * manual/message.texi: Document MTASC-safety properties.
17164 * manual/memory.texi: Document MTASC-safety properties.
17166 * manual/math.texi: Document MTASC-safety properties.
17168 * manual/locale.texi: Document MTASC-safety properties.
17170 * manual/llio.texi: Document MTASC-safety properties.
17172 * manual/libdl.texi: New.
17174 * manual/lang.texi: Document MTASC-safety properties.
17176 * manual/job.texi: Document MTASC-safety properties.
17178 * manual/getopt.texi: Document MTASC-safety properties.
17180 * manual/ctype.texi: Document MTASC-safety properties.
17182 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17185 * csu/libc-tls.c (static_map): Remove variable.
17186 (__libc_setup_tls): Use main executable's link map for TLS data.
17187 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17188 casing for LM_ID_BASE and GL(dl_nns).
17189 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17190 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17191 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17192 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17193 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17195 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17198 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17200 * manual/debug.texi: Document MTASC-safety properties.
17202 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17205 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17206 of __x86_64__ when disabling x87 inline functions.
17208 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17210 * manual/charset.texi: Document MTASC-safety properties.
17212 * manual/crypt.texi: Document MTASC-safety properties.
17214 * manual/conf.texi: Document MTASC-safety properties.
17216 * manual/arith.texi: Document MTASC-safety properties.
17218 * manual/argp.texi: Document MTASC-safety properties.
17220 * manual/macros.texi: Introduce macros to document multi
17221 thread, asynchronous signal and asynchronous cancellation
17223 * manual/intro.texi: Introduce the properties themselves.
17225 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17227 * sysdeps/sh/sh4/Makefile: New file.
17229 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17231 * math/gen-libm-test.pl ($srcdir): New variable.
17232 ($auto_input): Use it.
17234 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17237 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17238 access beyond array bounds when parsing netgroups file.
17240 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17241 the old buffer before realloc.
17243 2014-01-27 Allan McRae <allan@archlinux.org>
17245 * po/fr.po: Update French translation from translation project.
17247 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17249 * sysdeps/sh/libm-test-ulps: Regenerate.
17251 2014-01-24 David S. Miller <davem@davemloft.net>
17253 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17255 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17257 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17258 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17260 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17263 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17264 string pointers after reallocation.
17266 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17268 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17269 __SH4A__ instead of __SH_FPU_ANY__.
17271 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17273 * sysdeps/sh/fpu_control.h: New file.
17274 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17275 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17276 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17277 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17278 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17279 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17280 * sysdeps/sh/sys/ucontext.h: Remove.
17281 * sysdeps/sh/sys: Remove directory.
17283 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17285 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17286 s390/sys/ucontext.h.
17287 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17288 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17290 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17293 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17295 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17298 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17299 Adjust the vDSO correctly for internal calls.
17300 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17302 2014-01-20 Allan McRae <allan@archlinux.org>
17304 * po/ca.po: Update Catalan translation from translation project.
17306 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17308 * sysdeps/s390/sotruss-lib.c: New file.
17310 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17313 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17314 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17315 local calls issues by not having a PLT stub required for IFUNC calls.
17316 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17318 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17320 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17321 * math/test-fpucw-static.c: Likewise.
17323 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17326 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17328 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17330 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17331 implementation for powerpc.
17333 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17336 * sysdeps/posix/system.c (__libc_system): Do not enable
17337 asynchronous cancellation.
17339 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17342 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17343 handling only for numbers special also in the IEEE case.
17345 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17347 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17349 2014-01-11 Allan McRae <allan@archlinux.org>
17351 * po/bg.po: Update Bulgarian translation from translation project.
17353 * po/de.po: Update German translation from translation project.
17355 2014-01-10 Roland McGrath <roland@hack.frob.com>
17357 * sysdeps/generic/gcc-compat.h: New file.
17359 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17361 * benchtests/asin-inputs: Correct slow inputs.
17362 * benchtests/acos-inputs: Likewise.
17364 2014-01-10 Allan McRae <allan@archlinux.org>
17366 * po:sv.po: Update Swedish translation from translation project.
17368 * po/vi.po: Update Vietnamese translation from translation project.
17370 * po/eo.po: Update Esperanto translation from translation project.
17372 * po/cs.po: Update Czech translation from translation project.
17374 * po/nl.po: Update Dutch translation from translation project.
17376 * po/pl.po: Update Polish translation from translation project.
17378 * po/ru.po: Update Russian translation from translation project.
17380 * po/uk.po: Update Ukrainian translation from translation project.
17382 2014-01-08 Brooks Moses <bmoses@google.com>
17384 * elf/dl-load.c: Fix comment typo.
17386 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17388 * po/header.pot: Rename to...
17389 * po/pot.header: ... this.
17390 * po/Makefile: Use pot.header.
17392 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17393 Maxim Kuvyrkov <maxim@kugelworks.com>
17396 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17397 SRC and DEST against LEN.
17399 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17402 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17404 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17406 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17410 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17414 for large positive arguments.
17416 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17418 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17420 * math/auto-libm-test-in: Mark various tests with
17421 xfail-rounding:ldbl-128ibm.
17422 * math/auto-libm-test-out: Regenerated.
17425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17426 Increase overflow threshold.
17428 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17431 * stdio-common/vfprintf.c: Check for integer overflow.
17433 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17435 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17436 the first argument and return value of __tls_get_addr_internal.
17438 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17440 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17441 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17443 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17445 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17446 * sysdeps/s390/rtld-global-offsets.sym: New file.
17447 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17449 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17450 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17451 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17453 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17454 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17460 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17461 halfs of GPRs for high_gprs contexts.
17462 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17463 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17465 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17467 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17469 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17470 for high GPRs (uc_high_gprs) and for future extensions
17472 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17473 for future extensions (__reserved).
17474 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17476 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17477 SC_HIGHGPRS offset definition.
17478 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17479 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17481 * Versions.def: Add GLIBC_2.19 for libpthread.
17482 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17483 siglongjmp for libpthread with GLIBC_2.19 symver.
17484 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17485 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17486 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17487 * sysdeps/s390/__longjmp.c: New file.
17488 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17489 * sysdeps/s390/longjmp.c: New file.
17490 * sysdeps/s390/setjmp.S: New file.
17491 * sysdeps/s390/sigjmp.S: New file.
17492 * sysdeps/s390/v1-longjmp.c: New file.
17493 * sysdeps/s390/v1-setjmp.h: New file.
17494 * sysdeps/s390/v1-sigjmp.c: New file.
17495 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17496 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17497 GLIBC_2.19 version.
17498 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17499 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17500 versioned symbols for ____longjmp_chk.
17501 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17511 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17512 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17513 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17514 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17515 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17516 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17517 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17518 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17519 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17520 * sysdeps/s390/rtld-__longjmp.c: New file.
17521 * sysdeps/s390/rtld-setjmp.S: New file.
17523 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17526 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17527 Return -__logl (x) for small positive arguments without evaluating
17530 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17532 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17534 (__ptrace_peeksiginfo_args): ... this.
17535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17539 2014-01-06 Allan McRae <allan@archlinux.org>
17541 * inet/netinet/in.h: Fix typo in comment.
17543 2014-01-05 Andreas Jaeger <aj@suse.de>
17545 * sysdeps/i386/fpu/libm-test-ulps: Update.
17547 2014-01-05 Allan McRae <allan@archlinux.org>
17549 * po/libc.pot: Regenerated.
17551 * malloc/memusagestat.c: Fix gettext call formatting.
17553 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17555 * nscd/nscd.c: Improve usage() output.
17557 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17559 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17560 * sysdeps/unix/sysv/linux/configure: Regenerated.
17561 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17562 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17564 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17567 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17568 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17570 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17573 extra tokens at end of #undef directive.
17574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17575 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17578 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17580 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17582 * math/auto-libm-test-in: Mark various tests with
17583 xfail-rounding:ldbl-128ibm.
17584 * math/auto-libm-test-out: Regenerated.
17586 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17590 numbers with subnormal high part when calculating exponent.
17593 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17599 (__ieee754_acoshl): Use __log1pl not __log1p.
17601 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17603 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17604 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17605 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17606 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17607 (reused_arena, arena_get2): Convert to GNU style.
17608 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17609 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17610 (memalign_check, __malloc_set_state): Likewise.
17611 * malloc/mallocbug.c (main): Likewise.
17612 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17613 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17614 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17615 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17616 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17617 (__posix_memalign, malloc_info): Likewise.
17618 * malloc/malloc.h: Likewise.
17619 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17620 (mallochook, memalignhook, reallochook, mabort): Likewise.
17621 * malloc/mcheck.h: Likewise.
17622 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17623 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17624 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17625 * malloc/morecore.c (__default_morecore): Likewise.
17626 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17627 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17628 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17629 (print_and_abort): Likewise.
17630 * malloc/obstack.h: Likewise.
17631 * malloc/set-freeres.c (__libc_freeres): Likewise.
17632 * malloc/tst-mallocstate.c (main): Likewise.
17633 * malloc/tst-mtrace.c (main): Likewise.
17634 * malloc/tst-realloc.c (do_test): Likewise.
17636 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17639 * nscd/netgroupcache.c (do_notfound): New function.
17640 (addgetnetgrentX): Use it.
17643 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17644 NSS_STATUS_NOTFOUND.
17646 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17648 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17651 2014-01-01 Allan McRae <allan@archlinux.org>
17653 * scripts/update-copyrights: Update configure input file suffix.
17655 * NEWS: Update copyright year.
17656 * catgets/gencat.c: Likewise.
17657 * csu/version.c: Likewise.
17658 * debug/catchsegv.sh: Likewise.
17659 * debug/pcprofiledump.c: Likewise.
17660 * debug/xtrace.sh: Likewise.
17661 * elf/ldconfig.c: Likewise.
17662 * elf/ldd.bash.in: Likewise.
17663 * elf/pldd.c: Likewise.
17664 * elf/sotruss.ksh: Likewise.
17665 * elf/sprof.c: Likewise.
17666 * iconv/iconv_prog.c: Likewise.
17667 * iconv/iconvconfig.c: Likewise.
17668 * locale/programs/locale.c: Likewise.
17669 * locale/programs/localedef.c: Likewise.
17670 * login/programs/pt_chown.c: Likewise.
17671 * malloc/memusage.sh: Likewise.
17672 * malloc/memusagestat.c: Likewise.
17673 * malloc/mtrace.pl: Likewise.
17674 * manual/libc.texinfo: Likewise.
17675 * nscd/nscd.c: Likewise.
17676 * nss/getent.c: Likewise.
17677 * nss/makedb.c: Likewise.
17678 * posix/getconf.c: Likewise.
17679 * scripts/test-installation.pl: Likewise.
17681 * All files with FSF copyright notices: Update copyright dates
17682 using scripts/update-copyrights.
17683 * intl/plural.c: Regenerated.
17684 * locale/programs/charmap-kw.h: Likewise.
17685 * locale/programs/locfile-kw.h: Likewise.
17687 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17689 * sysdeps/unix/sysv/linux/configure: Regenerated.
17690 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17691 the linux/fanotify.h header.
17692 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17693 HAVE_LINUX_FANOTIFY_H is defined.
17695 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17697 * benchtests/cos-inputs: New inputs.
17698 * benchtests/sin-inputs: Likewise.
17700 * benchtests/atan-inputs: New inputs. Fix name of multiple
17701 precision fallback inputs.
17703 * benchtests/atanh-inputs: New inputs.
17704 * benchtests/tanh-inputs: Likewise.
17706 * benchtests/acosh-inputs: New inputs.
17707 * benchtests/asinh-inputs: Likewise.
17709 * benchtests/cosh-inputs: New inputs.
17710 * benchtests/sinh-inputs: Likewise.
17712 * benchtests/acos-inputs: Add more inputs.
17713 * benchtests/asin-inputs: Likewise.
17715 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17718 * manual/arith.texi: Fix spelling.
17719 * manual/charset.texi: Likewise.
17720 * manual/errno.texi: Likewise.
17721 * manual/filesys.texi: Likewise.
17722 * manual/lang.texi: Likewise.
17723 * manual/llio.texi: Likewise.
17724 * manual/locale.texi: Likewise.
17725 * manual/message.texi: Likewise.
17726 * manual/resource.texi: Likewise.
17727 * manual/search.texi: Likewise.
17728 * manual/setjmp.texi: Likewise.
17729 * manual/stdio.texi: Likewise.
17730 * manual/string.texi: Likewise.
17731 * manual/sysinfo.texi: Likewise.
17732 * manual/time.texi: Likewise.
17734 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17736 * po/sl.po: New file.
17738 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17740 * .gitignore: Add core/.gdbinit/.gdb_history.
17742 2013-12-27 Allan McRae <allan@archlinux.org>
17745 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17746 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17748 2013-12-24 Brooks Moses <bmoses@google.com>
17750 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17751 all compilers that claim C++98 compliance, not just GCC.
17752 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17755 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17757 * NEWS: Restore accidentally deleted bug-fix entries.
17759 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17760 Ondřej Bílka <neleai@seznam.cz>
17763 * malloc/malloc.c (_int_free): Perform sanity check only if we
17766 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17769 * manual/stdio.texi (String Input Conversions): Clarify that character
17770 classes are not supported.
17772 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17776 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17779 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17780 Calculate results for small negative arguments directly rather
17781 than using reflection formula with special underflow handling.
17783 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17784 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17785 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17786 (fchflags): Likewise.
17787 (revoke): Likewise.
17788 (setlogin): Likewise.
17789 (sigaltstack): Likewise.
17791 (sigblock): Remove.
17792 (sigsetmask): Likewise.
17794 (waitpid): Likewise.
17795 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17796 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17798 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17799 * sysdeps/unix/bsd/Makefile: ... here.
17800 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17801 * sysdeps/unix/bsd/Versions: ... here.
17802 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17803 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17804 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17805 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17806 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17807 * sysdeps/unix/bsd/sigblock.c: ... here.
17808 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17809 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17810 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17811 * sysdeps/unix/bsd/sigvec.c: ... here.
17812 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17813 * sysdeps/unix/bsd/tcdrain.c: ... here.
17814 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17815 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17816 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17817 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17818 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17819 * sysdeps/unix/bsd/wait.c: ... here.
17820 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17821 * sysdeps/unix/bsd/wait3.c: ... here.
17822 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17823 * sysdeps/unix/bsd/waitpid.c: ... here.
17825 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17829 round-to-nearest for [!USE_AS_EXPM1L].
17830 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17831 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17832 more tests of exp and exp10. Expect some exp10 tests to miss
17833 exceptions or fail in directed rounding modes.
17834 * math/auto-libm-test-out: Regenerated.
17835 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17836 (exp10_test_tonearest): New function.
17837 (exp10_towardzero_test_data): New array.
17838 (exp10_test_towardzero): New function.
17839 (exp10_downward_test_data): New array.
17840 (exp10_test_downward): New function.
17841 (exp10_upward_test_data): New array.
17842 (exp10_test_upward): New function.
17843 (main): Call the new functions.
17844 * sysdeps/i386/fpu/libm-test-ulps: Update.
17845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17847 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17849 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17850 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17851 * math/auto-libm-test-out: Regenerated.
17852 * math/libm-test.inc (acosh_test_data): Add more tests.
17853 (atanh_test_data): Likewise.
17854 (ceil_test_data): Likewise.
17855 (copysign_test_data): Likewise.
17856 * sysdeps/i386/fpu/libm-test-ulps: Update.
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17859 * timezone/checktab.awk: Update from tzcode 2013i.
17860 * timezone/private.h: Likewise.
17861 * timezone/scheck.c: Likewise.
17862 * timezone/tzfile.h: Likewise.
17863 * timezone/tzselect.ksh: Likewise.
17864 * timezone/zdump.c: Likewise.
17865 * timezone/zic.c: Likewise.
17867 * math/auto-libm-test-in: Add tests of cpow.
17868 * math/auto-libm-test-out: Regenerated.
17869 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17872 (func_calc_desc): Add mpc_cc_c union field.
17873 (test_functions): Add cpow.
17874 (special_fill_2pi): New function.
17875 (special_real_inputs): Add 2pi.
17876 (calc_generic_results): Handle mpc_cc_c.
17877 * sysdeps/i386/fpu/libm-test-ulps: Update.
17878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17880 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17881 csqrt, ctan and ctanh.
17882 * math/auto-libm-test-out: Regenerated.
17883 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17884 (TEST_COND_x86): Likewise.
17885 (ccos_test_data): Use AUTO_TESTS_c_c.
17886 (ccosh_test_data): Likewise.
17887 (cexp_test_data): Likewise.
17888 (clog_test_data): Likewise.
17889 (csqrt_test_data): Likewise.
17890 (ctan_test_data): Likewise.
17891 (ctan_tonearest_test_data): Likewise.
17892 (ctan_towardzero_test_data): Likewise.
17893 (ctan_downward_test_data): Likewise.
17894 (ctan_upward_test_data): Likewise.
17895 (ctanh_test_data): Likewise.
17896 (ctanh_tonearest_test_data): Likewise.
17897 (ctanh_towardzero_test_data): Likewise.
17898 (ctanh_downward_test_data): Likewise.
17899 (ctanh_upward_test_data): Likewise.
17900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17902 (func_calc_desc): Add mpc_c_c union field.
17903 (FUNC_mpc_c_c): New macro.
17904 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17905 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17907 (special_fill_min_subnorm_p120): New function.
17908 (special_real_inputs): Add min_subnorm_p120.
17909 (calc_generic_results): Handle mpc_c_c.
17910 * sysdeps/i386/fpu/libm-test-ulps: Update.
17911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17913 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17915 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17916 (do_sin_slow): New functions.
17917 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17918 (cslow2, csloww1, csloww2): Use the new functions.
17920 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17921 Use M to change sign of result instead of X. Assume X is
17923 (csloww1): Likewise.
17927 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17928 arguments A and DA.
17932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17934 (sloww1): Don't adjust sign of DX.
17935 (csloww1): Likewise.
17936 (sloww2): Use X directly and don't adjust sign of DX.
17937 (csloww2): Likewise.
17939 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17941 * math/auto-libm-test-in: Add tests of cabs and carg.
17942 * math/auto-libm-test-out: Regenerated.
17943 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17944 (carg_test_data): Likewise.
17945 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17947 (func_calc_desc): Add mpc_c_f union field.
17948 (test_functions): Add cabs and carg.
17949 (calc_generic_results): Handle mpc_c_f.
17951 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17952 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17953 as a macro and a compat symbol.
17954 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17955 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17956 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17957 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17958 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17961 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17967 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17971 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17972 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17975 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17979 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17981 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17982 trailing whitespace removed.
17983 * scripts/config.guess: Update to version 2013-11-29.
17984 * scripts/config.sub: Update to version 2013-10-01.
17986 * math/auto-libm-test-in: Add tests of sincos.
17987 * math/auto-libm-test-out: Regenerated.
17988 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17989 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17991 (func_calc_desc): Add mpfr_f_11 union field.
17992 (test_functions): Add sincos.
17993 (calc_generic_results): Handle mpfr_f_11.
17994 * sysdeps/i386/fpu/libm-test-ulps: Update.
17995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17997 2013-12-19 Andreas Schwab <schwab@suse.de>
17999 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18002 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18003 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18005 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18007 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18008 * sysdeps/i386/fpu/libm-test-ulps: Update.
18009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18013 round-to-nearest mode when using frndint.
18014 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18015 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18016 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18018 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18020 * math/auto-libm-test-out: Regenerated.
18021 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18022 (TEST_COND_x86): Likewise.
18023 (expm1_tonearest_test_data): New array.
18024 (expm1_test_tonearest): New function.
18025 (expm1_towardzero_test_data): New array.
18026 (expm1_test_towardzero): New function.
18027 (expm1_downward_test_data): New array.
18028 (expm1_test_downward): New function.
18029 (expm1_upward_test_data): New array.
18030 (expm1_test_upward): New function.
18031 (main): Run the new test functions.
18032 * sysdeps/i386/fpu/libm-test-ulps: Update.
18033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18035 * include/features.h: Update comment documenting feature test
18036 macros. Mention _DEFAULT_SOURCE in comment.
18037 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18038 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18039 _BSD_SOURCE and _SVID_SOURCE.
18040 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18041 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18042 !_SVID_SOURCE]: Likewise.
18043 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18044 (__USE_POSIX_IMPLICITLY): Define.
18045 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18046 (_POSIX_SOURCE): Undefine and redefine.
18047 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18048 (_POSIX_C_SOURCE): Likewise.
18049 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18050 (Feature Test Macros): Update documentation of default features.
18052 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18054 * benchtests/Makefile: Add bench-strtok.
18055 * benchtests/bench-strtok.c: New file: strtok benchtest.
18057 2013-12-19 Allan McRae <allan@archlinux.org>
18059 * manual/install.texi: Suppress menu for plain text output.
18060 * INSTALL: Regenerated.
18062 2013-12-18 Brooks Moses <bmoses@google.com>
18065 * misc/getauxval.c: Include errno.h.
18066 (__getauxval): Set errno to ENOENT if the requested type is not
18068 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18069 don't declare with __attribute_const__.
18070 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18071 * manual/startup.texi: Document that getauxval sets errno.
18073 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18075 * math/auto-libm-test-in: Add tests of jn and yn.
18076 * math/auto-libm-test-out: Regenerated.
18077 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18078 (yn_test_data): Likewise.
18079 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18081 (func_calc_desc): Add mpfr_if_f union field.
18082 (FUNC_mpfr_if_f): New macro.
18083 (test_functions): Add jn and yn.
18084 (calc_generic_results): Assert type of second input for
18085 mpfr_ff_f. Handle mpfr_if_f.
18086 (output_for_one_input_case): Disable all checking for arguments
18087 fitting floating-point types in case of an integer argument.
18088 * sysdeps/i386/fpu/libm-test-ulps: Update.
18089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18092 Don't expect fegetround reference in libm.so.
18094 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18096 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18097 $(config-cflags-nofma).
18099 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18101 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18102 * math/auto-libm-test-out: Regenerated.
18105 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18106 to determine exponent and adjust argument to have exponent of -1.
18107 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18109 * math/auto-libm-test-out: Regenerated.
18110 * sysdeps/i386/fpu/libm-test-ulps: Update.
18111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18113 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18115 * manual/probes.texi: Remove cases when per-thread arenas are
18118 2013-12-18 Andreas Schwab <schwab@suse.de>
18120 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18121 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18122 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18123 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18124 * sysdeps/i386/i686/multiarch/Makefile: Update.
18125 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18127 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18129 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18130 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18132 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18135 Support TZ transition times < 00:00:00.
18136 This is needed for version-3 tz-format files; it supports time
18137 stamps past 2037 for America/Godthab (the only entry in the tz
18138 database for which this change is relevant).
18139 * manual/time.texi (TZ Variable): Document transition times
18140 from -167:59:59 through -00:00:01.
18141 * time/tzset.c (tz_rule): Time of day is now signed.
18142 (__tzset_parse_tz): Parse negative time of day.
18144 Document TZ transition times >= 25:00:00.
18145 * manual/time.texi (TZ Variable): Document transition times from
18146 25:00:00 through 167:59:59. These are already supported, and this
18147 support will help with version-3 tz-format files.
18149 * manual/time.texi (TZ Variable): Modernize North America example
18150 to reflect current (i.e., 2007-and-later) daylight saving rules.
18152 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18154 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18156 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18157 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18160 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18161 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18162 * sysdeps/unix/bsd/clock.c: Likewise.
18163 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18164 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18165 * sysdeps/unix/bsd/init-posix.c: Likewise.
18166 * sysdeps/unix/bsd/poll.c: Likewise.
18167 * sysdeps/unix/bsd/ptsname.c: Likewise.
18168 * sysdeps/unix/bsd/seekdir.c: Likewise.
18169 * sysdeps/unix/bsd/setegid.c: Likewise.
18170 * sysdeps/unix/bsd/seteuid.c: Likewise.
18171 * sysdeps/unix/bsd/setgid.c: Likewise.
18172 * sysdeps/unix/bsd/setrgid.c: Likewise.
18173 * sysdeps/unix/bsd/setruid.c: Likewise.
18174 * sysdeps/unix/bsd/setsid.c: Likewise.
18175 * sysdeps/unix/bsd/setuid.c: Likewise.
18176 * sysdeps/unix/bsd/sigaction.c: Likewise.
18177 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18178 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18179 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18180 * sysdeps/unix/bsd/telldir.c: Likewise.
18181 * sysdeps/unix/bsd/times.c: Likewise.
18182 * sysdeps/unix/bsd/usleep.c: Likewise.
18184 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18185 ($(objpfx)libbsd-compat.a): Remove rule.
18187 * include/features.h (__FAVOR_BSD): Do not define.
18188 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18189 features conflicting with POSIX.
18190 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18191 (_BSD_SOURCE): Remove description of not being a subset of other
18192 feature test macros.
18193 * manual/job.texi (getpgrp): Do not document BSD version.
18194 (getpgid): Do not document by reference to BSD getpgrp.
18195 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18196 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18197 * signal/signal.h [__FAVOR_BSD]: Likewise.
18198 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18199 instead of making contents conditional on [__FAVOR_BSD].
18200 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18202 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18206 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18209 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18210 values below 2**-450, not 2**-500.
18211 * math/auto-libm-test-in: Don't allow spurious underflow from
18213 * math/auto-libm-test-out: Regenerated.
18217 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18218 values of ha and hb and sort them after adjusting subnormal
18220 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18222 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18223 values of ea and eb and sort them after adjusting subnormal
18225 * math/auto-libm-test-in: Do not expect some hypot tests of
18226 subnormals to fail. Add more hypot tests.
18227 * math/auto-libm-test-out: Regenerated.
18229 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18232 * sysdeps/sh/s_fma.c: New file.
18233 * sysdeps/sh/s_fmaf.c: New file.
18234 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18236 * sysdeps/sh/Implies: Add sh/soft-fp.
18238 2013-12-16 Roland McGrath <roland@hack.frob.com>
18240 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18241 level of indirection to members `objname', `errstring', `malloced'.
18242 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18243 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18244 it as the __longjmp argument (just pass 1 instead).
18245 (_dl_catch_error): Initialize C with argument pointers and address of
18246 volatile local ERRCODE rather than copying values out of C at return.
18248 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18250 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18251 * math/auto-libm-test-out: Regenerated.
18252 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18253 (hypot_test_data): Likewise.
18254 (pow_test_data): Likewise.
18255 (pow_tonearest_test_data): Likewise.
18256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18258 (func_calc_desc): Add mpfr_ff_f union field.
18259 (FUNC_mpfr_ff_f): New macro.
18260 (test_functions): Add atan2, hypot and pow.
18261 (special_fill_min): New function.
18262 (special_fill_minus_min): Likewise.
18263 (special_fill_min_subnorm): Likewise.
18264 (special_fill_minus_min_subnorm): Likewise.
18265 (special_real_inputs): Add min, -min, min_subnorm and
18267 (calc_generic_results): Handle mpfr_ff_f.
18268 * sysdeps/i386/fpu/libm-test-ulps: Update.
18269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18271 2013-12-16 Will Newton <will.newton@linaro.org>
18273 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18274 (Aligned Memory Blocks): Add documentation for aligned_alloc
18275 and suggest it as an alternative to posix_memalign.
18276 (Hooks for Malloc): Document __memalign_hook is also called
18277 for aligned_alloc. (Summary of Malloc): Add summary for
18278 aligned alloc. Document __memalign_hook is also called
18281 2013-12-16 Will Newton <will.newton@linaro.org>
18283 * manual/memory.texi (Malloc Examples): Clarify default
18284 alignment documentation. Suggest posix_memalign rather
18285 than memalign or valloc.
18286 (Aligned Memory Blocks): Remove suggestion to use memalign
18287 or valloc. Remove obsolete comment about BSD.
18288 Document memalign errno values and mark the function obsolete.
18289 Document posix_memalign returned error codes. Mark valloc
18290 as obsolete. (Hooks for Malloc): __memalign_hook is also
18291 called for posix_memalign and valloc.
18292 (Summary of Malloc): Add posix_memalign to function summary.
18293 __memalign_hook is also called for posix_memalign and valloc.
18295 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18297 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18301 (sloww): Use mynumber union. Expand ternary operator into
18302 if-else statements.
18303 (cslow): use mynumber union.
18305 2013-12-16 Allan McRae <allan@archlinux.org>
18307 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18308 * configure: Regenerated.
18310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18313 * configure.ac: Added --enable-maintainer-mode. Check for
18314 autoconf when enabled.
18315 * configure: Regenerated.
18317 * nscd/nscd.service: New file.
18318 * nscd/nscd.tmpfiles: New file.
18320 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18323 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18324 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18325 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18326 (strstr): Add __strstr_sse2_unaligned ifunc.
18327 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18328 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18329 (strcasestr): Remove __strcasestr_sse42 ifunc.
18330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18334 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18336 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18337 * sysdeps/sh/bits/fenv.h: ... here.
18338 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18340 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18342 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18345 hypotf multiarch implementations.
18346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18348 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18349 multiarch hypot for PPC64.
18350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18353 multiarch hypotf for PPC64.
18355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18356 modff multiarch implementations.
18357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18360 multiarch modf for PPC64.
18361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18364 multiarch modff for PPC64.
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18367 and logl multiarch implementations.
18368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18371 multiarch logb for PPC64.
18372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18375 multiarch logb for PPC64.
18376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18379 multiarch logb for PPC64.
18381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18382 isinff multiarch implementation.
18383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18387 multiarch isinf for PPC64.
18388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18391 multiarch isinff for PPC64.
18393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18394 finitef multiarch implementation.
18395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18399 multiarch finite for PPC64.
18400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18403 multiarch finitef for PPC64.
18405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18406 lrint multiarch implementation.
18407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18411 multiarch llrint for PPC64.
18412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18413 multiarch lrint for PPC64.
18415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18416 copysignf multiarch implementation.
18417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18422 multiarch copysign for PPC64.
18423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18424 multiarch copysignf for PPC64.
18426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18427 multiarch implementation.
18428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18436 multiarch llround for PPC64.
18437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18438 multiarch trunc for PPC64.
18439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18440 multiarch truncf for PPC64.
18442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18443 multiarch implementation.
18444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18452 multiarch llround for PPC64.
18453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18454 multiarch round for PPC64.
18455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18456 multiarch roundf for PPC64.
18458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18459 multiarch implementation.
18460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18468 multiarch llround for PPC64.
18469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18470 multiarch floor for PPC64.
18471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18472 multiarch floorf for PPC64.
18474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18475 multiarch implementation.
18476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18484 multiarch llround for PPC64.
18485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18486 multiarch ceil for PPC64.
18487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18488 multiarch ceilf for PPC64.
18490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18491 multiarch implementation.
18492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18499 multiarch llround for PPC64.
18500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18501 multiarch lround for PPC64.
18503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18504 multiarch implementation.
18505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18512 multiarch isnan for PPC64.
18513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18514 multiarch isnanf for PPC64.
18516 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18517 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18518 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18519 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18520 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18523 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18524 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18529 multiarch implementations.
18530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18531 (__libc_ifunc_impl_list): Likewise.
18532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18534 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18535 multiarch stpcpy for PPC64.
18537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18538 multiarch implementations.
18539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18540 (__libc_ifunc_impl_list): Likewise.
18541 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18542 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18543 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18544 multiarch strcpy for PPC64.
18546 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18547 redefine function name.
18548 (_wordcopy_fwd_dest_aligned): Likewise.
18549 (_wordcopy_bwd_aligned): Likewise.
18550 (_wordcopy_bwd_dest_aligned): Likewise.
18551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18552 multiarch implementations.
18553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18554 (__libc_ifunc_impl_list): Likewise.
18555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18558 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18559 multiarch wcscpy for PPC64.
18561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18562 multiarch implementations.
18563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18564 (__libc_ifunc_impl_list): Likewise.
18565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18569 multiarch wcscpy for PPC64.
18571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18572 multiarch implementations.
18573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18574 (__libc_ifunc_impl_list): Likewise.
18575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18579 multiarch wcsrchr for PPC64.
18581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18582 multiarch implementations.
18583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18584 (__libc_ifunc_impl_list): Likewise.
18585 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18586 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18587 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18588 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18589 multiarch wcschr for PPC64.
18591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18592 multiarch implementations.
18593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18594 (__libc_ifunc_impl_list): Likewise.
18595 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18596 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18597 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18598 multiarch strchrnul for PPC64.
18600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18603 (__libc_ifunc_impl_list): Likewise.
18604 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18605 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18606 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18607 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18613 (__libc_ifunc_impl_list): Likewise.
18614 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18615 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18616 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18617 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18621 multiarch implementations.
18622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18623 (__libc_ifunc_impl_list): Likewise.
18624 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18625 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18626 strncasecmp for PPC64.
18627 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18628 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18629 multiarch strncasecmp_l for PPC64.
18631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18632 multiarch implementations.
18633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18634 (__libc_ifunc_impl_list): Likewise.
18635 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18637 multiarch strcasecmp for PPC64.
18638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18641 multiarch strcasecmp_l for PPC64.
18643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18646 (__libc_ifunc_impl_list): Likewise.
18647 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18648 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18649 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18655 (__libc_ifunc_impl_list): Likewise.
18656 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18657 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18658 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18664 (__libc_ifunc_impl_list): Likewise.
18665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18666 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18667 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18668 rawmemrchr for PPC64.
18670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18673 (__libc_ifunc_impl_list): Likewise.
18674 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18675 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18676 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18682 (__libc_ifunc_impl_list): Likewise.
18683 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18684 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18685 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18691 (__libc_ifunc_impl_list): Likewise.
18692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18694 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18697 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18698 avoid cretion of __bzero symbol.
18699 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18701 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18703 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18706 multiarch implementations.
18707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18708 (__libc_ifunc_impl_list): Likewise.
18709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18711 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18712 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18714 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18715 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18716 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18717 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18718 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18720 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18722 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18726 (__libc_ifunc_impl_list): Likewise.
18727 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18729 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18730 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18734 multiarch for POWER/PPC64.
18735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18736 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18743 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18746 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18747 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18748 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18749 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18750 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18751 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18752 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18753 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18754 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18755 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18756 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18757 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18758 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18759 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18760 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18769 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18773 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18775 * benchtests/Makefile (bench): Add exp2 and log2.
18776 (LDLIBS-bench-exp2): Add -lm.
18777 (LDLIBS-bench-log2): Likewise.
18778 * benchtests/exp2-inputs: New inputs file.
18779 * benchtests/log2-inputs: New inputs file.
18780 * benchtests/log-inputs: Add new inputs.
18781 * benchtests/tan-inputs: Likewise.
18783 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18785 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18787 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18788 (csloww2): ... from here.
18790 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18791 instead of structures.
18792 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18793 (POLYNOMIAL): Likewise.
18794 (TAYLOR_SLOW): Likewise.
18800 (sloww1); Likewise.
18801 (sloww2): Likewise.
18802 (bsloww1): Likewise.
18803 (bsloww2): Likewise.
18804 (cslow2): Likewise.
18805 (csloww): Likewise.
18806 (csloww1): Likewise.
18807 (csloww2): Likewise.
18809 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18811 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18812 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18813 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18814 * malloc/hooks.c (realloc_check): Likewise.
18816 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18817 * malloc/arena.c: Remove PER_THREAD conditional.
18818 [!PER_THREAD]: Remove code.
18819 (ptmalloc_unlock_all2): Likewise.
18820 (ptmalloc_init): Likewise.
18821 (_int_new_arena): Likewise.
18822 (arena_get2): Likewise.
18823 * malloc/hooks.c (__malloc_get_state): Likewise.
18824 (__malloc_set_state): Likewise.
18825 * malloc/malloc.c: Likewise.
18826 (struct malloc_state): Likewise.
18827 (struct malloc_par): Likewise.
18828 (__libc_realloc): Likewise.
18829 (__libc_mallopt): Likewise.
18831 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18833 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18835 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18837 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18838 macro to a function. Check for zero perturb_byte.
18839 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18841 * malloc/malloc.c: (force_reg): Remove.
18842 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18843 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18844 force_reg by atomic_forced_read.
18845 * malloc/arena.c (ptmalloc_init): Likewise.
18846 * malloc/hooks.c (top_check): Likewise.
18848 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18852 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18856 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18858 * math/auto-libm-test-in: Add tests of lgamma.
18859 * math/auto-libm-test-out: Regenerated.
18860 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18861 (M_LOG_2_SQRT_PIl): Likewise.
18862 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18865 (func_calc_desc): Add mpfr_f_f1 union field.
18866 (ARGS1): New macro.
18874 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18875 (test_functions): Add lgamma.
18876 (calc_generic_results): Handle mpfr_f_f1.
18877 * sysdeps/i386/fpu/libm-test-ulps: Update.
18878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18882 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18883 __mpn_add_n for PowerPC64/POWER7.
18884 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18885 __mpn_sub_n for PowerPC64/POWER7.
18887 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18888 __mpn_addmul_1 for PowerPC64.
18889 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18890 __mpn_submul_1 for PowerPC64.
18891 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18893 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18896 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18899 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18901 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18903 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18905 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18906 add multiarch folders.
18907 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18908 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18909 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18910 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18911 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18912 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18913 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18914 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18915 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18916 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18917 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18926 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18932 multiarch __ieee754_hypot for PowerPC32.
18933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18938 multiarch __ieee754_hypotf for PowerPC32.
18940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18941 long_double_symbol only if __logbl is defined.
18942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18943 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18945 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18947 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18948 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18949 path for implementation.
18950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18953 logb, and logbl multiarch implementations for PowerPC32.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18959 multiarch logb for PowerPC32.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18965 multiarch logbf for PowerPC32.
18966 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18970 multiarch logbl implementation for PowerPC32.
18972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18973 and modff multiarch implementations.
18974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18979 multiarch modf for PowerPC32.
18980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18985 multiarch modff for PowerPC32.
18987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18988 and lrintf multiarch implementations.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18994 multiarch lrint for PowerPC32.
18995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18996 file: multiarch lrintf for PowerPC32.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18999 and lroundf multiarch implementations.
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19007 multiarch lround for PowerPC32.
19008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19009 file: multiarch lroundf for PowerPC32.
19011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19012 copysign and copysignf multiarch implementations.
19013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19018 file: multiarch copysign for PowerPC32.
19019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19020 file: multiarch copysignf for PowerPC32.
19022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19023 and truncf multiarch implementations.
19024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19029 multiarch trunc for PowerPC32.
19030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19035 multiarch truncf for PowerPC32.
19037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19038 and roundf multiarch implementations.
19039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19044 multiarch round for PowerPC32.
19045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19050 multiarch roundf for PowerPC32.
19052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19053 and floorf multiarch implementations.
19054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19059 multiarch floor for PowerPC32.
19060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19065 multiarch floorf for PowerPC32.
19067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19068 and ceilf multiarch implementations.
19069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19074 multiarch ceil for PowerPC32.
19075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19080 multiarch ceilf for PowerPC32.
19082 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19084 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19085 FINITEF is defined.
19086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19087 and finitef multiarch implementations.
19088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19093 multiarch finite for PowerPC32.
19094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19097 file: multiarch finitef for PowerPC32.
19099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19100 and isinff multiarch implementations.
19101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19106 multiarch isinf for PowerPC32.
19107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19110 multiarch isinff for PowerPC32.
19112 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19113 alias when __isnan is defined.
19114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19115 and isnanf multiarch implementations.
19116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19125 multiarch isnan for PowerPC32.
19126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19131 multiarch isnanf for PowerPC32.
19133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19134 and sqrtf multiarch implementations.
19135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19140 multiarch sqrt for PowerPC32.
19141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19146 multiarch sqrtf for PowerPC32.
19148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19149 and llroundf multiarch implementations.
19150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19157 file: multiarch llround for PowerPC32.
19158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19159 file: multiarch llroundf for PowerPC32.
19161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19162 multiarch PowerPC32 fpu implementations.
19163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19168 multiarch llrint for PowerPC32.
19169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19178 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19180 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19184 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19185 multiarch wordcopy for PPC32.
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19189 (__libc_ifunc_impl_list): Likewise.
19190 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19191 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19192 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19193 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19195 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19197 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19205 multiarch wcscpy for PPC32.
19206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19209 (__libc_ifunc_impl_list): Likewise.
19210 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19211 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19212 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19213 sysdeps/powerpc/power6/wcscpy.c.
19215 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19223 multiarch wcsrchr for PPC32.
19224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19227 (__libc_ifunc_impl_list): Likewise.
19228 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19229 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19230 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19231 sysdeps/powerpc/power6/wcsrchr.c.
19233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19239 multiarch wcschr for PPc32.
19240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19243 (__libc_ifunc_impl_list): Likewise.
19244 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19245 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19246 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19247 sysdeps/powerpc/power6/wcschr.c.
19249 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19250 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19252 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19253 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19254 file: multiarch strchr for PPC32.
19255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19258 (__libc_ifunc_impl_list): Likewise.
19260 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19262 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19264 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19266 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19267 multiarch strchrnul for PPC32.
19268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19271 (__libc_ifunc_impl_list): Likewise.
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19276 multiarch strncasecmp for PPC32.
19277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19280 multiarch strncasecmp_l for PPC32.
19281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19282 strncasecmp multiarch objects.
19283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19284 (__libc_ifunc_impl_list): Likewise.
19286 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19288 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19289 multiarch strncasecmp for PPC32.
19290 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19292 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19293 multiarch strcasecmp_l for PPC32.
19294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19297 (__libc_ifunc_impl_list): Likewise.
19299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19304 multiarch strncmp for PPC32.
19305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19308 (__libc_ifunc_impl_list): Likewise.
19310 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19311 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19313 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19314 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19318 (__libc_ifunc_impl_list): Likewise.
19320 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19322 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19324 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19328 (__libc_ifunc_impl_list): Likewise.
19330 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19332 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19334 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19335 multiarch rawmemchr for PPC32.
19336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19339 (__libc_ifunc_impl_list): Likewise.
19341 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19343 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19346 file: memrchr multiarch for PPC32.
19347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19350 (__libc_ifunc_impl_list): Likewise.
19352 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19353 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19356 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19357 multiarch memchr for PPC32.
19358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19361 (__libc_ifunc_impl_list): Likewise.
19363 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19364 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19366 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19369 file: multiarch mempcpy for PPC32.
19370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19373 (__libc_ifunc_impl_list): Likewise.
19375 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19378 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19379 multiarch bzero for PPC32.
19380 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19382 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19384 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19385 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19386 file: multiarch memset for PPC32.
19387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19389 memset multiarch objects.
19390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19391 (__libc_ifunc_impl_list): Likewise.
19393 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19402 (__libc_ifunc_impl_list): Likewise.
19404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19412 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19413 multiarch memcpy for PPC32.
19414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19417 (__libc_ifunc_impl_list): Likewise.
19419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19420 support multiarch for POWER/PPC32.
19421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19423 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19425 Implies file to make multiarch folder appers before the fpu and
19426 default folder for power4 configuration.
19428 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19430 * scripts/bench.pl: Append volatile keyword to type.
19432 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19434 * sysdeps/sh/sotruss-lib.c: New file.
19435 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19437 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19441 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19444 * math/w_tgamma.c: Include <errno.h>.
19445 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19446 * math/w_tgammaf.c: Include <errno.h>.
19447 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19448 * math/w_tgammal.c: Include <errno.h>.
19449 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19450 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19451 underflow. Add more tgamma tests.
19452 * math/auto-libm-test-out: Regenerated.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19456 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19457 sin, sinh, tan, tanh, tgamma, y0 and y1.
19458 * math/auto-libm-test-out: Regenerated.
19459 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19460 (TEST_COND_x86): Likewise.
19461 (M_E2l): Remove macro.
19463 (M_2_SQRT_PIl): Likewise.
19464 (M_SQRT_PIl): Likewise.
19465 (M_1_DIV_El): Likewise.
19466 (log_test_data): Use AUTO_TESTS_f_f.
19467 (log10_test_data): Likewise.
19468 (log1p_test_data): Likewise.
19469 (log2_test_data): Likewise.
19470 (sin_test_data): Likewise.
19471 (sin_tonearest_test_data): Likewise.
19472 (sin_towardzero_test_data): Likewise.
19473 (sin_downward_test_data): Likewise.
19474 (sin_upward_test_data): Likewise.
19475 (sinh_test_data): Likewise.
19476 (sinh_tonearest_test_data): Likewise.
19477 (sinh_towardzero_test_data): Likewise.
19478 (sinh_downward_test_data): Likewise.
19479 (sinh_upward_test_data): Likewise.
19480 (tan_test_data): Likewise.
19481 (tan_tonearest_test_data): Likewise.
19482 (tan_towardzero_test_data): Likewise.
19483 (tan_downward_test_data): Likewise.
19484 (tan_upward_test_data): Likewise.
19485 (tanh_test_data): Likewise.
19486 (tgamma_test_data): Likewise.
19487 (y0_test_data): Likewise.
19488 (y1_test_data): Likewise.
19489 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19490 (special_real_inputs): Add pi/4.
19491 * sysdeps/i386/fpu/libm-test-ulps: Update.
19492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19494 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19496 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19497 "longjmp_target" static probes.
19498 (__longjmp): Rename to __longjmp_symbol.
19499 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19500 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19501 on which longjmp to generate.
19502 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19503 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19505 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19506 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19507 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19508 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19509 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19512 __longjmp_symbol based on which __longjmp to generate.
19513 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19515 (setjmp): Rename to setjmp_symbol.
19516 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19517 (_setjmp): Rename to _setjmp_symbol.
19518 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19519 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19520 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19521 which setjmp to generate.
19522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19523 "longjmp_target" static probes.
19525 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19527 * benchtests/README: Add note about output arguments.
19528 * benchtests/bench-sincos.c: Remove file.
19529 * benchtests/sincos-inputs: New file.
19530 * scripts/bench.pl: Identify output arguments and define
19531 static variables for them.
19533 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19536 * Makefile (INSTALL): Add install-plain.texi as the primary
19538 * manual/install-plain.texi: New file.
19539 * manual/install.texi: Include node directive only for
19540 non-plaintext output.
19542 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19544 * stdlib/longlong.h: Update from GCC.
19548 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19549 * math/w_j0f.c (y0f): Likewise.
19550 * math/w_j0l.c (__y0l): Likewise.
19551 * math/w_j1.c (y1): Likewise.
19552 * math/w_j1f.c (y1f): Likewise.
19553 * math/w_j1l.c (__y1l): Likewise
19554 * math/w_jn.c (yn): Likewise.
19555 * math/w_jnf.c (ynf): Likewise.
19556 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19557 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19558 value for Bessel function domain errors outside _SVID_ mode.
19559 Adjust sign of return value for yn (negative integer, 0).
19560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19561 by zero in return for negative x and set sign appropriately for
19563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19565 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19566 expectations in error cases.
19567 (y1_test_data): Likewise.
19568 (yn_test_data): Likewise.
19569 * sysdeps/i386/fpu/libm-test-ulps: Update.
19570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19572 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19574 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19575 "64" to "64-v1". Add "64-v2".
19576 (abi-64-options): Rename to ...
19577 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19578 (abi-64-condition): Rename to ...
19579 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19580 (abi-64-ld-soname): Rename to ...
19581 (abi-64-v1-ld-soname): ... this.
19582 (abi-64-v2-options): Define.
19583 (abi-64-v2-condition): Likewise.
19584 (abi-64-v2-ld-soname): Likewise.
19585 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19586 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19591 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19592 Alan Modra <amodra@gmail.com>
19594 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19595 New versions for use with the ELFv2 ABI.
19596 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19597 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19599 (struct La_ppc64v2_retval): Likewise.
19600 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19601 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19602 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19603 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19604 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19605 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19606 Do not save or restore CR.
19607 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19608 (_dl_profile_resolve): Do no save or restore CR. Support extended
19609 return values for ELFv2 ABI. Fix location of FPR return registers.
19610 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19611 updated values for _CALL_ELF == 2.
19612 (La_regs, La_retval, int_retval): Likewise.
19614 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19616 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19617 (FRAME_MIN_SIZE_PARM): Likewise.
19618 (FRAME_BACKCHAIN): Likewise.
19619 (FRAME_CR_SAVE): Likewise.
19620 (FRAME_LR_SAVE): Likewise.
19621 (FRAME_TOC_SAVE): Likewise.
19622 (FRAME_PARM_SAVE): Likewise.
19623 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19624 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19625 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19626 (call_mcount_parm_offset): New macro.
19627 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19628 (PROF): Use symbolic stack frame offsets.
19629 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19630 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19631 Redefine in terms of FRAME_MIN_SIZE.
19632 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19633 (_dl_profile_resolve): Likewise. Update comment.
19634 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19635 symbols stack frame offsets.
19636 (__sigsetjmp): Likewise.
19637 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19638 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19639 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19640 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19643 (FRAME_BACKCHAIN): Remove.
19644 (FRAME_CR_SAVE): Likewise.
19645 (FRAME_LR_SAVE): Likewise.
19646 (FRAME_COMPILER_DW): Likewise.
19647 (FRAME_LINKER_DW): Likewise.
19648 (FRAME_TOC_SAVE): Likewise.
19649 (FRAME_PARM_SAVE): Likewise.
19650 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19651 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19652 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19654 (CHECK_SP): Use symbolic stack frame offsets.
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19656 zone" instead of caller's parameter save area for temp storage.
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19658 Likewise. Also, use symbolic stack frame offsets.
19659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19660 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19661 our own stack frame instead of the caller's.
19662 (__socket): Use symbolic stack frame offsets.
19664 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19665 Alan Modra <amodra@gmail.com>
19667 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19669 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19670 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19671 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19673 (elf_machine_fixup_plt): Call it.
19674 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19676 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19678 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19679 r2 before calling target.
19681 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19682 Alan Modra <amodra@gmail.com>
19684 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19685 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19686 versions of macros to support ELFv2 ABI.
19687 (LOCALENTRY): New macro.
19688 (ENTRY, EALIGN): Use it.
19689 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19690 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19691 fall through into ENTRY entry point.
19692 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19693 Only define if _CALL_ELF != 2.
19695 (elf_machine_matches_host): Verify ABI version matches.
19696 (RTLD_START): Use LOCALENTRY.
19697 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19698 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19699 (PLT_ENTRY_WORDS): New macro.
19700 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19701 (elf_machine_runtime_setup): Support ELFv2 ABI.
19702 (elf_machine_fixup_plt): Likewise.
19703 (elf_machine_plt_conflict): Likewise.
19704 (resolve_ifunc): Likewise.
19705 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19706 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19709 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19711 (makecontext): Support ELFv2 ABI.
19712 * elf/elf.h (EF_PPC64_ABI): Define.
19714 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19716 * sysdeps/powerpc/powerpc64/sysdep.h
19717 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19718 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19719 (ENTRY) [ASSEMBLER]: ... but instead here ...
19720 (EALIGN) [ASSEMBLER]: ... and here.
19721 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19722 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19723 (ENTRY_2) [!ASSEMBLER]: Use it.
19724 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19725 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19726 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19727 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19728 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19730 Use PPC64_LOAD_FUNCPTR.
19732 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19734 2013-12-04 Alan Modra <amodra@gmail.com>
19736 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19737 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19738 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19739 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19742 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19743 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19744 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19745 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19746 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19748 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19751 (__makecontext): Fix incorrect CFI when backtracing out of
19752 context created via makecontext.
19753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19754 (__setcontext): Fix incorrect CFI during switch to new context.
19755 (__novec_setcontext): Likewise.
19757 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19760 * time/strptime_l.c (__strptime_internal): Allow modifiers
19762 * time/tst-strptime.c (day_tests): Add testcase.
19764 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19766 * scripts/bench.pl: Skip over blank lines.
19768 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19771 * manual/time.texi (Calendar Time): Clarify what timezone functions
19774 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19778 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19780 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19782 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19783 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19784 * debug/memset_chk.c (__memset_chk): Likewise.
19785 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19786 * debug/strncpy_chk.c: Likewise.
19788 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19792 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19793 (__ieee754_exp): For possibly underflowing results, check size of
19794 result and force underflow exception if required.
19795 * math/auto-libm-test-in: Add more tests of exp.
19796 * math/auto-libm-test-out: Regenerated.
19797 * sysdeps/i386/fpu/libm-test-ulps: Update.
19798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19801 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19802 * math/w_exp2f.c (__exp2f): Likewise.
19803 * math/w_exp2l.c (__exp2l): Likewise.
19804 * math/auto-libm-test-in: Do not allow missing errno on exp2
19806 * math/auto-libm-test-out: Regenerated.
19808 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19811 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19812 handle filename validation.
19813 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19816 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19819 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19820 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19821 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19823 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19825 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19827 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19828 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19829 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19830 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19831 Add more erfc tests.
19832 * math/auto-libm-test-out: Regenerated.
19833 * sysdeps/i386/fpu/libm-test-ulps: Update.
19834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19836 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19837 exp2, expm1, j0 and j1.
19838 * math/auto-libm-test-out: Regenerated.
19839 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19840 (erfc_test_data): Likewise.
19841 (exp_test_data): Likewise.
19842 (exp_tonearest_test_data): Likewise.
19843 (exp_towardzero_test_data): Likewise.
19844 (exp_downward_test_data): Likewise.
19845 (exp_upward_test_data): Likewise.
19846 (exp10_test_data): Likewise.
19847 (exp2_test_data): Likewise.
19848 (expm1_test_data): Likewise.
19849 (j0_test_data): Likewise.
19850 (j1_test_data): Likewise.
19851 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19852 (input_flag_type): Add flag_xfail_rounding.
19853 (input_flags): Add xfail-rounding.
19854 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19855 (output_for_one_input_case): Handle flag_xfail_rounding.
19856 * sysdeps/i386/fpu/libm-test-ulps: Update.
19857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19859 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19862 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19865 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19868 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19869 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19870 (STAP_PROBE0): New macro.
19871 (STAP_PROBE1): Likewise.
19872 (STAP_PROBE2): Likewise.
19873 (STAP_PROBE3): Likewise.
19874 (STAP_PROBE4): Likewise.
19876 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19878 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19880 2013-12-02 Steve Ellcey <sellcey@mips.com>
19882 * benchtests/Makefile (bench): Add sqrt.
19883 (LDLIBS-bench-sqrt): New.
19884 * benchtests/sqrt-input: New.
19886 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19888 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19889 (GAIH_EAI): Likewise.
19890 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19891 (gaih_inet): Likewise.
19892 (getaddrinfo): Don't use GAIH_EAI.
19894 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19895 (struct gaih): Remove definition.
19897 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19899 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19900 Use HERRNOP directly.
19902 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19906 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19908 * math/gen-auto-libm-tests.c (test_functions): Add more
19909 single-argument functions.
19910 (special_fill_pi_2): New function.
19911 (special_fill_minus_pi_2): Likewise.
19912 (special_fill_pi_6): Likewise.
19913 (special_fill_minus_pi_6): Likewise.
19914 (special_fill_pi_3): Likewise.
19915 (special_fill_2pi_3): Likewise.
19916 (special_fill_e): Likewise.
19917 (special_fill_1_e): Likewise.
19918 (special_fill_e_minus_1): Likewise.
19919 (special_real_inputs): Add more special inputs.
19920 (output_for_one_input_case): Do not require ERANGE on underflow to
19921 zero if round-to-nearest result does not underflow to zero, unless
19922 exact results required.
19923 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19924 atan, atanh, cbrt, cos and cosh.
19925 * math/auto-libm-test-out: Regenerated.
19926 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19927 (acos_tonearest_test_data): Likewise.
19928 (acos_towardzero_test_data): Likewise.
19929 (acos_downward_test_data): Likewise.
19930 (acos_upward_test_data): Likewise.
19931 (acosh_test_data): Likewise.
19932 (asin_test_data): Likewise.
19933 (asin_tonearest_test_data): Likewise.
19934 (asin_towardzero_test_data): Likewise.
19935 (asin_upward_test_data): Likewise.
19936 (asinh_test_data): Likewise.
19937 (atan_test_data): Likewise.
19938 (atanh_test_data): Likewise.
19939 (cbrt_test_data): Likewise.
19940 (cos_test_data): Likewise.
19941 (cos_tonearest_test_data): Likewise.
19942 (cos_towardzero_test_data): Likewise.
19943 (cos_downward_test_data): Likewise.
19944 (cos_upward_test_data): Likewise.
19945 (cosh_test_data): Likewise.
19946 (cosh_tonearest_test_data): Likewise.
19947 (cosh_towardzero_test_data): Likewise.
19948 (cosh_downward_test_data): Likewise.
19949 (cosh_upward_test_data): Likewise.
19950 * sysdeps/i386/fpu/libm-test-ulps: Update.
19951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19953 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19956 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19957 * math/w_exp10f.c (__exp10f): Likewise.
19958 * math/w_exp10l.c (__exp10l): Likewise.
19959 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19960 errno settings in existing tests.
19963 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19964 precision control set to double precision.
19965 * sysdeps/i386/fpu/w_sqrt.c: New file.
19966 * math/auto-libm-test-in: Add more tests.
19967 * math/auto-libm-test-out: Update.
19969 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19970 (sqrt_test_tonearest): New function.
19971 (sqrt_towardzero_test_data): New variable.
19972 (sqrt_test_towardzero): New function.
19973 (sqrt_downward_test_data): New variable.
19974 (sqrt_test_downward): New function.
19975 (sqrt_upward_test_data): New variable.
19976 (sqrt_test_upward): New function.
19977 (main): Call the new functions.
19979 * math/gen-auto-libm-tests.c: New file.
19980 * math/auto-libm-test-in: Likewise.
19981 * math/auto-libm-test-out: New generated file.
19982 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19984 (%beautify): Add generated representations of zero.
19985 (top level): Set $auto_input and call parse_auto_input.
19986 (beautify): Remove trailing "f" from hex float constants.
19987 (parse_args): Handle XFAIL_TEST.
19988 (convert_condition): New function.
19989 (or_value): Likewise.
19990 (or_cond_value): Likewise.
19991 (generate_testfile): Handle AUTO_TESTS_* lines.
19992 (parse_auto_input): New function.
19993 * math/libm-test.inc (XFAIL_TEST): New macro.
19994 (ERRNO_UNCHANGED): Update value.
19995 (ERRNO_EDOM): Likewise.
19996 (ERRNO_ERANGE): Likewise.
19997 (IGNORE_RESULT): Likewise.
19998 (TEST_COND_flt_32): New macro.
19999 (TEST_COND_dbl_64): Likewise.
20000 (TEST_COND_ldbl_96_intel): Likewise.
20001 (TEST_COND_ldbl_96_m68k): Likewise.
20002 (TEST_COND_ldbl_128): Likewise.
20003 (TEST_COND_ldbl_128ibm): Likewise.
20004 (TEST_COND_long32): Likewise.
20005 (TEST_COND_long64): Likewise.
20006 (TEST_COND_before_rounding): Likewise.
20007 (TEST_COND_after_rounding): Likewise.
20008 (enable_test): Handle XFAIL_TEST flag.
20009 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20010 with finite results.
20011 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20012 auto-libm-test-out.
20014 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20015 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20018 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20019 __tls_get_addr_internal instead of __tls_get_offset in order to
20020 avoid GOT pointer dependency. Make rtld export
20021 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20022 __tls_get_addr since we are a __tls_get_offset platform.
20023 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20024 GOT pointer being set up before.
20025 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20027 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20029 * manual/math.texi (Errors in Math Functions): Document accuracy
20033 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20034 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20040 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20041 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20046 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20047 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20048 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20050 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20051 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20052 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20053 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20054 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20056 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20058 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20060 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20061 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20062 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20063 atomic-feupdateenv and flt-rounds.
20064 * sysdeps/powerpc/nofpu/Versions (libc): Add
20065 __atomic_feholdexcept, __atomic_feclearexcept,
20066 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20067 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20068 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20069 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20070 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20075 * manual/arith.texi (FP Exceptions): Document that exceptions may
20076 not be raised when matherr is used.
20077 (Math Error Reporting): Document overflow in directed rounding
20078 modes. Document that errno may not be set when finite values are
20079 returned on overflow. Document intent to set errno on underflow
20080 only for underflow to zero.
20083 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20084 round-to-nearest then adjust result for other rounding modes.
20085 * include/fenv.h (fegetround): Use libm_hidden_proto.
20086 * math/fegetround.c (fegetround): Use libm_hidden_def.
20087 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20088 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20089 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20092 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20093 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20094 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20095 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20097 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20100 * nss/Versions (libnss_files): Add
20101 _nss_files_gethostbyname3_r.
20102 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20104 (HOST_DB_LOOKUP): Remove macro.
20105 (_nss_files_gethostbyname_r): Implement function without the
20106 HOST_DB_LOOKUP macro.
20107 (_nss_files_gethostbyname2_r): Likewise.
20109 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20111 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20113 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20115 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20116 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20119 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20121 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20122 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20123 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20124 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20125 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20126 __fe_nomask_env_priv and attribute_hidden.
20127 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20128 (libc_feupdateenv_test_ppc): Likewise.
20129 (libc_feresetround_ppc): Likewise.
20130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20131 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20132 compat_symbol macro.
20133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20134 (__fe_nomask_env): Likewise.
20135 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20137 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20139 * string/Makefile: Remove ifunc tests.
20140 * string/test-string.h: Define TEST_IFUNC.
20141 * string/test-bcopy-ifunc.c: Remove.
20142 * string/test-bzero-ifunc.c: Likewise.
20143 * string/test-memccpy-ifunc.c: Likewise.
20144 * string/test-memchr-ifunc.c: Likewise.
20145 * string/test-memcmp-ifunc.c: Likewise.
20146 * string/test-memcpy-ifunc.c: Likewise.
20147 * string/test-memmem-ifunc.c: Likewise.
20148 * string/test-memmove-ifunc.c: Likewise.
20149 * string/test-mempcpy-ifunc.c: Likewise.
20150 * string/test-memrchr-ifunc.c: Likewise.
20151 * string/test-memset-ifunc.c: Likewise.
20152 * string/test-rawmemchr-ifunc.c: Likewise.
20153 * string/test-stpcpy-ifunc.c: Likewise.
20154 * string/test-stpncpy-ifunc.c: Likewise.
20155 * string/test-strcasecmp-ifunc.c: Likewise.
20156 * string/test-strcasestr-ifunc.c: Likewise.
20157 * string/test-strcat-ifunc.c: Likewise.
20158 * string/test-strchr-ifunc.c: Likewise.
20159 * string/test-strchrnul-ifunc.c: Likewise.
20160 * string/test-strcmp-ifunc.c: Likewise.
20161 * string/test-strcpy-ifunc.c: Likewise.
20162 * string/test-strcspn-ifunc.c: Likewise.
20163 * string/test-strlen-ifunc.c: Likewise.
20164 * string/test-strncasecmp-ifunc.c: Likewise.
20165 * string/test-strncat-ifunc.c: Likewise.
20166 * string/test-strncmp-ifunc.c: Likewise.
20167 * string/test-strncpy-ifunc.c: Likewise.
20168 * string/test-strnlen-ifunc.c: Likewise.
20169 * string/test-strpbrk-ifunc.c: Likewise.
20170 * string/test-strrchr-ifunc.c: Likewise.
20171 * string/test-strspn-ifunc.c: Likewise.
20172 * string/test-strstr-ifunc.c: Likewise.
20174 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20176 * benchtests/Makefile: Remove ifunc tests.
20177 * benchtests/bench-string.h: Define TEST_IFUNC.
20178 * benchtests/bench-bcopy-ifunc.c: Remove.
20179 * benchtests/bench-bzero-ifunc.c: Likewise.
20180 * benchtests/bench-memccpy-ifunc.c: Likewise.
20181 * benchtests/bench-memchr-ifunc.c: Likewise.
20182 * benchtests/bench-memcmp-ifunc.c: Likewise.
20183 * benchtests/bench-memcpy-ifunc.c: Likewise.
20184 * benchtests/bench-memmem-ifunc.c: Likewise.
20185 * benchtests/bench-memmove-ifunc.c: Likewise.
20186 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20187 * benchtests/bench-memrchr-ifunc.c: Likewise.
20188 * benchtests/bench-memset-ifunc.c: Likewise.
20189 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20190 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20191 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20192 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20193 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20194 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20195 * benchtests/bench-strcat-ifunc.c: Likewise.
20196 * benchtests/bench-strchr-ifunc.c: Likewise.
20197 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20198 * benchtests/bench-strcmp-ifunc.c: Likewise.
20199 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20200 * benchtests/bench-strcpy-ifunc.c: Likewise.
20201 * benchtests/bench-strcspn-ifunc.c: Likewise.
20202 * benchtests/bench-strlen-ifunc.c: Likewise.
20203 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20204 * benchtests/bench-strncat-ifunc.c: Likewise.
20205 * benchtests/bench-strncmp-ifunc.c: Likewise.
20206 * benchtests/bench-strncpy-ifunc.c: Likewise.
20207 * benchtests/bench-strnlen-ifunc.c: Likewise.
20208 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20209 * benchtests/bench-strrchr-ifunc.c: Likewise.
20210 * benchtests/bench-strsep-ifunc.c: Likewise.
20211 * benchtests/bench-strspn-ifunc.c: Likewise.
20212 * benchtests/bench-strstr-ifunc.c: Likewise.
20214 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20216 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20218 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20220 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20221 * rt/aio.h: Likewise.
20222 * sysdeps/gnu/bits/utmp.h: Likewise.
20223 * sysdeps/gnu/bits/utmpx.h: Likewise.
20224 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20225 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20226 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20227 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20228 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20229 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20230 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20231 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20232 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20233 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20234 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20235 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20236 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20238 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20239 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20240 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20241 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20242 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20243 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20244 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20245 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20246 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20247 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20248 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20250 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20251 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20252 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20253 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20254 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20255 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20256 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20257 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20258 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20259 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20260 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20261 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20262 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20263 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20264 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20265 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20267 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20270 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20271 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20273 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20275 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20276 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20279 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20282 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20283 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20284 (__fesetround): Remove define.
20285 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20286 rounding and exceptions handling.
20287 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20288 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20289 (__fe_nomask_env): Likewise.
20290 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20291 __fegetround instead of fegetround.
20292 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20293 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20295 2013-11-21 Roland McGrath <roland@hack.frob.com>
20297 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20300 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20302 2013-11-21 Meador Inge <meadori@codesourcery.com>
20305 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20306 (encrypt_r): Likewise.
20307 * malloc/obstack.h (obstack_free): Likewise.
20308 * posix/unistd.h (encrypt): Likewise.
20310 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20312 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20313 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20314 DL_CALL_DT_FINI() that call the functions directly.
20315 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20316 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20317 * elf/dl-fini.c: Likewise.
20319 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20321 * malloc/hooks.c (memalign_check): Add alignment rounding.
20322 * malloc/malloc.c (_mid_memalign): New function.
20323 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20324 Implement by calling _mid_memalign.
20325 * manual/probes.texi (Memory Allocation Probes): Remove
20326 memory_valloc_retry and memory_pvalloc_retry.
20328 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20330 * locale/programs/locarchive.c (open_archive): Add const
20331 qualifier to ARCHIVEFNAME and copy default fname to
20335 * libio/tst-widetext.input: Rename Oriya to Odia.
20336 * locale/iso-639.def: Likewise.
20338 * manual/probes.texi (Mathematical Function Probes): Add
20339 documentation for sin, cos, asin and acos probes.
20340 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20341 (__sin32): Add slowasin probe.
20342 (__cos32): Add slowacos probe.
20343 (__mpsin): Add slowsin probe.
20344 (__mpcos): Add slowcos probe.
20346 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20349 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20350 thread-local __sim_exceptions_thread and global
20351 __sim_exceptions_global.
20352 (__sim_disabled_exceptions): Change to thread-local
20353 __sim_disabled_exceptions_thread and global
20354 __sim_disabled_exceptions_global.
20355 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20356 and global __sim_round_mode_global.
20357 (__simulate_exceptions): Use thread-local floating-point state and
20358 set global state from it as needed.
20359 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20360 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20361 __sim_round_mode_thread.
20362 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20363 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20364 and global __sim_exceptions_global.
20365 (__sim_disabled_exceptions): Change to thread-local
20366 __sim_disabled_exceptions_thread and global
20367 __sim_disabled_exceptions_global.
20368 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20369 and global __sim_round_mode_global.
20370 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20371 (SIM_SET_GLOBAL): Likewise.
20372 * sysdeps/powerpc/soft-fp/sfp-machine.h
20373 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20374 __sim_round_mode_thread.
20375 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20376 __sim_disabled_exceptions_thread.
20377 (__sim_exceptions): Change to __sim_exceptions_thread.
20378 (__sim_disabled_exceptions): Change to
20379 __sim_disabled_exceptions_thread.
20380 (__sim_round_mode): Change to __sim_round_mode_thread.
20381 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20382 thread-local floating-point state and set global state from it as
20384 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20385 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20386 (__sim_disabled_exceptions): Remove extern declaration.
20387 (feenableexcept): Use thread-local floating-point state and set
20388 global state from it as needed.
20389 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20390 extern declaration.
20391 (__sim_disabled_exceptions): Likewise.
20392 (__sim_round_mode): Likewise.
20393 (__fegetenv): Use thread-local floating-point state.
20394 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20395 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20396 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20397 floating-point state and set global state from it as needed.
20398 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20399 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20400 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20402 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20403 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20405 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20406 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20407 Use __sim_round_mode_thread.
20408 * math/test-fenv-tls.c: New file.
20409 * math/Makefile (tests): Add test-fenv-tls.
20410 ($(objpfx)test-fenv-tls): Depend on
20411 $(common-objpfx)nptl/libpthread.so.
20413 2013-11-19 Andreas Schwab <schwab@suse.de>
20415 * locale/programs/locale.c (show_info): Decode wordarray elements.
20416 * locale/categories.def (LC_MONETARY): Add element for
20417 _NL_MONETARY_CRNCYSTR.
20418 * locale/C-monetary.c (conversion_rate): New variable.
20419 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20422 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20424 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20425 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20427 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20429 * elf/Makefile (tst-auxv): New test.
20430 * elf/tst-auxv.c: New
20431 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20433 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20435 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20436 (hidden_proto): Caller changed.
20437 (hidden_tls_proto): New macro.
20438 (libc_hidden_tls_proto): Likewise.
20439 (rtld_hidden_tls_proto): Likewise.
20440 (libm_hidden_tls_proto): Likewise.
20441 (libresolv_hidden_tls_proto): Likewise.
20442 (librt_hidden_tls_proto): Likewise.
20443 (libdl_hidden_tls_proto): Likewise.
20444 (libnss_files_hidden_tls_proto): Likewise.
20445 (libnsl_hidden_tls_proto): Likewise.
20446 (libnss_nisplus_hidden_tls_proto): Likewise.
20447 (libutil_hidden_tls_proto): Likewise.
20449 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20452 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20453 (decompose_rpath): Defer expansion to fillin_rpath.
20454 (_dl_init_paths): Pass linkmap to fillin_rpath.
20456 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20458 * benchtests/Makefile: Add strsep.
20459 * benchtests/bench-strsep.c: New file: strsep benchtest.
20460 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20462 2013-11-18 Andreas Schwab <schwab@suse.de>
20464 * locale/programs/locale.c (show_info) [case byte]: Check for
20465 '\377' instead of '\177'.
20466 * locale/C-monetary.c (not_available): Always use "\377".
20467 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20468 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20469 detect unavailable sign_posn locale elements.
20470 * locale/localeconv.c (__localeconv): For grouping and
20471 mon_grouping handle "\177" and "\377" like no grouping.
20472 (INT_ELEM): New macro. Use it to set all numeric members.
20473 * locale/programs/ld-monetary.c (monetary_read)
20474 <tok_mon_grouping>: Normalize single -1 to the empty string.
20475 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20478 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20482 when we match (nil).
20483 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20485 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20487 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20488 (NO_TEST_INLINE): Update value.
20489 (ERRNO_UNCHANGED): Likewise.
20490 (ERRNO_EDOM): Likewise.
20491 (ERRNO_ERANGE): Likewise.
20492 (IGNORE_RESULT): Likewise.
20493 (check_float_internal): Check signs of NaN results if
20494 TEST_NAN_SIGN used.
20495 (check_complex): Pass TEST_NAN_SIGN flag through to second
20496 check_float_internal call.
20497 (copysign_test_data): Add tests with quiet NaNs as second
20498 argument. Use TEST_NAN_SIGN.
20499 (fabs_test_data): Add test of negative quiet NaN argument. Use
20501 (signbit_test_data): Add tests of quiet NaN argument.
20502 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20504 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20506 (parse_args): Handle function results specified as IGNORE.
20507 * math/libm-test.inc (IGNORE_RESULT): New macro.
20508 (check_float_internal): Do not check numerical result if flag
20510 (check_complex): Pass through IGNORE_RESULT to second
20511 check_float_internal call.
20512 (check_int): Do not check numerical result if flag IGNORE_RESULT
20514 (check_long): Likewise.
20515 (check_bool): Likewise.
20516 (check_longlong): Likewise.
20517 (lrint_test_data): Add tests of infinite and NaN arguments.
20518 (lrint_tonearest_test_data): Likewise.
20519 (lrint_towardzero_test_data): Likewise.
20520 (lrint_downward_test_data): Likewise.
20521 (lrint_upward_test_data): Likewise.
20522 (llrint_test_data): Likewise.
20523 (llrint_tonearest_test_data): Likewise.
20524 (llrint_towardzero_test_data): Likewise.
20525 (llrint_downward_test_data): Likewise.
20526 (llrint_upward_test_data): Likewise.
20527 (lround_test_data): Likewise.
20528 (llround_test_data): Likewise.
20530 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20531 (ERRNO_UNCHANGED): Update value.
20532 (ERRNO_EDOM): Likewise.
20533 (ERRNO_ERANGE): Likewise.
20534 (NO_TEST_INLINE_FLOAT): New macro.
20535 (NO_TEST_INLINE_DOUBLE): Likewise.
20536 (enable_test): New function.
20537 (RUN_TEST_f_f): Check enable_test before running test.
20538 (RUN_TEST_2_f): Likewise.
20539 (RUN_TEST_fff_f): Likewise.
20540 (RUN_TEST_c_f): Likewise.
20541 (RUN_TEST_f_f1): Likewise.
20542 (RUN_TEST_fF_f1): Likewise.
20543 (RUN_TEST_fI_f1): Likewise.
20544 (RUN_TEST_ffI_f1): Likewise.
20545 (RUN_TEST_c_c): Likewise.
20546 (RUN_TEST_cc_c): Likewise.
20547 (RUN_TEST_f_i): Likewise.
20548 (RUN_TEST_f_i_tg): Likewise.
20549 (RUN_TEST_ff_i_tg): Likewise.
20550 (RUN_TEST_f_b): Likewise.
20551 (RUN_TEST_f_b_tg): Likewise.
20552 (RUN_TEST_f_l): Likewise.
20553 (RUN_TEST_f_L): Likewise.
20554 (RUN_TEST_fFF_11): Likewise.
20555 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20557 (cosh_test_data): Likewise.
20558 (exp_test_data): Likewise.
20559 (expm1_test_data): Likewise.
20560 (hypot_test_data): Likewise.
20561 (pow_test_data): Likewise.
20562 (sinh_test_data): Likewise.
20563 (tanh_test_data): Likewise.
20564 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20567 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20568 tests with quiet NaN input and output.
20569 (acosh_test_data): Likewise.
20570 (asin_test_data): Likewise.
20571 (asinh_test_data): Likewise.
20572 (atan_test_data): Likewise.
20573 (atanh_test_data): Likewise.
20574 (atan2_test_data): Likewise.
20575 (cbrt_test_data): Likewise.
20576 (cos_test_data): Likewise.
20577 (cosh_test_data): Likewise.
20578 (erf_test_data): Likewise.
20579 (erfc_test_data): Likewise.
20580 (exp_test_data): Likewise.
20581 (exp10_test_data): Likewise.
20582 (exp2_test_data): Likewise.
20583 (expm1_test_data): Likewise.
20584 (hypot_test_data): Likewise.
20585 (j0_test_data): Likewise.
20586 (j1_test_data): Likewise.
20587 (jn_test_data): Likewise.
20588 (lgamma_test_data): Likewise.
20589 (log_test_data): Likewise.
20590 (log10_test_data): Likewise.
20591 (log1p_test_data): Likewise.
20592 (log2_test_data): Likewise.
20593 (pow_test_data): Likewise.
20594 (scalb_test_data): Likewise.
20595 (sin_test_data): Likewise.
20596 (sincos_test_data): Likewise.
20597 (sinh_test_data): Likewise.
20598 (tan_test_data): Likewise.
20599 (tanh_test_data): Likewise.
20600 (tgamma_test_data): Likewise.
20601 (y0_test_data): Likewise.
20602 (y1_test_data): Likewise.
20603 (yn_test_data): Likewise.
20606 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20607 argument being NaN and avoid computations with second argument in
20609 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20610 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20611 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20613 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20615 * locale/iso-639.def: Add Chitwani Tharu (the).
20617 2013-11-14 Andreas Schwab <schwab@suse.de>
20619 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20620 word instead of empty string.
20622 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20625 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20627 (__fe_nomask_env): Likewise.
20629 2013-11-13 Steve Ellcey <sellcey@mips.com>
20631 * benchtests/bench-timing.h: Include time.h.
20633 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20636 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20638 * sysdeps/unix/sysv/linux/configure: Regenerated.
20640 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20643 * stdlib/strtod_l.c (round_and_return): Do not consider
20644 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20645 exponent one less than half the least subnormal exponent.
20646 * stdlib/test-strtod-round-data: Add more tests.
20647 * stdlib/tst-strtod-round.c (tests): Regenerated.
20649 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20652 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20653 (__fe_mask_env): Likewise.
20654 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20655 libm_hidden_proto and add function prototype.
20656 (__fe_mask_env): Add function prototype.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20658 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20660 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20662 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20664 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20666 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20667 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20669 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20671 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20672 of htab_find_slot().
20674 2013-11-11 David S. Miller <davem@davemloft.net>
20677 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20678 symbol in the non-vis3 case in static builds.
20679 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20680 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20681 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20682 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20684 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20687 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20690 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20692 * benchtests/Makefile: Add bench-strtod.
20693 * benchtests/bench-strtod.c: New file: strtod benchtest
20695 2013-11-11 Andreas Schwab <schwab@suse.de>
20698 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20699 terminating NUL in key length.
20701 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20703 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20704 Add artificial ODP entry for vDSO symbol for PPC64.
20705 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20706 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20708 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20711 * nss/getent.c (services_keys): Recognize services starting with digit.
20713 2013-11-06 David S. Miller <davem@davemloft.net>
20716 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20717 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20719 2013-11-06 Will Newton <will.newton@linaro.org>
20721 * manual/memory.texi (Malloc Examples): Remove register
20722 keyword from examples.
20724 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20726 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20728 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20731 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20732 depending on [__GCC_IEC_559 > 0].
20733 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20734 depending on [__GCC_IEC_559_COMPLEX > 0].
20736 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20738 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20741 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20743 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20745 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20748 * malloc/malloc (malloc_info): Do not handle first bin as
20751 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20753 * locale/iso-639.def: Add Central Nahuatl (nhn).
20755 2013-11-01 Bruno Haible <bruno@clisp.org>
20758 * manual/math.texi (BSD Random): Specify range upper bound as
20761 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20763 * locale/iso-639.def: Add Meadow Mari (mhr).
20765 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20767 [BZ #14752], [BZ #15763]
20768 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20770 * rt/tst_shm.c: Add test for escaping directory.
20772 2013-10-31 Andreas Schwab <schwab@suse.de>
20775 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20776 followed by 'x' as part of digit sequence.
20777 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20779 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20782 * configure.ac: allow GNU Make 4.0 and greater.
20783 * configure: Regenerated.
20785 2013-10-30 Will Newton <will.newton@linaro.org>
20788 * malloc/hooks.c (memalign_check): Limit alignment to the
20789 maximum representable power of two.
20790 * malloc/malloc.c (__libc_memalign): Likewise.
20791 * malloc/tst-memalign.c (do_test): Add test for very
20792 large alignment values.
20793 * malloc/tst-posix_memalign.c (do_test): Likewise.
20795 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20798 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20799 (munmap_chunk): Likewise.
20800 (mremap_chunk): Likewise.
20802 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20805 * stdlib/div.c (div): Remove obsolete code.
20806 * stdlib/ldiv.c (ldiv): Likewise.
20807 * stdlib/lldiv.c (lldiv): Likewise.
20809 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20812 * nss/nss_files/files-XXX.c (get_contents_ret): New
20814 (get_contents): New function.
20815 (internal_getent): Use it. Expand size of LINEBUFLEN.
20817 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20819 * configure.in: Moved to ...
20820 * configure.ac: ... here. Change reference to configure.in
20822 * sysdeps/arm/preconfigure.ac: ... here.
20823 configure.in to configure.ac.
20824 * sysdeps/gnu/configure.in: Moved to ...
20825 * sysdeps/gnu/configure.ac: ... here.
20826 * sysdeps/i386/configure.in: Moved to ...
20827 * sysdeps/i386/configure.ac: ... here.
20828 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20829 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20830 * sysdeps/mach/configure.in: Moved to ...
20831 * sysdeps/mach/configure.ac: ... here.
20832 * sysdeps/mach/hurd/configure.in: Moved to ...
20833 * sysdeps/mach/hurd/configure.ac: ... here.
20834 * sysdeps/powerpc/configure.in: Moved to ...
20835 * sysdeps/powerpc/configure.ac: ... here.
20836 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20837 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20838 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20839 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20840 * sysdeps/s390/s390-32/configure.in: Moved to ...
20841 * sysdeps/s390/s390-32/configure.ac: ... here.
20842 * sysdeps/s390/s390-64/configure.in: Moved to ...
20843 * sysdeps/s390/s390-64/configure.ac: ... here.
20844 * sysdeps/sh/configure.in: Moved to ...
20845 * sysdeps/sh/configure.ac: ... here.
20846 * sysdeps/sparc/configure.in: Moved to ...
20847 * sysdeps/sparc/configure.ac: ... here.
20848 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20849 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20850 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20851 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20852 * sysdeps/x86_64/configure.in: Moved to ...
20853 * sysdeps/x86_64/configure.ac: ... here.
20854 * sysdeps/x86_64/preconfigure.in: Moved to ...
20855 * sysdeps/x86_64/preconfigure.ac: ... here.
20856 * aclocal.m4: Change reference to configure.in to configure.ac.
20857 * config.h.in: Likewise.
20858 * manual/install.texi: Likewise.
20859 * manual/maint.texi: Likewise.
20860 * Makefile: Likewise.
20861 * malloc/Makefile: Likewise.
20862 * nscd/Makefile: Likewise.
20863 * Makeconfig: Change reference to configure.in and
20864 preconfigure.in to configure.ac and preconfigure.ac
20866 * INSTALL: Regenerated.
20867 * configure: Likewise.
20868 * sysdeps/gnu/configure: Likewise.
20869 * sysdeps/i386/configure: Likewise.
20870 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20871 * sysdeps/mach/configure: Likewise.
20872 * sysdeps/mach/hurd/configure: Likewise.
20873 * sysdeps/powerpc/configure: Likewise.
20874 * sysdeps/powerpc/powerpc32/configure: Likewise.
20875 * sysdeps/powerpc/powerpc64/configure: Likewise.
20876 * sysdeps/s390/s390-32/configure: Likewise.
20877 * sysdeps/s390/s390-64/configure: Likewise.
20878 * sysdeps/sh/configure: Likewise.
20879 * sysdeps/sparc/configure: Likewise.
20880 * sysdeps/unix/sysv/linux/configure: Likewise.
20881 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20882 * sysdeps/x86_64/configure: Likewise.
20883 * sysdeps/x86_64/preconfigure: Likewise.
20885 2013-10-29 Andreas Schwab <schwab@suse.de>
20887 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20889 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20891 * benchtests/pow-inputs: Add new inputs.
20893 * benchtests/exp-inputs: Add new inputs.
20895 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20896 conditional check for return value.
20897 (__cos32): Likewise.
20899 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20901 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20902 to provide a boost for large inputs with word alignment.
20903 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20904 implementation based on optimized PPC64 strcpy.
20905 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20906 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20907 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20908 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20910 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20913 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20915 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20918 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20919 * time/tst-strptime.c (day_tests): Add testcase.
20921 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20924 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20926 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20929 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20930 MAP_FAILED on error.
20932 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20935 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20936 heap for large requests.
20938 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20941 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20942 result if the result has no associated interface.
20943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20944 interface for all 127.X.Y.Z addresses.
20946 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20948 * locale/iso-639.def: Add Ligurian (lij)
20950 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20953 * sunrpc/rpc_main.c: Document rpcgen -5.
20955 2013-10-19 Michael Stahl <mstahl@redhat.com>
20957 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20959 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20962 * posix/glob.c: Match only directories when trailing slash is present.
20963 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20964 (main): Add testcase.
20966 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20969 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20971 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20973 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20974 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20975 AUTH_DES and cindex for FIPS 140-2.
20976 (DES Encryption): Add cindex FIPS 46-3.
20978 * locale/locarchive.h (struct locarhandle): Add fname.
20979 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20980 if an optional argument was specified to --list-archive,
20982 * locale/programs/locarchive.c (show_archive_content): Take new
20983 argument fname and pass it via ah.fname to open_archive.
20984 * locale/programs/localedef.h: Update decl.
20985 (open_archive): If AH->fname is non-null, open that file
20986 rather than the default file name, and don't ignore ENOENT.
20987 (create_archive): Set AH.fname to NULL.
20988 (delete_locales_from_archive): Likewise.
20989 (add_locales_to_archive): Likewise.
20990 * locale/programs/locfile.c (write_all_categories): Likewise.
20992 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20993 Aldy Hernandez <aldyh@redhat.com>
20995 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20996 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20997 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20998 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20999 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21002 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21003 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21006 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21007 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21008 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21009 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21011 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21013 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21015 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21017 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21018 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21020 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21021 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21022 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21023 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21025 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21026 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21027 * sysdeps/powerpc/preconfigure: Likewise.
21028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21030 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21031 Replace contents of file by #include of <fenv_libc.h>.
21032 * sysdeps/powerpc/soft-fp/sfp-machine.h
21033 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21035 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21048 Allow copysignl PLT reference to be missing.
21050 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21051 Joseph Myers <joseph@codesourcery.com
21054 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21056 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21058 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21060 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21061 * elf/tst-tls1.c: Likewise.
21062 * elf/tst-tls10.h: Likewise.
21063 * elf/tst-tls14.c: Likewise.
21064 * elf/tst-tls2.c: Likewise.
21065 * elf/tst-tls3.c: Likewise.
21066 * elf/tst-tls4.c: Likewise.
21067 * elf/tst-tls5.c: Likewise.
21068 * elf/tst-tls6.c: Likewise.
21069 * elf/tst-tls7.c: Likewise.
21070 * elf/tst-tls8.c: Likewise.
21071 * elf/tst-tls9.c: Likewise.
21072 * elf/tst-tlsmod1.c: Likewise.
21073 * elf/tst-tlsmod13.c: Likewise.
21074 * elf/tst-tlsmod13a.c: Likewise.
21075 * elf/tst-tlsmod14a.c: Likewise.
21076 * elf/tst-tlsmod16a.c: Likewise.
21077 * elf/tst-tlsmod16b.c: Likewise.
21078 * elf/tst-tlsmod2.c: Likewise.
21079 * elf/tst-tlsmod3.c: Likewise.
21080 * elf/tst-tlsmod4.c: Likewise.
21081 * elf/tst-tlsmod5.c: Likewise.
21082 * elf/tst-tlsmod6.c: Likewise.
21084 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21087 * malloc/malloc.c: remove checks for statistics.
21089 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21092 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21093 * inet/tst-network.c: Add testcase.
21095 2013-10-17 Andreas Schwab <schwab@suse.de>
21098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21099 to determine canonical name.
21101 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21103 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21104 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21127 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21128 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21162 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21165 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21166 make result into a quiet NaN.
21168 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21170 * soft-fp/adddf3.c: Fix horizontal whitespace.
21171 * soft-fp/addsf3.c: Likewise.
21172 * soft-fp/addtf3.c: Likewise.
21173 * soft-fp/divdf3.c: Likewise.
21174 * soft-fp/divsf3.c: Likewise.
21175 * soft-fp/divtf3.c: Likewise.
21176 * soft-fp/double.h: Likewise.
21177 * soft-fp/eqdf2.c: Likewise.
21178 * soft-fp/eqsf2.c: Likewise.
21179 * soft-fp/eqtf2.c: Likewise.
21180 * soft-fp/extenddftf2.c: Likewise.
21181 * soft-fp/extended.h: Likewise.
21182 * soft-fp/extendsfdf2.c: Likewise.
21183 * soft-fp/extendsftf2.c: Likewise.
21184 * soft-fp/extendxftf2.c: Likewise.
21185 * soft-fp/fixdfdi.c: Likewise.
21186 * soft-fp/fixdfsi.c: Likewise.
21187 * soft-fp/fixdfti.c: Likewise.
21188 * soft-fp/fixsfdi.c: Likewise.
21189 * soft-fp/fixsfsi.c: Likewise.
21190 * soft-fp/fixsfti.c: Likewise.
21191 * soft-fp/fixtfdi.c: Likewise.
21192 * soft-fp/fixtfsi.c: Likewise.
21193 * soft-fp/fixtfti.c: Likewise.
21194 * soft-fp/fixunsdfdi.c: Likewise.
21195 * soft-fp/fixunsdfsi.c: Likewise.
21196 * soft-fp/fixunsdfti.c: Likewise.
21197 * soft-fp/fixunssfdi.c: Likewise.
21198 * soft-fp/fixunssfsi.c: Likewise.
21199 * soft-fp/fixunssfti.c: Likewise.
21200 * soft-fp/fixunstfdi.c: Likewise.
21201 * soft-fp/fixunstfsi.c: Likewise.
21202 * soft-fp/fixunstfti.c: Likewise.
21203 * soft-fp/floatdidf.c: Likewise.
21204 * soft-fp/floatdisf.c: Likewise.
21205 * soft-fp/floatditf.c: Likewise.
21206 * soft-fp/floatsidf.c: Likewise.
21207 * soft-fp/floatsisf.c: Likewise.
21208 * soft-fp/floatsitf.c: Likewise.
21209 * soft-fp/floattidf.c: Likewise.
21210 * soft-fp/floattisf.c: Likewise.
21211 * soft-fp/floattitf.c: Likewise.
21212 * soft-fp/floatundidf.c: Likewise.
21213 * soft-fp/floatundisf.c: Likewise.
21214 * soft-fp/floatunditf.c: Likewise.
21215 * soft-fp/floatunsidf.c: Likewise.
21216 * soft-fp/floatunsisf.c: Likewise.
21217 * soft-fp/floatunsitf.c: Likewise.
21218 * soft-fp/floatuntidf.c: Likewise.
21219 * soft-fp/floatuntisf.c: Likewise.
21220 * soft-fp/floatuntitf.c: Likewise.
21221 * soft-fp/fmadf4.c: Likewise.
21222 * soft-fp/fmasf4.c: Likewise.
21223 * soft-fp/fmatf4.c: Likewise.
21224 * soft-fp/gedf2.c: Likewise.
21225 * soft-fp/gesf2.c: Likewise.
21226 * soft-fp/getf2.c: Likewise.
21227 * soft-fp/ledf2.c: Likewise.
21228 * soft-fp/lesf2.c: Likewise.
21229 * soft-fp/letf2.c: Likewise.
21230 * soft-fp/muldf3.c: Likewise.
21231 * soft-fp/mulsf3.c: Likewise.
21232 * soft-fp/multf3.c: Likewise.
21233 * soft-fp/negdf2.c: Likewise.
21234 * soft-fp/negsf2.c: Likewise.
21235 * soft-fp/negtf2.c: Likewise.
21236 * soft-fp/op-1.h: Likewise.
21237 * soft-fp/op-2.h: Likewise.
21238 * soft-fp/op-4.h: Likewise.
21239 * soft-fp/op-8.h: Likewise.
21240 * soft-fp/op-common.h: Likewise.
21241 * soft-fp/quad.h: Likewise.
21242 * soft-fp/single.h: Likewise.
21243 * soft-fp/soft-fp.h: Likewise.
21244 * soft-fp/sqrtdf2.c: Likewise.
21245 * soft-fp/sqrtsf2.c: Likewise.
21246 * soft-fp/sqrttf2.c: Likewise.
21247 * soft-fp/subdf3.c: Likewise.
21248 * soft-fp/subsf3.c: Likewise.
21249 * soft-fp/subtf3.c: Likewise.
21250 * soft-fp/truncdfsf2.c: Likewise.
21251 * soft-fp/trunctfdf2.c: Likewise.
21252 * soft-fp/trunctfsf2.c: Likewise.
21253 * soft-fp/trunctfxf2.c: Likewise.
21254 * soft-fp/unorddf2.c: Likewise.
21255 * soft-fp/unordsf2.c: Likewise.
21256 * soft-fp/unordtf2.c: Likewise.
21258 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21260 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21261 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21263 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21265 * elf/dl-libc.c: Clear initfini list after freeing.
21267 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21269 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21270 * soft-fp/addsf3.c: Likewise.
21271 * soft-fp/addtf3.c: Likewise.
21272 * soft-fp/divdf3.c: Likewise.
21273 * soft-fp/divsf3.c: Likewise.
21274 * soft-fp/divtf3.c: Likewise.
21275 * soft-fp/double.h: Likewise.
21276 * soft-fp/eqdf2.c: Likewise.
21277 * soft-fp/eqsf2.c: Likewise.
21278 * soft-fp/eqtf2.c: Likewise.
21279 * soft-fp/extenddftf2.c: Likewise.
21280 * soft-fp/extended.h: Likewise.
21281 * soft-fp/extendsfdf2.c: Likewise.
21282 * soft-fp/extendsftf2.c: Likewise.
21283 * soft-fp/extendxftf2.c: Likewise.
21284 * soft-fp/fixdfdi.c: Likewise.
21285 * soft-fp/fixdfsi.c: Likewise.
21286 * soft-fp/fixdfti.c: Likewise.
21287 * soft-fp/fixsfdi.c: Likewise.
21288 * soft-fp/fixsfsi.c: Likewise.
21289 * soft-fp/fixsfti.c: Likewise.
21290 * soft-fp/fixtfdi.c: Likewise.
21291 * soft-fp/fixtfsi.c: Likewise.
21292 * soft-fp/fixtfti.c: Likewise.
21293 * soft-fp/fixunsdfdi.c: Likewise.
21294 * soft-fp/fixunsdfsi.c: Likewise.
21295 * soft-fp/fixunsdfti.c: Likewise.
21296 * soft-fp/fixunssfdi.c: Likewise.
21297 * soft-fp/fixunssfsi.c: Likewise.
21298 * soft-fp/fixunssfti.c: Likewise.
21299 * soft-fp/fixunstfdi.c: Likewise.
21300 * soft-fp/fixunstfsi.c: Likewise.
21301 * soft-fp/fixunstfti.c: Likewise.
21302 * soft-fp/floatdidf.c: Likewise.
21303 * soft-fp/floatdisf.c: Likewise.
21304 * soft-fp/floatditf.c: Likewise.
21305 * soft-fp/floatsidf.c: Likewise.
21306 * soft-fp/floatsisf.c: Likewise.
21307 * soft-fp/floatsitf.c: Likewise.
21308 * soft-fp/floattidf.c: Likewise.
21309 * soft-fp/floattisf.c: Likewise.
21310 * soft-fp/floattitf.c: Likewise.
21311 * soft-fp/floatundidf.c: Likewise.
21312 * soft-fp/floatundisf.c: Likewise.
21313 * soft-fp/floatunsidf.c: Likewise.
21314 * soft-fp/floatunsisf.c: Likewise.
21315 * soft-fp/floatuntidf.c: Likewise.
21316 * soft-fp/floatuntisf.c: Likewise.
21317 * soft-fp/floatuntitf.c: Likewise.
21318 * soft-fp/fmadf4.c: Likewise.
21319 * soft-fp/fmasf4.c: Likewise.
21320 * soft-fp/fmatf4.c: Likewise.
21321 * soft-fp/gedf2.c: Likewise.
21322 * soft-fp/gesf2.c: Likewise.
21323 * soft-fp/getf2.c: Likewise.
21324 * soft-fp/ledf2.c: Likewise.
21325 * soft-fp/lesf2.c: Likewise.
21326 * soft-fp/letf2.c: Likewise.
21327 * soft-fp/muldf3.c: Likewise.
21328 * soft-fp/mulsf3.c: Likewise.
21329 * soft-fp/multf3.c: Likewise.
21330 * soft-fp/negdf2.c: Likewise.
21331 * soft-fp/negsf2.c: Likewise.
21332 * soft-fp/negtf2.c: Likewise.
21333 * soft-fp/op-1.h: Likewise.
21334 * soft-fp/op-2.h: Likewise.
21335 * soft-fp/op-4.h: Likewise.
21336 * soft-fp/op-8.h: Likewise.
21337 * soft-fp/op-common.h: Likewise.
21338 * soft-fp/quad.h: Likewise.
21339 * soft-fp/single.h: Likewise.
21340 * soft-fp/soft-fp.h: Likewise.
21341 * soft-fp/sqrtdf2.c: Likewise.
21342 * soft-fp/sqrtsf2.c: Likewise.
21343 * soft-fp/sqrttf2.c: Likewise.
21344 * soft-fp/subdf3.c: Likewise.
21345 * soft-fp/subsf3.c: Likewise.
21346 * soft-fp/subtf3.c: Likewise.
21347 * soft-fp/truncdfsf2.c: Likewise.
21348 * soft-fp/trunctfdf2.c: Likewise.
21349 * soft-fp/trunctfsf2.c: Likewise.
21350 * soft-fp/trunctfxf2.c: Likewise.
21351 * soft-fp/unorddf2.c: Likewise.
21352 * soft-fp/unordsf2.c: Likewise.
21353 * soft-fp/unordtf2.c: Likewise.
21355 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21358 * misc/error.c (error_tail): Fix possible buffer overflow.
21360 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21363 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21366 2013-10-14 P. J. McDermott <pj@pehjota.net>
21369 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21370 testing pipefail option.
21372 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21374 * soft-fp/double.h: Indent preprocessor directives inside #if.
21375 * soft-fp/extended.h: Likewise.
21376 * soft-fp/op-2.h: Likewise.
21377 * soft-fp/op-4.h: Likewise.
21378 * soft-fp/op-common.h: Likewise.
21379 * soft-fp/quad.h: Likewise.
21380 * soft-fp/single.h: Likewise.
21381 * soft-fp/soft-fp.h: Likewise.
21383 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21385 * iconv/iconv_prog.c: Fix typos.
21386 * stdio-common/psiginfo-data.h: Likewise.
21388 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21391 * locale/setlocale.c: Fix typo.
21393 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21396 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21397 signaling NaN arguments.
21398 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21399 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21402 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21403 unordered operands.
21404 * soft-fp/gesf2.c (__gesf2): Likewise.
21405 * soft-fp/getf2.c (__getf2): Likewise.
21406 * soft-fp/ledf2.c (__ledf2): Likewise.
21407 * soft-fp/lesf2.c (__lesf2): Likewise.
21408 * soft-fp/letf2.c (__letf2): Likewise.
21410 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21411 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21412 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21413 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21414 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21415 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21416 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21417 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21418 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21419 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21420 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21421 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21422 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21423 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21424 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21425 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21426 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21427 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21428 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21429 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21430 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21431 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21432 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21433 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21434 * soft-fp/floattidf.c (__floattidf): Likewise.
21435 * soft-fp/floattisf.c (__floattisf): Likewise.
21436 * soft-fp/floattitf.c (__floattitf): Likewise.
21437 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21438 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21439 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21440 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21441 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21442 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21443 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21444 * soft-fp/gesf2.c (__gesf2): Likewise.
21445 * soft-fp/getf2.c (__getf2): Likewise.
21446 * soft-fp/ledf2.c (__ledf2): Likewise.
21447 * soft-fp/lesf2.c (__lesf2): Likewise.
21448 * soft-fp/letf2.c (__letf2): Likewise.
21450 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21451 Undefine and redefine.
21452 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21453 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21454 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21455 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21456 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21457 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21458 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21459 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21460 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21461 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21462 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21463 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21464 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21465 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21466 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21469 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21470 without decrementing exponent if mantissa >= that for the
21471 denominator, not >.
21472 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21473 denominator, not >. Decrement exponent in < case instead of
21474 incrementing in >= case.
21475 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21476 without decrementing exponent if mantissa >= that for the
21477 denominator, not >.
21479 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21480 computing saturated result for unsigned overflow.
21482 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21483 Jeff Law <law@redhat.com>
21485 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21486 (atan2Mp): Add systemtap probe marker.
21487 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21488 (__ieee754_log): Add systemtap probe marker.
21489 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21490 (atanMp): Add systemtap probe marker.
21491 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21492 (tanMp): Add systemtap probe marker.
21493 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21494 (__slowexp): Add systemtap probe marker.
21495 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21496 (__slowpow): Add systemtap probe marker.
21497 * manual/probes.texi: Document probes.
21499 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21502 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21504 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21506 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21507 written to buffer but not flushed.
21508 * libio/iofwrite_u.c: Likewise.
21509 * libio/iopadn.c: Return bytes returned even if EOF was
21511 * libio/iowpadn.c: Likewise.
21512 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21513 if _IO_padn does not write the whole buffer.
21514 [!COMPILE_WPRINTF] (PAD): Likewise.
21516 2013-10-10 David S. Miller <davem@davemloft.net>
21518 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21521 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21523 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21524 instead of FSF address.
21525 * soft-fp/fixdfti.c: Likewise.
21526 * soft-fp/fixsfti.c: Likewise.
21527 * soft-fp/fixtfti.c: Likewise.
21528 * soft-fp/fixunsdfti.c: Likewise.
21529 * soft-fp/fixunssfti.c: Likewise.
21530 * soft-fp/fixunstfti.c: Likewise.
21531 * soft-fp/floattidf.c: Likewise.
21532 * soft-fp/floattisf.c: Likewise.
21533 * soft-fp/floattitf.c: Likewise.
21534 * soft-fp/floatuntidf.c: Likewise.
21535 * soft-fp/floatuntisf.c: Likewise.
21536 * soft-fp/floatuntitf.c: Likewise.
21537 * soft-fp/trunctfxf2.c: Likewise.
21539 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21540 * soft-fp/fixdfti.c: Likewise.
21541 * soft-fp/fixsfti.c: Likewise.
21542 * soft-fp/fixtfti.c: Likewise.
21543 * soft-fp/fixunsdfti.c: Likewise.
21544 * soft-fp/fixunssfti.c: Likewise.
21545 * soft-fp/fixunstfti.c: Likewise.
21546 * soft-fp/floattidf.c: Likewise.
21547 * soft-fp/floattisf.c: Likewise.
21548 * soft-fp/floattitf.c: Likewise.
21549 * soft-fp/floatuntidf.c: Likewise.
21550 * soft-fp/floatuntisf.c: Likewise.
21551 * soft-fp/floatuntitf.c: Likewise.
21552 * soft-fp/trunctfxf2.c: Likewise.
21554 2013-10-10 David S. Miller <davem@davemloft.net>
21556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21558 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21560 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21561 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21562 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21563 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21564 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21565 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21566 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21569 for NaNs before doing comparisons on argument.
21570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21573 2013-10-10 Will Newton <will.newton@linaro.org>
21575 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21576 passed to _int_memalign does not overflow.
21578 2013-10-10 Torvald Riegel <triegel@redhat.com>
21580 * scripts/bench.pl: Add include-sources directive.
21581 * benchtests/README: Update documentation.
21583 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21585 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21586 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21587 instead of FP_INIT_ROUNDMODE.
21588 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21589 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21592 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21593 copy class of input value.
21594 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21595 not handle exceptions.
21596 * soft-fp/negsf2.c (__negsf2): Likewise.
21597 * soft-fp/negtf2.c (__negtf2): Likewise.
21598 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21600 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21602 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21603 semicolon. From Linux kernel.
21605 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21607 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21609 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21612 * manual/socket.texi: Added statement about buffer
21613 for gethostbyname2_r.
21615 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21617 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21618 Use .p2align directive instead, throughout.
21619 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21620 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21621 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21624 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21625 * sysdeps/x86_64/strchr.S: Likewise.
21626 * sysdeps/x86_64/strrchr.S: Likewise.
21628 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21630 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21632 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21634 * sysdeps/generic/math_private.h (__mpsin1): Remove
21636 (__mpcos1): Likewise.
21637 (__mpsin): New argument __range_reduce.
21638 (__mpcos): Likewise.
21639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21640 (slow): Use __mpsin and __mpcos.
21644 (sloww1): Likewise.
21645 (sloww2): Likewise.
21646 (bsloww): Likewise.
21647 (bsloww1): Likewise.
21648 (bsloww2): Likewise.
21649 (cslow2): Likewise.
21650 (csloww): Likewise.
21651 (csloww1): Likewise.
21652 (csloww2): Likewise.
21653 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21654 range_reduce. Merge in __mpsin1.
21655 (__mpcos): Likewise.
21656 (__mpsin1): Remove.
21657 (__mpcos1): Likewise.
21659 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21661 * locale/loadlocale.c (_nl_intern_locale_data): Use
21663 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21664 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21665 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21666 obstack data is appropriately aligned.
21667 (obstack_int32_grow_fast): Likewise.
21668 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21669 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21670 (add_locale_uint32_array): Likewise.
21672 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21674 * benchtests/Makefile: Remove ARGLIST and RET variables.
21675 ($(objpfx)bench-%.c): Pass only function name to the script.
21676 * benchtests/README: Update documentation.
21677 * benchtests/acos-inputs: Add new directives.
21678 * benchtests/acosh-inputs: Likewise.
21679 * benchtests/asin-inputs: Likewise.
21680 * benchtests/asinh-inputs: Likewise.
21681 * benchtests/atan-inputs: Likewise.
21682 * benchtests/atanh-inputs: Likewise.
21683 * benchtests/cos-inputs: Likewise.
21684 * benchtests/cosh-inputs: Likewise.
21685 * benchtests/exp-inputs: Likewise.
21686 * benchtests/log-inputs: Likewise.
21687 * benchtests/pow-inputs: Likewise.
21688 * benchtests/rint-inputs: Likewise.
21689 * benchtests/sin-inputs: Likewise.
21690 * benchtests/sinh-inputs: Likewise.
21691 * benchtests/tan-inputs: Likewise.
21692 * benchtests/tanh-inputs: Likewise.
21693 * scripts/bench.pl: Add support for new directives.
21695 2013-10-07 Alan Modra <amodra@gmail.com>
21697 * README: Fix careless merge.
21699 2013-10-05 Alan Modra <amodra@gmail.com>
21701 * NEWS: Mention powerpc64le support and bugs fixed.
21702 * README: Both big-endian and little-endian powerpc64 supported.
21704 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21706 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21707 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21708 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21709 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21711 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21713 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21716 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21718 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21719 Move -mhard-float appending from
21720 ports/sysdeps/powerpc/powerpc32/Makefile.
21721 [$(with-fp) = yes] (ASFLAGS): Likewise.
21722 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21723 * sysdeps/powerpc/nofpu: Move directory from
21724 ports/sysdeps/powerpc/nofpu.
21725 * sysdeps/powerpc/soft-fp: Move directory from
21726 ports/sysdeps/powerpc/soft-fp.
21727 * sysdeps/powerpc/powerpc32/405: Move directory from
21728 ports/sysdeps/powerpc/powerpc32/405.
21729 * sysdeps/powerpc/powerpc32/440: Move directory from
21730 ports/sysdeps/powerpc/powerpc32/440.
21731 * sysdeps/powerpc/powerpc32/464: Move directory from
21732 ports/sysdeps/powerpc/powerpc32/464.
21733 * sysdeps/powerpc/powerpc32/476: Move directory from
21734 ports/sysdeps/powerpc/powerpc32/476.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21736 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21738 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21740 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21742 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21744 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21745 * README: Update for powerpc-*-linux-gnu software floating point
21748 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21749 case to powerpc/powerpc32*.
21750 * sysdeps/unix/sysv/linux/configure: Regenerated.
21752 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21753 (_FPU_MASK_OM): Define as 0x04.
21754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21762 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21765 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21768 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21769 and setcontext_e500.
21771 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21773 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21775 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21777 * manual/threads.texi (Default Thread Attributes): Fix typo.
21779 2013-10-04 Will Newton <will.newton@linaro.org>
21781 * malloc/Makefile: Add tst-memalign.
21782 * malloc/tst-memalign.c: New file.
21784 * malloc/tst-posix_memalign.c: Add comments.
21785 (do_test): Add comments and call free on all potentially
21786 allocated pointers. Add space after cast.
21788 * malloc/tst-pvalloc.c: Add comments.
21789 (do_test): Add comments and call free on all potentially
21790 allocated pointers. Remove duplicate check for NULL pointer.
21791 Add space after cast.
21793 * malloc/tst-valloc.c: Add comments.
21794 (do_test): Add comments and call free on all potentially
21795 allocated pointers. Remove duplicate check for NULL pointer.
21796 Add space after cast.
21798 2013-10-04 Alan Modra <amodra@gmail.com>
21800 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21801 Use stdint types in rather than __attribute__((mode())).
21802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21804 2013-10-04 Alan Modra <amodra@gmail.com>
21806 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21807 Correct handling of unaligned relocs for little-endian.
21808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21810 2013-10-04 Alan Modra <amodra@gmail.com>
21812 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21813 * configure: Regenerate.
21814 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21815 * shlib-versions: Likewise.
21817 2013-10-04 Alan Modra <amodra@gmail.com>
21819 * string/tester.c (test_memrchr): Increment reported test cycle.
21821 2013-10-04 Alan Modra <amodra@gmail.com>
21823 * string/test-memcpy.c (do_one_test): When reporting errors, print
21824 string address and don't overrun end of string.
21826 2013-10-04 Alan Modra <amodra@gmail.com>
21828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21829 insrdi. Make better use of reg selection to speed exit slightly.
21830 Schedule entry path a little better. Remove useless "are we done"
21831 checks on entry to main loop. Handle wrapping around zero address.
21832 Correct main loop count. Handle single left-over word from main
21833 loop inline rather than by using loop_small. Remove extra word
21834 case in loop_small caused by wrong loop count. Add little-endian
21836 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21839 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21840 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21841 support. Avoid rlwimi.
21842 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21844 2013-10-04 Alan Modra <amodra@gmail.com>
21846 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21847 insrdi. Formatting.
21848 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21849 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21850 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21851 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21852 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21853 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21855 2013-10-04 Alan Modra <amodra@gmail.com>
21857 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21858 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21859 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21860 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21861 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21862 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21863 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21864 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21865 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21866 use of regs. Use power7 mtocrf. Tidy function tails.
21868 2013-10-04 Alan Modra <amodra@gmail.com>
21870 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21871 Formatting. Consistently use rXXX register defines or rN defines.
21872 Use early exit labels that avoid restoring unused non-volatile regs.
21873 Make cr field use more consistent with rWORDn compares. Rename
21874 regs used as shift registers for unaligned loop, using rN defines
21875 for short lifetime/multiple use regs.
21876 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21877 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21878 addi 1,1,64 to pop stack frame. Simplify return value code.
21879 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21881 2013-10-04 Alan Modra <amodra@gmail.com>
21883 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21884 support. Correct typos, formatting. Optimize tail. Use insrdi
21885 rather than rlwimi.
21886 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21887 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21888 little-endian support. Correct typos.
21889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21890 rather than rlwimi.
21891 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21892 in loop and entry code to keep "and." results.
21893 (strchr): Add little-endian support. Comment. Move cntlzd
21895 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21897 2013-10-04 Alan Modra <amodra@gmail.com>
21899 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21900 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21901 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21902 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21904 2013-10-04 Alan Modra <amodra@gmail.com>
21906 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21907 (rTMP): Define as r11.
21908 (strcmp): Add little-endian support. Optimise tail.
21909 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21910 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21911 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21913 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21917 2013-10-04 Alan Modra <amodra@gmail.com>
21919 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21920 little-endian support. Remove unnecessary "are we done" tests.
21921 Handle "s" wrapping around zero and extremely large "size".
21922 Correct main loop count. Handle single left-over word from main
21923 loop inline rather than by using small_loop. Correct comments.
21924 Delete "zero" tail, use "end_max" instead.
21925 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21927 2013-10-04 Alan Modra <amodra@gmail.com>
21929 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21930 support. Don't branch over align.
21931 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21932 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21933 support. Rearrange tmp reg use to suit. Comment.
21934 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21936 2013-10-04 Alan Modra <amodra@gmail.com>
21938 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21940 2013-10-04 Alan Modra <amodra@gmail.com>
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21943 conditional form of branch and link when obtaining pc.
21944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21946 2013-10-04 Alan Modra <amodra@gmail.com>
21948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21953 2013-10-04 Alan Modra <amodra@gmail.com>
21955 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21956 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21957 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21958 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21959 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21960 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21961 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21962 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21963 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21964 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21966 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21967 Alistair Popple <alistair@ozlabs.au.ibm.com>
21968 Alan Modra <amodra@gmail.com>
21971 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21972 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21973 _dl_hwcap access for little-endian.
21974 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21975 destroy vmx regs when saving unaligned.
21976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21977 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21978 destroy vmx regs when saving unaligned.
21980 2013-10-04 Alan Modra <amodra@gmail.com>
21982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21983 Don't use a union to pack hi/low value.
21985 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21987 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21989 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21991 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21992 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21993 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21995 2013-10-04 Alan Modra <amodra@gmail.com>
21997 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21998 constants to usual value for .cst8 section, and remove redundant
22000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22001 constant for 0x1p52. Load little-endian words of double from
22002 correct stack offsets.
22004 2013-10-04 Alan Modra <amodra@gmail.com>
22006 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22007 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22008 words of double from correct stack offsets.
22009 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22010 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22011 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22015 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22016 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22017 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22018 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22019 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22021 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22023 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22024 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22025 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22027 2013-10-04 Alan Modra <amodra@gmail.com>
22029 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22030 64-bit int/double union.
22031 (_FPU_SETCW): Likewise.
22032 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22033 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22035 2013-10-04 Alan Modra <amodra@gmail.com>
22037 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22038 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22040 2013-10-04 Alan Modra <amodra@gmail.com>
22042 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22043 use vector int constants.
22044 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22046 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22048 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22049 array with long long.
22050 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22051 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22052 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22053 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22054 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22055 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22056 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22057 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22058 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22059 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22060 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22061 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22062 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22064 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22066 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22067 (__signbit): Likewise. Correct for little-endian.
22068 (__signbitl): Call __signbit.
22069 (lrint): Correct for little-endian.
22070 (lrintf): Call lrint.
22072 2013-10-04 Alan Modra <amodra@gmail.com>
22074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22075 union 32-bit int array member with 64-bit int array.
22076 (t515, tm256): Double rather than long double.
22077 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22079 2013-10-04 Alan Modra <amodra@gmail.com>
22081 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22083 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22085 version of math_ldbl.h.
22087 2013-10-04 Alan Modra <amodra@gmail.com>
22089 [BZ #15734], [BZ #15735]
22090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22091 all uses of ieee875 long double macros and unions. Simplify test
22092 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22093 ldbl_extract_mantissa value for ix,iy exponents. Properly
22094 normalize after ldbl_extract_mantissa, and don't add hidden bit
22095 already handled. Don't treat low word of ieee854 mantissa like
22096 low word of IBM long double and mask off bit when testing for
22098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22099 all uses of ieee875 long double macros and unions. Simplify tests
22100 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22101 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22102 two1022, instead use their values. Recognise that tests for large
22103 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22105 Rewrite all uses of ieee875 long double macros and unions. Simplify
22106 test for 0.0L and nan. Correct negation.
22107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22108 ieee875 long double macros and unions. Correct output for large
22109 magnitude x. Correct absolute value calculation.
22110 (__erfcl): Likewise.
22111 * math/libm-test.inc: Add tests for errors discovered in IBM long
22112 double versions of fmodl, remainderl, erfl and erfcl.
22114 2013-10-04 Alan Modra <amodra@gmail.com>
22116 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22117 all uses of ieee854 long double macros and unions. Simplify tests
22118 for long doubles that are fully specified by the high double.
22119 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22121 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22122 Remove dead code too.
22123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22124 (__ieee754_ynl): Likewise.
22125 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22126 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22127 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22128 Remove dead code too.
22129 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22130 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22132 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22134 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22136 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22137 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22138 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22139 Comment on variable precision.
22140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22143 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22144 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22147 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22149 2013-10-04 Alan Modra <amodra@gmail.com>
22151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22153 all uses of ieee854 long double macros and unions.
22154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22157 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22159 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22162 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22167 Simplify sign and nan test too.
22168 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22169 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22171 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22173 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22174 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22177 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22178 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22179 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22180 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22183 2013-10-04 Alan Modra <amodra@gmail.com>
22185 * stdio-common/printf_size.c (__printf_size): Don't use
22186 union ieee854_long_double in fpnum union.
22187 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22188 signbit macro to retrieve sign from long double.
22189 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22190 retrieve sign from long double.
22191 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22192 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22193 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22194 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22195 * math/test-misc.c (main): Don't use union ieee854_long_double.
22197 2013-10-04 Alan Modra <amodra@gmail.com>
22200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22202 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22203 calculation. Remove unnecessary test for denormal exponent.
22204 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22205 Correct handling of denormals. Avoid undefined shift behaviour.
22206 Correct normalisation of low mantissa when low double is denormal.
22207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22208 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22209 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22210 Correct normalisation of low mantissa. Test for overflow of high
22211 mantissa and normalise.
22212 (ldbl_nearbyint): Use more readable constant for two52.
22213 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22214 (__mpn_construct_long_double): Fix test for overflow of high
22215 mantissa and correct normalisation. Avoid undefined shift.
22217 2013-10-04 Alan Modra <amodra@gmail.com>
22219 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22220 (union ibm_extended_long_double): Define as an array of ieee754_double.
22221 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22222 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22223 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22228 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22233 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22235 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22236 page size instead of calling getpagesize.
22238 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22239 (LOCFILE_ALIGN_MASK): Likewise.
22240 (LOCFILE_ALIGN_UP): Likewise.
22241 (LOCFILE_ALIGNED_P): Likewise.
22242 * locale/programs/ld-collate.c (collate_output): Use the new
22243 macros instead of __alignof__ (int32_t).
22244 * locale/weight.h (findidx): Likewise.
22246 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22249 * manual/string.texi: Fix strncat and wcsncat.
22251 2013-10-03 Brooks Moses <bmoses@google.com>
22254 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22255 * Makerules: ...here, and adjust associated comments.
22257 2013-10-02 Will Newton <will.newton@linaro.org>
22259 * malloc/Makefile: Add tst-pvalloc.
22260 * malloc/tst-pvalloc.c: New file.
22262 2013-10-02 Will Newton <will.newton@linaro.org>
22264 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22265 improve test coverage.
22267 2013-10-02 Will Newton <will.newton@linaro.org>
22269 * malloc/Makefile: Add tst-posix_memalign.
22270 * malloc/tst-posix_memalign.c: New file.
22272 2013-10-01 Eric Blake <eblake@redhat.com>
22274 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22275 Use __THROWNL rather than __THROW on static functions.
22277 2013-09-30 Petr Machata <pmachata@redhat.com>
22279 * elf/elf.h (R_AARCH64_ABS16): New macro.
22280 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22281 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22282 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22283 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22284 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22285 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22286 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22287 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22288 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22289 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22290 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22291 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22292 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22293 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22294 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22295 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22296 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22297 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22298 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22299 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22300 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22301 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22302 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22303 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22304 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22305 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22306 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22307 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22308 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22309 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22310 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22311 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22312 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22313 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22314 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22315 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22316 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22317 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22318 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22319 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22320 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22321 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22322 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22323 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22324 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22325 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22326 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22327 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22328 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22329 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22330 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22331 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22332 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22333 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22334 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22335 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22336 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22337 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22338 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22339 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22340 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22341 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22342 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22343 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22344 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22345 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22346 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22347 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22348 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22349 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22350 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22351 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22352 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22353 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22354 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22355 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22356 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22357 (R_AARCH64_TLSDESC_LDR): Likewise.
22358 (R_AARCH64_TLSDESC_ADD): Likewise.
22359 (R_AARCH64_TLSDESC_CALL): Likewise.
22361 2013-09-30 Andreas Schwab <schwab@suse.de>
22364 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22365 the nss database lookup.
22366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22369 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22371 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22373 2013-09-28 P. J. McDermott <pj@pehjota.net>
22375 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22376 ${Bash-specific parameter/pattern/string} parameter expansion.
22377 * sysdeps/unix/make-syscalls.sh: Likewise.
22379 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22381 * sysdeps/sh/stackguard-macros.h: New file.
22383 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22387 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22388 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22389 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22390 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22392 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22394 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22395 Fix thread ID register.
22397 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22399 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22400 [POSIX || UNIX98]: Require rather than permitting all symbols from
22402 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22403 element of struct sched_param.
22404 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22405 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22406 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22407 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22410 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22412 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22413 argument calculation.
22415 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22417 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22419 [POSIX] (pthread_attr_t): Do not require type.
22420 [POSIX] (pthread_cond_t): Likewise.
22421 [POSIX] (pthread_condattr_t): Likewise.
22422 [POSIX] (pthread_key_t): Likewise.
22423 [POSIX] (pthread_mutex_t): Likewise.
22424 [POSIX] (pthread_mutexattr_t): Likewise.
22425 [POSIX] (pthread_once_t): Likewise.
22426 [POSIX] (pthread_t): Likewise.
22427 [POSIX-based standards] (pthread_atfork): Expect function.
22429 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22430 Richard Sandiford <richard@codesourcery.com>
22432 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22433 (swap_endianness_p): New extern variable.
22434 (set_big_endian): New inline function.
22435 (maybe_swap_uint32): Likewise.
22436 (maybe_swap_uint32_array): Likewise.
22437 (maybe_swap_uint32_obstack): Likewise.
22438 * locale/programs/locfile.c: Include <stdbool.h>.
22439 (swap_endianness_p): New variable.
22440 (add_locale_uint32): Call maybe_swap_uint32.
22441 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22442 (write_locale_data): Call maybe_swap_uint32_array.
22443 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22445 (obstack_int32_grow_fast): Likewise.
22446 (output_weightwc): Call maybe_swap_uint32_obstack.
22447 (collate_output): Likewise.
22448 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22449 (OPT_LITTLE_ENDIAN): Likewise.
22450 (options): Add --little-endian and --big-endian options.
22451 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22452 * locale/programs/locarchive.c: Include "locfile.h".
22456 (create_archive): Use the new macros to access fields of
22457 structures directly mapped from or written to locale archives.
22458 (oldlocrecentcmp): Likewise.
22459 (enlarge_archive): Likewise.
22460 (insert_name): Likewise.
22461 (add_alias): Likewise.
22462 (add_locale): Likewise.
22463 (delete_locales_from_archive): Likewise.
22464 (show_archive_content): Likewise.
22465 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22468 2013-09-24 Roland McGrath <roland@hack.frob.com>
22470 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22471 http://www.gnu.org/doc/freemanuals.texi.
22472 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22474 2013-09-24 Will Newton <will.newton@linaro.org>
22476 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22479 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22481 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22484 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22486 * manual/threads.texi (POSIX Threads): Fix a typo.
22488 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22491 * string/tst-strcoll-overflow.c: New test case.
22492 * string/Makefile (xtests): Add tst-strcoll-overflow.
22493 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22494 cache if string sizes may cause integer overflow.
22497 * string/strcoll_l.c (coll_seq): New members rule, idx,
22498 save_idx and back_us.
22499 (get_next_seq_nocache): New function.
22500 (do_compare_nocache): New function.
22501 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22504 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22507 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22508 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22509 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22512 * elf/Makefile (tests): Add tst-ptrguard1.
22513 (tests-static): Add tst-ptrguard1-static.
22514 (tst-ptrguard1-ARGS): Define.
22515 (tst-ptrguard1-static-ARGS): Define.
22516 * elf/tst-ptrguard1.c: New file.
22517 * elf/tst-ptrguard1-static.c: New file.
22518 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22519 * sysdeps/i386/stackguard-macros.h: Likewise.
22520 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22521 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22522 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22523 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22524 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22525 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22527 2013-09-23 Hector Marco <hecmargi@upv.es>
22528 Ismael Ripoll <iripoll@disca.upv.es>
22529 Carlos O'Donell <carlos@redhat.com>
22532 * sysdeps/generic/stackguard-macros.h: Define
22533 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22534 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22535 Define __pointer_chk_guard_local.
22536 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22537 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22539 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22542 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22544 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22546 * include/string.h (__ffs): Declare as hidden.
22547 * string/ffs.c (__ffs): Define as hidden.
22548 * sysdeps/i386/ffs.c (__ffs): Likewise.
22549 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22550 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22551 * sysdeps/s390/ffs.c (__ffs): Likewise.
22552 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22554 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22556 * NEWS: Mention malloc probes.
22558 * malloc/arena.c (new_heap): New memory_heap_new probe.
22559 (grow_heap): New memory_heap_more probe.
22560 (shrink_heap): New memory_heap_less probe.
22561 (heap_trim): New memory_heap_free probe.
22562 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22563 (systrim): New memory_sbrk_less probe.
22564 * manual/probes.texi: Document them.
22566 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22567 * manual/probes.texi: Document it.
22569 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22570 (__libc_realloc): Add memory_realloc_retry probe.
22571 (__libc_memalign): Add memory_memalign_retry probe.
22572 (__libc_valloc): Add memory_valloc_retry probe.
22573 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22574 (__libc_calloc): Add memory_calloc_retry probe.
22575 * manual/probes.texi: Document them.
22577 * malloc/arena.c (get_free_list): Add probe
22578 memory_arena_reuse_free_list.
22579 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22580 and memory_arena_reuse.
22581 (arena_get2) [!PER_THREAD]: Likewise.
22582 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22583 memory_arena_reuse_realloc.
22584 * manual/probes.texi: Document them.
22586 * malloc/malloc.c (__libc_free): Add
22587 memory_mallopt_free_dyn_thresholds probe.
22588 (__libc_mallopt): Add multiple memory_mallopt probes.
22589 * manual/probes.texi: Document them.
22591 * malloc/malloc.c: Include stap-probe.h.
22592 (__libc_mallopt): Add memory_mallopt probe.
22593 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22594 * manual/probes.texi: New.
22595 * manual/Makefile (chapters): Add probes.
22596 * manual/threads.texi: Set next node.
22598 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22600 [BZ #15963, #13985]
22601 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22602 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22603 Add `Chinese' to `nan' entry name.
22605 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22608 (POLYNOMIAL): Likewise.
22609 (TAYLOR_SINCOS): Likewise.
22610 (TAYLOR_SLOW): Likewise.
22611 (__sin): Use TAYLOR_SINCOS.
22613 (slow): Use TAYLOR_SLOW.
22615 (bsloww): Likewise.
22616 (csloww): Likewise.
22618 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22620 * stdlib/strtod_l.c: Fix buffer overrun.
22622 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22624 * benchtests/Makefile (bench): Add sincos.
22625 * benchtests/bench-sincos.c: New file.
22627 * math/libm-test.inc (cos_test_data): New test inputs.
22628 (sin_test_data): Likewise.
22630 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22636 (sloww1): Likewise.
22637 (sloww2): Likewise.
22638 (bsloww1): Likewise.
22639 (bsloww2): Likewise.
22640 (cslow2): Likewise.
22641 (csloww1): Likewise.
22642 (csloww2): Likewise.
22644 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22653 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22655 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22656 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22657 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22658 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22659 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22660 * elf/cache.c (print_entry): Handle the new cache flags.
22662 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22663 Aldy Hernandez <aldyh@redhat.com>
22665 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22666 Change condition to [_SOFT_FLOAT].
22667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22679 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22682 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22685 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22687 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22688 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22689 (__longjmp): Use LOAD_GP to load saved GPRs.
22690 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22691 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22692 (__sigsetjmp): Use SAVE_GP to save GPRs.
22694 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22695 Do not append -msoft-float.
22696 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22698 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22700 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22702 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22705 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22706 (_FPU_GETCW): Use initial "__" on variable and field names but not
22707 on macro parameter name.
22708 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22709 parentheses around reference to macro parameter.
22711 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22713 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22715 (ctype_startup): Use uint32_t in cast and sizeof for
22718 2013-09-11 Jia Liu <proljc@gmail.com>
22720 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22722 [__FreeBSD__]: Likewise.
22724 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22727 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22728 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22729 (strchr): Remove __strchr_sse42 ifunc selection.
22730 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22731 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22733 2013-09-11 Will Newton <will.newton@linaro.org>
22735 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22736 parameter to RES. Remove hardcoded 1000 value.
22737 * benchtests/bench-skeleton.c (main): Pass RES parameter
22738 to TIMING_INIT and multiply result by 1000.
22740 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22744 2013-09-11 Andreas Schwab <schwab@suse.de>
22746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22748 (O_TMPFILE) [__USE_GNU]: Define.
22749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22752 2013-09-11 Will Newton <will.newton@linaro.org>
22755 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22758 2013-09-11 Will Newton <will.newton@linaro.org>
22761 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22764 2013-09-11 Will Newton <will.newton@linaro.org>
22767 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22770 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22772 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22773 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22778 2013-09-10 Allan McRae <allan@archlinux.org>
22781 * manual/arith.texi (Parsing of Floats): Clarify
22785 * manual/install.texi (Running make install): Mention
22787 * INSTALL: Regenerated.
22789 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22791 * csu/init-first.c (_init): Remove the !SHARED condition around
22792 FPU control word initialization.
22793 * elf/dl-support.c (_dl_fpu_control): New variable.
22794 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22795 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22796 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22797 * math/test-fpucw-static.c: New file.
22798 * math/test-fpucw-ieee.c: New file.
22799 * math/test-fpucw-ieee-static.c: New file.
22800 * math/Makefile (tests): Add `test-fpucw-ieee' and
22802 (tests-static): New variable.
22803 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22805 [($(build-shared),yes)]
22806 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22808 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22811 2013-09-09 Allan McRae <allan@archlinux.org>
22814 * manual/string.texi (Collation Functions): Fix typo in
22816 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22819 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22822 * libio/memstream.c (open_memstream): Fix memory leak.
22823 * libio/wmemstream.c (open_wmemstream): Likewise.
22826 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22828 2013-09-09 Will Newton <will.newton@linaro.org>
22830 * malloc/Makefile: Add tst-realloc to tests.
22831 * malloc/tst-realloc.c: New file.
22833 2013-09-09 Allan McRae <allan@archlinux.org>
22836 * COPYING: Update from GNU website to fix FSF address.
22837 * COPYING.LIB: Likewise.
22839 2013-09-06 David S. Miller <davem@davemloft.net>
22841 * po/zh_TW.po: Update Chinese (traditional) translation from
22842 translation project.
22844 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22845 Joseph Myers <joseph@codesourcery.com>
22847 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22849 (obstack_chunk_alloc): New macro.
22850 (obstack_chunk_free): Likewise.
22851 (record_offset): New function.
22852 (init_locale_data): Likewise.
22853 (align_locale_data): Likewise.
22854 (add_locale_empty): Likewise.
22855 (add_locale_raw_data): Likewise.
22856 (add_locale_raw_obstack): Likewise.
22857 (add_locale_string): Likewise.
22858 (add_locale_wstring): Likewise.
22859 (add_locale_uint32): Likewise.
22860 (add_locale_uint32_array): Likewise.
22861 (add_locale_char): Likewise.
22862 (start_locale_structure): Likewise.
22863 (end_locale_structure): Likewise.
22864 (start_locale_prelude): Likewise.
22865 (end_locale_prelude): Likewise.
22866 (write_locale_data): Take locale_file structure rather than an
22868 * locale/programs/locfile.h: Include "obstack.h".
22869 (struct locale_file): Change to store locale file contents instead
22871 (init_locale_data): New prototype.
22872 (align_locale_data): Likewise.
22873 (add_locale_empty): Likewise.
22874 (add_locale_raw_data): Likewise.
22875 (add_locale_raw_obstack): Likewise.
22876 (add_locale_string): Likewise.
22877 (add_locale_wstring): Likewise.
22878 (add_locale_uint32): Likewise.
22879 (add_locale_uint32_array): Likewise.
22880 (add_locale_char): Likewise.
22881 (start_locale_structure): Likewise.
22882 (end_locale_structure): Likewise.
22883 (start_locale_prelude): Likewise.
22884 (end_locale_prelude): Likewise.
22885 (write_locale_data): Update prototype.
22886 * locale/programs/3level.h (struct TABLE): Remove result field.
22887 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22888 Use new locale_file interface.
22889 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22890 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22891 * locale/programs/ld-address.c (address_output): Use new
22892 locale_file interface.
22893 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22895 (collate_finish): Don't call collseq_table_finalize.
22896 (collate_output): Use new locale_file interface.
22897 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22899 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22900 (TABLE): Move defines earlier in file.
22901 (ELEMENT): Likewise.
22902 (DEFAULT): Likewise.
22903 (wctrans_table_add): Move macro and inline function earlier in
22905 (struct wctype_table): Move type earlier in file.
22906 (add_locale_wctype_table): New static prototype.
22907 (struct locale_ctype_t): Use logical types instead of struct iovec
22908 pointers for members.
22909 (ctype_output): Use new locale_file interface.
22910 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22911 new locale_file interface.
22912 (allocate_arrays): Update for use of new locale_file interface.
22913 * locale/programs/ld-identification.c (identification_output): Use
22914 new locale_file interface.
22915 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22916 * locale/programs/ld-messages.c (messages_output): Likewise.
22917 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22918 * locale/programs/ld-name.c (name_output): Likewise.
22919 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22920 * locale/programs/ld-paper.c (paper_output): Likewise.
22921 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22922 * locale/programs/ld-time.c (time_output): Likewise.
22924 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22926 * benchtests/Makefile: Add memrchr benchmark.
22927 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22928 benchmark as memrchr.
22929 * benchtests/bench-memrchr-ifunc.c: New file.
22930 * benchtests/bench-memrchr.c: New file.
22932 2013-09-06 Will Newton <will.newton@linaro.org>
22934 * benchtests/Makefile (string-bench): Add memcpy.
22936 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22937 Cong Wang <amwang@redhat.com>
22940 * sysdeps/unix/sysv/linux/bits/in.h
22941 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22942 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22943 before __USE_KERNEL_IPV6_DEFS uses.
22944 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22946 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22947 sockaddr_in6, or ipv6_mreq.
22949 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22951 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22952 memory access for final bytes in some large inputs.
22953 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22955 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22957 * string/test-memrchr.c: New file.
22958 * string/test-memrchr-ifunc.c: New file.
22959 * string/Makefile: Add new memrchr testcase.
22961 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22963 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22964 fanotify_init returns EPERM.
22966 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22968 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22970 (top level): Treat second token from macro or constant entries for
22971 allowed headers as allowed.
22972 * include/complex.h: Condition internal declarations on
22974 * include/fenv.h: Condition include of <stdbool.h> and internal
22975 declarations on [!_ISOMAC].
22977 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22980 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22982 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22984 * configure.in (--enable-versioning): Remove configure option.
22985 (libc_cv_asm_symver_directive): Remove configure test.
22986 (libc_cv_ld_version_script_option): Likewise.
22987 (VERSIONING): Remove variable and AC_SUBST.
22988 (DO_VERSIONING): Remove AC_DEFINE.
22989 * configure: Regenerated.
22990 * config.h.in (DO_VERSIONING): Remove macro.
22991 * Makerules [$(versioning) = yes]: Change conditionals to
22992 [$(build-shared) = yes].
22993 * config.make.in (versioning): Remove variable.
22994 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22995 [$(build-shared) = yes].
22996 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22997 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22998 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22999 [$(build-shared) = yes].
23000 * extra-lib.mk [$(versioning) = yes]: Likewise.
23001 * hurd/Makefile [$(versioning) = yes]: Likewise.
23002 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23004 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23006 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23007 [SHARED && !NO_HIDDEN].
23008 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23010 [SHARED && DO_VERSIONING]: Likewise..
23011 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23012 [$(build-shared) = yes].
23013 * manual/install.texi (--disable-versioning): Remove
23015 * INSTALL: Regenerated.
23016 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23018 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23019 [$(build-shared) = yes].
23020 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23021 * sysdeps/i386/i686/multiarch/strstr-c.c
23022 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23023 [SHARED && !NO_HIDDEN].
23024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23025 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23026 * sysdeps/powerpc/powerpc32/dl-machine.c
23027 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23028 * sysdeps/powerpc/powerpc32/sysdep.h
23029 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23030 to [SHARED && PIC && !NO_HIDDEN].
23031 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23032 conditional to [SHARED].
23034 2013-09-04 Will Newton <will.newton@linaro.org>
23036 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23037 * benchtests/bench-string.h: Include bench-timing.h instead
23038 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23039 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23040 call to HP_TIMING_DIFF_INIT.
23041 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23042 instead of hp-timing.h macros.
23043 * benchtests/bench-memchr.c: Likewise.
23044 * benchtests/bench-memcmp.c: Likewise.
23045 * benchtests/bench-memcpy.c: Likewise.
23046 * benchtests/bench-memmem.c: Likewise.
23047 * benchtests/bench-memmove.c: Likewise.
23048 * benchtests/bench-memset.c: Likewise.
23049 * benchtests/bench-rawmemchr.c: Likewise.
23050 * benchtests/bench-strcasecmp.c: Likewise.
23051 * benchtests/bench-strcasestr.c: Likewise.
23052 * benchtests/bench-strcat.c: Likewise.
23053 * benchtests/bench-strchr.c: Likewise.
23054 * benchtests/bench-strcmp.c: Likewise.
23055 * benchtests/bench-strcpy.c: Likewise.
23056 * benchtests/bench-strcpy_chk.c: Likewise.
23057 * benchtests/bench-strlen.c: Likewise.
23058 * benchtests/bench-strncasecmp.c: Likewise.
23059 * benchtests/bench-strncat.c: Likewise.
23060 * benchtests/bench-strncmp.c: Likewise.
23061 * benchtests/bench-strncpy.c: Likewise.
23062 * benchtests/bench-strnlen.c: Likewise.
23063 * benchtests/bench-strpbrk.c: Likewise.
23064 * benchtests/bench-strrchr.c: Likewise.
23065 * benchtests/bench-strspn.c: Likewise.
23066 * benchtests/bench-strstr.c: Likewise.
23068 2013-09-04 Will Newton <will.newton@linaro.org>
23070 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23072 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23076 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23077 * math/libm-test.inc (lgamma_test_data): Add more tests.
23078 * sysdeps/i386/fpu/libm-test-ulps: Update.
23079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23081 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23083 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23087 Add strcmp-sse2-unaligned
23088 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23090 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23092 * Versions.def (libc): Add GLIBC_2.19.
23094 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23096 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23097 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23099 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23102 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23103 intermediate calculations in recurrence.
23104 (__ieee754_ynf): Likewise.
23105 * math/libm-test.inc (jn_test_data): Do not allow spurious
23106 underflow exception. Add more tests.
23107 (yn_test_data): Add more tests.
23108 * sysdeps/i386/fpu/libm-test-ulps: Update.
23109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23111 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23113 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23115 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23117 * csu/init-first.c: Fix then/than typos.
23118 * locale/programs/ld-collate.c: Likewise.
23119 * locale/programs/linereader.h: Likewise.
23120 * manual/charset.texi: Likewise.
23121 * manual/filesys.texi: Likewise.
23122 * manual/stdio.texi: Likewise.
23123 * manual/string.texi: Likewise.
23124 * stdlib/fmtmsg.c: Likewise.
23125 * sysdeps/i386/stpncpy.S: Likewise.
23126 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23127 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23129 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23131 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23133 * elf/dl-open.c: Fix typos.
23134 * iconvdata/gbbig5.c: Likewise.
23135 * iconvdata/iso-2022-jp.c: Likewise.
23136 * iconv/gconv_int.h: Likewise.
23137 * iconv/loop.c: Likewise.
23138 * nis/rpcsvc/nis.h: Likewise.
23139 * resolv/ns_name.c: Likewise.
23140 * stdio-common/vfscanf.c: Likewise.
23141 * streams/stropts.h: Likewise.
23142 * sunrpc/rpc_thread.c: Likewise.
23143 * sysdeps/i386/strpbrk.S: Likewise.
23144 * sysdeps/ieee754/k_standard.c: Likewise.
23145 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23147 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23148 * sysdeps/mach/hurd/profil.c: Likewise.
23149 * sysdeps/s390/dl-procinfo.h: Likewise.
23150 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23151 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23152 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23153 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23154 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23156 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23158 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23161 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23163 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23164 aix specific files.
23165 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23166 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23167 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23168 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23169 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23170 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23171 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23172 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23174 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23175 Roland McGrath <roland@hack.frob.com>
23177 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23178 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23180 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23182 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23183 __executable_start symbol instead of _start.
23185 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23187 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23188 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23190 * sysdeps/gnu/ldsodefs.h: ... this new file.
23192 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23193 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23194 instead of ELFOSABI_LINUX.
23196 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23197 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23198 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23199 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23201 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23202 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23203 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23205 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23206 (ibm_extended_long_double): Add ieee_nan member.
23207 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23208 (do_test): New function.
23210 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23212 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23213 functions, renamed from truncdfsf_test, trunctfsf_test,
23215 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23217 (do_test): Run all these.
23219 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23221 * argp/argp-help.c: Fix typos.
23222 * argp/argp-parse.c: Likewise.
23223 * debug/backtracesyms.c: Likewise.
23224 * elf/elf.h: Likewise.
23225 * malloc/malloc.c: Likewise.
23226 * nis/nis_print.c: Likewise.
23227 * resolv/res_comp.c: Likewise.
23228 * stdlib/stdlib.h: Likewise.
23229 * sunrpc/clnt_tcp.c: Likewise.
23230 * sunrpc/clnt_udp.c: Likewise.
23231 * sunrpc/clnt_unix.c: Likewise.
23232 * sysdeps/unix/bsd/ptsname.c: Likewise.
23233 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23234 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23241 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23243 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23245 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23248 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23251 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23252 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23253 ($(objpfx)bug-dl-leaf): New rule.
23254 ($(objpfx)bug-dl-leaf.so): Likewise.
23255 ($(objpfx)bug-dl-leaf.out): Likewise.
23256 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23257 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23258 * dlfcn/bug-dl-leaf.c: New test.
23259 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23260 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23261 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23262 (dlclose): Likewise.
23263 (dlmopen): Likewise.
23265 2013-08-27 Roland McGrath <roland@hack.frob.com>
23267 * include/netdb.h [!_ISOMAC]:
23268 Don't include <tls.h>.
23269 (h_errno, __libc_h_errno): Move declaration and macros out of
23272 * include/resolv.h [_RESOLV_H_]:
23273 Don't include <tls.h>.
23274 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23275 * resolv/res_libc.c: Don't include <tls.h>.
23276 (_res): Use __attribute__ ((nocommon)) in place of
23277 __attribute__ ((section (".bss"))).
23279 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23280 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23282 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23284 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23285 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23287 * resolv/res_mkquery.c: Include <sys/time.h>.
23289 * inet/ifreq.c: Moved to ...
23290 * sysdeps/unix/ifreq.c: ... here.
23291 * inet/ifreq.c: New file, true stub version.
23293 * socket/sa_len.c: New file.
23294 * socket/Makefile (aux): Add it.
23295 * sysdeps/unix/sysv/linux/Makefile
23296 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23297 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23298 and #include <socket/sa_len.c>.
23299 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23300 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23302 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23303 * bits/socket.h: ... here.
23305 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23306 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23307 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23309 2013-08-27 Andreas Schwab <schwab@suse.de>
23312 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23313 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23314 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23315 * string/test-strcasecmp.c (test_main): Run tests in several
23317 * string/test-strncasecmp.c (test_main): Likewise.
23319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23320 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23321 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23323 (__strncasecmp_ssse3) [PIC]: Likewise.
23325 2013-08-26 Roland McGrath <roland@hack.frob.com>
23327 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23329 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23330 instead of explicitly declaring xdecrypt.
23331 * nis/nss_nis/nis-publickey.c: Likewise.
23333 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23336 * nscd/aicache.c: Include res_hconf.h.
23337 (addhstaiX): Initialize res_hconf.
23339 2013-08-26 Andreas Schwab <schwab@suse.de>
23341 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23342 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23344 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23346 * nscd/aicache.c (addhstaiX): Fix indentation.
23348 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23350 * configure.ac: Quote $build_pt_chown test.
23351 * configure: Regenerated.
23353 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23356 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23357 * math/s_cexpf.c (__cexpf): Likewise.
23358 * math/s_cexpl.c (__cexpl): Likewise.
23359 * math/libm-test.inc (cexp_test_data): Correct expected return
23360 value for NaN + i0. Add another test.
23362 2013-08-22 David S. Miller <davem@davemloft.net>
23364 * po/ca.po: Update Catalan translation from translation project.
23365 * po/uk.po: Add Ukrainian translations from translation project.
23367 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23370 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23371 is infinite, not alongside NaN test.
23372 * math/s_fdimf.c (__fdimf): Likewise.
23373 * math/s_fdiml.c (__fdiml): Likewise.
23374 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23375 errno is unchanged.
23377 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23379 * argp/argp-help.c: Fix typos.
23380 * crypt/speeds.c: Likewise.
23381 * csu/check_fds.c: Likewise.
23382 * elf/dl-load.c: Likewise.
23383 * elf/dl-open.c: Likewise.
23384 * elf/reldep3.c: Likewise.
23385 * elf/reldep.c: Likewise.
23386 * elf/sprof.c: Likewise.
23387 * iconv/iconv_charmap.c: Likewise.
23388 * iconv/skeleton.c: Likewise.
23389 * iconv/strtab.c: Likewise.
23390 * io/lockf64.c: Likewise.
23391 * libio/libioP.h: Likewise.
23392 * resolv/gai_notify.c: Likewise.
23393 * resolv/ns_name.c: Likewise.
23394 * resolv/ns_samedomain.c: Likewise.
23395 * resolv/res_send.c: Likewise.
23396 * stdlib/random.c: Likewise.
23397 * sunrpc/rpc/xdr.h: Likewise.
23398 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23399 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23400 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23401 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23403 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23405 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23406 * sysdeps/mach/hurd/check_fds.c: Likewise.
23407 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23408 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23410 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23411 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23412 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23413 * sysdeps/pthread/aio_notify.c: Likewise.
23414 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23415 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23418 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23420 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23422 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23423 version if bit_Slow_SSE4_2 is set.
23424 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23425 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23427 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23430 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23431 trampoline stack frame information.
23432 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23434 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23435 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23436 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23437 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23438 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23439 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23441 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23442 interrupting a syscall and set with option SA_SIGINFO.
23444 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23447 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23448 argument is infinite.
23449 * math/s_cprojf.c (__cprojf): Likewise.
23450 * math/s_cprojl.c (__cprojl): Likewise.
23451 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23452 * math/libm-test.inc (cproj_test_data): Add more tests.
23454 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23456 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23457 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23458 size. Use __ffs to determine corresponding shift.
23460 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23461 Roland McGrath <roland@hack.frob.com>
23463 * Makefile (INSTALL): Remove trailing blank lines from output of
23466 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23468 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23469 Align 32 bit compat elf_greg to 8 bytes.
23471 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23473 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23475 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23477 * string/strcoll_l.c (coll_seq): New structure.
23478 (get_next_seq_cached): New function.
23479 (get_next_seq): New function.
23480 (do_compare): New function.
23481 (STRCOLL): Use GNU style definition. Simplify implementation
23482 by using get_next_seq, get_next_seq_cached and do_compare.
23484 2013-08-16 Florian Weimer <fweimer@redhat.com>
23488 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23490 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23492 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23493 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23494 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23496 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23497 GETDENTS_64BIT_ALIGNED.
23498 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23499 * manual/filesys.texi (Reading/Closing Directory): Document
23500 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23502 * manual/conf.texi (Limits for Files): Add portability note to
23503 NAME_MAX, PATH_MAX.
23504 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23506 2013-08-13 Andreas Schwab <schwab@suse.de>
23509 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23511 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23512 LDBL_MAX_EXP >= 16384]: Add tests for it.
23514 2013-08-12 David S. Miller <davem@davemloft.net>
23516 * version.h (RELEASE): Set to "development".
23517 (VERSION): Set to "2.18.90".
23518 * NEWS: Add 2.19 section.
23520 2013-08-03 David S. Miller <davem@davemloft.net>
23522 * po/ko.po: Update Korean translation from translation project.
23524 2013-08-01 David S. Miller <davem@davemloft.net>
23526 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23527 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23530 2013-07-30 David S. Miller <davem@davemloft.net>
23532 * po/fr.po: Update French translation from translation project.
23534 2013-07-28 David S. Miller <davem@davemloft.net>
23536 * po/cs.po: Update Czech translation from translation project.
23538 * po/sv.po: Update Swedish translation from translation project.
23540 2013-07-27 David S. Miller <davem@davemloft.net>
23542 * po/eo.po: Update Esperanto translation from translation project.
23544 * po/vi.po: Update Vietnamese translation from translation project.
23546 * po/de.po: Update German translation from translation project.
23548 2013-07-26 David S. Miller <davem@davemloft.net>
23550 * po/bg.po: Update Bulgarian translation from translation project.
23552 * po/nl.po: Update Dutch translation from translation project.
23553 * po/pl.po: Update Polish translation from translation project.
23554 * po/ru.po: Update Russian translation from translation project.
23556 2013-07-24 David S. Miller <davem@davemloft.net>
23558 * po/libc.pot: Update.
23560 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23562 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23563 variable page size.
23564 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23565 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23566 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23568 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23570 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23572 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23573 Andreas Schwab <schwab@suse.de>
23574 Roland McGrath <roland@hack.frob.com>
23575 Joseph Myers <joseph@codesourcery.com>
23576 Carlos O'Donell <carlos@redhat.com>
23579 * config.h.in: Define HAVE_PT_CHOWN.
23580 * config.make.in (build-pt-chown): New variable.
23581 * configure.in (--enable-pt_chown): New configure option.
23582 * configure: Regenerate.
23583 * login/Makefile: Include Makeconfig. Build pt_chown only if
23584 build-pt-chown is enabled.
23585 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23586 pt_chown to fix pty ownership.
23587 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23589 * manual/install.texi (Configuring and compiling): Mention
23590 --enable-pt_chown. Add @findex for grantpt.
23591 * INSTALL: Regenerate.
23593 2013-07-20 David S. Miller <davem@davemloft.net>
23595 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23596 difference between 32-bit and 64-bit.
23598 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23601 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23602 Avoid system header dependency with -ffreestanding.
23603 ($(objpfx)bits/syscall%d): Likewise.
23605 2013-07-13 David S. Miller <davem@davemloft.net>
23607 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23608 underflows from atanl/atan2l due to bug 15319.
23609 (casinh_test_data): Likewise.
23611 2013-07-07 David S. Miller <davem@davemloft.net>
23613 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23615 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23617 * sysdeps/i386/fpu/libm-test-ulps: Update.
23618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23620 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23622 * configure.in (--enable-lock-elision): Fix message text.
23623 * INSTALL: Regenerate.
23624 * configure: Regenerate.
23626 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23630 2013-07-03 Andreas Jaeger <aj@suse.de>
23632 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23634 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23635 (ptrace_peeksiginfo_args): Add.
23636 (__ptrace_peeksiginfo_flags): Add.
23637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23641 2013-07-03 Allan McRae <allan@archlinux.org>
23643 * sysdeps/i386/fpu/libm-test-ulps: Update.
23645 2013-07-02 David S. Miller <davem@davemloft.net>
23647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23649 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23653 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23655 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23658 2013-07-02 Andi Kleen <ak@linux.intel.com>
23660 * config.h.in (ENABLE_LOCK_ELISION): Add.
23661 * configure.in (--enable-lock-elision): Add option.
23662 * manual/install.texi: Document --enable lock elision.
23663 * configure: Regenerate
23664 * INSTALL: Regenerate.
23666 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23668 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23669 SSE4.2 strcasecmp for libc.a.
23670 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23672 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23675 * soft-fp/op-common.h (_FP_FMA): New macro.
23676 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23677 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23678 (_FP_MUL_MEAT_1_imm): ... here.
23679 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23680 (_FP_MUL_MEAT_1_wide): ... here.
23681 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23682 (_FP_MUL_MEAT_1_hard): ... here.
23683 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23684 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23685 (_FP_MUL_MEAT_2_wide): ... here.
23686 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23687 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23688 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23689 (_FP_MUL_MEAT_2_gmp): ... here.
23690 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23691 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23692 (_FP_MUL_MEAT_4_wide): ... here.
23693 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23694 (_FP_MUL_MEAT_4_gmp): ... here.
23695 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23696 (_FP_WFRACBITS_DW_S): Likewise.
23697 (_FP_WFRACXBITS_DW_S): Likewise.
23698 (_FP_HIGHBIT_DW_S): Likewise.
23699 (FP_FMA_S): Likewise.
23700 (_FP_FRAC_HIGH_DW_S): Likewise.
23701 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23702 (_FP_WFRACBITS_DW_D): Likewise.
23703 (_FP_WFRACXBITS_DW_D): Likewise.
23704 (_FP_HIGHBIT_DW_D): Likewise.
23705 (FP_FMA_D): Likewise.
23706 (_FP_FRAC_HIGH_DW_D): Likewise.
23707 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23708 (_FP_WFRACBITS_DW_E): Likewise.
23709 (_FP_WFRACXBITS_DW_E): Likewise.
23710 (_FP_HIGHBIT_DW_E): Likewise.
23711 (FP_FMA_E): Likewise.
23712 (_FP_FRAC_HIGH_DW_E): Likewise.
23713 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23714 (_FP_WFRACBITS_DW_Q): Likewise.
23715 (_FP_WFRACXBITS_DW_Q): Likewise.
23716 (_FP_HIGHBIT_DW_Q): Likewise.
23717 (FP_FMA_Q): Likewise.
23718 (_FP_FRAC_HIGH_DW_Q): Likewise.
23719 * soft-fp/fmasf4.c: New file.
23720 * soft-fp/fmadf4.c: Likewise.
23721 * soft-fp/fmatf4.c: Likewise.
23723 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23726 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23728 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23730 (index_Slow_SSE4_2): Likewise.
23731 (index_Prefer_PMINUB_for_stringop): Likewise.
23732 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23733 bit_Slow_SSE4_2 is set.
23734 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23735 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23737 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23739 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23740 rtld_global._dl_hwcap2.
23741 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23743 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23744 POWER8 feature descriptions defined in _dl_hwcap2.
23745 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23746 string handling for POWER8 feature bits.
23747 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23748 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23749 _dl_powerpc_cap_flags.
23750 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23751 * sysdeps/powerpc/rtld-global-offsets.sym
23752 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23753 _dl_hwcap2 in the rtld_global_ro structure.
23755 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23757 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23758 hardware capabilities in support of AT_HWCAP2.
23759 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23760 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23762 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23763 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23764 explicitly the unknown a_type display mechanism is used.
23765 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23766 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23768 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23769 to macro prototype for AT_HWCAP2 support.
23770 * sysdeps/i386/dl-procinfo.h: Likewise.
23771 * sysdeps/s390/dl-procinfo.h: Likewise.
23772 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23773 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23774 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23775 return -1 for unknown a_type display fallback.
23776 * sysdeps/sparc/dl-procinfo.h: Likewise.
23777 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23778 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23780 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23782 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23783 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23785 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23788 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23789 mprotect making __stack_prot writable.
23791 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23792 Joseph Myers <joseph@codesourcery.com>
23794 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23795 as being properly aligned.
23797 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23799 * dlfcn/modstatic5.c: New file.
23800 * dlfcn/tststatic5.c: New file.
23801 * dlfcn/Makefile (tests): Add tststatic5.
23802 (tests-static): Likewise.
23803 (modules-names): Add modstatic5.
23804 (tststatic5-ENV): New variable.
23805 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23808 * elf/dl-support.c (_dl_main_map): New variable.
23809 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23810 (_dl_nns, _dl_load_adds): Set to 1.
23811 (_dl_initial_searchlist): Refer to _dl_main_map.
23812 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23813 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23814 call to _dl_get_origin.
23815 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23817 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23818 * dlfcn/modstatic3.c: New file.
23819 * dlfcn/tststatic3.c: New file.
23820 * dlfcn/tststatic4.c: New file.
23821 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23822 (tests-static): Likewise.
23823 (modules-names): Add modstatic3.
23824 (tststatic3-ENV, tststatic4-ENV): New variables.
23825 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23826 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23828 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23830 * configure.in (CC): Require GCC version 4.4 or later.
23831 * configure: Regenerated.
23832 * manual/install.texi (Tools for Compilation): Update GCC version
23834 * INSTALL: Regenerated.
23836 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23839 * string/test-memcmp.c (check2): New.
23840 (main): Call check2.
23842 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23844 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23847 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23849 (dl_open_worker) [!SHARED]: ... here.
23851 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23853 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23855 2013-06-25 Richard Henderson <rth@redhat.com>
23857 * locale/programs/locarchive.c: Include <libc-internal.h>
23859 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23861 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23862 trailing whitespace removed.
23864 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23867 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23868 * locale/programs/locarchive.c: Include libc-mmap.h.
23869 (prepare_address_space): Take two new outputs (the mmap base and len).
23870 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23872 (create_archive): Declare new mmap base and len values for
23873 prepare_address_space, and store the result in ah.
23874 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23875 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23876 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23877 Declare new mmap base and len values for
23878 prepare_address_space, and store the result in new_ah.
23879 (open_archive): Declare new mmap base and len values for
23880 prepare_address_space, and store the result in ah.
23881 (close_archive): If ah->mmap_base is not NULL, use that and
23882 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23883 * sysdeps/generic/libc-mmap.h: New file.
23885 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23887 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23888 (ALIGN_UP): Likewise.
23889 (PTR_ALIGN_DOWN): Likewise.
23890 (PTR_ALIGN_UP): Likewise.
23892 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23894 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23895 entry mapped to PPC_PLATFORM_POWER8.
23896 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23898 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23899 (_dl_string_platform): Add case for exporting platform position for
23901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23902 search path to sysdeps/powerpc/powerpc32/power8 directory.
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23904 search path to sysdeps/powerpc/powerpc64/power8 directory.
23905 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23906 power7 directories.
23907 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23908 power7 directories.
23910 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23912 * INSTALL: Regenerate.
23914 * nscd/connections.c (nscd_init): Fix comment.
23916 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23918 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23921 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23922 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23924 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23926 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23928 (DL_DST_REQ_STATIC): Remove macro.
23930 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23933 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23934 with a shift of 0 bits.
23936 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23938 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23941 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23944 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23946 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23948 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23949 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23950 accepts -fno-tree-loop-distribute-patterns.
23951 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23952 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23954 * string/memset.c (memset): Likewise.
23955 * string/test-memmove.c (simple_memmove): Disable loop transformation
23957 * string/test-memset.c (simple_memset): Likewise.
23958 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23959 * benchtests/bench-memset.c (simple_memset): Likewise.
23960 * configure: Regenerated.
23962 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23964 * math/test-misc.c (main): Ignore fesetround failure when failures
23965 of subsequent rounding tests would be ignored.
23968 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23969 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23970 * math/fegetenv.c (__fegetenv): Return 0.
23971 * math/fegetexcept.c (fegetexcept): Return 0.
23972 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23974 * math/feholdexcpt.c (feholdexcept): Return 0.
23975 * math/fesetenv.c (__fesetenv): Return 0.
23976 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23977 argument FE_TONEAREST.
23978 * math/feupdateenv.c (__feupdateenv): Return 0.
23979 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23981 2013-06-18 Roland McGrath <roland@hack.frob.com>
23983 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23984 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23985 ($(objpfx)rtld-%.os rules): Use them.
23987 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23989 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23992 2013-06-17 Roland McGrath <roland@hack.frob.com>
23994 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23995 length of target pattern, then descending length of dependency pattern.
23996 * configure.in (AWK): Require gawk 3.1.2 or newer.
23997 * manual/install.texi (Tools for Compilation): Say that we do.
23998 * configure: Regenerated.
24000 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24001 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24002 * scripts/sysd-rules.awk: ... this new script.
24003 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24004 than a glob-style pattern.
24006 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24008 * math/test-misc.c (main): Do not treat incorrectly rounded
24009 conversions as failure unless ROUNDING_TESTS passes.
24011 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24014 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24015 restore exception state around main square root computation, then
24016 check for inexactness explicitly.
24018 * math/libm-test.inc (fma_test_data): Add another test.
24020 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24022 * manual/threads.texi (Non-POSIX Extensions): New document
24023 node. Document pthread_getattr_default_np and
24024 pthread_setattr_default_np.
24026 * Versions.def (libpthread): Add GLIBC_2.18.
24027 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24036 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24047 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24050 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24052 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24053 H.J. Lu <hjl.tools@gmail.com>
24056 * sysdeps/x86_64/rtld-memset.c: Remove file.
24057 * sysdeps/x86_64/rtld-memset.S: New file.
24059 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24061 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24062 (test_in_one_mode): Take arguments for whether the rounding mode
24063 is supported for each floating-point type.
24064 (do_test): Pass new arguments to test_in_one_mode using
24067 2013-06-13 Roland McGrath <roland@hack.frob.com>
24069 * posix/tst-waitid.c (do_test): Distinguish different instances of
24070 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24071 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24072 before entering the kernel for waitpid.
24074 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24076 * NEWS: Fix note on clock function precision. Text by Roland
24079 2013-06-13 Roland McGrath <roland@hack.frob.com>
24081 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24082 it into place only when and if the sanity check passes.
24084 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24086 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24087 output for whether conversion result is exact. Take argument
24088 indicating whether type is IBM long double.
24089 (round_for_all): Change need_exact field to ibm_ld.
24090 * stdlib/tst-strtod-round.c (struct exactness): New type.
24091 (struct test): Change bool ld_ok field to struct exactness exact.
24092 (TEST): Update all definitions for change to field.
24093 (tests): Regenerate array contents.
24094 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24095 field value. Check for IBM long double here.
24096 (do_test): Update calls to test_in_one_mode.
24098 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24101 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24102 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24104 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24107 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24108 generated by the compiler on loop optimizations.
24109 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24110 general definitions.
24112 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24114 * math/bug-nextafter.c: Include <math-tests.h>.
24115 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24117 * math/bug-nexttoward.c: Include <math-tests.h>.
24118 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24120 * math/test-misc.c: Include <math-tests.h>.
24121 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24124 2013-06-12 Andreas Jaeger <aj@suse.de>
24126 * po/ia.po: Update Interlingua translation from translation
24129 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24131 * include/fenv.h: Include stdbool.h.
24132 (struct rm_ctx): New structure.
24133 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24135 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24136 (SET_RESTORE_ROUNDF): Likewise.
24137 (SET_RESTORE_ROUNDL): Likewise.
24138 (SET_RESTORE_ROUND_NOEX): Likewise.
24139 (SET_RESTORE_ROUND_NOEXF): Likewise.
24140 (SET_RESTORE_ROUND_NOEXL): Likewise.
24141 (SET_RESTORE_ROUND_53BIT): Likewise.
24142 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24143 (libc_feresetround_noexf_ctx): Likewise.
24144 (libc_feresetround_noexl_ctx): Likewise.
24145 (libc_feholdsetround_53bit_ctx): Likewise.
24146 (libc_feresetround_53bit_ctx): Likewise.
24147 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24148 (libc_feholdexcept_setround_sse_ctx): New function.
24149 (libc_fesetenv_sse_ctx): Likewise.
24150 (libc_feupdateenv_sse_ctx): Likewise.
24151 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24152 (libc_feholdexcept_setround_387_ctx): Likewise.
24153 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24154 (libc_feholdsetround_387_prec_ctx): Likewise.
24155 (libc_feholdsetround_387_ctx): Likewise.
24156 (libc_feholdsetround_387_53bit_ctx): Likewise.
24157 (libc_feholdsetround_sse_ctx): Likewise.
24158 (libc_feresetround_sse_ctx): Likewise.
24159 (libc_feresetround_387_ctx): Likewise.
24160 (libc_feupdateenv_387_ctx): Likewise.
24161 (libc_feholdexcept_setroundf_ctx): Define macro.
24162 (libc_fesetenvf_ctx): Likewise.
24163 (libc_feupdateenvf_ctx): Likewise.
24164 (libc_feholdsetroundf_ctx): Likewise.
24165 (libc_feresetroundf_ctx): Likewise.
24166 (libc_feholdexcept_setround_ctx): Likewise.
24167 (libc_fesetenv_ctx): Likewise.
24168 (libc_feupdateenv_ctx): Likewise.
24169 (libc_feholdsetround_ctx): Likewise.
24170 (libc_feresetround_ctx): Likewise.
24171 (libc_feholdexcept_setroundl_ctx): Likewise.
24172 (libc_feupdateenvl_ctx): Likewise.
24173 (libc_feholdsetroundl_ctx): Likewise.
24174 (libc_feresetroundl_ctx): Likewise.
24175 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24176 (libc_feresetround_53bit_ctx): Likewise.
24178 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24180 * locale/iso-639.def: Convert to UTF-8.
24182 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24185 (EXCEPTION_TESTS_double): Likewise.
24186 (EXCEPTION_TESTS_long_double): Likewise.
24187 (EXCEPTION_TESTS): Likewise.
24188 * math/libm-test.inc (test_exceptions): Only test exceptions if
24189 EXCEPTION_TESTS (FLOAT).
24191 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24193 * benchtests/Makefile (string-bench): Add strcpy_chk and
24195 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24196 * benchtests/bench-stpcpy_chk.c: New file.
24197 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24198 * benchtests/bench-strcpy_chk.c: New file.
24199 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24201 (do_test): Likewise.
24203 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24205 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24206 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24207 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24208 with tabs where appropriate.
24209 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24211 [PPC_PLATFORM_PPC440]: Likewise.
24212 [PPC_PLATFORM_PPC464]: Likewise.
24213 [PPC_PLATFORM_PPC476]: Likewise.
24214 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24215 ppc464, and ppc476 platform strings merging from ports/
24218 2013-06-11 Andreas Schwab <schwab@suse.de>
24221 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24222 (from_ucs4_idx): Regenerate.
24223 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24224 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24225 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24226 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24227 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24228 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24229 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24230 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24231 from FROM_LOOP and TO_LOOP specific macros.
24232 (BODY): Handle combining characters.
24233 * iconvdata/BIG5HKSCS.irreversible: Update.
24234 * iconvdata/BIG5HKSCS.precomposed: New file.
24235 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24237 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24239 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24241 * include/sys/time.h: Fix indentation and add copyright header.
24243 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24244 (do_test): Likewise.
24245 * string/test-memchr.c (do_one_test): Likewise.
24246 (do_test): Likewise.
24247 * string/test-memcmp.c (do_one_test): Likewise.
24248 (do_test): Likewise.
24249 * string/test-memcpy.c (do_one_test): Likewise.
24250 (do_test): Likewise.
24251 * string/test-memmem.c (do_one_test): Likewise.
24252 (do_test): Likewise.
24253 (do_random_tests): Likewise.
24254 * string/test-memmove.c (do_one_test): Likewise.
24255 (do_test): Likewise.
24256 * string/test-memset.c (do_one_test): Likewise.
24257 (do_test): Likewise.
24258 * string/test-rawmemchr.c (do_one_test): Likewise.
24259 (do_test): Likewise.
24260 * string/test-strcasecmp.c (do_one_test): Likewise.
24261 (do_test): Likewise.
24262 * string/test-strcasestr.c (do_one_test): Likewise.
24263 (do_test): Likewise.
24264 * string/test-strcat.c (do_one_test): Likewise.
24265 (do_test): Likewise.
24266 * string/test-strchr.c (do_one_test): Likewise.
24267 (do_test): Likewise.
24268 * string/test-strcmp.c (do_one_test): Likewise.
24269 (do_test): Likewise.
24270 * string/test-strcpy.c (do_one_test): Likewise.
24271 (do_test): Likewise.
24272 * string/test-string.h: Likewise.
24273 (test_init): Likewise.
24274 * string/test-strlen.c (do_one_test): Likewise.
24275 (do_test): Likewise.
24276 * string/test-strncasecmp.c (do_one_test): Likewise.
24277 (do_test): Likewise.
24278 * string/test-strncat.c (do_one_test): Likewise.
24279 (do_test): Likewise.
24280 * string/test-strncmp.c (do_one_test): Likewise.
24281 (do_test_limit): Likewise.
24282 (do_test): Likewise.
24283 * string/test-strncpy.c (do_one_test): Likewise.
24284 (do_test): Likewise.
24285 * string/test-strnlen.c (do_one_test): Likewise.
24286 (do_test): Likewise.
24287 * string/test-strpbrk.c (do_one_test): Likewise.
24288 (do_test): Likewise.
24289 * string/test-strrchr.c (do_one_test): Likewise.
24290 (do_test): Likewise.
24291 * string/test-strspn.c (do_one_test): Likewise.
24292 (do_test): Likewise.
24293 * string/test-strstr.c (do_one_test): Likewise.
24294 (do_test): Likewise.
24296 * benchtests/Makefile (string-bench): Add string benchmarks.
24297 * benchtests/bench-bcopy-ifunc.c: New file.
24298 * benchtests/bench-bcopy.c: New file.
24299 * benchtests/bench-bzero-ifunc.c: New file.
24300 * benchtests/bench-bzero.c: New file.
24301 * benchtests/bench-memccpy-ifunc.c: New file.
24302 * benchtests/bench-memccpy.c: New file.
24303 * benchtests/bench-memchr-ifunc.c: New file.
24304 * benchtests/bench-memchr.c: New file.
24305 * benchtests/bench-memcmp-ifunc.c: New file.
24306 * benchtests/bench-memcmp.c: New file.
24307 * benchtests/bench-memmem-ifunc.c: New file.
24308 * benchtests/bench-memmem.c: New file.
24309 * benchtests/bench-memmove-ifunc.c: New file.
24310 * benchtests/bench-memmove.c: New file.
24311 * benchtests/bench-mempcpy-ifunc.c: New file.
24312 * benchtests/bench-mempcpy.c: New file.
24313 * benchtests/bench-memset-ifunc.c: New file.
24314 * benchtests/bench-memset.c: New file.
24315 * benchtests/bench-rawmemchr-ifunc.c: New file.
24316 * benchtests/bench-rawmemchr.c: New file.
24317 * benchtests/bench-stpcpy-ifunc.c: New file.
24318 * benchtests/bench-stpcpy.c: New file.
24319 * benchtests/bench-stpncpy-ifunc.c: New file.
24320 * benchtests/bench-stpncpy.c: New file.
24321 * benchtests/bench-strcasecmp-ifunc.c: New file.
24322 * benchtests/bench-strcasecmp.c: New file.
24323 * benchtests/bench-strcasestr-ifunc.c: New file.
24324 * benchtests/bench-strcasestr.c: New file.
24325 * benchtests/bench-strcat-ifunc.c: New file.
24326 * benchtests/bench-strcat.c: New file.
24327 * benchtests/bench-strchr-ifunc.c: New file.
24328 * benchtests/bench-strchr.c: New file.
24329 * benchtests/bench-strchrnul-ifunc.c: New file.
24330 * benchtests/bench-strchrnul.c: New file.
24331 * benchtests/bench-strcmp-ifunc.c: New file.
24332 * benchtests/bench-strcmp.c: New file.
24333 * benchtests/bench-strcpy-ifunc.c: New file.
24334 * benchtests/bench-strcpy.c: New file.
24335 * benchtests/bench-strcspn-ifunc.c: New file.
24336 * benchtests/bench-strcspn.c: New file.
24337 * benchtests/bench-strlen-ifunc.c: New file.
24338 * benchtests/bench-strlen.c: New file.
24339 * benchtests/bench-strncasecmp-ifunc.c: New file.
24340 * benchtests/bench-strncasecmp.c: New file.
24341 * benchtests/bench-strncat-ifunc.c: New file.
24342 * benchtests/bench-strncat.c: New file.
24343 * benchtests/bench-strncmp-ifunc.c: New file.
24344 * benchtests/bench-strncmp.c: New file.
24345 * benchtests/bench-strncpy-ifunc.c: New file.
24346 * benchtests/bench-strncpy.c: New file.
24347 * benchtests/bench-strnlen-ifunc.c: New file.
24348 * benchtests/bench-strnlen.c: New file.
24349 * benchtests/bench-strpbrk-ifunc.c: New file.
24350 * benchtests/bench-strpbrk.c: New file.
24351 * benchtests/bench-strrchr-ifunc.c: New file.
24352 * benchtests/bench-strrchr.c: New file.
24353 * benchtests/bench-strspn-ifunc.c: New file.
24354 * benchtests/bench-strspn.c: New file.
24355 * benchtests/bench-strstr-ifunc.c: New file.
24356 * benchtests/bench-strstr.c: New file.
24358 * benchtests/Makefile: Disable parallel execution of targets.
24359 (string-bench): Add memcpy.
24360 (benchset): New variable to store a list of benchmark sets.
24361 (bench-func): Renamed from bench.
24362 (bench-set): New target.
24363 (bench): Depend on bench-func and bench-set.
24364 * benchtests/README: Add section on benchmark sets.
24365 * benchtests/bench-memcpy-ifunc.c: New file.
24366 * benchtests/bench-memcpy.c: New file.
24367 * benchtests/bench-string.h: New file.
24369 2013-06-11 Andreas Schwab <schwab@suse.de>
24372 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24373 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24374 values in the triple.
24375 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24376 terminator in the group key.
24378 2013-06-11 Andreas Jaeger <aj@suse.de>
24380 * po/zh_TW.po: Update Chinese (traditional) translation from
24381 translation project.
24383 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24385 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24386 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24387 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24389 (clock_getcpuclockid): Likewise.
24390 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24391 Add weak_alias and libc_hidden_def.
24392 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24393 * rt/clock_gettime.c (clock_gettime): Rename to
24394 __clock_gettime. Add weak_alias and libc_hidden_def.
24395 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24396 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24397 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24398 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24399 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24401 * rt/clock_settime.c (clock_settime): Rename to
24402 __clock_settime. Add weak_alias and libc_hidden_def.
24403 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24405 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24407 * mach/err_boot.sub: Remove trailing whitespace.
24408 * mach/err_ipc.sub: Likewise.
24409 * mach/err_mach.sub: Likewise.
24411 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24412 (ROUNDING_TESTS_double): Likewise.
24413 (ROUNDING_TESTS_long_double): Likewise.
24414 (ROUNDING_TESTS): Likewise.
24415 * math/libm-test.inc: Include <math-tests.h>.
24416 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24417 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24418 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24419 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24421 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24423 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24426 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24428 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24429 otherwise empty TRANS lines.
24430 * sysdeps/gnu/errlist.c: Regenerated.
24432 * catgets/gencat.c (error_print): Use (void) in function
24434 * crypt/crypt_util.c (__init_des): Likewise.
24435 * crypt/speeds.c (Stop): Likewise.
24437 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24438 * inet/ruserpass.c (token): Likewise.
24439 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24440 * intl/localealias.c (extend_alias_table): Likewise.
24441 * intl/plural-exp.c (init_germanic_plural): Likewise.
24442 * libio/fcloseall.c (__fcloseall): Likewise.
24443 * libio/genops.c (_IO_flush_all): Likewise.
24444 (_IO_flush_all_linebuffered): Likewise.
24445 (_IO_cleanup): Likewise.
24446 (_IO_iter_begin): Likewise.
24447 (_IO_iter_end): Likewise.
24448 (_IO_list_lock): Likewise.
24449 (_IO_list_unlock): Likewise.
24450 (_IO_list_resetlock): Likewise.
24451 * libio/getchar.c (getchar): Likewise.
24452 * libio/getchar_u.c (getchar_unlocked): Likewise.
24453 * libio/getwchar.c (getwchar): Likewise.
24454 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24455 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24456 * login/getpt.c (__getpt): Likewise.
24457 * login/tst-utmp.c (main): Likewise.
24458 * malloc/hooks.c (__malloc_check_init): Likewise.
24459 * malloc/malloc.c (__malloc_stats): Likewise.
24460 * malloc/mtrace.c (tr_break): Likewise.
24461 (mtrace): Likewise.
24462 (muntrace): Likewise.
24463 * misc/fstab.c (endfsent): Likewise.
24464 * misc/getclktck.c (__getclktck): Likewise.
24465 * misc/getdtsz.c (__getdtablesize): Likewise.
24466 * misc/gethostid.c (gethostid): Likewise.
24467 * misc/getpagesize.c (__getpagesize): Likewise.
24468 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24469 (__get_nprocs): Likewise.
24470 (__get_phys_pages): Likewise.
24471 (__get_avphys_pages): Likewise.
24472 * misc/getttyent.c (getttyent): Likewise.
24473 (setttyent): Likewise.
24474 (endttyent): Likewise.
24475 * misc/getusershell.c (getusershell): Likewise.
24476 (endusershell): Likewise.
24477 (setusershell): Likewise.
24478 (initshells): Likewise.
24479 * misc/hsearch.c (__hdestroy): Likewise.
24480 * misc/sync.c (sync): Likewise.
24481 * misc/syslog.c (closelog_internal): Likewise.
24482 (closelog): Likewise.
24483 * misc/ttyslot.c (ttyslot): Likewise.
24484 * misc/vhangup.c (vhangup): Likewise.
24485 * posix/fork.c (__fork): Likewise.
24486 * posix/getegid.c (__getegid): Likewise.
24487 * posix/geteuid.c (__geteuid): Likewise.
24488 * posix/getgid.c (__getgid): Likewise.
24489 * posix/getpid.c (__getpid): Likewise.
24490 * posix/getppid.c (__getppid): Likewise.
24491 * posix/getuid.c (__getuid): Likewise.
24492 * posix/pause.c (pause): Likewise.
24493 * posix/setpgrp.c (setpgrp): Likewise.
24494 * posix/setsid.c (__setsid): Likewise.
24495 * posix/test-vfork.c (noop): Likewise.
24496 * resolv/gethnamaddr.c (_endhtent): Likewise.
24497 (_gethtent): Likewise.
24498 (ht_endhostent): Likewise.
24499 (gethostent): Likewise.
24500 (dns_service): Likewise.
24501 * stdlib/drand48.c (drand48): Likewise.
24502 * stdlib/lrand48.c (lrand48): Likewise.
24503 * stdlib/mrand48.c (mrand48): Likewise.
24504 * stdlib/rand.c (rand): Likewise.
24505 * stdlib/random.c (__random): Likewise.
24506 * stdlib/setenv.c (clearenv): Likewise.
24507 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24508 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24509 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24510 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24511 (__get_nprocs): Likewise.
24512 (__get_phys_pages): Likewise.
24513 (__get_avphys_pages): Likewise.
24514 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24515 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24516 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24517 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24518 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24519 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24520 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24521 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24522 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24523 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24524 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24525 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24526 * sysdeps/posix/clock.c (clock): Likewise.
24527 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24528 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24529 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24530 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24531 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24533 (__get_nprocs_conf): Likewise.
24534 (__get_phys_pages): Likewise.
24535 (__get_avphys_pages): Likewise.
24536 * time/clock.c (clock): Likewise.
24537 * time/tzset.c (__tzname_max): Likewise.
24539 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24541 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24542 (__bswap_32): Do not use "register".
24543 * crypt/crypt.c (_ufc_doit_r): Likewise.
24544 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24545 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24546 * gmon/gmon.c (__monstartup): Likewise.
24547 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24548 * hurd/hurdmalloc.c (more_memory): Likewise.
24549 (malloc): Likewise.
24551 (realloc): Likewise.
24552 (malloc_fork_prepare): Likewise.
24553 (malloc_fork_parent): Likewise.
24554 (malloc_fork_child): Likewise.
24555 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24556 (_svcauth_des): Likewise.
24557 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24558 * inet/inet_net.c (inet_network): Likewise.
24559 * inet/inet_netof.c (inet_netof): Likewise.
24560 * inet/rcmd.c (__validuser2_sa): Likewise.
24561 * io/fts.c (fts_open): Likewise.
24562 (fts_load): Likewise.
24563 (fts_close): Likewise.
24564 (fts_read): Likewise.
24565 (fts_children): Likewise.
24566 (fts_build): Likewise.
24567 (fts_stat): Likewise.
24568 (fts_sort): Likewise.
24569 (fts_alloc): Likewise.
24570 (fts_lfree): Likewise.
24571 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24572 (_IO_file_xsgetn): Likewise.
24573 (_IO_file_xsgetn_mmap): Likewise.
24574 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24575 (_IO_cookie_write): Likewise.
24576 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24577 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24578 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24579 * malloc/obstack.c (_obstack_begin): Likewise.
24580 (_obstack_begin_1): Likewise.
24581 (_obstack_newchunk): Likewise.
24582 (_obstack_allocated_p): Likewise.
24583 (obstack_free): Likewise.
24584 (_obstack_memory_used): Likewise.
24585 * misc/getttyent.c (getttynam): Likewise.
24586 (getttyent): Likewise.
24589 * misc/getusershell.c (initshells): Likewise.
24590 * misc/syslog.c (__vsyslog_chk): Likewise.
24591 * misc/ttyslot.c (ttyslot): Likewise.
24592 * nis/nis_hash.c (__nis_hash): Likewise.
24593 * posix/fnmatch_loop.c (FCT): Likewise.
24594 * posix/getconf.c (print_all): Likewise.
24596 * posix/getopt.c (exchange): Likewise.
24597 * posix/glob.c (globfree): Likewise.
24598 (prefix_array): Likewise.
24599 (__glob_pattern_type): Likewise.
24600 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24601 (NS_GET32): Likewise.
24602 (NS_PUT16): Likewise.
24603 (NS_PUT32): Likewise.
24604 * resolv/gethnamaddr.c (getanswer): Likewise.
24605 (gethostbyname2): Likewise.
24606 (gethostbyaddr): Likewise.
24607 (_gethtent): Likewise.
24608 (_gethtbyname2): Likewise.
24609 (_gethtbyaddr): Likewise.
24610 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24611 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24612 * resolv/res_init.c (__res_vinit): Likewise.
24613 (net_mask): Likewise.
24614 * resolv/res_mkquery.c (outchar): Likewise.
24616 * stdio-common/printf_fp.c (outchar): Likewise.
24618 * stdio-common/printf_fphex.c (outchar): Likewise.
24620 * stdio-common/printf_size.c (outchar): Likewise.
24622 * stdio-common/test_rdwr.c (main): Likewise.
24623 * stdio-common/tfformat.c (matches): Likewise.
24624 * stdio-common/vfprintf.c (outchar): Likewise.
24625 (printf_unknown): Likewise.
24626 (buffered_vfprintf): Likewise.
24627 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24628 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24629 (ReadFile): Likewise.
24630 * stdlib/qsort.c (SWAP): Likewise.
24631 (_quicksort): Likewise.
24632 * stdlib/setenv.c (__add_to_environ): Likewise.
24633 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24634 * stdlib/strtol_l.c (__strtol_l): Likewise.
24635 * stdlib/tst-strtod.c (main): Likewise.
24636 * stdlib/tst-strtol.c (main): Likewise.
24637 * stdlib/tst-strtoll.c (main): Likewise.
24638 * string/bits/string2.h (__strcmp_cc): Likewise.
24639 (__strcmp_cg): Likewise.
24640 (__strcspn_c1): Likewise.
24641 (__strcspn_c2): Likewise.
24642 (__strcspn_c3): Likewise.
24643 (__strspn_c1): Likewise.
24644 (__strspn_c2): Likewise.
24645 (__strspn_c3): Likewise.
24646 (__strsep_1c): Likewise.
24647 (__strsep_2c): Likewise.
24648 (__strsep_3c): Likewise.
24649 * string/memccpy.c (__memccpy): Likewise.
24650 * string/stpcpy.c (__stpcpy): Likewise.
24651 * string/strcmp.c (strcmp): Likewise.
24652 * string/strrchr.c (strrchr): Likewise.
24653 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24655 * sysdeps/mach/hurd/getcwd.c
24656 (_hurd_canonicalize_directory_name_internal): Likewise.
24657 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24658 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24659 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24660 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24661 Likewise, in both definitions.
24662 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24664 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24665 64] (__bswap_64): Likewise.
24666 * time/test_time.c (main): Likewise.
24667 * time/tzfile.c (__tzfile_read): Likewise.
24668 (__tzfile_compute): Likewise.
24669 * time/tzset.c (__tzset_parse_tz): Likewise.
24670 (tzset_internal): Likewise.
24671 (compute_change): Likewise.
24672 * wcsmbs/wcscat.c (__wcscat): Likewise.
24673 * wcsmbs/wcschr.c (wcschr): Likewise.
24674 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24675 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24676 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24677 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24678 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24679 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24680 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24681 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24682 * wcsmbs/wmemset.c (wmemset): Likewise.
24684 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24686 * scripts/config.guess: Update to version 2013-05-16.
24687 * scripts/config.sub: Update to version 2013-04-24.
24688 * scripts/install-sh: Update to version 2011-11-20.07.
24689 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24690 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24692 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24694 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24695 * elf/sln.c: Likewise.
24696 * hurd/hurd/ioctl.h: Likewise.
24697 * hurd/hurdmalloc.c: Likewise.
24698 * hurd/xattr.c: Likewise.
24699 * include/shlib-compat.h: Likewise.
24700 * inet/ruserpass.c: Likewise.
24701 * libio/iofgets_u.c: Likewise.
24702 * libio/iofgetws_u.c: Likewise.
24703 * locale/programs/ld-identification.c: Likewise.
24704 * locale/programs/ld-time.c: Likewise.
24705 * mach/msg-destroy.c: Likewise.
24706 * nss/nss_files/files-netgrp.c: Likewise.
24707 * resolv/res_data.c: Likewise.
24708 * soft-fp/op-1.h: Likewise.
24709 * soft-fp/op-2.h: Likewise.
24710 * soft-fp/op-4.h: Likewise.
24711 * soft-fp/op-common.h: Likewise.
24712 * stdio-common/printf_fphex.c: Likewise.
24713 * stdlib/strtod_l.c: Likewise.
24714 * sunrpc/rpc/clnt.h: Likewise.
24715 * sysdeps/generic/framestate.c: Likewise.
24716 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24717 * sysdeps/i386/bsd-setjmp.S: Likewise.
24718 * sysdeps/i386/__longjmp.S: Likewise.
24719 * sysdeps/i386/setjmp.S: Likewise.
24720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24738 * sysdeps/ieee754/support.c: Likewise.
24739 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24740 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24741 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24742 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24743 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24744 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24745 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24746 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24747 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24748 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24749 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24750 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24751 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24753 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24754 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24755 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24758 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24760 * posix/transbug.c: Remove executable mode.
24762 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24764 * crypt/speeds.c: Remove trailing whitespace.
24765 * dlfcn/default.c: Likewise.
24766 * elf/ifuncdep2.c: Likewise.
24767 * elf/ifuncmain1.c: Likewise.
24768 * elf/ifuncmain1vis.c: Likewise.
24769 * elf/testobj.h: Likewise.
24770 * elf/tst-stackguard1.c: Likewise.
24771 * gmon/sys/gmon.h: Likewise.
24772 * hurd/hurdmsg.c: Likewise.
24773 * hurd/new-fd.c: Likewise.
24774 * hurd/ports-get.c: Likewise.
24775 * iconvdata/ibm1008_420.c: Likewise.
24776 * inet/tst-getni1.c: Likewise.
24777 * inet/tst-getni2.c: Likewise.
24778 * libio/ioungetc.c: Likewise.
24779 * libio/wfiledoalloc.c: Likewise.
24780 * manual/libm-err-tab.pl: Likewise.
24781 * math/w_dremf.c: Likewise.
24782 * misc/ftruncate.c: Likewise.
24783 * posix/bug-glob2.c: Likewise.
24784 * posix/tst-pcre.c: Likewise.
24785 * posix/wait4.c: Likewise.
24786 * resolv/README: Likewise.
24787 * resolv/res_debug.h: Likewise.
24788 * resolv/tst-inet_ntop.c: Likewise.
24789 * setjmp/bug269-setjmp.c: Likewise.
24790 * soft-fp/extended.h: Likewise.
24791 * soft-fp/op-1.h: Likewise.
24792 * soft-fp/op-2.h: Likewise.
24793 * soft-fp/op-4.h: Likewise.
24794 * soft-fp/op-8.h: Likewise.
24795 * soft-fp/testit.c: Likewise.
24796 * stdio-common/bug16.c: Likewise.
24797 * stdlib/random.c: Likewise.
24798 * sunrpc/rpcsvc/rquota.x: Likewise.
24799 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24800 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24801 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24802 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24803 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24804 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24805 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24806 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24807 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24808 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24809 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24826 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24828 * sysdeps/ieee754/s_lib_version.c: Likewise.
24829 * sysdeps/mach/hurd/check_fds.c: Likewise.
24830 * sysdeps/mach/hurd/getsockname.c: Likewise.
24831 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24832 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24833 * sysdeps/powerpc/bits/link.h: Likewise.
24834 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24835 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24836 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24837 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24838 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24839 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24840 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24841 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24842 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24843 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24844 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24845 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24846 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24847 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24848 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24849 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24855 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24857 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24858 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24859 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24862 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24865 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24867 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24868 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24869 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24870 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24871 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24872 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24873 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24874 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24875 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24876 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24877 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24878 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24879 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24880 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24881 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24882 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24883 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24888 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24889 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24890 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24892 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24893 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24894 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24895 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24896 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24897 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24898 * sysdeps/powerpc/sysdep.h: Likewise.
24899 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24900 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24901 * sysdeps/sh/dl-trampoline.S: Likewise.
24902 * sysdeps/sh/memset.S: Likewise.
24903 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24904 * sysdeps/sh/strlen.S: Likewise.
24905 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24906 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24907 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24908 * sysdeps/sparc/sparc32/rem.S: Likewise.
24909 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24910 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24911 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24912 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24913 * sysdeps/sparc/sparc32/urem.S: Likewise.
24914 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24915 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24916 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24917 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24919 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24920 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24921 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24922 * sysdeps/unix/bsd/times.c: Likewise.
24923 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24924 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24928 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24929 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24930 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24931 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24932 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24933 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24935 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24936 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24937 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24938 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24939 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24940 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24941 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24942 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24943 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24944 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24945 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24946 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24947 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24948 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24949 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24950 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24951 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24952 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24953 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24954 * sysdeps/x86_64/strcspn.S: Likewise.
24956 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24958 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24959 generated file. Regenerate properly from gen-translit.pl.
24960 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24961 locale/C-translit.h.
24963 2013-06-05 Andreas Schwab <schwab@suse.de>
24966 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24967 week as 6 instead of -1.
24968 * time/tst-strptime.c (day_tests): Add test case.
24970 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24972 * sysdeps/generic/math_private.h
24973 (libc_feholdexcept_setround_53bit): Replace with
24974 libc_feholdsetround_53bit.
24975 (libc_feupdateenv_53bit): Replace with
24976 libc_feresetround_53bit.
24977 (SET_RESTORE_ROUND_53BIT): Adjust.
24979 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24981 * string/test-strchrnul.c: Add copyright header.
24983 * posix/tst-getaddrinfo4.c: Increase test timeout.
24985 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24988 * math/libm-test.inc (MAX_EXP): Remove
24990 (ulp): Use MIN_EXP - MANT_DIG.
24991 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24993 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24995 * po/be.po: Revert last change.
24996 * po/zh_CN.po: Likewise.
24997 * po/header.pot: Likewise.
24999 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25001 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25002 link-libc-deps to empty as target-specific variable.
25003 * Makerules (link-libc-args): New variable.
25004 (libc-for-link): Likewise.
25005 (link-libc-deps): Likewise.
25006 (lib%.so): Depend on $(link-libc-deps). Link with
25008 (build-module): Link with $(link-libc-args).
25009 (build-module-asneeded): Likewise.
25010 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25012 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25013 target-specific variable.
25014 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25015 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25016 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25018 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25020 ($(objpfx)libpcprofile.so): Likewise.
25021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25023 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25024 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25025 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25027 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25028 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25029 * login/Makefile ($(objpfx)libutil.so): Likewise.
25030 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25031 * math/Makefile ($(objpfx)libm.so): Likewise.
25032 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25033 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25034 variable instead of depending directly on libc.
25035 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25036 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25038 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25040 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25041 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25042 ($(objpfx)libanl.so): Likewise.
25043 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25045 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25047 * sysdeps/i386/fpu/Makefile: Remove file.
25048 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25049 ($(objpfx)libm.so): Remove dependency on ld.so.
25051 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25054 * nis/yp_xdr.c (XDRMAXNAME): Define.
25055 (XDRMAXRECORD): Define.
25056 (xdr_domainname): Use XDRMAXNAME.
25057 (xdr_mapname): Likewise.
25058 (xdr_peername): Likewise.
25059 (xdr_keydat): Use XDRMAXRECORD.
25060 (xdr_valdat): Likewise.
25062 2013-05-30 Jeff Law <law@redhat.com>
25065 * manual/errno.texi (ESTALE): Update to account for more than
25066 just NFS file systems.
25067 * sysdeps/gnu/errlist.c: Regenerated.
25069 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25072 * elf/Makefile (tests): Add tst-null-argv.
25073 (modules-names): Add tst-null-argv-lib.
25074 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25075 (tst-null-argv-ENV): Set environment for tst-null-argv.
25076 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25077 (RTLD_PROGNAME): New macro.
25078 * elf/tst-null-argv.c: New test case.
25079 * elf/tst-null-argv-lib.c: Library for test case.
25080 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25081 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25082 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25083 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25084 * elf/dl-init.c (call_init): Likewise.
25085 (_dl_init): Likewise.
25086 * elf/dl-load.c (print_search_path): Likewise.
25087 (_dl_map_object): Likewise.
25088 * elf/dl-lookup.c (do_lookup_x): Likewise.
25089 (add_dependency): Likewise.
25090 (_dl_lookup_symbol_x): Likewise.
25091 (_dl_debug_bindings): Likewise.
25092 * elf/dl-open.c (_dl_show_scope): Likewise.
25093 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25094 * elf/dl-version.c (match_symbol): Likewise.
25095 (_dl_check_map_versions): Likewise.
25096 * elf/rtld.c (dl_main): Likewise.
25097 (print_unresolved): Use RTLD_PROGNAME.
25098 (print_missing_version): Likewise.
25099 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25100 (elf_machine_rela): Likewise.
25101 * sysdeps/powerpc/powerpc32/dl-machine.c
25102 (__process_machine_rela): Likewise.
25103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25109 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25112 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25116 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25118 * po/be.po: Add descriptive title.
25119 * po/zh_CN.po: Likewise.
25120 * po/header.pot: Likewise.
25122 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25124 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25126 (enlarge_archive): Likewise.
25128 2013-05-28 Ben North <ben@redfrontdoor.org>
25130 * manual/arith.texi (frexp): It is the magnitude of the return
25131 value which lies in [0.5, 1), not the return value itself.
25133 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25137 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25139 * stdio-common/bug26.c (main): Correct fscanf template.
25141 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25142 declare _dl_skip_args.
25144 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25147 * manual/platform.texi: Add missing @end deftypefun.
25149 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25153 bit of mantissa of 2^16382.
25154 * math/libm-test.inc (hypot_test_data): Add more tests.
25156 * math/libm-test.inc: Add drem and pow10 to list of tested
25158 (pow10_test): New function.
25159 (drem_test): Likewise.
25160 (drem_test_tonearest): Likewise.
25161 (drem_test_towardzero): Likewise.
25162 (drem_test_downward): Likewise.
25163 (drem_test_upward): Likewise.
25164 (main): Call the new functions.
25166 * math/libm-test.inc (finite_test_data): Remove.
25167 (finite_test): Run tests from isfinite_test_data.
25168 (gamma_test_data): Remove.
25169 (gamma_test): Run tests from lgamma_test_data.
25170 * sysdeps/i386/fpu/libm-test-ulps: Update.
25171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25173 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25175 * manual/platform.texi: Add PowerPC PPR function set documentation.
25176 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25179 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25181 * math/libm-test.inc (MAX_EXP): Define.
25183 (ulp): New function.
25184 (check_float_internal): Use ULPDIFF.
25185 (cpow_test): Disable failing test.
25186 (check_ulp): Test ulp() implemetnation.
25187 (main): Call check_ulp before starting tests.
25189 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25191 * math/gen-libm-test.pl (generate_testfile): Do not handle
25192 START_DATA and END_DATA.
25193 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25195 (acos_tonearest_test_data): Likewise.
25196 (acos_towardzero_test_data): Likewise.
25197 (acos_downward_test_data): Likewise.
25198 (acos_upward_test_data): Likewise.
25199 (acosh_test_data): Likewise.
25200 (asin_test_data): Likewise.
25201 (asin_tonearest_test_data): Likewise.
25202 (asin_towardzero_test_data): Likewise.
25203 (asin_downward_test_data): Likewise.
25204 (asin_upward_test_data): Likewise.
25205 (asinh_test_data): Likewise.
25206 (atan_test_data): Likewise.
25207 (atanh_test_data): Likewise.
25208 (atan2_test_data): Likewise.
25209 (cabs_test_data): Likewise.
25210 (cacos_test_data): Likewise.
25211 (cacosh_test_data): Likewise.
25212 (carg_test_data): Likewise.
25213 (casin_test_data): Likewise.
25214 (casinh_test_data): Likewise.
25215 (catan_test_data): Likewise.
25216 (catanh_test_data): Likewise.
25217 (cbrt_test_data): Likewise.
25218 (ccos_test_data): Likewise.
25219 (ccosh_test_data): Likewise.
25220 (ceil_test_data): Likewise.
25221 (cexp_test_data): Likewise.
25222 (cimag_test_data): Likewise.
25223 (clog_test_data): Likewise.
25224 (clog10_test_data): Likewise.
25225 (conj_test_data): Likewise.
25226 (copysign_test_data): Likewise.
25227 (cos_test_data): Likewise.
25228 (cos_tonearest_test_data): Likewise.
25229 (cos_towardzero_test_data): Likewise.
25230 (cos_downward_test_data): Likewise.
25231 (cos_upward_test_data): Likewise.
25232 (cosh_test_data): Likewise.
25233 (cosh_tonearest_test_data): Likewise.
25234 (cosh_towardzero_test_data): Likewise.
25235 (cosh_downward_test_data): Likewise.
25236 (cosh_upward_test_data): Likewise.
25237 (cpow_test_data): Likewise.
25238 (cproj_test_data): Likewise.
25239 (creal_test_data): Likewise.
25240 (csin_test_data): Likewise.
25241 (csinh_test_data): Likewise.
25242 (csqrt_test_data): Likewise.
25243 (ctan_test_data): Likewise.
25244 (ctan_tonearest_test_data): Likewise.
25245 (ctan_towardzero_test_data): Likewise.
25246 (ctan_downward_test_data): Likewise.
25247 (ctan_upward_test_data): Likewise.
25248 (ctanh_test_data): Likewise.
25249 (ctanh_tonearest_test_data): Likewise.
25250 (ctanh_towardzero_test_data): Likewise.
25251 (ctanh_downward_test_data): Likewise.
25252 (ctanh_upward_test_data): Likewise.
25253 (erf_test_data): Likewise.
25254 (erfc_test_data): Likewise.
25255 (exp_test_data): Likewise.
25256 (exp_tonearest_test_data): Likewise.
25257 (exp_towardzero_test_data): Likewise.
25258 (exp_downward_test_data): Likewise.
25259 (exp_upward_test_data): Likewise.
25260 (exp10_test_data): Likewise.
25261 (exp2_test_data): Likewise.
25262 (expm1_test_data): Likewise.
25263 (fabs_test_data): Likewise.
25264 (fdim_test_data): Likewise.
25265 (finite_test_data): Likewise.
25266 (floor_test_data): Likewise.
25267 (fma_test_data): Likewise.
25268 (fma_towardzero_test_data): Likewise.
25269 (fma_downward_test_data): Likewise.
25270 (fma_upward_test_data): Likewise.
25271 (fmax_test_data): Likewise.
25272 (fmin_test_data): Likewise.
25273 (fmod_test_data): Likewise.
25274 (fpclassify_test_data): Likewise.
25275 (frexp_test_data): Likewise.
25276 (gamma_test_data): Likewise.
25277 (hypot_test_data): Likewise.
25278 (ilogb_test_data): Likewise.
25279 (isfinite_test_data): Likewise.
25280 (isgreater_test_data): Likewise.
25281 (isgreaterequal_test_data): Likewise.
25282 (isinf_test_data): Likewise.
25283 (isless_test_data): Likewise.
25284 (islessequal_test_data): Likewise.
25285 (islessgreater_test_data): Likewise.
25286 (isnan_test_data): Likewise.
25287 (isnormal_test_data): Likewise.
25288 (issignaling_test_data): Likewise.
25289 (isunordered_test_data): Likewise.
25290 (j0_test_data): Likewise.
25291 (j1_test_data): Likewise.
25292 (jn_test_data): Likewise.
25293 (ldexp_test_data): Likewise.
25294 (lgamma_test_data): Likewise.
25295 (lrint_test_data): Likewise.
25296 (lrint_tonearest_test_data): Likewise.
25297 (lrint_towardzero_test_data): Likewise.
25298 (lrint_downward_test_data): Likewise.
25299 (lrint_upward_test_data): Likewise.
25300 (llrint_test_data): Likewise.
25301 (llrint_tonearest_test_data): Likewise.
25302 (llrint_towardzero_test_data): Likewise.
25303 (llrint_downward_test_data): Likewise.
25304 (llrint_upward_test_data): Likewise.
25305 (log_test_data): Likewise.
25306 (log10_test_data): Likewise.
25307 (log1p_test_data): Likewise.
25308 (log2_test_data): Likewise.
25309 (logb_test_data): Likewise.
25310 (logb_downward_test_data): Likewise.
25311 (lround_test_data): Likewise.
25312 (llround_test_data): Likewise.
25313 (modf_test_data): Likewise.
25314 (nearbyint_test_data): Likewise.
25315 (nextafter_test_data): Likewise.
25316 (nexttoward_test_data): Likewise.
25317 (pow_test_data): Likewise.
25318 (pow_tonearest_test_data): Likewise.
25319 (pow_towardzero_test_data): Likewise.
25320 (pow_downward_test_data): Likewise.
25321 (pow_upward_test_data): Likewise.
25322 (remainder_test_data): Likewise.
25323 (remainder_tonearest_test_data): Likewise.
25324 (remainder_towardzero_test_data): Likewise.
25325 (remainder_downward_test_data): Likewise.
25326 (remainder_upward_test_data): Likewise.
25327 (remquo_test_data): Likewise.
25328 (rint_test_data): Likewise.
25329 (rint_tonearest_test_data): Likewise.
25330 (rint_towardzero_test_data): Likewise.
25331 (rint_downward_test_data): Likewise.
25332 (rint_upward_test_data): Likewise.
25333 (round_test_data): Likewise.
25334 (scalb_test_data): Likewise.
25335 (scalbn_test_data): Likewise.
25336 (scalbln_test_data): Likewise.
25337 (signbit_test_data): Likewise.
25338 (sin_test_data): Likewise.
25339 (sin_tonearest_test_data): Likewise.
25340 (sin_towardzero_test_data): Likewise.
25341 (sin_downward_test_data): Likewise.
25342 (sin_upward_test_data): Likewise.
25343 (sincos_test_data): Likewise.
25344 (sinh_test_data): Likewise.
25345 (sinh_tonearest_test_data): Likewise.
25346 (sinh_towardzero_test_data): Likewise.
25347 (sinh_downward_test_data): Likewise.
25348 (sinh_upward_test_data): Likewise.
25349 (sqrt_test_data): Likewise.
25350 (tan_test_data): Likewise.
25351 (tan_tonearest_test_data): Likewise.
25352 (tan_towardzero_test_data): Likewise.
25353 (tan_downward_test_data): Likewise.
25354 (tan_upward_test_data): Likewise.
25355 (tanh_test_data): Likewise.
25356 (tgamma_test_data): Likewise.
25357 (trunc_test_data): Likewise.
25358 (y0_test_data): Likewise.
25359 (y1_test_data): Likewise.
25360 (yn_test_data): Likewise.
25361 (significand_test_data): Likewise.
25363 * math/gen-libm-test.pl (@functions): Remove variable.
25364 (generate_testfile): Don't handle START and END lines.
25365 * math/libm-test.inc (START): New macro.
25367 (END_COMPLEX): Likewise.
25368 (acos_test): Use END macro without arguments.
25369 (acos_test_tonearest): Likewise.
25370 (acos_test_towardzero): Likewise.
25371 (acos_test_downward): Likewise.
25372 (acos_test_upward): Likewise.
25373 (acosh_test): Likewise.
25374 (asin_test): Likewise.
25375 (asin_test_tonearest): Likewise.
25376 (asin_test_towardzero): Likewise.
25377 (asin_test_downward): Likewise.
25378 (asin_test_upward): Likewise.
25379 (asinh_test): Likewise.
25380 (atan_test): Likewise.
25381 (atanh_test): Likewise.
25382 (atan2_test): Likewise.
25383 (cabs_test): Likewise.
25384 (cacos_test): Use END_COMPLEX macro without arguments.
25385 (cacosh_test): Likewise.
25386 (carg_test): Use END macro without arguments.
25387 (casin_test): Use END_COMPLEX macro without arguments.
25388 (casinh_test): Likewise.
25389 (catan_test): Likewise.
25390 (catanh_test): Likewise.
25391 (cbrt_test): Use END macro without arguments.
25392 (ccos_test): Use END_COMPLEX macro without arguments.
25393 (ccosh_test): Likewise.
25394 (ceil_test): Use END macro without arguments.
25395 (cexp_test): Use END_COMPLEX macro without arguments.
25396 (cimag_test): Use END macro without arguments.
25397 (clog_test): Use END_COMPLEX macro without arguments.
25398 (clog10_test): Likewise.
25399 (conj_test): Likewise.
25400 (copysign_test): Use END macro without arguments.
25401 (cos_test): Likewise.
25402 (cos_test_tonearest): Likewise.
25403 (cos_test_towardzero): Likewise.
25404 (cos_test_downward): Likewise.
25405 (cos_test_upward): Likewise.
25406 (cosh_test): Likewise.
25407 (cosh_test_tonearest): Likewise.
25408 (cosh_test_towardzero): Likewise.
25409 (cosh_test_downward): Likewise.
25410 (cosh_test_upward): Likewise.
25411 (cpow_test): Use END_COMPLEX macro without arguments.
25412 (cproj_test): Likewise.
25413 (creal_test): Use END macro without arguments.
25414 (csin_test): Use END_COMPLEX macro without arguments.
25415 (csinh_test): Likewise.
25416 (csqrt_test): Likewise.
25417 (ctan_test): Likewise.
25418 (ctan_test_tonearest): Likewise.
25419 (ctan_test_towardzero): Likewise.
25420 (ctan_test_downward): Likewise.
25421 (ctan_test_upward): Likewise.
25422 (ctanh_test): Likewise.
25423 (ctanh_test_tonearest): Likewise.
25424 (ctanh_test_towardzero): Likewise.
25425 (ctanh_test_downward): Likewise.
25426 (ctanh_test_upward): Likewise.
25427 (erf_test): Use END macro without arguments.
25428 (erfc_test): Likewise.
25429 (exp_test): Likewise.
25430 (exp_test_tonearest): Likewise.
25431 (exp_test_towardzero): Likewise.
25432 (exp_test_downward): Likewise.
25433 (exp_test_upward): Likewise.
25434 (exp10_test): Likewise.
25435 (exp2_test): Likewise.
25436 (expm1_test): Likewise.
25437 (fabs_test): Likewise.
25438 (fdim_test): Likewise.
25439 (finite_test): Likewise.
25440 (floor_test): Likewise.
25441 (fma_test): Likewise.
25442 (fma_test_towardzero): Likewise.
25443 (fma_test_downward): Likewise.
25444 (fma_test_upward): Likewise.
25445 (fmax_test): Likewise.
25446 (fmin_test): Likewise.
25447 (fmod_test): Likewise.
25448 (fpclassify_test): Likewise.
25449 (frexp_test): Likewise.
25450 (gamma_test): Likewise.
25451 (hypot_test): Likewise.
25452 (ilogb_test): Likewise.
25453 (isfinite_test): Likewise.
25454 (isgreater_test): Likewise.
25455 (isgreaterequal_test): Likewise.
25456 (isinf_test): Likewise.
25457 (isless_test): Likewise.
25458 (islessequal_test): Likewise.
25459 (islessgreater_test): Likewise.
25460 (isnan_test): Likewise.
25461 (isnormal_test): Likewise.
25462 (issignaling_test): Likewise.
25463 (isunordered_test): Likewise.
25464 (j0_test): Likewise.
25465 (j1_test): Likewise.
25466 (jn_test): Likewise.
25467 (ldexp_test): Likewise.
25468 (lgamma_test): Likewise.
25469 (lrint_test): Likewise.
25470 (lrint_test_tonearest): Likewise.
25471 (lrint_test_towardzero): Likewise.
25472 (lrint_test_downward): Likewise.
25473 (lrint_test_upward): Likewise.
25474 (llrint_test): Likewise.
25475 (llrint_test_tonearest): Likewise.
25476 (llrint_test_towardzero): Likewise.
25477 (llrint_test_downward): Likewise.
25478 (llrint_test_upward): Likewise.
25479 (log_test): Likewise.
25480 (log10_test): Likewise.
25481 (log1p_test): Likewise.
25482 (log2_test): Likewise.
25483 (logb_test): Likewise.
25484 (logb_test_downward): Likewise.
25485 (lround_test): Likewise.
25486 (llround_test): Likewise.
25487 (modf_test): Likewise.
25488 (nearbyint_test): Likewise.
25489 (nextafter_test): Likewise.
25490 (nexttoward_test): Likewise.
25491 (pow_test): Likewise.
25492 (pow_test_tonearest): Likewise.
25493 (pow_test_towardzero): Likewise.
25494 (pow_test_downward): Likewise.
25495 (pow_test_upward): Likewise.
25496 (remainder_test): Likewise.
25497 (remainder_test_tonearest): Likewise.
25498 (remainder_test_towardzero): Likewise.
25499 (remainder_test_downward): Likewise.
25500 (remainder_test_upward): Likewise.
25501 (remquo_test): Likewise.
25502 (rint_test): Likewise.
25503 (rint_test_tonearest): Likewise.
25504 (rint_test_towardzero): Likewise.
25505 (rint_test_downward): Likewise.
25506 (rint_test_upward): Likewise.
25507 (round_test): Likewise.
25508 (scalb_test): Likewise.
25509 (scalbn_test): Likewise.
25510 (scalbln_test): Likewise.
25511 (signbit_test): Likewise.
25512 (sin_test): Likewise.
25513 (sin_test_tonearest): Likewise.
25514 (sin_test_towardzero): Likewise.
25515 (sin_test_downward): Likewise.
25516 (sin_test_upward): Likewise.
25517 (sincos_test): Likewise.
25518 (sinh_test): Likewise.
25519 (sinh_test_tonearest): Likewise.
25520 (sinh_test_towardzero): Likewise.
25521 (sinh_test_downward): Likewise.
25522 (sinh_test_upward): Likewise.
25523 (sqrt_test): Likewise.
25524 (tan_test): Likewise.
25525 (tan_test_tonearest): Likewise.
25526 (tan_test_towardzero): Likewise.
25527 (tan_test_downward): Likewise.
25528 (tan_test_upward): Likewise.
25529 (tanh_test): Likewise.
25530 (tgamma_test): Likewise.
25531 (trunc_test): Likewise.
25532 (y0_test): Likewise.
25533 (y1_test): Likewise.
25534 (yn_test): Likewise.
25535 (significand_test): Likewise.
25537 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25540 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25542 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25545 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25546 __ppc_mdoio and __ppc_mdoom.
25547 * manual/platform.texi: Document new functions __ppc_yield,
25548 __ppc_mdoio and __ppc_mdoom.
25550 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25552 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25553 (main): Mention "tls" pseudo-hwcap is legacy.
25554 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25556 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25558 * math/gen-libm-test.pl (parse_args): Output only string of
25559 arguments as text for test name, not full call or descriptions of
25560 tests for extra outputs.
25561 (generate_testfile): Do not pass function name to parse_args.
25562 Generate this_func variable from START.
25563 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25565 (struct test_ff_f_data): Likewise.
25566 (test_ff_f_data_nexttoward): Likewise.
25567 (struct test_fi_f_data): Likewise.
25568 (struct test_fl_f_data): Likewise.
25569 (struct test_if_f_data): Likewise.
25570 (struct test_fff_f_data): Likewise.
25571 (struct test_c_f_data): Likewise.
25572 (struct test_f_f1_data): Likewise. Remove field extra_name.
25573 (struct test_fF_f1_data): Likewise.
25574 (struct test_ffI_f1_data): Likewise.
25575 (struct test_c_c_data): Rename test_name field to arg_str.
25576 (struct test_cc_c_data): Likewise.
25577 (struct test_f_i_data): Likewise.
25578 (struct test_ff_i_data): Likewise.
25579 (struct test_f_l_data): Likewise.
25580 (struct test_f_L_data): Likewise.
25581 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25583 (COMMON_TEST_SETUP): New macro.
25584 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25585 (COMMON_TEST_CLEANUP): Likewise.
25586 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25587 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25589 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25590 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25592 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25593 (RUN_TEST_fff_f): Take argument string. Call new setup and
25595 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25596 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25598 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25599 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25601 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25602 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25604 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25605 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25607 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25608 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25610 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25611 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25613 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25614 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25616 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25617 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25619 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25620 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25622 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25623 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25625 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25626 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25628 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25629 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25631 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25632 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25634 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25635 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25637 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25638 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25640 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25642 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25644 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25645 to _sifields.sigfault.
25646 (si_addr_lsb): Define new macro.
25647 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25649 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25651 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25654 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25656 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25658 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25659 loading the domain.
25661 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25663 * math/gen-libm-test.pl (parse_args): Do not include expected
25664 result in test name.
25665 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25668 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25672 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25674 * benchtests/Makefile: Sort function entries.
25676 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25677 tanh, asinh, acosh, atanh.
25678 * benchtests/acos-inputs: New file.
25679 * benchtests/acosh-inputs: New file.
25680 * benchtests/asin-inputs: New file.
25681 * benchtests/asinh-inputs: New file.
25682 * benchtests/atanh-inputs: New file.
25683 * benchtests/cosh-inputs: New file.
25684 * benchtests/log-inputs: New file.
25685 * benchtests/sinh-inputs: New file.
25686 * benchtests/tanh-inputs: New file.
25688 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25691 * posix/tst-getaddrinfo4.c: New test.
25692 * posix/Makefile (tests): Add it.
25694 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25697 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25698 when no services were used.
25699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25700 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25702 2013-05-21 Andreas Schwab <schwab@suse.de>
25705 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25706 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25708 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25709 redundant variable declarations and reallocation of buffer when
25710 parsing as IPv6 address. Always set NSS status when called from
25711 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25712 buffer too small. Correct computation of needed size.
25713 * nss/Makefile (tests): Add test-digits-dots.
25714 * nss/test-digits-dots.c: New test.
25716 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25718 * benchtests/Makefile: Remove instructions for adding
25720 * benchtests/README: New file to explain how to execute and
25721 enhance the benchmark tests.
25723 2013-05-21 Andreas Schwab <schwab@suse.de>
25726 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25727 * setjmp/tst-sigsetjmp.c: New test.
25729 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25731 * sysdeps/x86_64/memset.S (memset): New implementation.
25732 (__bzero): Likewise.
25733 (__memset_tail): New function.
25735 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25737 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25738 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25739 __memcpy_sse2_unaligned ifunc selection.
25740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25741 Add memcpy-sse2-unaligned.S.
25742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25743 Add: __memcpy_sse2_unaligned.
25745 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25748 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25749 math_force_eval before restoring floating-point envrionment.
25750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25753 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25755 (__nearbyintl): Use math_force_eval before restoring
25756 floating-point environment.
25757 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25759 * math/gen-libm-test.pl (special_functions): Remove.
25760 (parse_args): Don't handle TEST_extra. Handle functions with no
25762 * math/libm-test.inc (struct test_sincos_data): Replace with
25763 struct test_fFF_11_data.
25764 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25765 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25766 (sincos_test_data): Change element type to struct
25767 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25768 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25769 RUN_TEST_LOOP_sincos.
25770 * math/README.libm-test: Don't mention special handling of
25771 individual functions.
25772 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25773 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25774 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25775 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25776 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25779 * math/gen-libm-test.pl (get_variable): Remove function.
25780 (parse_args): Don't show pointer parameters to call in test
25781 names. Use "extra output N" in test names for extra outputs
25782 rather than naming variables.
25784 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25787 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25788 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25789 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25791 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25793 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25796 * math/gen-libm-test.pl (@tests): Remove variable.
25797 ($count): Likewise.
25798 (new_test): Remove function.
25799 (show_exceptions): New function.
25800 (special_functions): Use show_exceptions instead of new_test.
25801 (parse_args): Likewise.
25802 (generate_testfile): Pass only function name in generated call to
25803 print_max_error or print_complex_max_error.
25804 (get_ulps): Do not handle complex tests specially.
25805 (output_test): Rename to ...
25806 (get_all_ulps_for_test): ... this. Return a string rather than
25807 printing to a file. Require ulps to be present.
25808 (output_ulps): Generate arrays rather than #defines.
25809 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25810 (struct ulp_data): New type.
25811 (BUILD_COMPLEX_ULP): Remove macro.
25812 (compare_ulp_data): New function.
25813 (find_ulps): Likewise.
25814 (find_test_ulps): Likewise.
25815 (find_function_ulps): Likewise.
25816 (find_complex_function_ulps): Likewise.
25817 (print_max_error): Determine allowed ulps using
25818 find_function_ulps.
25819 (print_complex_max_error): Determine allowed ulps using
25820 find_complex_function_ulps.
25821 (check_float_internal): Determine max ulps using find_test_ulps.
25822 (check_float): Do not take max_ulp parameter. Update call to
25823 check_float_internal.
25824 (check_complex): Likewise.
25825 (check_int): Do not take max_ulp parameter.
25826 (check_long): Likewise.
25827 (check_bool): Likewise.
25828 (check_longlong): Likewise.
25829 (struct test_f_f_data): Remove max_ulp field.
25830 (struct test_ff_f_data): Likewise.
25831 (struct test_ff_f_data_nexttoward): Likewise.
25832 (struct test_fi_f_data): Likewise.
25833 (struct test_fl_f_data): Likewise.
25834 (struct test_if_f_data): Likewise.
25835 (struct test_fff_f_data): Likewise.
25836 (struct test_c_f_data): Likewise.
25837 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25838 (struct test_fF_f1_data): Likewise.
25839 (struct test_ffI_f1_data): Likewise.
25840 (struct test_c_c_data): Remove max_ulp field.
25841 (struct test_cc_c_data): Likewise.
25842 (struct test_f_i_data): Likewise.
25843 (struct test_ff_i_data): Likewise.
25844 (struct test_f_l_data): Likewise.
25845 (struct test_f_L_data): Likewise.
25846 (struct test_sincos_data): Likewise.
25847 (RUN_TEST_f_f): Do not handle ulps.
25848 (RUN_TEST_LOOP_f_f): Likewise.
25849 (RUN_TEST_2_f): Likewise.
25850 (RUN_TEST_LOOP_2_f): Likewise.
25851 (RUN_TEST_fff_f): Likewise.
25852 (RUN_TEST_LOOP_fff_f): Likewise.
25853 (RUN_TEST_c_f): Likewise.
25854 (RUN_TEST_LOOP_c_f): Likewise.
25855 (RUN_TEST_f_f1): Likewise.
25856 (RUN_TEST_LOOP_f_f1): Likewise.
25857 (RUN_TEST_fF_f1): Likewise.
25858 (RUN_TEST_LOOP_fF_f1): Likewise.
25859 (RUN_TEST_fI_f1): Likewise.
25860 (RUN_TEST_LOOP_fI_f1): Likewise.
25861 (RUN_TEST_ffI_f1): Likewise.
25862 (RUN_TEST_LOOP_ffI_f1): Likewise.
25863 (RUN_TEST_c_c): Likewise.
25864 (RUN_TEST_LOOP_c_c): Likewise.
25865 (RUN_TEST_cc_c): Likewise.
25866 (RUN_TEST_LOOP_cc_c): Likewise.
25867 (RUN_TEST_f_i): Likewise.
25868 (RUN_TEST_LOOP_f_i): Likewise.
25869 (RUN_TEST_f_i_tg): Likewise.
25870 (RUN_TEST_LOOP_f_i_tg): Likewise.
25871 (RUN_TEST_ff_i_tg): Likewise.
25872 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25873 (RUN_TEST_f_b): Likewise.
25874 (RUN_TEST_LOOP_f_b): Likewise.
25875 (RUN_TEST_f_b_tg): Likewise.
25876 (RUN_TEST_LOOP_f_b_tg): Likewise.
25877 (RUN_TEST_f_l): Likewise.
25878 (RUN_TEST_LOOP_f_l): Likewise.
25879 (RUN_TEST_f_L): Likewise.
25880 (RUN_TEST_LOOP_f_L): Likewise.
25881 (RUN_TEST_sincos): Likewise.
25882 (RUN_TEST_LOOP_sincos): Likewise.
25884 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25888 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25889 main case of finite arguments, set rounding mode to FE_TONEAREST
25890 and discard exceptions.
25891 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25893 (remainder_tonearest_test_data): New variable.
25894 (remainder_test_tonearest): New function.
25895 (remainder_towardzero_test_data): New variable.
25896 (remainder_test_towardzero): New function.
25897 (remainder_downward_test_data): New variable.
25898 (remainder_test_downward): New function.
25899 (remainder_upward_test_data): New variable.
25900 (remainder_test_upward): New function.
25901 (main): Call the new test functions.
25903 * math/libm-test.inc (struct test_f_f1_data): Remove field
25905 (struct test_fF_f1_data): Likewise.
25906 (struct test_ffI_f1_data): Likewise.
25907 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25908 based on value of EXTRA_EXPECTED.
25909 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25910 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25911 EXTRA_VAR based on value of EXTRA_EXPECTED.
25912 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25913 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25914 EXTRA_VAR based on value of EXTRA_EXPECTED.
25915 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25916 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25917 EXTRA_VAR based on value of EXTRA_EXPECTED.
25918 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25919 * math/gen-libm-test.pl (parse_args): Don't output initializers
25920 for extra output values.
25922 * math/libm-test.inc (check_int): Expect result to be exactly
25923 equal to expected value and do not handle ulps.
25924 (check_long): Likewise.
25925 (check_longlong): Likewise.
25927 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25929 (cimag_test_data): Likewise.
25930 (conj_test_data): Likewise.
25931 (copysign_test_data): Likewise.
25932 (cproj_test_data): Likewise.
25933 (creal_test_data): Likewise.
25934 (fabs_test_data): Likewise.
25935 (fdim_test_data): Likewise.
25936 (finite_test_data): Likewise.
25937 (floor_test_data): Likewise.
25938 (fmax_test_data): Likewise.
25939 (fmin_test_data): Likewise.
25940 (fmod_test_data): Likewise.
25941 (fpclassify_test_data): Likewise.
25942 (frexp_test_data): Likewise.
25943 (ilogb_test_data): Likewise.
25944 (isfinite_test_data): Likewise.
25945 (isgreater_test_data): Likewise.
25946 (isgreaterequal_test_data): Likewise.
25947 (isinf_test_data): Likewise.
25948 (isless_test_data): Likewise.
25949 (islessequal_test_data): Likewise.
25950 (islessgreater_test_data): Likewise.
25951 (isnan_test_data): Likewise.
25952 (isnormal_test_data): Likewise.
25953 (issignaling_test_data): Likewise.
25954 (isunordered_test_data): Likewise.
25955 (ldexp_test_data): Likewise.
25956 (lrint_test_data): Likewise.
25957 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25958 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25959 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25960 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25961 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25962 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25964 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25965 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25966 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25967 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25969 (lrint_downward_test_data): Test for "inexact" exceptions.
25970 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25971 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25972 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25974 (lrint_upward_test_data): Test for "inexact" exceptions.
25975 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25977 (llrint_test_data): Test for "inexact" exceptions.
25978 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25979 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25980 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25981 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25982 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25983 (llrint_downward_test_data): Test for "inexact" exceptions.
25984 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25985 (llrint_upward_test_data): Test for "inexact" exceptions.
25986 (logb_test_data): Likewise.
25987 (logb_downward_test_data): Likewise.
25988 (nextafter_test_data): Likewise.
25989 (nexttoward_test_data): Likewise.
25990 (remainder_test_data): Likewise.
25991 (remquo_test_data): Likewise.
25992 (scalbn_test_data): Likewise.
25993 (scalbln_test_data): Likewise.
25994 (signbit_test_data): Likewise.
25995 (sqrt_test_data): Likewise.
25996 (significand_test_data): Likewise.
25998 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26001 * benchtests/bench-modf.c (struct args): Mark arg0 as
26003 * scripts/bench.pl: Mark members of struct args as volatile.
26005 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26008 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26009 negative infinity on POWER6 or lower.
26010 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26012 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26015 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26016 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26017 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26018 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26019 (_FP_SETQNAN): New macro.
26020 (_FP_SETQNAN_SEMIRAW): Likewise.
26021 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26022 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26023 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26024 (FP_EXTEND): Use _FP_FRAC_SNANP.
26025 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26026 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26028 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26030 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26033 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26035 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26036 with DIVIDE_BY_ZERO_EXCEPTION.
26037 (gamma_test_data): Likewise.
26038 (lgamma_test_data): Likewise.
26039 (log_test_data): Likewise.
26040 (log10_test_data): Likewise.
26041 (log2_test_data): Likewise.
26042 (tgamma_test_data): Likewise.
26044 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26045 (acos_test_tonearest): Likewise.
26046 (acos_test_towardzero): Likewise.
26047 (acos_test_downward): Likewise.
26048 (acos_test_upward): Likewise.
26049 (acosh_test): Likewise.
26050 (asin_test): Likewise.
26051 (asin_test_tonearest): Likewise.
26052 (asin_test_towardzero): Likewise.
26053 (asin_test_downward): Likewise.
26054 (asin_test_upward): Likewise.
26055 (asinh_test): Likewise.
26056 (atan_test): Likewise.
26057 (atanh_test): Likewise.
26058 (atan2_test): Likewise.
26059 (cabs_test): Likewise.
26060 (cacos_test): Likewise.
26061 (cacosh_test): Likewise.
26062 (casin_test): Likewise.
26063 (casinh_test): Likewise.
26064 (catan_test): Likewise.
26065 (catanh_test): Likewise.
26066 (cbrt_test): Likewise.
26067 (ccos_test): Likewise.
26068 (ccosh_test): Likewise.
26069 (cexp_test): Likewise.
26070 (clog_test): Likewise.
26071 (clog10_test): Likewise.
26072 (cos_test): Likewise.
26073 (cos_test_tonearest): Likewise.
26074 (cos_test_towardzero): Likewise.
26075 (cos_test_downward): Likewise.
26076 (cos_test_upward): Likewise.
26077 (cosh_test): Likewise.
26078 (cosh_test_tonearest): Likewise.
26079 (cosh_test_towardzero): Likewise.
26080 (cosh_test_downward): Likewise.
26081 (cosh_test_upward): Likewise.
26082 (cpow_test): Likewise.
26083 (csin_test): Likewise.
26084 (csinh_test): Likewise.
26085 (csqrt_test): Likewise.
26086 (ctan_test): Likewise.
26087 (ctan_test_tonearest): Likewise.
26088 (ctan_test_towardzero): Likewise.
26089 (ctan_test_downward): Likewise.
26090 (ctan_test_upward): Likewise.
26091 (ctanh_test): Likewise.
26092 (ctanh_test_tonearest): Likewise.
26093 (ctanh_test_towardzero): Likewise.
26094 (ctanh_test_downward): Likewise.
26095 (ctanh_test_upward): Likewise.
26096 (erf_test): Likewise.
26097 (erfc_test): Likewise.
26098 (exp_test): Likewise.
26099 (exp_test_tonearest): Likewise.
26100 (exp_test_towardzero): Likewise.
26101 (exp_test_downward): Likewise.
26102 (exp_test_upward): Likewise.
26103 (exp10_test): Likewise.
26104 (exp2_test): Likewise.
26105 (expm1_test): Likewise.
26106 (fmod_test): Likewise.
26107 (gamma_test): Likewise.
26108 (hypot_test): Likewise.
26109 (j0_test): Likewise.
26110 (j1_test): Likewise.
26111 (jn_test): Likewise.
26112 (lgamma_test): Likewise.
26113 (log_test): Likewise.
26114 (log10_test): Likewise.
26115 (log1p_test): Likewise.
26116 (log2_test): Likewise.
26117 (logb_test_downward): Likewise.
26118 (pow_test): Likewise.
26119 (pow_test_tonearest): Likewise.
26120 (pow_test_towardzero): Likewise.
26121 (pow_test_downward): Likewise.
26122 (pow_test_upward): Likewise.
26123 (remainder_test): Likewise.
26124 (remquo_test): Likewise.
26125 (sin_test): Likewise.
26126 (sin_test_tonearest): Likewise.
26127 (sin_test_towardzero): Likewise.
26128 (sin_test_downward): Likewise.
26129 (sin_test_upward): Likewise.
26130 (sincos_test): Likewise.
26131 (sinh_test): Likewise.
26132 (sinh_test_tonearest): Likewise.
26133 (sinh_test_towardzero): Likewise.
26134 (sinh_test_downward): Likewise.
26135 (sinh_test_upward): Likewise.
26136 (sqrt_test): Likewise.
26137 (tan_test): Likewise.
26138 (tan_test_tonearest): Likewise.
26139 (tan_test_towardzero): Likewise.
26140 (tan_test_downward): Likewise.
26141 (tan_test_upward): Likewise.
26142 (tanh_test): Likewise.
26143 (tgamma_test): Likewise.
26144 (y0_test): Likewise.
26145 (y1_test): Likewise.
26146 (yn_test): Likewise.
26148 * math/gen-libm-test.pl (adjust_arg): Remove function.
26149 (special_function): Remove argument $in_func. Only handle
26150 generating output for tables of tests, not inside functions.
26151 (parse_args): Likewise.
26152 (generate_testfile): Remove variable $in_func. Update call to
26154 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26155 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26156 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26157 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26158 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26159 (MAX_VALUE_INIT): Rename macro to max_value.
26160 (MIN_VALUE_INIT): Rename macro to min_value.
26161 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26162 (plus_zero): Remove variable.
26163 (minus_zero): Likewise.
26164 (plus_infty): Likewise.
26165 (minus_infty): Likewise.
26166 (qnan_value): Likewise.
26167 (max_value): Likewise.
26168 (min_value): Likewise.
26169 (min_subnorm_value): Likewise.
26171 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26173 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26174 uint64_t or uint32_t usage.
26175 * crypt/sha256-block.c: Likewise.
26176 * crypt/sha256-crypt.c: Likewise.
26177 * crypt/sha256.c: Likewise.
26178 * crypt/sha512-block.c: Likewise.
26179 * crypt/sha512-crypt.c: Likewise.
26180 * crypt/sha512.c: Likewise.
26181 * debug/backtrace-tst.c: Likewise.
26182 * debug/pcprofiledump.c: Likewise.
26183 * elf/cache.c: Likewise.
26184 * elf/dl-cache.c: Likewise.
26185 * elf/dl-misc.c: Likewise.
26186 * elf/dl-profile.c: Likewise.
26187 * elf/dl-support.c: Likewise.
26188 * elf/ldconfig.c: Likewise.
26189 * elf/sprof.c: Likewise.
26190 * iconv/dummy-repertoire.c: Likewise.
26191 * iconv/iconv_charmap.c: Likewise.
26192 * iconv/skeleton.c: Likewise.
26193 * iconvdata/8bit-generic.c: Likewise.
26194 * iconvdata/cp737.h: Likewise.
26195 * iconvdata/cp775.h: Likewise.
26196 * iconvdata/ibm1008.h: Likewise.
26197 * iconvdata/ibm1025.h: Likewise.
26198 * iconvdata/ibm1046.h: Likewise.
26199 * iconvdata/ibm1097.h: Likewise.
26200 * iconvdata/ibm1112.h: Likewise.
26201 * iconvdata/ibm1122.h: Likewise.
26202 * iconvdata/ibm1123.h: Likewise.
26203 * iconvdata/ibm1124.h: Likewise.
26204 * iconvdata/ibm1129.h: Likewise.
26205 * iconvdata/ibm1130.h: Likewise.
26206 * iconvdata/ibm1132.h: Likewise.
26207 * iconvdata/ibm1133.h: Likewise.
26208 * iconvdata/ibm1137.h: Likewise.
26209 * iconvdata/ibm1140.h: Likewise.
26210 * iconvdata/ibm1141.h: Likewise.
26211 * iconvdata/ibm1142.h: Likewise.
26212 * iconvdata/ibm1143.h: Likewise.
26213 * iconvdata/ibm1144.h: Likewise.
26214 * iconvdata/ibm1145.h: Likewise.
26215 * iconvdata/ibm1146.h: Likewise.
26216 * iconvdata/ibm1147.h: Likewise.
26217 * iconvdata/ibm1148.h: Likewise.
26218 * iconvdata/ibm1149.h: Likewise.
26219 * iconvdata/ibm1153.h: Likewise.
26220 * iconvdata/ibm1154.h: Likewise.
26221 * iconvdata/ibm1155.h: Likewise.
26222 * iconvdata/ibm1156.h: Likewise.
26223 * iconvdata/ibm1157.h: Likewise.
26224 * iconvdata/ibm1158.h: Likewise.
26225 * iconvdata/ibm1160.h: Likewise.
26226 * iconvdata/ibm1161.h: Likewise.
26227 * iconvdata/ibm1162.h: Likewise.
26228 * iconvdata/ibm1163.h: Likewise.
26229 * iconvdata/ibm1164.h: Likewise.
26230 * iconvdata/ibm1166.h: Likewise.
26231 * iconvdata/ibm1167.h: Likewise.
26232 * iconvdata/ibm12712.h: Likewise.
26233 * iconvdata/ibm1390.h: Likewise.
26234 * iconvdata/ibm1399.h: Likewise.
26235 * iconvdata/ibm16804.h: Likewise.
26236 * iconvdata/ibm4517.h: Likewise.
26237 * iconvdata/ibm4899.h: Likewise.
26238 * iconvdata/ibm4909.h: Likewise.
26239 * iconvdata/ibm4971.h: Likewise.
26240 * iconvdata/ibm5347.h: Likewise.
26241 * iconvdata/ibm803.h: Likewise.
26242 * iconvdata/ibm856.h: Likewise.
26243 * iconvdata/ibm901.h: Likewise.
26244 * iconvdata/ibm902.h: Likewise.
26245 * iconvdata/ibm9030.h: Likewise.
26246 * iconvdata/ibm9066.h: Likewise.
26247 * iconvdata/ibm921.h: Likewise.
26248 * iconvdata/ibm922.h: Likewise.
26249 * iconvdata/ibm9448.h: Likewise.
26250 * iconvdata/isiri-3342.h: Likewise.
26251 * iconvdata/jis0201.h: Likewise.
26252 * include/link.h: Likewise.
26253 * include/netdb.h: Likewise.
26254 * inet/check_native.c: Likewise.
26255 * inet/check_pf.c: Likewise.
26256 * inet/getipv4sourcefilter.c: Likewise.
26257 * inet/getnameinfo.c: Likewise.
26258 * inet/getsourcefilter.c: Likewise.
26259 * inet/htonl.c: Likewise.
26260 * inet/setipv4sourcefilter.c: Likewise.
26261 * inet/setsourcefilter.c: Likewise.
26262 * inet/test-inet6_opt.c: Likewise.
26263 * inet/tst-network.c: Likewise.
26264 * locale/C-collate.c: Likewise.
26265 * locale/C-ctype.c: Likewise.
26266 * locale/C-time.c: Likewise.
26267 * locale/C-translit.h: Likewise.
26268 * locale/loadarchive.c: Likewise.
26269 * locale/programs/3level.h: Likewise.
26270 * locale/programs/charmap.c: Likewise.
26271 * locale/programs/charmap.h: Likewise.
26272 * locale/programs/ld-address.c: Likewise.
26273 * locale/programs/ld-collate.c: Likewise.
26274 * locale/programs/ld-ctype.c: Likewise.
26275 * locale/programs/ld-identification.c: Likewise.
26276 * locale/programs/ld-measurement.c: Likewise.
26277 * locale/programs/ld-messages.c: Likewise.
26278 * locale/programs/ld-monetary.c: Likewise.
26279 * locale/programs/ld-name.c: Likewise.
26280 * locale/programs/ld-numeric.c: Likewise.
26281 * locale/programs/ld-paper.c: Likewise.
26282 * locale/programs/ld-telephone.c: Likewise.
26283 * locale/programs/ld-time.c: Likewise.
26284 * locale/programs/linereader.c: Likewise.
26285 * locale/programs/locale.c: Likewise.
26286 * locale/programs/locarchive.c: Likewise.
26287 * locale/programs/locfile.h: Likewise.
26288 * locale/programs/repertoire.c: Likewise.
26289 * locale/programs/simple-hash.c: Likewise.
26290 * locale/programs/simple-hash.h: Likewise.
26291 * malloc/memusage.c: Likewise.
26292 * malloc/memusagestat.c: Likewise.
26293 * nis/nis_defaults.c: Likewise.
26294 * nis/nis_hash.c: Likewise.
26295 * nis/nis_print.c: Likewise.
26296 * nis/nis_xdr.c: Likewise.
26297 * nscd/connections.c: Likewise.
26298 * nscd/hstcache.c: Likewise.
26299 * nscd/nscd_gethst_r.c: Likewise.
26300 * nscd/nscd_getserv_r.c: Likewise.
26301 * nscd/nscd_helper.c: Likewise.
26302 * nscd/servicescache.c: Likewise.
26303 * nss/makedb.c: Likewise.
26304 * nss/nss_db/db-XXX.c: Likewise.
26305 * nss/nss_db/db-initgroups.c: Likewise.
26306 * nss/nss_db/db-netgrp.c: Likewise.
26307 * nss/nss_files/files-network.c: Likewise.
26308 * nss/nss_files/files-parse.c: Likewise.
26309 * posix/bug-regex5.c: Likewise.
26310 * posix/fnmatch_loop.c: Likewise.
26311 * posix/regcomp.c: Likewise.
26312 * posix/regexec.c: Likewise.
26313 * posix/tst-rfc3484-2.c: Likewise.
26314 * posix/tst-rfc3484-3.c: Likewise.
26315 * posix/tst-rfc3484.c: Likewise.
26316 * resolv/nss_dns/dns-canon.c: Likewise.
26317 * resolv/nss_dns/dns-network.c: Likewise.
26318 * resolv/res_init.c: Likewise.
26319 * resolv/res_mkquery.c: Likewise.
26320 * resolv/tst-aton.c: Likewise.
26321 * stdlib/cxa_atexit.c: Likewise.
26322 * stdlib/cxa_finalize.c: Likewise.
26323 * stdlib/gen-fpioconst.c: Likewise.
26324 * stdlib/strtol_l.c: Likewise.
26325 * string/tst-endian.c: Likewise.
26326 * sunrpc/auth_des.c: Likewise.
26327 * sunrpc/clnt_udp.c: Likewise.
26328 * sunrpc/rtime.c: Likewise.
26329 * sunrpc/svcauth_des.c: Likewise.
26330 * sunrpc/xdr.c: Likewise.
26331 * sunrpc/xdr_intXX_t.c: Likewise.
26332 * sunrpc/xdr_rec.c: Likewise.
26333 * sysdeps/generic/ldconfig.h: Likewise.
26334 * sysdeps/generic/ldsodefs.h: Likewise.
26335 * sysdeps/generic/memusage.h: Likewise.
26336 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26346 * sysdeps/posix/getaddrinfo.c: Likewise.
26347 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26348 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26349 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26350 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26351 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26352 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26353 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26354 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26355 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26356 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26357 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26358 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26359 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26360 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26361 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26362 * sysdeps/x86_64/dl-tls.h: Likewise.
26363 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26364 * time/alt_digit.c: Likewise.
26365 * time/era.c: Likewise.
26366 * wcsmbs/tst-c16c32-1.c: Likewise.
26368 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26370 * math/libm-test.inc (struct test_sincos_data): New type.
26371 (RUN_TEST_LOOP_sincos): New macro.
26372 (sincos_test_data): New variable.
26373 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26375 2013-05-16 Richard Henderson <rth@redhat.com>
26377 * math/atest-exp2.c (LIMB64): New macro.
26378 (CONSTSZ): New macro.
26379 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26381 (print_mpn_fp): ... to function scope.
26382 (read_mpn_hex): Remove.
26383 (get_log2): Remove.
26384 (exp2_mpn): Use mp_log2.
26385 (main): Use mp_exp1.
26387 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26389 * math/libm-test.inc: Remove comment about not testing "inexact"
26391 (INEXACT_EXCEPTION): New macro.
26392 (NO_INEXACT_EXCEPTION): Likewise.
26393 (INVALID_EXCEPTION_OK): Update value.
26394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26395 (OVERFLOW_EXCEPTION_OK): Likewise.
26396 (UNDERFLOW_EXCEPTION_OK): Likewise.
26397 (IGNORE_ZERO_INF_SIGN): Likewise.
26398 (ERRNO_UNCHANGED): Likewise.
26399 (ERRNO_EDOM): Likewise.
26400 (ERRNO_ERANGE): Likewise.
26401 (test_exceptions): Handle testing "inexact" exceptions.
26402 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26403 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26404 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26405 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26407 (rint_towardzero_test_data): Likewise.
26408 (rint_downward_test_data): Likewise.
26409 (rint_upward_test_data): Likewise.
26411 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26412 with OVERFLOW_EXCEPTION.
26413 (exp10_test_data): Likewise.
26414 (exp2_test_data): Likewise.
26415 (expm1_test_data): Likewise.
26416 (lgamma_test_data): Likewise.
26417 (pow_test_data): Likewise.
26418 (tgamma_test_data): Likewise.
26419 (yn_test_data): Remove duplicate test of overflow.
26421 * math/libm-test.inc (struct test_cc_c_data): New type.
26422 (RUN_TEST_LOOP_cc_c): New macro.
26423 (cpow_test_data): New variable.
26424 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26426 * math/libm-test.inc (struct test_f_L_data): New type.
26427 (RUN_TEST_LOOP_f_L): New macro.
26428 (llrint_test_data): New variable.
26429 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26430 (llrint_tonearest_test_data): New variable.
26431 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26432 (llrint_towardzero_test_data): New variable.
26433 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26434 (llrint_downward_test_data): New variable.
26435 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26436 (llrint_upward_test_data): New variable.
26437 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26438 (llround_test_data): New variable.
26439 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26441 2013-05-13 Peter Collingbourne <pcc@google.com>
26443 * math/atest-exp2.c (get_log2): Remove const attribute.
26445 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26447 * math/libm-test.inc (struct test_f_l_data): New type.
26448 (RUN_TEST_LOOP_f_l): New macro.
26449 (lrint_test_data): New variable.
26450 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26451 (lrint_tonearest_test_data): New variable.
26452 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26453 (lrint_towardzero_test_data): New variable.
26454 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26455 (lrint_downward_test_data): New variable.
26456 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26457 (lrint_upward_test_data): New variable.
26458 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26459 (lround_test_data): New variable.
26460 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26462 2013-05-15 Peter Collingbourne <pcc@google.com>
26464 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26465 (EXTRACT_WORDS64) Use where appropriate.
26466 (INSERT_WORDS64) Likewise.
26468 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26469 constraints with x constraints.
26470 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26472 * malloc/obstack.c (_obstack_compat): Add initializer.
26474 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26477 si_trapno and add si_addr_lsb to _sifields.sigfault.
26478 (si_trapno): Remove macro.
26479 (si_addr_lsb): Define new macro.
26480 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26482 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26484 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26485 instead of TEST_f_l.
26486 (llrint_test_tonearest): Likewise.
26487 (llrint_test_towardzero): Likewise.
26488 (llrint_test_downward): Likewise.
26489 (llrint_test_upward): Likewise.
26490 (llround_test): Likewise.
26492 * math/libm-test.inc (struct test_f_i_data): Add comment.
26493 (RUN_TEST_LOOP_f_b): New macro.
26494 (RUN_TEST_LOOP_f_b_tg): Likewise.
26495 (finite_test_data): New variable.
26496 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26497 (isfinite_test_data): New variable.
26498 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26499 (isinf_test_data): New variable.
26500 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26501 (isnan_test_data): New variable.
26502 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26503 (isnormal_test_data): New variable.
26504 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26505 (issignaling_test_data): New variable.
26506 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26507 (signbit_test_data): New variable.
26508 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26510 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26511 with INVALID_EXCEPTION.
26512 (acosh_test_data): Likewise.
26513 (asin_test_data): Likewise.
26514 (atanh_test_data): Likewise.
26515 (fmod_test_data): Likewise.
26516 (log_test_data): Likewise.
26517 (log10_test_data): Likewise.
26518 (log2_test_data): Likewise.
26519 (pow_test_data): Likewise.
26520 (sqrt_test_data): Likewise.
26521 (y0_test_data): Likewise.
26522 (y1_test_data): Likewise.
26523 (yn_test_data): Likewise.
26525 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26528 * math/libm-test.inc (struct test_ff_i_data): New type.
26529 (RUN_TEST_LOOP_ff_i_tg): New macro.
26530 (isgreater_test_data): New variable.
26531 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26532 (isgreaterequal_test_data): New variable.
26533 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26534 (isless_test_data): New variable.
26535 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26536 (islessequal_test_data): New variable.
26537 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26538 (islessgreater_test_data): New variable.
26539 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26540 (isunordered_test_data): New variable.
26541 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26543 2013-05-14 David S. Miller <davem@davemloft.net>
26545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26547 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26549 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26551 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26553 (struct test_f_i_data): Change type of max_ulp to int.
26555 * math/libm-test.inc (test_ffI_f1_data): New type.
26556 (RUN_TEST_LOOP_ffI_f1): New macro.
26557 (remquo_test_data): New variable.
26558 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26560 * setjmp/tst-setjmp-fp.c: New file.
26561 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26562 (link-libm): New variable.
26563 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26565 * math/libm-test.inc (struct test_f_i_data): New type.
26566 (RUN_TEST_LOOP_f_i): New macro.
26567 (RUN_TEST_LOOP_f_i_tg): Likewise.
26568 (fpclassify_test_data): New variable.
26569 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26570 (ilogb_test_data): New variable.
26571 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26573 * math/libm-test.inc (scalbln_test): Correct function name in END
26576 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26577 (RUN_TEST_LOOP_fI_f1): New macro.
26578 (frexp_test_data): New variable.
26579 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26581 * math/libm-test.inc (struct test_fF_f1_data): New type.
26582 (RUN_TEST_LOOP_fF_f1): New macro.
26583 (modf_test_data): New variable.
26584 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26586 * math/libm-test.inc (struct test_f_f1_data): New type.
26587 (RUN_TEST_LOOP_f_f1): New macro.
26588 (gamma_test_data): New variable.
26589 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26590 (lgamma_test_data): New variable.
26591 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26593 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26595 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26596 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26597 (main): Comment "tls" pseudo-hwcap.
26599 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26601 * math/libm-test.inc (struct test_fl_f_data): New type.
26602 (RUN_TEST_LOOP_fl_f): New variable.
26603 (scalbln_test_data): New variable.
26604 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26606 * math/libm-test.inc (struct test_fi_f_data): New type.
26607 (RUN_TEST_LOOP_fi_f): New macro.
26608 (ldexp_test_data): New variable.
26609 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26610 (scalbn_test_data): New variable.
26611 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26613 * math/libm-test.inc (struct test_c_f_data): New type.
26614 (RUN_TEST_LOOP_c_f): New macro.
26615 (cabs_test_data): New variable.
26616 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26617 (carg_test_data): New variable.
26618 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26619 (cimag_test_data): New variable.
26620 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26621 (creal_test_data): New variable.
26622 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26624 * math/libm-test.inc (struct test_if_f_data): New type.
26625 (RUN_TEST_LOOP_if_f): New macro.
26626 (jn_test_data): New variable.
26627 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26628 (yn_test_data): New variable.
26629 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26631 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26633 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26635 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26636 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26638 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26640 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26641 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26642 (bench-deps): Add bench-timing.h.
26643 * benchtests-bench-skeleton.c: Include bench-timing.h.
26644 (main): Use TIMING_* macros instead of clock_gettime.
26645 * benchtests/bench-timing.h: New file.
26648 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26649 Renamed from _LIB_VERSION.
26650 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26652 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26654 * math/libm-test.inc (struct test_fff_f_data): New type.
26655 (RUN_TEST_LOOP_fff_f): New macro.
26656 (fma_test_data): New variable.
26657 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26658 (fma_towardzero_test_data): New variable.
26659 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26660 (fma_downward_test_data): New variable.
26661 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26662 (fma_upward_test_data): New variable.
26663 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26665 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26666 (struct test_c_c_data): New type.
26667 (RUN_TEST_LOOP_c_c): New macro.
26668 (cacos_test_data): New variable.
26669 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26670 (cacosh_test_data): New variable.
26671 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26672 (casin_test_data): New variable.
26673 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26674 (casinh_test_data): New variable.
26675 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26676 (catan_test_data): New variable.
26677 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26678 (catanh_test_data): New variable.
26679 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26680 (ccos_test_data): New variable.
26681 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26682 (ccosh_test_data): New variable.
26683 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26684 (cexp_test_data): New variable.
26685 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26686 (clog_test_data): New variable.
26687 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26688 (clog10_test_data): New variable.
26689 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26690 (conj_test_data): New variable.
26691 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26692 (cproj_test_data): New variable.
26693 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26694 (csin_test_data): New variable.
26695 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26696 (csinh_test_data): New variable.
26697 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26698 (csqrt_test_data): New variable.
26699 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26700 (ctan_test_data): New variable.
26701 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26702 (ctan_tonearest_test_data): New variable.
26703 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26704 (ctan_towardzero_test_data): New variable.
26705 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26706 (ctan_downward_test_data): New variable.
26707 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26708 (ctan_upward_test_data): New variable.
26709 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26710 (ctanh_test_data): New variable.
26711 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26712 (ctanh_tonearest_test_data): New variable.
26713 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26714 (ctanh_towardzero_test_data): New variable.
26715 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26716 (ctanh_downward_test_data): New variable.
26717 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26718 (ctanh_upward_test_data): New variable.
26719 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26720 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26723 * math/libm-test.inc (struct test_ff_f_data): New type.
26724 (struct test_ff_f_data_nexttoward): Likewise.
26725 (RUN_TEST_LOOP_2_f): New macro.
26726 (RUN_TEST_LOOP_ff_f): Likewise.
26727 (atan2_test_data): New variable.
26728 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26729 (copysign_test_data): New variable.
26730 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26731 (fdim_test_data): New variable.
26732 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26733 (fmax_test_data): New variable.
26734 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26735 (fmin_test_data): New variable.
26736 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26737 (fmod_test_data): New variable.
26738 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26739 (hypot_test_data): New variable.
26740 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26741 (nextafter_test_data): New variable.
26742 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26743 (nexttoward_test_data): New variable.
26744 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26745 (pow_test_data): New variable.
26746 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26747 (pow_tonearest_test_data): New variable.
26748 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26749 (pow_towardzero_test_data): New variable.
26750 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26751 (pow_downward_test_data): New variable.
26752 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26753 (pow_upward_test_data): New variable.
26754 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26755 (remainder_test_data): New variable.
26756 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26757 (scalb_test_data): New variable.
26758 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26759 * sysdeps/i386/fpu/libm-test-ulps: Update.
26761 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26763 * math/libm-test.inc (fma_test): Use max_value instead of local
26765 (nextafter_test): Likewise.
26767 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26768 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26769 (acos_downward_test_data): New variable.
26770 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26771 (acos_upward_test_data): New variable.
26772 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26773 (acosh_test_data): New variable.
26774 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26775 (asin_test_data): New variable.
26776 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26777 (asin_tonearest_test_data): New variable.
26778 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26779 (asin_towardzero_test_data): New variable.
26780 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26781 (asin_downward_test_data): New variable.
26782 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26783 (asin_upward_test_data): New variable.
26784 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26785 (asinh_test_data): New variable.
26786 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26787 (atan_test_data): New variable.
26788 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26789 (atanh_test_data): New variable.
26790 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26791 (cbrt_test_data): New variable.
26792 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26793 (ceil_test_data): New variable.
26794 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26795 (cos_test_data): New variable.
26796 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26797 (cos_tonearest_test_data): New variable.
26798 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26799 (cos_towardzero_test_data): New variable.
26800 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26801 (cos_downward_test_data): New variable.
26802 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26803 (cos_upward_test_data): New variable.
26804 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26805 (cosh_test_data): New variable.
26806 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26807 (cosh_tonearest_test_data): New variable.
26808 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26809 (cosh_towardzero_test_data): New variable.
26810 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26811 (cosh_downward_test_data): New variable.
26812 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26813 (cosh_upward_test_data): New variable.
26814 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26815 (erf_test_data): New variable.
26816 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26817 (erfc_test_data): New variable.
26818 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26819 (exp_test_data): New variable.
26820 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26821 (exp_tonearest_test_data): New variable.
26822 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26823 (exp_towardzero_test_data): New variable.
26824 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26825 (exp_downward_test_data): New variable.
26826 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26827 (exp_upward_test_data): New variable.
26828 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26829 (exp10_test_data): New variable.
26830 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26831 (exp2_test_data): New variable.
26832 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26833 (expm1_test_data): New variable.
26834 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26835 (fabs_test_data): New variable.
26836 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26837 (floor_test_data): New variable.
26838 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26839 (j0_test_data): New variable.
26840 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26841 (j1_test_data): New variable.
26842 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26843 (log_test_data): New variable.
26844 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26845 (log10_test_data): New variable.
26846 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26847 (log1p_test_data): New variable.
26848 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26849 (log2_test_data): New variable.
26850 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26851 (logb_test_data): New variable.
26852 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26853 (logb_downward_test_data): New variable.
26854 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26855 (nearbyint_test_data): New variable.
26856 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26857 (rint_test_data): New variable.
26858 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26859 (rint_tonearest_test_data): New variable.
26860 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26861 (rint_towardzero_test_data): New variable.
26862 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26863 (rint_downward_test_data): New variable.
26864 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26865 (rint_upward_test_data): New variable.
26866 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26867 (round_test_data): New variable.
26868 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26869 (sin_test_data): New variable.
26870 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26871 (sin_tonearest_test_data): New variable.
26872 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26873 (sin_towardzero_test_data): New variable.
26874 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26875 (sin_downward_test_data): New variable.
26876 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26877 (sin_upward_test_data): New variable.
26878 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26879 (sinh_test_data): New variable.
26880 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26881 (sinh_tonearest_test_data): New variable.
26882 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26883 (sinh_towardzero_test_data): New variable.
26884 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26885 (sinh_downward_test_data): New variable.
26886 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26887 (sinh_upward_test_data): New variable.
26888 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26889 (sqrt_test_data): New variable.
26890 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26891 (tan_test_data): New variable.
26892 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26893 (tan_tonearest_test_data): New variable.
26894 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26895 (tan_towardzero_test_data): New variable.
26896 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26897 (tan_downward_test_data): New variable.
26898 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26899 (tan_upward_test_data): New variable.
26900 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26901 (tanh_test_data): New variable.
26902 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26903 (tgamma_test_data): New variable.
26904 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26905 (trunc_test_data): New variable.
26906 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26907 (y0_test_data): New variable.
26908 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26909 (y1_test_data): New variable.
26910 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26911 (significand_test_data): New variable.
26912 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26914 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26917 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26919 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26921 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26923 2013-05-10 Andreas Jaeger <aj@suse.de>
26926 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26927 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26929 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26931 * math/gen-libm-test.pl (adjust_arg): New function.
26932 (special_functions): Handle generating output in both functions
26934 (parse_args): Likewise.
26935 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26936 $in_func argument to parse_args.
26937 * math/libm-test.inc (struct test_f_f_data): New type.
26938 (IF_ROUND_INIT_): New macro.
26939 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26940 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26941 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26942 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26943 (ROUND_RESTORE_): Likewise.
26944 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26945 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26946 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26947 (ROUND_RESTORE_FE_UPWARD): Likewise.
26948 (RUN_TEST_LOOP_f_f): New macro.
26949 (acos_test_data): New variable.
26950 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26951 (acos_tonearest_test_data): New variable.
26952 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26954 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26956 * benchtests/bench-skeleton.c (startup): Fix coding style.
26958 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26961 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26962 negative infinity argument.
26963 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26964 negative infinity argument.
26965 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26966 negative infinity argument.
26967 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26970 2013-05-10 Florian Weimer <fweimer@redhat.com>
26972 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26973 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26974 * iconv/iconv_prog.c (main): Likewise.
26975 * locale/programs/charmap-dir.c (charmap_readdir)
26976 (fopen_uncompressed): Likewise.
26977 * locale/programs/locfile.c (siblings_uncached)
26978 (write_locale_data): Use lstat64 instead of lstat.
26979 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26982 2013-05-10 Andreas Jaeger <aj@suse.de>
26985 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26987 Include <locale.h>.
26989 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26991 * elf/dl-close.c (_dl_close_worker): Add comments.
26993 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26998 (__ieee754_rem_pio2l): Update comments.
27001 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27003 (__ieee754_rem_pio2l): Update comments.
27005 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27006 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27008 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27011 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27012 (M_PI_34_LOG10El): Likewise.
27013 (M_PI2_LOG10El): Likewise.
27014 (M_PI4_LOG10El): Likewise.
27015 (M_PI_LOG10El): Likewise.
27017 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27021 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27023 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27024 (MINUS_ZERO_INIT): Likewise.
27025 (PLUS_INFTY_INIT): Likewise.
27026 (MINUS_INFTY_INIT): Likewise.
27027 (QNAN_VALUE_INIT): Likewise.
27028 (MAX_VALUE_INIT): Likewise.
27029 (MIN_VALUE_INIT): Likewise.
27030 (MIN_SUBNORM_VALUE_INIT): Likewise.
27031 (plus_zero): Initialize with PLUS_ZERO_INIT.
27032 (minus_zero): Initialize with MINUS_ZERO_INIT.
27033 (plus_infty): Initialize with PLUS_INFTY_INIT.
27034 (minus_infty): Initialize with MINUS_INFTY_INIT.
27035 (qnan_value): Initialize with QNAN_VALUE_INIT.
27036 (max_value): Initialize with MAX_VALUE_INIT.
27037 (min_value): Initialize with MIN_VALUE_INIT.
27038 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27040 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27041 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27042 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27043 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27045 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27046 (RUN_TEST_2_f): Likewise.
27047 (RUN_TEST_ff_f): Likewise.
27048 (RUN_TEST_fi_f): Likewise.
27049 (RUN_TEST_fl_f): Likewise.
27050 (RUN_TEST_fff_f): Likewise.
27051 (RUN_TEST_c_f): Likewise.
27052 (RUN_TEST_f_f1): Likewise.
27053 (RUN_TEST_fF_f1): Likewise.
27054 (RUN_TEST_fI_f1): Likewise.
27055 (RUN_TEST_ffI_f1): Likewise.
27056 (RUN_TEST_c_c): Likewise.
27057 (RUN_TEST_cc_c): Likewise.
27058 (RUN_TEST_f_i): Likewise.
27059 (RUN_TEST_f_i_tg): Likewise.
27060 (RUN_TEST_ff_i_tg): Likewise.
27061 (RUN_TEST_f_b): Likewise.
27062 (RUN_TEST_f_b_tg): Likewise.
27063 (RUN_TEST_f_l): Likewise.
27064 (RUN_TEST_f_L): Likewise.
27065 (RUN_TEST_sincos): Likewise.
27066 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27067 whether to show exceptions. Do not include ");\n" in return
27069 (special_functions): Output call to RUN_TEST_sincos instead of
27070 check_float calls. Update calls to new_test.
27071 (parse_args): Output call to single RUN_TEST_* macro instead of
27072 check_* calls and other assignments. Update calls to new_test.
27078 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27079 input to result for tgamma overflow.
27080 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27081 (gamma_coeff): New variable.
27082 (NCOEFF): New macro.
27083 (gamma_positive): New function.
27084 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27085 underflow here. Use gamma_positive instead of exp (lgamma) for
27087 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27088 (gamma_coeff): New variable.
27089 (NCOEFF): New macro.
27090 (gammaf_positive): New function.
27091 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27092 underflow here. Use gamma_positive instead of exp (lgamma) for
27094 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27095 (gamma_coeff): New variable.
27096 (NCOEFF): New macro.
27097 (gammal_positive): New function.
27098 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27099 underflow here. Use gamma_positive instead of exp (lgamma) for
27101 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27102 (gamma_coeff): New variable.
27103 (NCOEFF): New macro.
27104 (gammal_positive): New function.
27105 (__ieee754_gammal_r): Handle positive infinity, overflow and
27106 underflow here. Handle NaN the same as positive infinity. Remove
27107 check x < 0xffffffff for negative integers. Use gamma_positive
27108 instead of exp (lgamma) for other arguments.
27109 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27110 (gamma_coeff): New variable.
27111 (NCOEFF): New macro.
27112 (gammal_positive): New function.
27113 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27114 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27115 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27117 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27118 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27119 * sysdeps/generic/math_private.h (__gamma_productf): New
27121 (__gamma_product): Likewise.
27122 (__gamma_productl): Likewise.
27123 * math/Makefile (libm-calls): Add gamma_product.
27124 * math/libm-test.inc (tgamma_test): Add more tests.
27125 * sysdeps/i386/fpu/libm-test-ulps: Update.
27126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27128 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27130 * benchtests/bench-skeleton.c (main): Preheat CPU.
27132 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27134 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27136 2013-05-07 Roland McGrath <roland@hack.frob.com>
27138 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27139 and _dl_skip_args_internal.
27141 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27143 * manual/message.texi (Message Translation): Talk about users.
27144 Message to key mapping impacts design.
27146 2013-05-06 Roland McGrath <roland@hack.frob.com>
27148 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27150 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27152 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27153 * sysdeps/wordsize-64/glob64.c: ... here.
27155 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27156 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27159 * debug/getlogin_r_chk.c: Moved to ...
27160 * login/getlogin_r_chk.c: ... here.
27161 * debug/Makefile (routines): Move getlogin_r_chk to ...
27162 * login/Makefile (routines): ... here.
27163 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27164 * login/Versions (libc: GLIBC_2.4): ... here.
27166 * io/poll.c (__poll): Renamed from poll.
27167 Add libc_hidden_def.
27168 (poll): Define as weak alias.
27170 * debug/ptsname_r_chk.c: Moved to ...
27171 * login/ptsname_r_chk.c: ... here.
27172 * debug/Makefile (routines): Move ptsname_r_chk to ...
27173 * login/Makefile (routines): ... here.
27174 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27175 * login/Versions (libc: GLIBC_2.4): ... here.
27177 * posix/getlogin.c: Moved to ...
27178 * login/getlogin.c: ... here.
27179 * posix/getlogin_r.c: Moved to ...
27180 * login/getlogin_r.c: ... here.
27181 * posix/getlogin_r.c: Moved to ...
27182 * login/getlogin_r.c: ... here.
27183 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27184 * login/Makefile (routines): ... here.
27185 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27186 * login/Versions (libc: GLIBC_2.0): ... here.
27188 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27189 (setrlimit): Define as weak alias.
27191 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27192 Call __ names for open, ftruncate, and close.
27193 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27194 (truncate): Define as weak alias.
27196 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27198 * math/gen-libm-test.pl (parse_args): Initialize x before each
27199 test of frexp, modf and remquo.
27201 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27202 test signgam value.
27204 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27208 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27210 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27212 2013-05-06 Roland McGrath <roland@hack.frob.com>
27214 * elf/dl-writev.h: New file.
27215 * elf/dl-misc.c: Include it.
27216 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27217 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27219 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27221 * math/libm-test.inc (noXFails): Remove variable.
27222 (noXPasses): Likewise.
27223 (BUILD_COMPLEX_INT): Remove macro.
27224 (print_screen): Remove xfail argument.
27225 (print_screen_max_error): Likewise.
27226 (update_stats): Likewise.
27227 (print_max_error): Likewise. Update calls to other affected
27229 (print_complex_max_error): Likewise.
27230 (test_single_exception): Update calls to print_screen.
27231 (test_single_errno): Likewise.
27232 (check_float_internal): Remove xfail argument. Update calls to
27233 other affected functions.
27234 (check_float): Likewise.
27235 (check_complex): Likewise.
27236 (check_int): Likewise.
27237 (check_long): Likewise.
27238 (check_bool): Likewise.
27239 (check_longlong): Likewise.
27240 (main): Don't print noXFails and noXPasses.
27241 * math/gen-libm-test.pl (top level): Don't mention expected
27242 failure handling in comment.
27243 (new_test): Don't handle expected failures.
27244 (parse_args): Don't mention expected failure handling in comment.
27245 (generate_testfile): Don't handle expected failures.
27246 (parse_ulps): Likewise.
27247 (print_ulps_file): Likewise.
27248 (get_failure): Remove function.
27249 (output_test): Don't handle expected failures.
27250 * make/README.libm-test: Don't mention expected failure handling.
27252 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27253 (minus_zero): Likewise.
27254 (plus_infty): Likewise.
27255 (minus_infty): Likewise.
27256 (qnan_value): Likewise.
27257 (max_value): Likewise.
27258 (min_value): Likewise.
27259 (min_subnorm_value): Likewise.
27260 (initialize): Do not initialize those variables dynamically.
27262 2013-05-03 Roland McGrath <roland@hack.frob.com>
27264 * io/open.c (__open_2): Moved to ...
27265 * io/open_2.c: ... this new file.
27266 * io/open64.c (__open64_2): Moved to ...
27267 * io/open64_2.c: ... this new file.
27268 * io/openat.c (__openat_2): Moved to ...
27269 * io/openat_2.c: ... this new file.
27270 * io/openat64.c (__openat64_2): Moved to ...
27271 * io/openat64_2.c: ... this new file.
27272 * io/Makefile (routines): Add them.
27273 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27274 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27275 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27276 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27277 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27278 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27279 (__openat64): Add hidden_ver.
27280 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27281 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27283 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27284 Separately conditionalize setting of GLRO(dl_sysinfo) so
27285 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27286 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27288 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27290 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27293 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27294 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27295 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27296 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27297 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27299 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27301 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27302 test signgam value.
27304 * math/libm-test.inc (hypot_test): Do not use
27305 IGNORE_ZERO_INF_SIGN.
27307 2013-05-03 Andreas Jaeger <aj@suse.de>
27309 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27311 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27312 (PF_MAX): Adjust for VSOCK change.
27314 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27318 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27321 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27322 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27323 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27325 2013-05-02 David S. Miller <davem@davemloft.net>
27327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27329 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27331 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27333 2013-05-01 Roland McGrath <roland@hack.frob.com>
27335 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27337 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27340 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27341 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27342 Use __attribute__ ((__gnu_inline__)).
27343 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27344 Don't use __attribute__ ((__gnu_inline__)).
27346 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27349 * math/s_catan.c (__catan): Handle small real or imaginary part of
27350 input specially to avoid spurious underflow.
27351 * math/s_catanf.c (__catanf): Likewise.
27352 * math/s_catanh.c (__catanh): Likewise.
27353 * math/s_catanhf.c (__catanhf): Likewise.
27354 * math/s_catanhl.c (__catanhl): Likewise.
27355 * math/s_catanl.c (__catanl): Likewise.
27356 * math/libm-test.inc (catan_test): Add more tests.
27357 (catanh_test): Likewise.
27358 * sysdeps/i386/fpu/libm-test-ulps: Update.
27359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27361 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27365 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27368 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27369 accurately for denominator in atan2.
27370 * math/s_catanf.c (__catanf): Likewise.
27371 * math/s_catanh.c (__catanh): Likewise.
27372 * math/s_catanhf.c (__catanhf): Likewise.
27373 * math/s_catanhl.c (__catanhl): Likewise.
27374 * math/s_catanl.c (__catanl): Likewise.
27375 * math/libm-test.inc (catan_test): Add more tests.
27376 (catanh_test): Likewise.
27377 * sysdeps/i386/fpu/libm-test-ulps: Update.
27378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27380 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27382 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27384 * benchtests/Makefile (bench): Remove slow benchmarks.
27385 * benchtests/atan-inputs: Add slow benchmark inputs.
27386 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27387 (BENCH_FUNC): Accept variant offset.
27389 * benchtests/bench-skeleton.c (main): Run benchmark for each
27391 * benchtests/cos-inputs: Add slow benchmark inputs.
27392 * benchtests/exp-inputs: Likewise.
27393 * benchtests/pow-inputs: Likewise.
27394 * benchtests/sin-inputs: Likewise.
27395 * benchtests/slowatan-inputs: Remove.
27396 * benchtests/slowatan.c: Remove.
27397 * benchtests/slowcos-inputs: Remove.
27398 * benchtests/slowcos.c: Remove.
27399 * benchtests/slowexp-inputs: Remove.
27400 * benchtests/slowexp.c: Remove.
27401 * benchtests/slowpow-inputs: Remove.
27402 * benchtests/slowpow.c: Remove.
27403 * benchtests/slowsin-inputs: Remove.
27404 * benchtests/slowsin.c: Remove.
27405 * benchtests/slowtan-inputs: Remove.
27406 * benchtests/slowtan.c: Remove.
27407 * benchtests/tan-inputs: Add slow benchmark inputs.
27408 * scripts/bench.pl: Parse comments and directives.
27410 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27412 ($(objpfx)bench-%.c): Remove *-ITER.
27413 * benchtests/bench-modf.c: Remove definition of ITER.
27414 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27415 (main): Loop for DURATION seconds instead of fixed number of
27417 * scripts/bench.pl: Don't expect iterations in parameters.
27419 2013-04-29 Roland McGrath <roland@hack.frob.com>
27421 * io/fchdir.c (__fchdir): Renamed from fchdir.
27422 (fchdir): Define as weak alias.
27424 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27426 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27427 (ERRNO_EDOM): Likewise.
27428 (ERRNO_ERANGE): Likewise.
27429 (noErrnoTests): New variable.
27430 (init_max_error): Set errno to 0.
27431 (test_single_errno): New function.
27432 (test_errno): Likewise.
27433 (check_float_internal): Call test_errno. Set errno to 0.
27434 (check_complex): Refer to errno tests in comment.
27435 (check_int): Call test_errno. Set errno to 0.
27436 (check_long): Likewise.
27437 (check_bool): Likewise.
27438 (check_longlong): Likewise.
27439 (cos_test): Use ERRNO_* flags for errno tests instead of
27441 (expm1_test): Likewise.
27442 (fmod_test): Likewise.
27443 (ilogb_test): Likewise.
27444 (lgamma_test): Likewise.
27445 (pow_test): Likewise.
27446 (remainder_test): Likewise.
27447 (sin_test): Likewise.
27448 (tan_test): Likewise.
27449 (yn_test): Likewise.
27450 (initialize): Set errno to 0.
27451 (main): Print number of errno tests.
27452 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27454 2013-04-29 Andreas Jaeger <aj@suse.de>
27457 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27461 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27462 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27466 * stdlib/random.c (__initstate): Return NULL if
27470 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27471 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27474 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27478 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27480 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27481 of individual tests.
27482 (casin_test): Likewise.
27483 (casinh_test): Likewise.
27485 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27488 * math/s_catan.c (__catan): Handle arguments with large real or
27489 imaginary part separately without squaring.
27490 * math/s_catanf.c (__catanf): Likewise.
27491 * math/s_catanh.c (__catanh): Likewise.
27492 * math/s_catanhf.c (__catanhf): Likewise.
27493 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27495 (__catanhl): Handle arguments with large real or imaginary part
27496 separately without squaring.
27497 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27499 (__catanl): Handle arguments with large real or imaginary part
27500 separately without squaring.
27501 * math/libm-test.inc (catan_test): Add more tests.
27502 (catanh_test): Likewise.
27503 * sysdeps/i386/fpu/libm-test-ulps: Update.
27504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27506 2013-04-27 Andreas Jaeger <aj@suse.de>
27509 * stdlib/stdlib.h: Update guards for qecvt.
27510 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27513 2013-04-27 Allan McRae <allan@archlinux.org>
27515 * sysdeps/i386/fpu/libm-test-ulps: Update.
27517 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27520 * math/s_catan.c: Include <float.h>.
27521 (__catan): Ensure underflow exception occurs for underflowed
27523 * math/s_catanf.c: Include <float.h>.
27524 (__catanf): Ensure underflow exception occurs for underflowed
27526 * math/s_catanh.c: Include <float.h>.
27527 (__catanh): Ensure underflow exception occurs for underflowed
27529 * math/s_catanhf.c: Include <float.h>.
27530 (__catanhf): Ensure underflow exception occurs for underflowed
27532 * math/s_catanhl.c: Include <float.h>.
27533 (__catanhl): Ensure underflow exception occurs for underflowed
27535 * math/s_catanl.c: Include <float.h>.
27536 (__catanl): Ensure underflow exception occurs for underflowed
27538 * math/libm-test.inc (catan_test): Add more tests.
27539 (catanh_test): Likewise.
27542 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27543 underflowed result.
27544 * math/s_ccoshf.c (__ccoshf): Likewise.
27545 * math/s_ccoshl.c (__ccoshl): Likewise.
27546 * math/s_csin.c (__csin): Likewise.
27547 * math/s_csinf.c (__csinf): Likewise.
27548 * math/s_csinh.c (__csinh): Likewise.
27549 * math/s_csinhf.c (__csinhf): Likewise.
27550 * math/s_csinhl.c (__csinhl): Likewise.
27551 * math/s_csinl.c (__csinl): Likewise.
27552 * math/libm-test.inc (ccos_test): Add more tests.
27553 (ccosh_test): Likewise.
27554 (csin_test): Likewise.
27555 (csinh_test): Likewise.
27557 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27559 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27560 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27561 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27562 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27563 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27564 powerpc/power5+/fpu folders.
27565 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27568 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27572 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27574 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27575 additions to variable.
27576 [$(config-machine) = x86_64] (modules-names): Likewise.
27577 ($(objpfx)tst-audit3): Remove dependency.
27578 ($(objpfx)tst-audit3.out): Likewise.
27579 ($(objpfx)tst-audit4): Likewise.
27580 ($(objpfx)tst-audit4.out): Likewise.
27581 ($(objpfx)tst-audit5): Likewise.
27582 ($(objpfx)tst-audit5.out): Likewise.
27583 ($(objpfx)tst-audit6): Likewise.
27584 ($(objpfx)tst-audit6.out): Likewise.
27585 ($(objpfx)tst-audit7): Likewise.
27586 ($(objpfx)tst-audit7.out): Likewise.
27587 (tst-audit3-ENV): Remove variable.
27588 (tst-audit4-ENV): Likewise.
27589 (tst-audit5-ENV): Likewise.
27590 (tst-audit6-ENV): Likewise.
27591 (tst-audit7-ENV): Likewise.
27592 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27593 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27594 addition to variable.
27595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27600 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27601 tst-audit3, tst-audit4 and tst-audit5.
27602 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27603 tst-audit6 and tst-audit7.
27604 [$(subdir) = elf] (modules-names): Add audit modules for those
27606 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27607 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27608 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27609 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27610 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27611 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27612 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27613 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27614 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27615 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27616 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27617 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27618 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27619 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27620 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27621 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27623 [$(subdir) = elf && $(config-cflags-avx) = yes]
27624 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27625 [$(subdir) = elf && $(config-cflags-avx) = yes]
27626 (CFLAGS-tst-auditmod4a.c): Likewise.
27627 [$(subdir) = elf && $(config-cflags-avx) = yes]
27628 (CFLAGS-tst-auditmod4b.c): Likewise.
27629 [$(subdir) = elf && $(config-cflags-avx) = yes]
27630 (CFLAGS-tst-auditmod6b.c): Likewise.
27631 [$(subdir) = elf && $(config-cflags-avx) = yes]
27632 (CFLAGS-tst-auditmod6c.c): Likewise.
27633 [$(subdir) = elf && $(config-cflags-avx) = yes]
27634 (CFLAGS-tst-auditmod7b.c): Likewise.
27635 * elf/tst-audit3.c: Move to ...
27636 * sysdeps/x86_64/tst-audit3.c: ... here.
27637 * elf/tst-audit4.c: Move to ...
27638 * sysdeps/x86_64/tst-audit4.c: ... here.
27639 * elf/tst-audit5.c: Move to ...
27640 * sysdeps/x86_64/tst-audit5.c: ... here.
27641 * elf/tst-audit6.c: Move to ...
27642 * sysdeps/x86_64/tst-audit6.c: ... here.
27643 * elf/tst-audit7.c: Move to ...
27644 * sysdeps/x86_64/tst-audit7.c: ... here.
27645 * elf/tst-auditmod3a.c: Move to ...
27646 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27647 * elf/tst-auditmod3b.c: Move to ...
27648 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27649 * elf/tst-auditmod4a.c: Move to ...
27650 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27651 * elf/tst-auditmod4b.c: Move to ...
27652 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27653 * elf/tst-auditmod5a.c: Move to ...
27654 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27655 * elf/tst-auditmod5b.c: Move to ...
27656 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27657 * elf/tst-auditmod6a.c: Move to ...
27658 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27659 * elf/tst-auditmod6b.c: Move to ...
27660 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27661 * elf/tst-auditmod6c.c: Move to ...
27662 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27663 * elf/tst-auditmod7a.c: Move to ...
27664 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27665 * elf/tst-auditmod7b.c: Move to ...
27666 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27668 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27671 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27672 define unconditionally.
27673 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27674 define unconditionally.
27675 (INT8_C, INT16_C, etc.): Likewise.
27677 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27679 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27680 __ehdr_start with hidden visibility.
27682 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27684 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27686 * math/libm-test.inc (cos_test): Use accurate hex constants.
27687 (sincost_test): Likewise.
27689 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27691 * math/libm-test.inc (catan_test): Add more tests.
27692 (catanh_test): Likewise.
27694 * math/s_catanf.c (__catanf): Use suffixed floating-point
27696 * math/s_catanhf.c (__catanhf): Likewise.
27697 * math/s_catanhl.c (__catanhl): Likewise.
27698 * math/s_catanl.c (__catanl): Likewise.
27701 * math/s_catan.c (__catan): Calculate imaginary part of result
27702 with log1p not log unless computing log of number close to 0.
27703 * math/s_catanf.c (__catanf): Likewise.
27704 * math/s_catanl.c (__catanl): Likewise.
27705 * math/s_catanh.c (__catanh): Calculate real part of result with
27706 log1p not log unless computing log of number close to 0.
27707 * math/s_catanhf.c (__catanhf): Likewise.
27708 * math/s_catanhl.c (__catanhl): Likewise.
27709 * math/libm-test.inc (catan_test): Add more tests.
27710 (catanh_test): Likewise.
27711 * sysdeps/i386/fpu/libm-test-ulps: Update.
27712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27714 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27716 * benchtests/Makefile: Mention files in which fast and slow
27717 paths of math functions are implemented.
27719 2013-04-23 Roland McGrath <roland@hack.frob.com>
27721 * sysdeps/posix/timespec_get.c: New file.
27723 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27725 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27727 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27729 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27730 powerpc/power5/fpu folders.
27731 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27732 * benchtests/Makefile: Add modf testcase.
27733 * benchtests/bench-modf.c: New file: Benchmark test for mo
27735 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27738 * time/Makefile (tests): Add tst-strptime-whitespace.
27739 * time/strptime_l.c (get_number): Use ISSPACE.
27740 (__strptime_internal): Likewise.
27741 * time/tst-strptime-whitespace.c: New test case.
27743 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27745 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27747 (_nss_files_init): Set it here.
27749 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27751 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27752 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27755 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27757 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27759 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27764 2013-04-21 David S. Miller <davem@davemloft.net>
27766 * po/ru.po: Update Russion translation from translation project.
27768 2013-04-17 Adam Conrad <adconrad@0c3.net>
27770 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27773 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27775 * configure.in: Remove i386 configure warning. Remove i386 case.
27776 * configure: Regenerate.
27777 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27778 Add example to error message.
27779 * sysdeps/i386/configure: Regenerate.
27781 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27783 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27785 * benchtests/cos-inputs: New file.
27786 * benchtests/slowcos-inputs: New file.
27787 * benchtests/slowcos.c: New file.
27788 * benchtests/slowtan-inputs: New file.
27789 * benchtests/slowtan.c: New file.
27790 * benchtests/tan-inputs: New file.
27792 2013-04-16 Roland McGrath <roland@hack.frob.com>
27794 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27797 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27799 * benchtests/Makefile: Include cppflags-iterator.mk to add
27800 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27802 * Makefile.in (bench-clean): New target.
27803 * benchtests/Makefile (bench-clean): Likewise.
27805 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27807 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27809 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27811 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27813 2013-04-15 Andreas Schwab <schwab@suse.de>
27815 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27817 * nscd/pwdcache.c (cache_addpw): Likewise.
27818 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27821 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27823 * benchtests/Makefile (bench): Write all output to
27824 bench-out.tmp together.
27826 2013-04-15 Andreas Schwab <schwab@suse.de>
27828 * nscd/nscd.c (main): Don't fork again after closing files.
27830 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27832 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27834 * benchtests/Rules (bench-deps): Collect dependencies into a
27835 single variable. Add Makefile to dependencies.
27836 ($(objpfx)bench-%.c): Depend on bench-deps.
27838 2013-04-12 Roland McGrath <roland@hack.frob.com>
27839 Xavier Roche <roche+kml2@exalead.com>
27842 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27843 just that it's a file descriptor.
27844 * manual/llio.texi (Synchronizing AIO Operations): Update description
27845 for EBADF error from aio_fsync.
27847 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27849 * Rules (bench): Move target definition...
27850 * benchtests/Makefile: ... here.
27852 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27854 * math/libm-test.inc (cos_test): Fix PI/2 test.
27855 (sincos_test): Likewise.
27856 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27857 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27859 2013-04-11 Andreas Schwab <schwab@suse.de>
27862 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27863 accept exponent character only when digits were seen.
27864 * stdio-common/Makefile (tests): Add bug26.
27865 * stdio-common/bug26.c: New file.
27868 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27871 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27873 * Makeconfig (rtld-prefix): Define built linker prefix.
27874 * Rules (run-bench): Use it.
27875 * math/Makefile (run-regen-ulps): Likewise.
27877 * Rules (bench): Remove eval.
27879 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27880 Roland McGrath <roland@hack.frob.com>
27881 Ondrej Bilka <neleai@seznam.cz>
27884 * time/getdate.c: Include ctype.h and alloca.h.
27885 (__getdate_r): Trim leading and trailing spaces of input.
27886 * time/tst-getdate.c (tests): Add tests with leading and
27889 2013-04-08 Roland McGrath <roland@hack.frob.com>
27892 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27893 when computing value.
27895 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27897 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27898 Use testrun.sh to run libm tests.
27901 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27903 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27906 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27908 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27910 * Makefile.in (regen-ulps): New target.
27911 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27912 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27913 [ifneq (no,$(PERL)] (regen-ulps): New target.
27914 [ifeq (no,$(PERL)] (regen-ulps): New target.
27915 * math/libm-test.inc (ulps_file_name): Define.
27916 (output_dir): New variable.
27917 (options): Add "output-dir" option.
27918 (parse_opt): Handle 'o' case.
27919 (main): If output_dir is non-NULL use it as a prefix
27921 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27923 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27925 [BZ #10060, #10062]
27926 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27927 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27928 fail configure if __sync_val_compare_and_swap is not inlined.
27929 * sysdeps/i386/configure: Regenerate.
27930 * configure.in: Build for i686 when configured for i386.
27931 * configure: Regenerate.
27932 * README: Remove i386 reference.
27934 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27936 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27939 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27941 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27942 (lmsnanval): New variables.
27943 (F): Add conversion tests.
27944 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27945 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27947 * stdio-common/tstdiomisc.c (F): Properly collect individual
27950 [BZ #14686, #15336]
27951 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27952 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27953 Instead, use input NaN values or generate a qNaN by arithmetic
27954 operation. Also fix bugs to comply with the standard.
27955 * math/libm-test.inc (remainder_test): Add more tests.
27957 [BZ #15335, #15342]
27958 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27960 input NaN values or generate a qNaN by arithmetic operation.
27962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27965 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27968 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27971 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27972 underflowed result.
27973 * math/s_cexpf.c (__cexpf): Likewise.
27974 * math/s_cexpl.c (__cexpl): Likewise.
27975 * math/libm-test.inc (cexp_test): Add more tests.
27977 2013-04-03 Andreas Schwab <schwab@suse.de>
27980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27981 order arrays from heap if bigger than alloca cutoff.
27983 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27985 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27986 (SNAN_TESTS_double): Refer to GCC PR56831.
27987 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27990 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27992 * Rules (bench): Move bench.out after the run is complete.
27994 * Rules (bench): Echo currently running benchmark.
27996 * benchtests/Makefile (bench): Add atan and slowatan.
27997 * benchtests/atan-inputs: New file.
27998 * benchtests/slowatan-inputs: New file.
27999 * benchtests/slowatan.c: New file.
28001 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28006 * sysdeps/unix/sysv/linux/kernel-features.h
28007 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28008 __ASSUME_XFS_RESTRICTED_CHOWN.
28009 * sysdeps/unix/sysv/linux/pathconf.c
28010 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28011 Save and restore errno.
28013 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28016 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28017 arguments using __kernel_casinh.
28018 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28019 arguments using __kernel_casinhf.
28020 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28021 arguments using __kernel_casinhl.
28022 * math/libm-test.inc (cacosh_test): Add more tests.
28023 * sysdeps/i386/fpu/libm-test-ulps: Update.
28024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28026 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28028 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28031 * bench/Makefile (bench): Add sin and slowsin.
28032 * benchtests/sin-inputs: New file.
28033 * benchtests/slowsin-inputs: New file.
28034 * benchtests/slowsin.c: New file.
28036 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28037 (bench): Add slowexp and slowpow.
28038 (exp-ITER): Increase iterations.
28039 (pow-ITER): Likewise.
28040 * benchtests/exp-inputs: Change input.
28041 * benchtests/pow-inputs: Likewise.
28042 * benchtests/slowexp-inputs: New file.
28043 * benchtests/slowexp.c: New file.
28044 * benchtests/slowpow-inputs: New file.
28045 * benchtests/slowpow.c: New file.
28047 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28049 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28051 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28052 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28053 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28054 * benchtests/Makefile: Add rint benchtest.
28055 * benchtests/rint-inputs: Input for rint benchtest.
28057 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28059 * Versions.def (libm): Add GLIBC_2.18.
28060 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28061 hidden libm prototypes.
28062 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28063 * math/Makefile (libm-calls): Add s_issignaling.
28064 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28065 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28066 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28068 * math/math.h [__USE_GNU] (issignaling): New macro.
28069 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28070 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28071 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28072 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28074 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28075 * manual/arith.texi (issignaling): New section.
28076 * manual/libm-err-tab.pl (@all_functions): Update comment.
28077 * math/gen-libm-test.pl (parse_args): Apply special handling for
28079 * math/libm-test.inc (print_float, issignaling_test): New
28081 (check_float_internal): Add issignaling checks.
28082 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28083 default definition.
28084 * sysdeps/powerpc/math-tests.h: New file.
28085 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28087 * math/test-snan.c (TEST_FUNC): Likewise.
28089 2013-03-30 David S. Miller <davem@davemloft.net>
28091 * po/de.po: Update from translation team.
28093 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28097 imaginary part less than 1.0 and real part less than 0.5
28099 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28101 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28102 (cacos_test): Add more tests.
28103 (casin_test): Likewise.
28104 (casinh_test): Likewise.
28105 * sysdeps/i386/fpu/libm-test-ulps: Update.
28106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28108 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28110 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28111 ONE with its value.
28113 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28114 (__pow_mp): Replace ONE and MONE with their values.
28115 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28117 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28118 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28119 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28120 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28122 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28124 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28125 (__pow_mp): Replace ZERO and MZERO with their values.
28126 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28127 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28130 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28131 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28134 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28136 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28138 2013-03-28 Roland McGrath <roland@hack.frob.com>
28140 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28141 Declare with __attribute__ ((weak)).
28142 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28143 Call __call_tls_dtors only if it's not NULL.
28145 2013-03-28 Roland McGrath <roland@hack.frob.com>
28147 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28148 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28149 magic __ehdr_start linker symbol if it's defined.
28150 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28151 them up here if it was already done.
28153 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28154 (_dl_aux_init): Use const in cast when setting it.
28155 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28156 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28157 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28159 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28161 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28162 * csu/libc-tls.c: Nor here.
28163 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28165 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28166 (__libc_message): Never call vsyslog.
28168 2013-03-28 Alan Modra <amodra@gmail.com>
28170 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28172 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28175 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28182 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28185 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28186 Don't add gid passed as argument.
28188 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28190 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28193 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28194 imaginary part between 1.0 and 1.5 and real part less than 0.5
28196 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28197 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28198 * math/libm-test.inc (cacos_test): Add more tests.
28199 (casin_test): Likewise.
28200 (casinh_test): Likewise.
28201 * sysdeps/i386/fpu/libm-test-ulps: Update.
28202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28204 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28206 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28209 (denorm): Likewise.
28210 (__dbl_mp): Likewise.
28211 (add_magnitudes): Likewise.
28212 (sub_magnitudes): Likewise.
28220 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28222 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28223 (__dubcos): Likewise.
28224 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28225 (__ieee754_acos): Likewise.
28226 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28227 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28228 (__exp1): Likewise.
28229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28232 (my_log2): Likewise.
28233 (checkint): Likewise.
28234 * sysdeps/ieee754/dbl-64/e_remainder.c
28235 (__ieee754_remainder): Likewise.
28236 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28237 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28238 (bsloww): Likewise.
28239 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28243 MANTISSA_STORE_T to store computations on mantissa. Use
28244 macros for rounding and division.
28245 (denorm): Likewise.
28246 (__dbl_mp): Likewise.
28247 (add_magnitudes): Likewise.
28248 (sub_magnitudes): Likewise.
28251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28252 powers of two in terms of TWOPOW macro.
28253 (mp_no): Make type of mantissa as MANTISSA_T.
28254 [!RADIXI]: Define RADIXI.
28255 [!TWO52]: Define TWO52.
28256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28258 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28260 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28261 llroundl symbol when building for PPC32.
28263 2013-03-24 Mark H Weaver <mhw@netris.org>
28265 * manual/arith.texi (Normalization Functions): Fix prototypes for
28266 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28268 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28272 high value to check if expl overflow.
28273 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28274 to check for underflow and overflow.
28275 * math/libm-test.inc: Add exp test.
28277 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28280 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28283 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28285 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28288 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28290 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28291 wrap blocks consisting of several statements.
28293 * sysdeps/generic/math-tests.h: New file.
28294 * sysdeps/i386/fpu/math-tests.h: Likewise.
28295 * math/test-snan.c: Include it.
28296 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28298 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28301 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28302 (__ieee754_j0l): Do not improve calculations using cos of twice
28303 input for inputs above LDBL_MAX / 2.0L.
28304 (__ieee754_y0l): Likewise.
28305 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28306 (__ieee754_j1l): Do not improve calculations using cos of twice
28307 input for inputs above LDBL_MAX / 2.0L.
28308 (__ieee754_y1l): Likewise.
28309 * math/libm-test.inc (j0_test): Add another test.
28310 (j1_test): Likewise.
28311 (y0_test): Likewise.
28312 (y1_test): Likewise.
28313 * sysdeps/i386/fpu/libm-test-ulps: Update.
28315 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28317 * Rules ($(objpfx)bench-%.c): Include code from a C source
28320 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28323 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28324 imaginary part 1.0 and real part less than 0.5 specially.
28325 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28326 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28327 * math/libm-test.inc (cacos_test): Add more tests.
28328 (casin_test): Likewise.
28329 (casinh_test): Likewise.
28330 * sysdeps/i386/fpu/libm-test-ulps: Update.
28331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28333 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28336 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28338 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28340 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28341 * config.make.in (config-cflags-sse4): Remove variable.
28342 (config-cflags-avx): Likewise.
28343 (config-cflags-sse2avx): Likewise.
28344 (config-cflags-novzeroupper): Likewise.
28345 (config-asflags-i686): Likewise.
28346 (have-mfma4): Likewise.
28347 (have-as-vis3): Likewise.
28349 * configure.in (MIG): Do not AC_SUBST.
28350 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28351 (libc_cv_cc_sse4): Do not AC_SUBST.
28352 (libc_cv_cc_avx): Likewise.
28353 (libc_cv_cc_sse2avx): Likewise.
28354 (libc_cv_cc_novzeroupper): Likewise.
28355 (libc_cv_cc_fma4): Likewise.
28356 (libc_cv_as_i686): Likewise.
28357 (libc_cv_sparc_as_vis3): Likewise.
28358 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28360 (config-asflags-i686): Likewise.
28361 (config-cflags-avx): Likewise.
28362 (config-cflags-sse2avx): Likewise.
28363 (have-mfma4): Likewise.
28364 (config-cflags-novzeroupper): Likewise.
28365 * sysdeps/mach/configure.in (MIG): Likewise.
28366 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28367 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28369 (config-cflags-avx): Likewise.
28370 (config-cflags-sse2avx): Likewise.
28371 (have-mfma4): Likewise.
28372 (config-cflags-novzeroupper): Likewise.
28373 * configure: Regenerated.
28374 * sysdeps/i386/configure: Likewise.
28375 * sysdeps/mach/configure: Likewise.
28376 * sysdeps/sparc/configure: Likewise.
28377 * sysdeps/x86_64/configure: Likewise.
28379 2013-03-20 Roland McGrath <roland@hack.frob.com>
28382 * locale/programs/localedef.c (options): Put N_ translation marker
28383 on argument names, not just descriptions.
28385 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28387 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28389 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28392 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28394 2013-03-19 Roland McGrath <roland@hack.frob.com>
28396 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28397 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28398 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28399 [!BEFORE_ABORT] (before_abort): New function.
28400 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28401 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28402 (writev_for_fatal): New function.
28403 (WRITEV_FOR_FATAL): New macro; call that.
28404 (backtrace_and_maps): New function.
28405 (BEFORE_ABORT): New macro; call that.
28406 (struct str_list): Type removed.
28407 (__libc_message, __libc_fatal): Functions removed.
28408 Include <sysdeps/posix/libc_fatal.c> instead.
28410 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28412 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28414 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28417 2013-03-19 Andreas Schwab <schwab@suse.de>
28419 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28420 * sysdeps/gnu/configure: Regenerate.
28422 * configure.in: Substitute libc_cv_rtlddir.
28423 * configure: Regenerate.
28424 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28425 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28426 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28427 * elf/Makefile (install-others, CFLAGS-interp.c)
28428 (ldso_install, common-ldd-rewrite): Likewise.
28429 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28430 $(inst_slibdir)/$(rtld-installed-name).
28431 * scripts/rellns-sh: Add -p option.
28432 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28435 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28437 * manual/nptl.texi: Renamed to ...
28438 * manual/threads.texi: ... this.
28439 * manual/Makefile (chapters): Update.
28441 2013-03-18 Roland McGrath <roland@hack.frob.com>
28444 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28445 on argument names, not just descriptions.
28446 * malloc/memusagestat.c (options): Likewise.
28447 * nss/getent.c (options): Likewise.
28449 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28452 * iconv/iconv_prog.c (options): Put N_ translation marker
28453 on argument names, not just descriptions.
28454 * iconv/iconvconfig.c (options): Likewise.
28456 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28458 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28459 implementation which is faster on all x86_64 architectures.
28460 Tested on AMD, Intel Nehalem, SNB, IVB.
28461 * sysdeps/x86_64/strnlen.S: Likewise.
28463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28464 Remove all multiarch strlen and strnlen versions.
28465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28466 Remove strlen and strnlen related parts.
28468 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28469 Inline strlen part.
28470 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28472 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28473 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28474 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28475 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28476 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28477 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28479 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28481 * manual/memory.texi (Malloc Tunable Parameters):
28482 Sort parameters alphabetically. Add comments for missing entries.
28484 2013-03-17 David S. Miller <davem@davemloft.net>
28486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28488 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28492 for arguments at most half maximum finite value.
28493 * math/libm-test.inc (j0_test): Add more tests.
28494 (j1_test): Likewise.
28495 (y0_test): Likewise.
28496 (y1_test): Likewise.
28497 * sysdeps/i386/fpu/libm-test-ulps: Update.
28498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28501 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28502 1 / x and functions P and Q for arguments above 0x1p256L.
28503 (__ieee754_y0l): Likewise.
28504 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28505 (__ieee754_y1l): Likewise.
28506 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28507 (j1_test): Likewise.
28508 (y0_test): Likewise.
28509 (y1_test): Likewise.
28511 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28513 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28516 2013-03-15 Roland McGrath <roland@hack.frob.com>
28518 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28519 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28520 zero since it's initialized to EXEC_PAGESIZE.
28522 * sysdeps/unix/sysv/linux/ldsodefs.h
28523 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28524 * sysdeps/generic/ldsodefs.h: ... here.
28526 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28528 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28530 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28532 * math/test-snan.c: Renamed from
28533 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28534 * math/Makefile (tests): Add test-snan.
28535 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28538 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28539 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28541 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28542 __builtin_nan family of functions.
28543 * math/libm-test.inc (initialize): Initialize qnan_value with
28544 __builtin_nan family of functions.
28545 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28547 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28549 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28550 storage class. Initialize qNaN_var and sNaN_var with
28551 __builtin_nan and __builtin_nans families of functions,
28554 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28555 (sqrt_test): Remove duplicate test with qNaN input.
28556 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28557 (round_test, signbit_test, significand_test): Note missing +/-Inf
28558 as well as qNaN tests.
28560 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28561 qNaN_var. Fix a few strings, too.
28562 * math/libm-test.inc (nan_value): Rename to qnan_value.
28563 * math/gen-libm-test.pl (%beautify): Adjust to that.
28564 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28565 * math/test-misc.c (main): Likewise.
28566 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28567 to __qnan_bytes, and __qnan_union, respectively.
28568 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28570 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28571 and lqnanval, respectively.
28572 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28573 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28574 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28575 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28577 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28578 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28581 * math/test-misc.c (main): Fix copy'n'pastos.
28582 * misc/tst-efgcvt.c (special): Likewise.
28584 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28585 Remove declarations.
28587 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28589 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28590 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28591 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28592 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28594 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28597 macro to return vdso values correctly in IFUNC implementations.
28598 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28599 Optimization by using IFUNC.
28601 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28602 Richard Henderson <rth@redhat.com>
28603 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28605 * Makefile.in (bench): New target.
28606 * NEWS: Mention the benchmark framework.
28607 * Rules (bench): Likewise.
28608 (binaries-bench): Generate binaries for functions to
28610 * benchtests/Makefile: New makefile for benchmark tests.
28611 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28613 * benchtests/exp-inputs: New input file for EXP function.
28614 * benchtests/pow-inputs: New input file for POW function.
28615 * scripts/bench.pl: New script to generate source files for
28616 benchmark programs.
28618 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28620 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28621 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28622 computations on mantissa. Use macros for rounding and
28624 (denorm): Likewise.
28625 (__dbl_mp): Likewise.
28626 (add_magnitudes): Likewise.
28627 (sub_magnitudes): Likewise.
28630 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28631 powers of two in terms of TWOPOW macro.
28632 (mp_no): Make type of mantissa as MANTISSA_T.
28633 [!RADIXI]: Define RADIXI.
28634 [!TWO52]: Define TWO52.
28635 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28637 * manual/nptl.texi (cindex): Modify threads to pthreads.
28639 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28641 * sysdeps/x86_64/preconfigure: Regenerated.
28643 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28646 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28648 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28649 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28651 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28652 * math/libm-test.inc (j0_test): Do not allow one spurious
28653 underflow exception.
28654 (y1_test): Likewise.
28656 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28658 * manual/Makefile (chapters): Add nptl.
28659 * manual/debug.texi (Debugging Support): Add link to Threads
28661 * manual/nptl.texi: New file.
28663 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28665 2013-03-14 Petr Baudis <pasky@ucw.cz>
28667 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28668 for non-NULL pointer before the memory validity test. Pointed
28669 out by Holger Brunck <holger.brunck@keymile.com>.
28671 2013-03-13 Andreas Schwab <schwab@suse.de>
28673 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28676 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28678 * timezone/zic.c: Update from tzcode 2013b.
28680 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28682 * manual/install.texi (Configuring and compiling):
28683 Mention i686 and i586.
28684 * INSTALL: Regenerate.
28686 2013-03-12 Roland McGrath <roland@hack.frob.com>
28688 * sysdeps/init_array/elf-init.c: New file.
28690 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28691 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28693 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28694 __gmon_start__ as global, but as static with a .preinit_array pointer.
28695 * sysdeps/init_array/gmon-start.c: New file. Use that.
28696 * sysdeps/init_array/crti.S: New file, empty except for comments.
28697 * sysdeps/init_array/crtn.S: Likewise.
28699 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28701 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28704 Remove Prefer_SSE_for_memop.
28705 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28706 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28707 HAS_PREFER_SSE_FOR_MEMOP.
28708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28711 Remove bzero, memset ifunc support.
28712 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28713 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28717 2013-03-11 Andreas Schwab <schwab@suse.de>
28720 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28723 (GLIBC_2.16): Remove pthread_atfork.
28725 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28727 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28728 (ptestcases.h): Likewise.
28730 2013-03-08 Roland McGrath <roland@hack.frob.com>
28732 * Makeconfig ($(common-objpfx)config.status): Depend on
28733 sysdeps/*/preconfigure{,.in} too.
28735 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28737 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28738 (__free_hook): Use void * instead of __malloc_ptr_t.
28739 (__malloc_hook): Likewise.
28740 (__realloc_hook): Likewise.
28741 (__memalign_hook): Likewise.
28742 (__after_morecore_hook): Likewise.
28743 * malloc/arena.c (save_malloc_hook): Likewise.
28744 (save_free_hook): Likewise.
28745 * malloc/hooks.c (malloc_hook_ini): Likewise.
28746 (realloc_hook_ini): Likewise.
28747 (memalign_hook_ini): Likewise.
28748 * malloc/malloc.c (malloc_hook_ini): Likewise.
28749 (realloc_hook_ini): Likewise.
28750 (memalign_hook_ini): Likewise.
28751 (__free_hook): Likewise.
28752 (__malloc_hook): Likewise.
28753 (__realloc_hook): Likewise.
28754 (__memalign_hook): Likewise.
28755 (__libc_malloc): Likewise.
28756 (__libc_free): Likewise.
28757 (__libc_realloc): Likewise.
28758 (__libc_memalign): Likewise.
28759 (__libc_valloc): Likewise.
28760 (__libc_pvalloc): Likewise.
28761 (__libc_calloc): Likewise.
28762 (__posix_memalign): Likewise.
28763 * malloc/morecore.c (__sbrk): Likewise.
28764 (__default_morecore): Likewise.
28766 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28768 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28769 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28770 __malloc_ptrdiff_t.
28772 * malloc/malloc.h (__malloc_size_t): Remove macro.
28773 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28775 (old_memalign_hook): Likewise.
28776 (old_realloc_hook): Likewise.
28777 (struct hdr): Likewise.
28779 (mallochook): Likewise.
28780 (memalignhook): Likewise.
28781 (reallochook): Likewise.
28782 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28783 (tr_old_realloc_hook): Likewise.
28784 (tr_old_memalign_hook): Likewise.
28785 (tr_mallochook): Likewise.
28786 (tr_reallochook): Likewise.
28787 (tr_memalignhook): Likewise.
28789 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28792 default_ldbl_pack and using as default implementation.
28793 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28795 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28796 redundant definition.
28797 (ldbl_insert_mantissa): Likewise.
28798 (ldbl_canonicalize): Likewise.
28799 (ldbl_nearbyint): Likewise.
28800 (ldbl_pack): Rename to ldbl_pack_ppc.
28801 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28802 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28803 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28805 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28808 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28809 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28810 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28812 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28813 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28814 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28816 2013-03-07 Andreas Jaeger <aj@suse.de>
28818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28821 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28823 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28824 Include mpa.h and declare __MPEXP.
28825 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28826 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28827 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28829 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28830 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28831 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28833 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28834 (__slowpow): Use long double EXPL and LOGL functions to
28836 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28837 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28838 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28840 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28844 intermediate variable to calculate exponent.
28846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28850 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28851 [!NO__SQR]: Define __sqr.
28852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28853 and NO__SQR. Remove all code except __mul and __sqr. Include
28854 sysdeps/ieee754/dbl-64/mpa.c.
28855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28858 * posix/Makefile (tests): Add tst-pathconf.
28859 * posix/tst-pathconf.c: New test case.
28860 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28862 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28864 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28866 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28868 2013-03-06 Andreas Jaeger <aj@suse.de>
28870 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28871 definition via __MAP_ANONYMOUS.
28873 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28874 it's not part of Linux headers.
28876 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28877 (MAP_HUGE_MASK): Define.
28879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28881 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28884 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28885 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28887 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28890 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28892 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28893 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28894 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28895 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28896 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28897 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28902 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28903 Handle f2fs and efivarfs.
28905 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28908 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28909 (EFIVARFS_MAGIC): Add.
28910 (F2FS_LINK_MAX): Add.
28912 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28914 * stdio-common/vfprintf.c: Replace __builtin_expect with
28917 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28920 * sysdeps/generic/bp-sym.h: Remove file.
28921 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28922 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28923 <bp-sym.h> and <bp-asm.h>.
28924 (__longjmp): Don't use BP_SYM.
28925 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28927 (memcpy): Don't use BP_SYM.
28928 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28929 <bp-sym.h> and <bp-asm.h>.
28930 (memcpy): Don't use BP_SYM.
28931 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28933 (memcpy): Don't use BP_SYM.
28934 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28936 (memset): Don't use BP_SYM.
28937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28939 (__bzero): Don't use BP_SYM.
28940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28942 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28943 <bp-sym.h> and <bp-asm.h>.
28944 (memcmp): Don't use BP_SYM. Remove comment about bounded
28946 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28947 <bp-sym.h> and <bp-asm.h>.
28948 (memcpy): Don't use BP_SYM.
28949 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28950 <bp-sym.h> and <bp-asm.h>.
28951 (memset): Don't use BP_SYM.
28952 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28953 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28954 (__bzero): Don't use BP_SYM.
28955 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28956 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28957 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28958 <bp-sym.h> and <bp-asm.h>.
28959 (strncmp): Don't use BP_SYM. Remove comment about bounded
28961 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28962 <bp-sym.h> and <bp-asm.h>.
28963 (memcpy): Don't use BP_SYM.
28964 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28965 <bp-sym.h> and <bp-asm.h>.
28966 (memset): Don't use BP_SYM.
28967 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28968 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28969 (__bzero): Don't use BP_SYM.
28970 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28971 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28972 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28973 <bp-sym.h> and <bp-asm.h>.
28974 (__memchr): Don't use BP_SYM.
28975 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28976 <bp-sym.h> and <bp-asm.h>.
28977 (memcmp): Don't use BP_SYM. Remove comment about bounded
28979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28980 <bp-sym.h> and <bp-asm.h>.
28981 (memcpy): Don't use BP_SYM.
28982 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28983 <bp-sym.h> and <bp-asm.h>.
28984 (__mempcpy): Don't use BP_SYM.
28985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28986 <bp-sym.h> and <bp-asm.h>.
28987 (__memrchr): Don't use BP_SYM.
28988 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28989 <bp-sym.h> and <bp-asm.h>.
28990 (memset): Don't use BP_SYM.
28991 (__bzero): Likewise.
28992 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28993 <bp-sym.h> and <bp-asm.h>.
28994 (__rawmemchr): Don't use BP_SYM.
28995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28996 <bp-sym.h> and <bp-asm.h>.
28997 (__STRCMP): Don't use BP_SYM.
28998 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28999 <bp-sym.h> and <bp-asm.h>.
29000 (strchr): Don't use BP_SYM.
29001 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29002 <bp-sym.h> and <bp-asm.h>.
29003 (__strchrnul): Don't use BP_SYM.
29004 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29005 <bp-sym.h> and <bp-asm.h>.
29006 (strlen): Don't use BP_SYM.
29007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29008 <bp-sym.h> and <bp-asm.h>.
29009 (strncmp): Don't use BP_SYM. Remove comment about bounded
29011 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29012 <bp-sym.h> and <bp-asm.h>.
29013 (__strnlen): Don't use BP_SYM.
29014 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29015 <bp-sym.h> and <bp-asm.h>.
29016 (__GI__setjmp): Don't use BP_SYM.
29017 (_setjmp): Likewise.
29018 (__sigsetjmp): Likewise.
29019 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29020 (L(start_addresses)): Don't use BP_SYM.
29021 (_start): Likewise.
29022 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29024 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29025 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29026 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29027 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29028 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29030 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29031 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29032 about bounded pointers.
29033 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29034 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29035 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29037 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29038 about bounded pointers. Remove GKM FIXME comments.
29039 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29040 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29042 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29043 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29044 Remove GKM FIXME comments.
29045 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29046 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29047 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29049 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29050 about bounded pointers. Remove GKM FIXME comment.
29051 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29053 (strncmp): Don't use BP_SYM. Remove comment about bounded
29055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29056 <bp-sym.h> and <bp-asm.h>.
29057 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29059 <bp-sym.h> and <bp-asm.h>.
29060 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29063 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29065 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29068 2013-03-05 David S. Miller <davem@davemloft.net>
29070 * po/es.po: Update from translation team.
29072 2013-03-05 Andreas Jaeger <aj@suse.de>
29074 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29075 <bits/mman-linux.h>.
29076 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29078 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29079 <bits/mman-linux.h> to end of file.
29080 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29082 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29083 <bits/mman-linux.h> to end of file.
29084 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29087 <bits/mman-linux.h> to end of file.
29089 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29090 (MCL_CURRENT, MCL_FUTURE): Define here.
29092 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29097 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29099 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29101 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29102 fourth parameter needed for rt_sigprocmask syscall.
29103 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29104 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29105 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29106 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29107 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29108 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29110 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29113 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29114 comment about bounded pointers.
29115 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29116 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29118 2013-03-04 Andreas Jaeger <aj@suse.de>
29120 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29121 common definitions.
29123 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29124 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29125 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29127 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29130 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29133 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29134 __ieee754_sqrl instead of __sqrl.
29136 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29138 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29139 * sysdeps/powerpc/fpu_control.h: ... here.
29140 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29141 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29142 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29143 * sysdeps/powerpc/bits/mathinline.h: ... here.
29145 2013-03-01 Roland McGrath <roland@hack.frob.com>
29147 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29148 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29149 to just [NEED_DL_SYSINFO_DSO].
29150 * elf/dl-support.c: Likewise.
29151 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29152 * elf/rtld.c (dl_main): Likewise.
29153 * elf/setup-vdso.h (setup_vdso): Likewise.
29154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29155 * sysdeps/unix/sysv/linux/dl-sysdep.c
29156 (_dl_discover_osversion): Likewise.
29158 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29160 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29161 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29163 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29165 * NEWS: Mention libm performance improvements and non-x86 PI
29168 * csu/libc-start.c (__pthread_initialize_minimal): Change
29169 function arguments.
29170 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29172 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29175 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29176 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29177 <bp-sym.h> and <bp-asm.h>.
29178 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29179 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29181 (memcpy): Don't use BP_SYM.
29182 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29184 (__mpn_add_n): Don't use BP_SYM.
29185 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29186 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29188 (__mpn_addmul_1): Don't use BP_SYM.
29189 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29190 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29192 (_setjmp): Don't use BP_SYM.
29193 (__novmx_setjmp): Likewise.
29194 (__GI__setjmp): Likewise.
29195 (__vmx_setjmp): Likewise.
29196 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29198 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29199 (__bzero): Don't use BP_SYM.
29200 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29201 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29202 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29203 <bp-sym.h> and <bp-asm.h>.
29204 (memcpy): Don't use BP_SYM.
29205 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29206 <bp-sym.h> and <bp-asm.h>.
29207 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29208 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29209 <bp-sym.h> and <bp-asm.h>.
29210 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29211 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29213 (__mpn_lshift): Don't use BP_SYM.
29214 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29215 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29217 (memset): Don't use BP_SYM.
29218 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29219 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29220 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29222 (__mpn_mul_1): Don't use BP_SYM.
29223 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29225 <bp-sym.h> and <bp-asm.h>.
29226 (memcmp): Don't use BP_SYM.
29227 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29228 <bp-sym.h> and <bp-asm.h>.
29229 (memcpy): Don't use BP_SYM.
29230 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29231 <bp-sym.h> and <bp-asm.h>.
29232 (memset): Don't use BP_SYM.
29233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29234 <bp-sym.h> and <bp-asm.h>.
29235 (strncmp): Don't use BP_SYM.
29236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29237 <bp-sym.h> and <bp-asm.h>.
29238 (memcpy): Don't use BP_SYM.
29239 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29240 <bp-sym.h> and <bp-asm.h>.
29241 (memset): Don't use BP_SYM.
29242 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29243 <bp-sym.h> and <bp-asm.h>.
29244 (__memchr): Don't use BP_SYM.
29245 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29246 <bp-sym.h> and <bp-asm.h>.
29247 (memcmp): Don't use BP_SYM.
29248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29249 <bp-sym.h> and <bp-asm.h>.
29250 (memcpy): Don't use BP_SYM.
29251 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29252 <bp-sym.h> and <bp-asm.h>.
29253 (__mempcpy): Don't use BP_SYM.
29254 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29255 <bp-sym.h> and <bp-asm.h>.
29256 (__memrchr): Don't use BP_SYM.
29257 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29258 <bp-sym.h> and <bp-asm.h>.
29259 (memset): Don't use BP_SYM.
29260 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29261 <bp-sym.h> and <bp-asm.h>.
29262 (__rawmemchr): Don't use BP_SYM.
29263 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29264 <bp-sym.h> and <bp-asm.h>.
29265 (__STRCMP): Don't use BP_SYM.
29266 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29267 <bp-sym.h> and <bp-asm.h>.
29268 (strchr): Don't use BP_SYM.
29269 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29270 <bp-sym.h> and <bp-asm.h>.
29271 (__strchrnul): Don't use BP_SYM.
29272 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29273 <bp-sym.h> and <bp-asm.h>.
29274 (strlen): Don't use BP_SYM.
29275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29276 <bp-sym.h> and <bp-asm.h>.
29277 (strncmp): Don't use BP_SYM.
29278 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29279 <bp-sym.h> and <bp-asm.h>.
29280 (__strnlen): Don't use BP_SYM.
29281 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29283 (__mpn_rshift): Don't use BP_SYM.
29284 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29285 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29286 <bp-sym.h> and <bp-asm.h>.
29287 (__sigsetjmp): Don't use BP_SYM.
29288 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29289 (L(start_addresses)): Don't use BP_SYM.
29290 (_start): Likewise.
29291 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29293 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29294 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29295 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29296 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29298 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29299 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29300 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29301 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29303 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29305 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29306 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29308 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29310 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29311 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29312 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29314 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29316 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29318 (strncmp): Don't use BP_SYM,
29319 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29321 (__mpn_sub_n): Don't use BP_SYM.
29322 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29323 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29325 (__mpn_submul_1): Don't use BP_SYM.
29326 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29328 <bp-sym.h> and <bp-asm.h>.
29329 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29331 <bp-sym.h> and <bp-asm.h>.
29332 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29335 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29338 Use ZK to minimize writes to Z.
29339 (sub_magnitudes): Simplify code a bit.
29340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29341 Use ZK to minimize writes to Z.
29342 (sub_magnitudes): Simplify code a bit.
29344 2013-02-27 Roland McGrath <roland@hack.frob.com>
29346 * csu/gmon-start.c: Add special exception to license text.
29348 2013-02-27 Richard Henderson <rth@redhat.com>
29350 * scripts/config.guess: Update from config.git.
29351 * scripts/config.sub: Likewise.
29353 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29357 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29359 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29361 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29363 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29365 2013-02-26 Roland McGrath <roland@hack.frob.com>
29367 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29368 [$(build-shared = yes].
29370 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29372 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29373 (__mul): Reduce iterations for calculating mantissa.
29375 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29377 (__mpranred): Likewise.
29380 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29381 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29383 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29385 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29386 Define __attribute__.
29388 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29390 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29392 * posix/regex_internal.h (__attribute): Remove.
29393 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29394 (re_string_context_at): Likewise.
29395 (bitset_not): Use __attribute__ and mark function as possibly
29397 (bitset_merge): Likewise.
29398 (bitset_mask): Likewise.
29399 (re_string_char_size_at): Likewise.
29400 (re_string_wchar_at): Likewise.
29401 (re_string_elem_size_at): Likewise.
29403 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29405 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29409 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29413 (denorm): Likewise.
29414 (__dbl_mp): Likewise.
29415 (add_magnitudes): Likewise.
29416 (sub_magnitudes): Likewise.
29420 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29423 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29426 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29430 up changes with default code.
29431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29434 2013-02-24 Allan McRae <allan@archlinux.org>
29436 * manual/socket.texi (The Internet Namespace): Order menu items
29437 to match that in the file.
29439 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29440 node listing of the info page menu.
29442 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29445 * sysdeps/i386/bp-asm.h: Remove file.
29446 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29447 (PARMS): Do not use macros from bp-asm.h.
29451 (__mpn_add_n): Do not use BP_SYM
29452 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29454 (PARMS): Do not use macros from bp-asm.h.
29457 (__mpn_addmul_1): Do not use BP_SYM
29458 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29460 (PARMS): Do not use macros from bp-asm.h.
29461 (SIGMSK): Likewise.
29462 (_setjmp): Likewise. Do not use BP_SYM.
29463 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29465 (PARMS): Do not use macros from bp-asm.h.
29466 (SIGMSK): Likewise.
29467 (setjmp): Likewise. Do not use BP_SYM.
29468 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29470 (PARMS): Do not use macros from bp-asm.h.
29471 (__frexp): Do not use BP_SYM.
29473 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29475 (PARMS): Do not use macros from bp-asm.h.
29476 (__frexpf): Do not use BP_SYM.
29477 (frexpf): Likewise.
29478 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29480 (PARMS): Do not use macros from bp-asm.h.
29481 (__frexpl): Do not use BP_SYM.
29482 (frexpl): Likewise.
29483 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29485 (PARMS): Do not use macros from bp-asm.h.
29486 (__remquo): Do not use BP_SYM.
29487 (remquo): Likewise.
29488 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29490 (PARMS): Do not use macros from bp-asm.h.
29491 (__remquof): Do not use BP_SYM.
29492 (remquof): Likewise.
29493 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29495 (PARMS): Do not use macros from bp-asm.h.
29496 (__remquol): Do not use BP_SYM.
29497 (remquol): Likewise.
29498 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29500 (PARMS): Do not use macros from bp-asm.h.
29503 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29504 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29506 (PARMS): Do not use macros from bp-asm.h.
29507 (strlen): Do not use BP_SYM.
29508 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29510 (PARMS): Do not use macros from bp-asm.h.
29514 (__mpn_add_n): Do not use BP_SYM.
29515 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29517 (PARMS): Do not use macros from bp-asm.h.
29520 (__mpn_addmul_1): Do not use BP_SYM.
29521 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29524 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29526 (PARMS): Do not use macros from bp-asm.h.
29529 (__mpn_lshift): Do not use BP_SYM.
29530 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29532 (PARMS): Do not use macros from bp-asm.h.
29536 (memcpy): Likewise. Do not use BP_SYM.
29537 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29538 libc_hidden_def and weak_alias.
29539 (mempcpy): Do not use BP_SYM in weak_alias.
29540 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29542 (PARMS): Do not use macros from bp-asm.h.
29545 [!BZERO_P] (CHR): Likewise.
29546 (memset): Likewise. Do not use BP_SYM.
29547 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29549 (PARMS): Do not use macros from bp-asm.h.
29552 (__mpn_mul_1): Do not use BP_SYM.
29553 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29555 (PARMS): Do not use macros from bp-asm.h.
29558 (__mpn_rshift): Do not use BP_SYM.
29559 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29561 (PARMS): Do not use macros from bp-asm.h.
29564 (strchr): Likewise. Do not use BP_SYM.
29565 (index): Do not use BP_SYM in weak_alias.
29566 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29568 (PARMS): Do not use macros from bp-asm.h.
29571 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29572 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29574 (PARMS): Do not use macros from bp-asm.h.
29575 (strlen): Do not use BP_SYM.
29576 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29578 (PARMS): Do not use macros from bp-asm.h.
29582 (__mpn_sub_n): Do not use BP_SYM.
29583 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29585 (PARMS): Do not use macros from bp-asm.h.
29588 (__mpn_submul_1): Do not use BP_SYM.
29589 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29591 (PARMS): Do not use macros from bp-asm.h.
29595 (__mpn_add_n): Do not use BP_SYM.
29596 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29599 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29601 (PARMS): Do not use macros from bp-asm.h.
29604 (memcmp): Do not use BP_SYM.
29605 (bcmp): Do not use BP_SYM in weak_alias.
29606 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29608 (PARMS): Do not use macros from bp-asm.h.
29612 (memcpy): Likewise. Do not use BP_SYM.
29613 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29615 (PARMS): Do not use macros from bp-asm.h.
29619 (memmove): Likewise. Do not use BP_SYM.
29620 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29622 (PARMS): Do not use macros from bp-asm.h.
29626 (__mempcpy): Likewise. Do not use BP_SYM.
29627 (mempcpy): Do not use BP_SYM in weak_alias.
29628 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29630 (PARMS): Do not use macros from bp-asm.h.
29633 [!BZERO_P] (CHR): Likewise.
29634 (memset): Likewise. Do not use BP_SYM.
29635 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29637 (PARMS): Do not use macros from bp-asm.h.
29639 (strcmp): Do not use BP_SYM.
29640 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29642 (PARMS): Do not use macros from bp-asm.h.
29645 [USE_AS_STRTOK_R] (SAVE): Likewise.
29646 (FUNCTION): Likewise. Do not use BP_SYM.
29647 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29649 (strtok_r): Likewise.
29650 (__GI___strtok_r): Likewise.
29651 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29652 (PARMS): Do not use macros from bp-asm.h.
29655 (__mpn_lshift): Do not use BP_SYM.
29656 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29657 (PARMS): Do not use macros from bp-asm.h.
29660 (__memchr): Do not use BP_SYM.
29661 (memchr): Do not use BP_SYM in weak_alias.
29662 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29663 (PARMS): Do not use macros from bp-asm.h.
29666 (memcmp): Do not use BP_SYM.
29667 (bcmp): Do not use BP_SYM in weak_alias.
29668 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29669 (PARMS): Do not use macros from bp-asm.h.
29672 (__mpn_mul_1): Do not use BP_SYM.
29673 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29675 (PARMS): Do not use macros from bp-asm.h.
29678 (__rawmemchr): Do not use BP_SYM.
29679 (rawmemchr): Do not use BP_SYM in weak_alias.
29680 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29681 (PARMS): Do not use macros from bp-asm.h.
29684 (__mpn_rshift): Do not use BP_SYM.
29685 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29686 (PARMS): Do not use macros from bp-asm.h.
29687 (SIGMSK): Likewise.
29688 (__sigsetjmp): Likewise. Do not use BP_SYM.
29689 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29690 (_start): Do not use BP_SYM.
29691 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29692 (PARMS): Do not use macros from bp-asm.h.
29695 (__stpcpy): Likewise. Do not use BP_SYM.
29696 (stpcpy): Do not use BP_SYM in weak_alias.
29697 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29699 (PARMS): Do not use macros from bp-asm.h.
29703 (__stpncpy): Likewise. Do not use BP_SYM.
29704 (stpncpy): Do not use BP_SYM in weak_alias.
29705 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29706 (PARMS): Do not use macros from bp-asm.h.
29709 (strchr): Likewise. Do not use BP_SYM.
29710 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29712 (PARMS): Do not use macros from bp-asm.h.
29715 (__strchrnul): Likewise. Do not use BP_SYM.
29716 (strchrnul): Do not use BP_SYM in weak_alias.
29717 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29719 (PARMS): Do not use macros from bp-asm.h.
29721 (strcspn): Do not use BP_SYM.
29722 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29724 (PARMS): Do not use macros from bp-asm.h.
29727 (strpbrk): Likewise. Do not use BP_SYM.
29728 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29730 (PARMS): Do not use macros from bp-asm.h.
29733 (strrchr): Likewise. Do not use BP_SYM.
29734 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29735 (PARMS): Do not use macros from bp-asm.h.
29737 (strspn): Do not use BP_SYM.
29738 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29739 (PARMS): Do not use macros from bp-asm.h.
29743 (FUNCTION): Likewise. Do not use BP_SYM.
29744 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29746 (strtok_r): Likewise.
29747 (__GI___strtok_r): Likewise.
29748 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29749 (PARMS): Do not use macros from bp-asm.h.
29753 (__mpn_sub_n): Do not use BP_SYM.
29754 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29756 (PARMS): Do not use macros from bp-asm.h.
29759 (__mpn_submul_1): Do not use BP_SYM.
29760 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29762 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29764 (PARMS): Do not use macros from bp-asm.h.
29769 (__clone): Do not use BP_SYM.
29770 (clone): Do not use BP_SYM in weak_alias.
29771 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29773 (PARMS): Do not use macros from bp-asm.h.
29775 (__mmap64): Do not use BP_SYM.
29776 (mmap64): Do not use BP_SYM in weak_alias.
29777 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29778 <bp-sym.h> and <bp-asm.h>.
29779 (PARMS): Do not use macros from bp-asm.h.
29780 (__posix_fadvise64_l64): Do not use BP_SYM.
29781 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29782 (PARMS): Do not use macros from bp-asm.h.
29784 (semtimedop): Do not use BP_SYM.
29785 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29788 2013-02-21 Allan McRae <allan@archlinux.org>
29790 * manual/message.texi (Charset conversion in gettext):
29791 Move @end statement to beginning of line.
29793 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29800 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29801 (denorm): Likewise.
29802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29805 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29807 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29808 tail-call to the resolved function if pltexit isn't needed.
29810 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29813 or Y being zero as being unlikely.
29814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29817 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29819 * manual/nss.texi (System Databases and Name Service Switch):
29820 Remove frobnicate @pxref.
29822 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29824 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29825 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29827 2013-02-20 Petr Machata <pmachata@redhat.com>
29829 * elf/elf.h (R_ARM_TARGET1): New macro.
29830 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29831 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29832 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29833 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29834 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29835 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29836 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29837 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29838 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29839 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29840 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29841 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29842 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29843 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29844 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29845 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29846 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29847 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29848 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29849 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29850 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29851 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29852 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29853 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29854 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29855 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29856 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29857 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29858 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29859 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29860 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29861 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29862 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29863 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29864 (R_ARM_THM_GOT_BREL12): Likewise.
29865 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29866 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29867 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29868 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29869 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29870 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29871 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29872 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29873 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29875 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29877 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29878 __attribute_used__ to __attribute__ ((unused)).
29880 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29882 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29885 comment formatting.
29886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29888 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29891 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29893 (ENTER): Remove both macro definitions.
29895 (CHECK_BOUNDS_LOW): Likewise.
29896 (CHECK_BOUNDS_HIGH): Likewise.
29897 (CHECK_BOUNDS_BOTH): Likewise.
29898 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29899 (RETURN_BOUNDED_POINTER): Likewise.
29900 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29901 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29902 (POP_ERRNO_LOCATION_RETURN): Likewise.
29903 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29904 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29905 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29908 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29909 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29910 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29911 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29912 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29913 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29914 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29915 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29916 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29917 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29918 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29919 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29920 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29922 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29923 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29925 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29926 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29927 * sysdeps/i386/i586/memset.S (memset): Likewise.
29928 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29929 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29930 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29932 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29933 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29934 Change uses of L(2) to L(out).
29935 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29936 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29937 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29938 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29939 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29941 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29942 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29945 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29946 (RETURN): Do not use macro LEAVE.
29947 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29948 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29949 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29950 * sysdeps/i386/i686/memset.S (memset): Likewise.
29951 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29952 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29953 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29954 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29956 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29957 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29958 L(1_2) and L(1_3) into L(1).
29959 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29960 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29961 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29962 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29963 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29964 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29965 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29967 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29969 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29970 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29971 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29972 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29973 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29974 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29975 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29976 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29977 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29978 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29979 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29980 * sysdeps/i386/strspn.S (strspn): Likewise.
29981 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29983 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29984 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29985 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29986 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29987 L(1_3) into L(1_1).
29988 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29989 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29990 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29992 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29994 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29996 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29999 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30001 * math/atest-exp.c (exp_mpn): Remove ROUND.
30002 * math/atest-exp2.c (exp_mpn): Likewise.
30003 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30005 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30006 * stdlib/tst-tls-atexit-lib.c: Likewise.
30007 * stdlib/tst-tls-atexit.c: Likewise.
30009 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30011 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30012 and __attribute_alloc_size__.
30014 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30016 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30017 __attribute_alloc_size__.
30018 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30019 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30021 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30023 * include/programs/xmalloc.h: New file.
30024 * catgets/gencat.c: Include it.
30025 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30026 * elf/pldd.c: Likewise.
30027 * iconv/iconv_charmap.c: Likewise.
30028 * iconv/iconvconfig.c: Likewise.
30029 * iconv/strtab.c: Likewise.
30030 * locale/programs/locale.c: Likewise.
30031 * locale/programs/localedef.h: Likewise.
30032 * locale/programs/simple-hash.c: Likewise.
30033 * nscd/nscd.h: Likewise.
30034 * nss/makedb.c: Likewise.
30035 * sysdeps/generic/ldconfig.h: Likewise.
30037 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30039 * Versions.def: Add GLIBC_2.18.
30040 * include/link.h (struct link_map): New member l_tls_dtor_count.
30041 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30042 (__call_tls_dtors): Likewise.
30043 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30044 __cxa_thread_atexit_impl.
30045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30061 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30062 (tests): Add test case tst-tls-atexit.
30063 (modules-names): Add shared library for tst-tls-atexit.
30064 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30065 (GLIBC_PRIVATE): Add __call_tls_dtors.
30066 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30068 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30069 * stdlib/tst-tls-atexit.c: New test case.
30070 * stdlib/tst-tls-atexit-lib.c: New test case.
30072 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30074 * elf/Versions (ld): Add _dl_find_dso_for_object.
30075 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30076 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30077 (dl_open_worker): Use _dl_find_dso_for_object.
30078 * elf/dl-sym.c (do_sym): Likewise.
30079 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30081 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30083 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30084 Syntactic changes only.
30085 (_dl_runtime_profile): Do a tail-call to the resolved function.
30087 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30090 * sysdeps/x86_64/bp-asm.h: Remove file.
30091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30092 <bp-sym.h> and <bp-asm.h>.
30093 (__clone): Do not use BP_SYM.
30094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30095 <bp-sym.h> and <bp-asm.h>.
30096 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30097 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30099 (_setjmp): Do not use BP_SYM.
30100 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30102 (setjmp): Do not use BP_SYM.
30103 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30105 (mempcpy): Do not use BP_SYM in weak_alias.
30106 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30108 (strchr): Do not use BP_SYM.
30109 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30111 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30112 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30113 (_start): Do not use BP_SYM.
30114 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30116 (strcat): Do not use BP_SYM.
30117 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30119 (STRCMP): Do not use BP_SYM.
30120 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30122 (STRCPY): Do not use BP_SYM.
30123 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30125 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30127 (FUNCTION): Do not use BP_SYM.
30128 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30130 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30132 2013-02-17 Andreas Jaeger <aj@suse.de>
30134 * time/Versions: Sort entries.
30135 * string/Versions: Likewise.
30136 * resolv/Versions: Likewise.
30137 * posix/Versions: Likewise.
30138 * iconv/Versions: Likewise.
30139 * elf/Versions: Likewise.
30140 * wcsmbs/Versions: Likewise.
30142 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30144 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30145 loop termination condition.
30147 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30148 variable to calculate EZ.
30151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30152 the lower precision input.
30154 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30157 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30158 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30159 (run-via-rtld-prefix): Do not handle %-bp tests.
30160 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30161 (all-object-suffixes): Remove .ob.
30162 (bppfx): Remove variable.
30163 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30164 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30165 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30166 [$(build-bounded) = yes] (libtype.ob): Likewise.
30167 * Makerules (elide-routines.ob): Remove variable.
30168 (do-tests-clean): Do not handle *-bp.out.
30169 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30170 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30171 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30172 (tests): Do not include $(tests-bp.out).
30173 (xtests): Do not include $(xtests-bp.out).
30174 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30175 [$(build-bounded) = yes] ($(addprefix
30176 $(objpfx),$(binaries-bounded))): Remove rule.
30177 ($(objpfx)%-bp.out): Remove rule.
30178 * config.make.in (build-bounded): Remove variable.
30179 * crypt/Makefile [$(build-bounded) = yes]
30180 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30181 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30182 append to variable.
30183 [$(build-bounded) = yes] (install-lib): Likewise.
30184 [$(build-bounded) = yes] (generated): Likewise.
30185 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30187 * intl/Makefile [$(build-bounded) = yes]
30188 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30189 * math/Makefile [$(build-bounded) = yes]
30190 ($(tests:%=$(objpfx)%-bp): Likewise.
30191 * misc/Makefile [$(build-bounded) = yes]
30192 ($(objpfx)tst-tsearch-bp): Likewise.
30193 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30194 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30196 * string/Makefile (o-objects.ob): Remove variable.
30197 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30198 (CFLAGS-.ob): Remove variable.
30199 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30200 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30201 both definitions of variable.
30202 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30203 (ASFLAGS-.ob): Remove variable.
30205 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30208 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30209 Remove __BOUNDED_POINTERS__ from condition.
30210 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30211 * string/bits/string2.h [!__NO_STRING_INLINES &&
30212 !__BOUNDED_POINTERS__]: Likewise.
30213 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30215 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30216 Remove conditional code.
30217 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30218 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30219 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30223 * csu/libc-start.c: Do not include <bp-sym.h>.
30224 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30225 * elf/dl-open.c: Do not include <bp-sym.h>.
30226 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30227 * math/fegetenv.c: Do not include <bp-sym.h>.
30228 (fegetenv): Do not use BP_SYM in versioned symbols.
30229 * nptl/sysdeps/pthread/bits/libc-lockP.h
30230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30233 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30235 (__pthread_mutex_destroy): Likewise.
30236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30237 (__pthread_mutex_lock): Likewise.
30238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30239 (__pthread_mutex_trylock): Likewise.
30240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30241 (__pthread_mutex_unlock): Likewise.
30242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30243 (__pthread_mutexattr_init): Likewise.
30244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30245 (__pthread_mutexattr_destroy): Likewise.
30246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30247 (__pthread_mutexattr_settype): Likewise.
30248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30249 (__pthread_rwlock_init): Likewise.
30250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30251 (__pthread_rwlock_destroy): Likewise.
30252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30253 (__pthread_rwlock_rdlock): Likewise.
30254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30255 (__pthread_rwlock_tryrdlock): Likewise.
30256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30257 (__pthread_rwlock_wrlock): Likewise.
30258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30259 (__pthread_rwlock_trywrlock): Likewise.
30260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30261 (__pthread_rwlock_unlock): Likewise.
30262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30263 (__pthread_key_create): Likewise.
30264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30265 (__pthread_setspecific): Likewise.
30266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30267 (__pthread_getspecific): Likewise.
30268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30271 (_pthread_cleanup_push_defer): Likewise.
30272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30273 (_pthread_cleanup_pop_restore): Likewise.
30274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30275 (pthread_setcancelstate): Likewise.
30276 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30278 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30279 (memchr): Do not use BP_SYM in weak_alias.
30280 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30281 (fegetenv): Do not use BP_SYM in versioned symbols.
30282 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30283 (fesetenv): Do not use BP_SYM in versioned symbols.
30284 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30285 (feupdateenv): Do not use BP_SYM in versioned symbols.
30286 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30287 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30288 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30289 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30290 (open64): Do not use BP_SYM in weak_alias.
30291 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30292 (fegetenv): Do not use BP_SYM in versioned symbols.
30293 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30294 (fesetenv): Do not use BP_SYM in versioned symbols.
30295 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30296 (feupdateenv): Do not use BP_SYM in versioned symbols.
30297 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30298 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30299 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30300 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30301 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30302 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30305 (__libc_start_main): Do not use BP_SYM.
30307 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30310 redundant return line.
30312 (denorm): Likewise.
30313 (dbl_mp): Likewise.
30314 (sub_magnitudes): Likewise.
30320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30322 (denorm): Likewise.
30323 (dbl_mp): Likewise.
30324 (sub_magnitudes): Likewise.
30331 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30333 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30334 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30337 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30338 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30340 of __mul for squares.
30341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30345 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30346 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30348 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30351 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30353 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30354 prototype or function definition. Rename ubp_* variables and
30355 parameters. Remove argv definitions conditional on
30356 [__BOUNDED_POINTERS__].
30357 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30358 * elf/dl-runtime.c (_dl_fixup): Likewise.
30359 * include/set-hooks.h (RUN_HOOK): Likewise.
30360 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30362 * string/strcpy.c (strcpy): Do not use __unbounded.
30363 * sysdeps/generic/frame.h (struct layout): Likewise.
30364 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30365 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30366 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30367 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30368 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30369 (__backtrace): Likewise.
30370 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30372 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30373 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30374 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30376 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30377 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30378 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30379 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30380 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30381 Do not use __unbounded.
30382 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30383 Rename __unboundedrlimits parameter to rlimits in prototype.
30384 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30385 Do not use __unbounded.
30386 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30387 not use __ptrvalue.
30388 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30389 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30390 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30391 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30392 __ptrvalue or __unbounded.
30393 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30394 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30396 (__new_msgctl): Do not use __ptrvalue.
30397 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30399 (__libc_msgrcv): Do not use __ptrvalue.
30400 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30401 startup_info): Do not use __unbounded.
30402 (__libc_start_main): Likewise. Rename ubp_* variables and
30403 parameters. Remove argv definitions conditional on
30404 [__BOUNDED_POINTERS__].
30405 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30407 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30411 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30413 (__new_shmctl): Do not use __ptrvalue.
30414 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30415 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30417 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30419 (__libc_sigaction): Likewise.
30420 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30421 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30423 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30425 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30427 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30429 * string/mempcpy.c: Implement by calling memcpy.
30431 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30439 values in the mantissa.
30441 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30442 minimize writes to Z.
30443 (sub_magnitudes): Simplify code a bit.
30445 2013-02-12 Roland McGrath <roland@hack.frob.com>
30447 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30448 from the message. The linker prefixes all warnings with that already.
30450 2013-02-12 Andreas Schwab <schwab@suse.de>
30453 * posix/regexec.c (extend_buffers): Add parameter min_len.
30454 (check_matching): Pass minimum needed length.
30455 (clean_state_log_if_needed): Likewise.
30456 (get_subexp): Likewise.
30457 * posix/Makefile (tests): Add bug-regex34.
30458 (bug-regex34-ENV): Define.
30459 * posix/bug-regex34.c: New file.
30462 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30463 elements compare against the byte sequence of it, not its name.
30464 * posix/Makefile (tests): Add bug-regex35.
30465 (bug-regex35-ENV): Define.
30466 * posix/bug-regex35.c: New file.
30468 2013-02-11 Tom de Vries <tom@codesourcery.com>
30470 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30472 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30473 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30474 (CHECK_EOL): Add undef.
30476 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30478 * bits/stdlib-bsearch.h: New file.
30479 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30480 * stdlib/stdlib.h: Likewise.
30482 2013-02-11 Roland McGrath <roland@hack.frob.com>
30484 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30485 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30487 * manual/search.texi (Array Search Function): Add missing const in
30489 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30490 declaration to use rlim_t.
30491 (Basic Scheduling Functions): Remove erroneous const from
30492 sched_getparam prototype. Remove erroneous * from
30493 sched_get_priority_max and sched_get_priority_min prototypes.
30494 (Resource Usage): Fix summary @comment on vtimes to refer to
30495 sys/vtimes.h rather than vtimes.h.
30496 Add missing *s in vtimes prototype.
30497 (Limits on Resources): Fix ulimit prototype to return long int.
30498 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30499 prototypes to use long int rather than double.
30500 (BSD Random): Fix initstate and setstate to use char *, not void *.
30501 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30502 prototype to make second argument 'struct aiocb64 *const[]'.
30503 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30504 (Status of AIO Operations): Remove erroneous const in aio_return and
30505 aio_return64 prototypes.
30506 (Synchronizing I/O): Fix sync prototype to return void.
30507 * manual/startup.texi (Suboptions): Remove an erroneous const in
30508 getsubopt prototype.
30509 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30510 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30511 use size_t rather than int.
30512 (Scanning All Users): Likewise for getpwent_r.
30513 (Setting Groups): Add missing const to setgroups prototype.
30514 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30515 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30516 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30517 'const void *' rather than 'const char *'.
30518 (Host Address Functions): Likewise for inet_ntop.
30519 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30520 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30521 ssize_t for return value.
30522 (Sending Data): Likewise for send, sendto, sendmsg.
30523 (Socket Option Functions): Add a missing const in setsockopt prototype.
30524 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30525 use wchar_t for the argument.
30526 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30527 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30529 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30530 double/float/long double for second argument.
30531 Fix return types of significand, significandf, significandl.
30532 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30533 argument in fchmod prototype.
30534 (File Owner): Use uid_t and gid_t in fchown prototype.
30535 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30536 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30537 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30538 use 'const struct dirent **' as argument types to CMP function pointer
30540 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30541 (File Times): Fix summary magic @comment for struct utimbuf and utime
30542 to refer to utime.h, not time.h.
30543 * manual/string.texi (Argz Functions): Add missing const in
30544 argz_extract and argz_next prototypes.
30545 (Finding Tokens in a String): Likewise for basename.
30546 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30547 (Copying and Concatenation): Fix typo in wmemmove prototype.
30548 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30549 (Signal Stack): Remove erroneous const in sigstack prototype.
30550 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30552 (Simple Calendar Time): Likewise for stime.
30553 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30555 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30556 say sys/sysctl.h instead.
30557 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30558 and vsyslog prototypes.
30560 2013-02-11 Tom de Vries <tom@codesourcery.com>
30562 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30565 2013-02-11 Roland McGrath <roland@hack.frob.com>
30567 * misc/sys/mman.h: Fix typo in mremap comment.
30569 2013-02-08 Roland McGrath <roland@hack.frob.com>
30571 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30572 the '\0' terminator.
30574 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30577 * debug/segfault.c: Don't include <bp-checks.h>.
30578 * sysdeps/generic/bp-checks.h: Remove file.
30579 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30580 (__GETDENTS): Don't use CHECK_N.
30581 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30582 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30583 (__getgroups): Don't use CHECK_N.
30584 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30585 (setgroups): Don't use CHECK_N.
30586 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30587 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30588 (__libc_msgrcv): Don't use CHECK_N.
30589 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30590 (__libc_msgsnd): Don't use CHECK_N.
30591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30593 (__libc_pread): Don't use CHECK_N.
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30595 include <bp-checks.h>.
30596 (__libc_pread64): Don't use CHECK_N.
30597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30598 include <bp-checks.h>.
30599 (__libc_pwrite): Don't use CHECK_N.
30600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30601 include <bp-checks.h>.
30602 (__libc_pwrite64): Don't use CHECK_N.
30603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30605 (__libc_pread): Don't use CHECK_N.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30607 include <bp-checks.h>.
30608 (__libc_pread64): Don't use CHECK_N.
30609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30610 include <bp-checks.h>.
30611 (__libc_pwrite): Don't use CHECK_N.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30613 include <bp-checks.h>.
30614 (__libc_pwrite64): Don't use CHECK_N.
30615 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30616 (do_pread): Don't use CHECK_N.
30617 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30618 (do_pread64): Don't use CHECK_N.
30619 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30620 (do_pwrite): Don't use CHECK_N.
30621 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30622 (do_pwrite64): Don't use CHECK_N.
30623 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30624 (__libc_readv): Don't use CHECK_N.
30625 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30626 (semop): Don't use CHECK_N.
30627 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30629 (semtimedop): Don't use CHECK_N.
30630 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30631 (__libc_pread): Don't use CHECK_N.
30632 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30634 (__libc_pread64): Don't use CHECK_N.
30635 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30637 (__libc_pwrite): Don't use CHECK_N.
30638 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30640 (__libc_pwrite64): Don't use CHECK_N.
30641 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30643 (__libc_msgrcv): Don't use CHECK_N.
30644 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30645 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30646 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30647 (__libc_writev): Don't use CHECK_N.
30649 2013-02-08 Roland McGrath <roland@hack.frob.com>
30651 * string/strcpy.c: Removed unused variable.
30653 * Makeconfig (+sysdep-includes): Define with := rather than =.
30654 Use an existing include/ subdir of each sysdeps dir before it.
30656 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30658 * nscd/connection.c (register_traced_file): Comment function.
30659 [HAVE_INOTIFY] (union __inev): Define.
30660 [HAVE_INOTIFY] (inotify_check_files): New function.
30661 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30662 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30664 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30666 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30668 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30669 loaded if not already and that a failure is permanent.
30671 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30674 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30675 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30677 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30680 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30681 (CHECK_1_NULL_OK): Likewise.
30682 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30683 (__fxstat): Do not use CHECK_1.
30684 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30686 (___fxstat64): Do not use CHECK_1.
30687 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30689 (__fxstatat): Do not use CHECK_1.
30690 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30692 (__fxstatat64): Do not use CHECK_1.
30693 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30695 (__fxstat): Do not use CHECK_1.
30696 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30698 (__fxstatat): Do not use CHECK_1.
30699 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30701 (__getresgid): Do not use CHECK_1.
30702 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30704 (__getresuid): Do not use CHECK_1.
30705 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30707 (__lxstat): Do not use CHECK_1.
30708 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30710 (__old_msgctl): Do not use CHECK_1.
30711 (__new_msgctl): Likewise.
30712 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30714 (__new_setrlimit): Do not use CHECK_1.
30715 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30717 (__old_shmctl): Do not use CHECK_1.
30718 (__new_shmctl): Likewise.
30719 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30721 (__xstat): Do not use CHECK_1.
30722 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30723 (__lxstat): Do not use CHECK_1.
30724 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30726 (___lxstat64): Do not use CHECK_1.
30727 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30728 (__old_msgctl): Do not use CHECK_1.
30729 (__new_msgctl): Likewise.
30730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30732 (__gettimeofday): Do not use CHECK_1.
30733 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30734 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30735 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30737 (__gettimeofday): Do not use CHECK_1.
30738 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30739 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30740 (__new_shmctl): Do not use CHECK_1.
30741 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30743 (do_sigtimedwait): Do not use CHECK_1.
30744 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30746 (do_sigwaitinfo): Do not use CHECK_1.
30747 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30749 (msgctl): Do not use CHECK_1.
30750 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30752 (shmctl): Do not use CHECK_1.
30753 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30754 (ustat): Do not use CHECK_1.
30755 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30757 (__fxstat): Do not use CHECK_1.
30758 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30760 (__fxstatat): Do not use CHECK_1.
30761 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30763 (__lxstat): Do not use CHECK_1.
30764 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30766 (__xstat): Do not use CHECK_1.
30767 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30768 (__xstat): Do not use CHECK_1.
30769 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30770 (___xstat64): Do not use CHECK_1.
30773 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30775 (CHECK_BOUNDS_HIGH): Likewise.
30776 * string/strcpy.c: Do not include <bp-checks.h>.
30777 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30779 2013-02-07 Roland McGrath <roland@hack.frob.com>
30781 * nscd/nscd-client.h (__nscd_drop_map_ref):
30782 Add __attribute__ ((unused)).
30783 * nis/nss-nisplus.h (niserr2nss): Likewise.
30785 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30786 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30788 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30789 Remove inline keyword.
30790 * include/rounding-mode.h (round_away): Likewise.
30791 * libio/wfileops.c (adjust_wide_data): Likewise.
30792 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30793 (__m128i_strloadu_tolower): Likewise.
30794 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30795 (__m128i_strloadu_tolower): Likewise.
30796 * time/mktime.c (ydhms_diff): Likewise.
30797 * locale/elem-hash.h (elem_hash): Likewise.
30798 * locale/setlocale.c (setdata): Likewise.
30799 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30800 (re_string_wchar_at): Likewise.
30801 (bitset_not, bitset_merge, bitset_mask): Likewise.
30802 [!(__GNUC__ > 3)] (inline): Remove macro.
30803 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30804 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30805 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30806 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30807 * string/memcmp.c (memcmp_bytes): Likewise.
30808 * locale/programs/locarchive.c (compute_hashval): Likewise.
30809 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30810 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30811 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30812 * nss/getent.c (print_rpc, print_protocols): Likewise.
30813 (print_passwd, print_group, print_aliases): Likewise.
30814 * nis/nss-nisplus.h (niserr2nss): Likewise.
30815 * nscd/connections.c (restart_p): Likewise.
30816 Change return type to bool.
30818 2013-02-05 Roland McGrath <roland@hack.frob.com>
30820 * Makeconfig (all-Depend-files): Add existing
30821 $(sorted-subdirs:=/Depend) files.
30822 (all-subdirs): Remove nss.
30823 * sysdeps/unix/inet/Subdirs: Add it here instead.
30824 * hesiod/Depend: New file.
30826 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30827 instead of calling alloca.
30829 * io/lseek.c (__lseek): Rename to __libc_lseek.
30830 Define __lseek as an alias.
30832 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30834 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30836 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30837 else clause and remove check for non-standard endianness.
30839 2013-02-04 David S. Miller <davem@davemloft.net>
30841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30843 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30846 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30847 (__ubp_memchr): Remove prototype.
30848 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30849 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30850 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30851 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30852 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30854 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30855 (__ubp_memchr): Likewise.
30856 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30857 (__ubp_memchr): Likewise.
30858 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30859 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30860 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30861 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30863 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30864 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30865 (__getcwd): Do not use CHECK_STRING.
30866 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30868 (__real_chown): Do not use CHECK_STRING.
30869 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30871 (fchownat): Do not use CHECK_STRING.
30872 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30874 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30876 (__lchown): Do not use CHECK_STRING.
30877 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30878 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30879 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30880 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30882 include <bp-checks.h>.
30883 (truncate64): Do not use CHECK_STRING.
30884 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30886 (__real_chown): Do not use CHECK_STRING.
30887 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30889 (__lchown): Do not use CHECK_STRING.
30890 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30892 (__chown): Do not use CHECK_STRING.
30893 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30895 (truncate64): Do not use CHECK_STRING.
30896 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30898 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30899 (__xmknod): Do not use CHECK_STRING.
30900 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30902 (__xmknodat): Do not use CHECK_STRING.
30903 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30904 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30906 2013-02-04 Andreas Schwab <schwab@suse.de>
30909 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30910 * include/netdb.h: Likewise for h_errno.
30911 * elf/tst-stackguard1.c: Include <tls.h>.
30913 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30915 * elf/link.h (struct link_map): Extend the l_addr comment.
30916 * include/link.h (struct link_map): Likewise.
30918 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30921 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30922 (BOUNDED_1): Remove macro.
30923 * debug/backtrace.c: Don't include <bp-checks.h>.
30924 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30925 (__backtrace): Likewise.
30926 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30928 (__backtrace): Don't use BOUNDED_1.
30929 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30931 (__backtrace): Don't use BOUNDED_1.
30932 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30933 (__backtrace): Don't use BOUNDED_1.
30934 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30935 (shmat): Don't use BOUNDED_N.
30937 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30940 * sysdeps/generic/bp-start.h: Remove file.
30941 * csu/libc-start.c: Don't include <bp-start.h>.
30942 (LIBC_START_MAIN): Set up __environ directly instead of using
30943 INIT_ARGV_and_ENVIRON.
30944 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30948 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30950 (CHECK_FCNTL): Likewise.
30951 (CHECK_N_PAGES): Likewise.
30954 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30956 (CHECK_SIGSET_NULL_OK): Likewise.
30957 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30959 (sigpending): Don't use CHECK_SIGSET.
30960 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30962 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30963 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30965 (do_sigsuspend): Don't use CHECK_SIGSET.
30966 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30968 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30969 (do_sigwait): Don't use CHECK_SIGSET.
30970 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30973 include <bp-checks.h>.
30974 (sigpending): Don't use CHECK_SIGSET.
30975 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30976 include <bp-checks.h>.
30977 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30978 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30980 (sigpending): Don't use CHECK_SIGSET.
30981 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30983 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30986 * sysdeps/generic/bp-semctl.h: Remove file.
30987 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30988 <bp-checks.h> and <bp-semctl.h>.
30989 (__old_semctl): Don't use CHECK_SEMCTL.
30990 (__new_semctl): Likewise.
30991 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30993 (__old_semctl): Don't use CHECK_SEMCTL.
30994 (__new_semctl): Likewise.
30995 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30996 <bp-checks.h> and <bp-semctl.h>.
30997 (__old_semctl): Don't use CHECK_SEMCTL.
30998 (__new_semctl): Likewise.
30999 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31000 <bp-checks.h> and <bp-semctl.h>.
31001 (semctl): Don't use CHECK_SEMCTL.
31004 * Makerules (elide-bp-thunks): Remove variable.
31005 (elide-routines.oS): Don't use $(elide-bp-thunks).
31006 (elide-routines.os): Likewise.
31007 (elide-routines.o): Likewise.
31008 (elide-routines.op): Likewise.
31009 (elide-routines.og): Likewise.
31010 (objects): Don't use $(bp-thunks).
31011 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31013 (common-generated): Do not add s-proto-bp.d.
31014 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31017 Do not generate makefile rules for bounded-pointer thunks.
31018 * sysdeps/generic/bp-thunks.h: Remove file.
31019 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31020 * sysdeps/unix/s-proto-bp.S: Likewise.
31023 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31024 parts of result separately when argument is not close to line from
31025 -i to i and one part of argument is small.
31026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31028 * math/libm-test.inc (cacos_test): Add more tests.
31029 (casin_test): Likewise.
31030 (casinh_test): Likewise.
31031 * sysdeps/i386/fpu/libm-test-ulps: Update.
31032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31034 2013-01-31 David S. Miller <davem@davemloft.net>
31036 * po/de.po: Update from translation team.
31038 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31040 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31042 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31044 * configure.in (_AC_PROG_CC_C89): New definition.
31045 * configure: Regenerate.
31047 * configure.in (AC_PROG_CPP): New definition.
31048 * configure: Regenerate.
31050 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31052 * debug/tst-backtrace.h: New file.
31053 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31054 (ret): Remove variable.
31056 (FAIL): Remove macro.
31057 (NO_INLINE): Likewise.
31058 (fn1): Use match function instead of strstr.
31059 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31060 (ret): Remove variable.
31062 (FAIL): Remove macro.
31063 (NO_INLINE): Likewise.
31064 (fn): Use match function instead of strstr.
31065 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31066 (ret): Remove variable.
31068 (FAIL): Remove macro.
31069 (NO_INLINE): Likewise.
31070 (handle_signal): Use match function instead of strstr.
31071 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31072 (ret): Remove variable.
31074 (FAIL): Remove macro.
31075 (NO_INLINE): Likewise.
31076 (handle_signal): Use match function instead of strstr.
31078 2013-01-23 Roland McGrath <roland@hack.frob.com>
31080 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31082 2013-01-23 David S. Miller <davem@davemloft.net>
31084 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31085 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31086 argument of CAS if possible.
31087 * sysdeps/sparc/sparc64/bits/atomic.h
31088 (__arch_compare_and_exchange_val_32_acq): Likewise.
31089 (__arch_compare_and_exchange_val_64_acq): Likewise.
31091 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31093 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31094 * sysdeps/posix/ulimit.c: ... this.
31095 Include <limits.h>.
31096 * sysdeps/unix/bsd/ulimit.c: Remove file.
31098 2013-01-23 Adam Conrad <adconrad@0c3.net>
31100 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31101 (LDFLAGS-tst-array5): Likewise.
31103 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31106 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31107 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31108 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31109 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31111 2013-01-21 David S. Miller <davem@davemloft.net>
31113 * sysdeps/sparc/backtrace.c: New file.
31114 * sysdeps/sparc/sparc32/backtrace.h: New file.
31115 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31116 * sysdeps/sparc/sparc64/backtrace.h: New file.
31117 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31118 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31121 2013-01-21 Andreas Schwab <schwab@suse.de>
31124 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31127 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31133 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31134 Mark Mitchell <mark@codesourcery.com>
31135 Tom de Vries <tom@codesourcery.com>
31136 Paul Pluzhnikov <ppluzhnikov@google.com>
31138 * debug/tst-backtrace2.c: New file.
31139 * debug/tst-backtrace3.c: Likewise.
31140 * debug/tst-backtrace4.c: Likewise.
31141 * debug/tst-backtrace5.c: Likewise.
31142 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31143 (CFLAGS-tst-backtrace3.c): Likewise.
31144 (CFLAGS-tst-backtrace4.c): Likewise.
31145 (CFLAGS-tst-backtrace5.c): Likewise.
31146 (LDFLAGS-tst-backtrace2): Likewise.
31147 (LDFLAGS-tst-backtrace3): Likewise.
31148 (LDFLAGS-tst-backtrace4): Likewise.
31149 (LDFLAGS-tst-backtrace5): Likewise.
31150 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31151 tst-backtrace4 and tst-backtrace5.
31153 2013-01-18 Anton Blanchard <anton@samba.org>
31154 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31156 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31157 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31159 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31161 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31162 "+r" and remove output regs list as redundant. Add explicit inline
31163 asm to specify register of return val to work around compiler codegen
31164 bug. Remove (int) cast on return value. Add return type parameter to
31165 use in macro so that this macro does not truncate return value for
31167 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31168 pass to INTERNAL_VSYSCALL_NCS.
31169 (INLINE_VSYSCALL): Add 'long int' as return type to
31170 INTERNAL_VSYSCALL_NCS macro invocation.
31171 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31172 INTERNAL_VSYSCALL_NCS macro invocation.
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31175 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31178 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31179 Fix application of SIMD FP exception mask.
31181 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31182 mp_no from a power of two.
31183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31184 __mpexp_twomm1. Use __pow_mp.
31186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31189 2013-01-17 David S. Miller <davem@davemloft.net>
31191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31193 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31196 * include/complex.h: Condition contents on [!_COMPLEX_H].
31197 (__kernel_casinhf): New prototype.
31198 (__kernel_casinh): Likewise.
31199 (__kernel_casinhl): Likewise.
31200 * math/Makefile (libm_calls): Add k_casinh.
31201 * math/k_casinh.c: New file.
31202 * math/k_casinhf.c: Likewise.
31203 * math/k_casinhl.c: Likewise.
31204 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31205 finite nonzero arguments.
31206 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31207 finite nonzero arguments.
31208 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31209 finite nonzero arguments.
31210 * math/s_casinh.c: Do not include <float.h>.
31211 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31212 * math/s_casinhf.c: Do not include <float.h>.
31213 (__casinhf): Move code for finite nonzero arguments to
31215 * math/s_casinhl.c: Do not include <float.h>.
31216 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31218 (__casinhl): Move code for finite nonzero arguments to
31220 * math/libm-test.inc (cacos_test): Add more tests.
31221 * sysdeps/i386/fpu/libm-test-ulps: Update.
31222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31224 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31226 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31227 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31228 [!HAVE_MREMAP]: Remove [defined linux] case.
31229 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31231 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31233 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31235 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31237 * elf/elf.h (R_386_SIZE32): New relocation.
31238 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31240 (elf_machine_rela): Likewise.
31241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31242 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31244 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31246 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31247 (FP_FAST_FMA): Do not define.
31248 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31249 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31250 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31251 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31252 !_SOFT_FLOAT]: Likewise.
31253 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31254 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31257 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31260 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31261 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31264 2013-01-16 Andreas Schwab <schwab@suse.de>
31267 * include/stdlib.h (__mktemp): Add declaration.
31268 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31269 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31271 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31273 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31275 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31276 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31277 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31279 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31280 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31282 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31284 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31285 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31286 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31288 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31289 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31291 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31293 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31295 2013-01-15 David S. Miller <davem@davemloft.net>
31297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31298 trunc{,f} to libm-sysdep_routes.
31299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31309 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31310 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31311 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31312 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31313 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31314 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31317 nearbyint{,f} to libm-sysdep_routes.
31318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31329 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31335 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31336 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31339 libc_feholdexcept and libc_fesetenv.
31341 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31343 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31345 2013-01-14 David S. Miller <davem@davemloft.net>
31347 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31348 (SPARC_ASM_VIS2_IFUNC): Likewise.
31349 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31351 use of 'siam' instruction.
31352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31385 routines to libm-sysdep_routines.
31386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31389 fdim/fdimf to libm-sysdep_routines.
31390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31398 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31399 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31400 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31401 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31403 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31405 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31406 to optimize copies.
31408 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31413 local variable MPTWO.
31414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31417 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31419 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31422 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31424 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31426 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31428 * manual/pattern.texi (glob_t): Document gl_flags.
31429 (glob64_t): Likewise.
31431 2013-01-11 David S. Miller <davem@davemloft.net>
31433 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31434 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31435 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31436 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31437 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31438 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31439 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31440 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31441 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31442 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31443 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31444 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31445 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31447 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31448 sparc V9 rather than using V8 code.
31449 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31450 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31452 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31454 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31457 2013-01-11 Roland McGrath <roland@hack.frob.com>
31459 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31460 not in the main loop.
31461 * configure: Regenerated.
31463 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31465 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31466 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31468 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31469 [!__GLIBC_HAVE_LONG_LONG] case.
31470 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31471 condition to just #else.
31472 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31473 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31474 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31475 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31477 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31478 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31479 #elif condition to just #else.
31480 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31481 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31482 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31483 #elif condition to just #else.
31485 2013-01-11 Steve Ellcey <sellcey@mips.com>
31487 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31488 (EF_MIPS_ARCH_64): Fix value.
31489 (EF_MIPS_ARCH_32R2): New.
31490 (EF_MIPS_ARCH_64R2): New.
31492 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31494 * Makeconfig (+link-pie-before-libc): New.
31495 (+link-pie-after-libc): Likewise.
31496 (+link-pie-tests): Likewise.
31497 (+link-pie): Rewritten.
31498 (link-before-libc): Remove $(config-LDFLAGS).
31499 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31500 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31501 (config-LDFLAGS): Renamed to ...
31502 (rtld-LDFLAGS): This.
31503 (rtld-tests-LDFLAGS): New macro.
31504 (link-libc-rpath-link): Likewise.
31505 (link-libc-tests-rpath-link): Likewise.
31506 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31507 (link-libc): Prepand $(link-libc-rpath-link).
31508 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31509 (test-program-prefix): New macro.
31510 (test-via-rtld-prefix): Likewise.
31511 (test-program-cmd): Likewise.
31512 (host-test-program-cmd): Likewise.
31513 * Makefile ($(common-objpfx)testrun.sh): Replace
31514 $(run-program-prefix) with $(test-program-prefix).
31515 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31517 ($(common-objpfx)shlib.lds): Likewise.
31518 (build-module-helper): Likewise.
31519 ($(common-objpfx)format.lds): Likewise.
31520 * Rules (binaries-pie-tests): New.
31521 (binaries-pie-notests): Likewise.
31522 (binaries-pie): Rewritten.
31523 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31524 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31525 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31526 (make-test-out): Replace $(host-built-program-cmd) with
31527 $(host-test-program-cmd).
31528 * config.make.in (build-hardcoded-path-in-tests): New variable.
31529 * configure.in (--enable-hardcoded-path-in-tests): New configure
31531 (hardcoded_path_in_tests): New AC_SUBST.
31532 * configure: Regenerated.
31533 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31534 $(built-program-cmd) with $(test-program-cmd).
31535 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31536 (test_program_cmd): This.
31537 * elf/Makefile ($(objpfx)order.out): Run test with
31538 $(test-program-prefix).
31539 ($(objpfx)order2.out): Likewise.
31540 ($(objpfx)tst-initorder.out): Likewise.
31541 ($(objpfx)tst-initorder2.out): Likewise.
31542 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31543 $(test-program-cmd).
31544 ($(objpfx)tst-array1-static.out): Likewise.
31545 ($(objpfx)tst-array2.out): Likewise.
31546 ($(objpfx)tst-array3.out): Likewise.
31547 ($(objpfx)tst-array4.out): Likewise.
31548 ($(objpfx)tst-array5.out): Likewise.
31549 ($(objpfx)tst-array5-static.out): Likewise.
31550 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31551 $(test-program-cmd).
31552 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31553 $(run-program-prefix) with $(test-program-prefix).
31554 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31555 (test_program_prefix): This.
31556 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31557 $(run-program-prefix) with $(test-program-prefix).
31558 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31559 (test_program_prefix): This.
31560 * iconvdata/tst-tables.sh: Likewise.
31561 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31562 $(run-program-prefix) with $(test-program-prefix).
31563 ($(objpfx)tst-translit.out): Likewise.
31564 ($(objpfx)tst-gettext2.out): Likewise.
31565 ($(objpfx)tst-gettext4.out): Likewise.
31566 ($(objpfx)tst-gettext6.out): Likewise.
31567 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31568 (test_program_prefix): This.
31569 * intl/tst-gettext2.sh: Likewise.
31570 * intl/tst-gettext4.sh Likewise.
31571 * intl/tst-gettext6.sh: Likewise.
31572 * intl/tst-translit.sh: Likewise.
31573 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31574 with $(test-program-cmd).
31575 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31576 $(run-program-prefix) with $(test-program-prefix).
31577 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31578 (test_program_prefix): This.
31579 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31580 $(run-program-prefix) with $(test-program-prefix).
31581 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31582 (test_program_prefix): This.
31583 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31584 * posix/Makefile ($(objpfx)globtest.out): Replace
31585 $(run-via-rtld-prefix) and $(test-wrapper) with
31586 $(test-program-prefix) and $(test-via-rtld-prefix).
31587 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31588 $(test-program-prefix).
31589 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31590 $(host-test-program-cmd).
31591 (tst-spawn-ARGS): Likewise.
31592 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31593 $(test-program-prefix).
31594 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31595 (test_via_rtld_prefix): This.
31596 (test_wrapper): Renamed to ...
31597 (test_program_prefix): This.
31598 (run_program_prefix): Replaced by test_program_prefix.
31599 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31600 (test_program_prefix): This.
31601 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31602 with $(host-test-program-cmd).
31603 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31604 $(run-program-prefix) with $(test-program-prefix).
31605 ($(objpfx)tst-printf.out): Likewise.
31606 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31607 $(test-program-cmd).
31608 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31609 (test_program_prefix): This.
31610 * stdio-common/tst-unbputc.sh: Likewise.
31611 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31612 $(run-program-prefix) with $(test-program-prefix).
31613 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31614 (test_program_prefix): This.
31615 * string/Makefile ($(objpfx)tst-svc.out): Replace
31616 $(built-program-cmd) with $(test-program-cmd).
31618 2013-01-11 Andreas Jaeger <aj@suse.de>
31621 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31622 value. Sync with Linux 3.7.
31624 2013-01-10 David S. Miller <davem@davemloft.net>
31626 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31627 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31628 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31630 2013-01-10 Roland McGrath <roland@hack.frob.com>
31632 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31634 * configure: Regenerated.
31636 2013-01-10 David S. Miller <davem@davemloft.net>
31638 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31639 sparc V9 rather than using V8 code.
31640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31643 2013-01-10 Roland McGrath <roland@hack.frob.com>
31645 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31646 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31647 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31648 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31649 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31650 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31651 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31652 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31653 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31654 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31655 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31656 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31657 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31658 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31659 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31660 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31661 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31662 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31663 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31664 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31665 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31666 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31667 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31668 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31669 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31670 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31671 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31673 2013-01-10 David S. Miller <davem@davemloft.net>
31675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31677 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31679 * posix/Makefile (tests-static): New variable.
31680 (tests): Add $(tests-static).
31681 (tst-exec-static-ARGS): New variable.
31682 (tst-spawn-static-ARGS): Likewise.
31683 * posix/tst-exec-static.c: New file.
31684 * posix/tst-spawn-static.c: Likewise.
31685 * posix/tst-exec.c: Support run directly.
31686 * posix/tst-spawn.c: Likewise.
31688 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31690 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31692 * math/bits/mathcalls.h (llrint): Likewise.
31693 (llround): Likewise.
31694 * stdlib/stdlib.h (struct drand48_data): Likewise.
31695 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31696 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31697 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31701 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31702 (elf_greg_t): Likewise.
31703 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31704 (__jmp_buf): Likewise.
31705 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31707 (llrint): Likewise, for all definitions.
31708 (llrintl): Likewise.
31710 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31711 Remove [__GNUC__] condition.
31712 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31713 condition to just [__USE_ISOC99].
31714 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31716 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31719 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31720 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31722 (_POSIX_V6_ILP32_OFF32): Likewise.
31723 (_XBS5_ILP32_OFF32): Likewise.
31724 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31725 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31727 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31729 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31732 doubles __mpexp_twomm1. Adjust usage.
31733 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31736 2013-01-10 Andreas Schwab <schwab@suse.de>
31739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31740 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31742 2013-01-09 David S. Miller <davem@davemloft.net>
31745 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31746 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31747 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31748 (TCP_FASTOPEN): Define.
31749 (tcp_repair_opt): New structure.
31750 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31752 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31753 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31754 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31755 (tcp_cookie_transactions): New structure.
31757 2013-01-09 Anton Blanchard <anton@samba.org>
31759 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31760 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31761 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31762 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31764 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31766 * include/features.h (__USE_ANSI): Remove.
31768 2013-01-09 Roland McGrath <roland@hack.frob.com>
31770 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31772 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31774 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31776 * sysdeps/s390/fpu/libm-test-ulps: Update.
31778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31780 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31784 (denorm): Likewise.
31785 (__mp_dbl): Likewise.
31786 (__dbl_mp): Likewise.
31787 (add_magnitudes): Likewise.
31788 (sub_magnitudes): Likewise.
31794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31798 (denorm): Likewise.
31799 (__mp_dbl): Likewise.
31800 (__dbl_mp): Likewise.
31801 (add_magnitudes): Likewise.
31802 (sub_magnitudes): Likewise.
31808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31812 (denorm): Likewise.
31813 (__mp_dbl): Likewise.
31814 (__dbl_mp): Likewise.
31815 (add_magnitudes): Likewise.
31816 (sub_magnitudes): Likewise.
31823 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31825 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31826 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31827 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31828 2 && __USE_EXTERN_INLINES]: Likewise.
31830 2013-01-08 Andreas Jaeger <aj@suse.de>
31833 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31835 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31836 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31838 2013-01-07 Anton Blanchard <anton@samba.org>
31840 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31841 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31842 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31843 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31844 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31845 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31846 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31847 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31849 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31850 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31851 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31852 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31855 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31856 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31858 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31860 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31863 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31864 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31865 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31866 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31867 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31869 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31870 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31873 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31874 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31875 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31876 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31879 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31880 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31882 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31884 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31886 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31887 (__MALLOC_PMT): Likewise.
31888 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31889 [__GNUC__], only on [_LIBC].
31890 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31891 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31892 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31893 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31894 forward declaration.
31895 (realloc_hook_ini): Likewise.
31896 (memalign_hook_ini): Likewise.
31897 (__libc_memalign): Do not use __MALLOC_PMT in variable
31899 (__libc_valloc): Likewise.
31900 (__libc_pvalloc): Likewise.
31901 (__libc_calloc): Likewise.
31902 (__posix_memalign): Likewise.
31905 * math/s_casinh.c: Include <float.h>.
31906 (__casinh): Do not do computation with squaring and square root
31907 for large arguments.
31908 * math/s_casinhf.c: Include <float.h>.
31909 (__casinhf): Do not do computation with squaring and square root
31910 for large arguments.
31911 * math/s_casinhl.c: Include <float.h>.
31912 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31913 (__casinhl): Do not do computation with squaring and square root
31914 for large arguments.
31915 * math/libm-test.inc (casin_test): Add more tests.
31916 (casinh_test): Likewise.
31917 * sysdeps/i386/fpu/libm-test-ulps: Update.
31918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31920 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31922 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31923 (__x86_64_raw_data_cache_size): Likewise.
31924 (__x86_64_data_cache_size_half): Likewise.
31925 (__x86_64_raw_data_cache_size_half): Likewise.
31926 (__x86_64_shared_cache_size): Likewise.
31927 (__x86_64_raw_shared_cache_size): Likewise.
31928 (__x86_64_shared_cache_size_half): Likewise.
31929 (__x86_64_raw_shared_cache_size_half): Likewise.
31930 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31932 (__x86_data_cache_size): This.
31933 (__x86_64_raw_data_cache_size): Renamed to ...
31934 (__x86_raw_data_cache_size): This.
31935 (__x86_64_data_cache_size_half): Renamed to ...
31936 (__x86_data_cache_size_half): This.
31937 (__x86_64_raw_data_cache_size_half): Renamed to ...
31938 (__x86_raw_data_cache_size_half): This.
31939 (__x86_64_shared_cache_size): Renamed to ...
31940 (__x86_shared_cache_size): This.
31941 (__x86_64_raw_shared_cache_size): Renamed to ...
31942 (__x86_raw_shared_cache_size): This.
31943 (__x86_64_shared_cache_size_half): Renamed to ...
31944 (__x86_shared_cache_size_half): This.
31945 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31946 (__x86_raw_shared_cache_size_half): This.
31947 * sysdeps/x86_64/memcpy.S: Updated.
31948 * sysdeps/x86_64/memset.S: Likewise.
31949 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31950 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31951 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31953 2013-01-04 David S. Miller <davem@davemloft.net>
31955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31957 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31959 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31960 1 to avoid redefinition warning.
31961 (__USE_GNU): Don't define.
31962 (init_signaling_nan): Protoize.
31964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31966 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31968 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31970 (__cpymn): Likewise.
31971 (norm): Remove commented code.
31972 (denorm): Likewise.
31973 (__mp_dbl): Likewise.
31975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31976 (__cpymn): Likewise.
31977 (norm): Remove commented code.
31978 (denorm): Likewise.
31979 (__mp_dbl): Likewise.
31982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31983 mp_no value for 1.0 and 2.0.
31984 (norm): Use RADIXI instead of radixi.d.
31985 (denorm): Likewise.
31986 (__mul): Use 0.0 instead of zero.d.
31987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31988 mp_no value for 1.0 and 2.0.
31989 (norm): Use RADIXI instead of radixi.d.
31990 (denorm): Likewise.
31991 (__mul): Use 0.0 instead of zero.d.
31993 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31996 * math/s_casinh.c (__casinh): Reduce finite argument to first
31997 quadrant then set signs of results at the end.
31998 * math/s_casinhf.c (__casinhf): Likewise.
31999 * math/s_casinhl.c (__casinhl): Likewise.
32000 * math/libm-test.inc (casin_test): Add more tests.
32001 (casinh_test): Likewise.
32002 * sysdeps/i386/fpu/libm-test-ulps: Update.
32003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32005 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32007 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32009 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32011 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32013 (denorm): Likewise.
32014 (__mp_dbl): Likewise.
32017 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32018 and adjust the header comment.
32020 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32021 variable name from declaration.
32023 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32026 Initialize COMMON_CPUID_INDEX_7 element.
32027 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32028 (CPUID_RTM): Likewise.
32029 (HAS_RTM): Likewise.
32030 (COMMON_CPUID_INDEX_7): New enum.
32032 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32035 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32036 size is zero, record memory as freed.
32038 2013-01-03 Andreas Jaeger <aj@suse.de>
32040 * po/ia.po: Add new Interlingua translation.
32042 2012-01-03 Allan McRae <allan@archlinux.org>
32044 * locale/programs/localedef.c: Fix description of '--posix' flag.
32046 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32048 * NEWS: Update dates in second copyright notice.
32049 * README: Update copyright dates in example.
32050 * manual/libc.texinfo: Update copyright dates.
32051 * scripts/test-installation.pl: Update copyright date in --version
32054 * hurd/ctty-input.c: Fix copyright notice formatting.
32055 * hurd/ctty-output.c: Likewise.
32056 * hurd/dtable.c: Likewise.
32057 * hurd/hurd-raise.c: Likewise.
32058 * hurd/hurdprio.c: Likewise.
32059 * hurd/msgportdemux.c: Likewise.
32060 * misc/sys/file.h: Likewise.
32061 * misc/sys/ioctl.h: Likewise.
32062 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32063 * sysdeps/mach/hurd/chdir.c: Likewise.
32064 * sysdeps/mach/hurd/fchdir.c: Likewise.
32065 * sysdeps/mach/hurd/rename.c: Likewise.
32066 * sysdeps/mach/hurd/rmdir.c: Likewise.
32067 * sysdeps/mach/hurd/seekdir.c: Likewise.
32068 * sysdeps/mach/hurd/setsid.c: Likewise.
32069 * sysdeps/posix/wait3.c: Likewise.
32071 * All files with FSF copyright notices: Update copyright dates
32072 using scripts/update-copyrights.
32073 * intl/plural.c: Regenerated.
32074 * locale/programs/charmap-kw.h: Likewise.
32075 * locale/programs/locfile-kw.h: Likewise.
32077 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32079 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32083 calculation loop and add branch prediction.
32085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32086 check access beyond bounds of m1np.
32088 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32090 (__inv): Remove local variable MPTWO to use the global
32092 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32095 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32096 MP3HALFS static const.
32098 2013-01-01 David S. Miller <davem@davemloft.net>
32100 * po/ca.po: Update from translation team.
32102 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32104 * scripts/update-copyrights: New file.
32105 * Makeconfig: Reformat copyright notice.
32106 * ctype/ctype.h: Likewise.
32107 * debug/swprintf_chk.c: Likewise.
32108 * elf/dl-cache.c: Likewise.
32109 * elf/dl-debug.c: Likewise.
32110 * elf/dl-object.c: Likewise.
32111 * grp/initgroups.c: Likewise.
32112 * hurd/Makefile: Likewise.
32113 * hurd/hurd/signal.h: Likewise.
32114 * hurd/hurdfault.c: Likewise.
32115 * hurd/hurdioctl.c: Likewise.
32116 * hurd/hurdlookup.c: Likewise.
32117 * hurd/intr-msg.c: Likewise.
32118 * iconv/gconv_open.c: Likewise.
32119 * libio/swprintf.c: Likewise.
32120 * locale/lc-ctype.c: Likewise.
32121 * locale/nl_langinfo.c: Likewise.
32122 * mach/Machrules: Likewise.
32123 * mach/Makefile: Likewise.
32124 * malloc/obstack.h: Likewise.
32125 * manual/Makefile: Likewise.
32126 * manual/tsort.awk: Likewise.
32127 * misc/bits/stab.def: Likewise.
32128 * nis/nis_print_group_entry.c: Likewise.
32129 * nis/nis_table.c: Likewise.
32130 * nis/nss_compat/compat-pwd.c: Likewise.
32131 * nis/nss_compat/compat-spwd.c: Likewise.
32132 * po/Makefile: Likewise.
32133 * posix/fnmatch.c: Likewise.
32134 * posix/regex.h: Likewise.
32135 * resolv/Makefile: Likewise.
32136 * resolv/nss_dns/dns-network.c: Likewise.
32137 * resolv/res_hconf.c: Likewise.
32138 * scripts/gen-sorted.awk: Likewise.
32139 * soft-fp/soft-fp.h: Likewise.
32140 * stdio-common/printf.h: Likewise.
32141 * stdlib/monetary.h: Likewise.
32142 * stdlib/random.c: Likewise.
32143 * stdlib/random_r.c: Likewise.
32144 * sysdeps/generic/Makefile: Likewise.
32145 * sysdeps/gnu/Makefile: Likewise.
32146 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32153 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32156 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32157 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32158 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32159 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32161 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32162 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32169 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32170 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32171 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32172 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32173 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32174 * sysdeps/mach/hurd/errnos.awk: Likewise.
32175 * sysdeps/mach/hurd/fork.c: Likewise.
32176 * sysdeps/mach/hurd/getcwd.c: Likewise.
32177 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32178 * sysdeps/mach/hurd/mmap.c: Likewise.
32179 * sysdeps/mach/hurd/utimes.c: Likewise.
32180 * sysdeps/mach/hurd/xmknod.c: Likewise.
32181 * sysdeps/posix/profil.c: Likewise.
32182 * sysdeps/posix/readdir_r.c: Likewise.
32183 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32184 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32185 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32186 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32188 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32189 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32192 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32193 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32194 * sysdeps/pthread/lio_listio.c: Likewise.
32195 * sysdeps/sparc/dl-procinfo.h: Likewise.
32196 * sysdeps/unix/i386/sysdep.S: Likewise.
32197 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32198 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32199 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32200 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32202 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32203 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32204 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32205 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32206 * sysdeps/wordsize-32/divdi3.c: Likewise.
32207 * time/sys/time.h: Likewise.
32208 * wcsmbs/Makefile: Likewise.
32210 2013-01-01 David S. Miller <davem@davemloft.net>
32212 * po/fr.po: Update from translation team.
32214 * catgets/gencat.c: Update copyright year.
32215 * csu/version.c: Likewise.
32216 * debug/catchsegv.sh: Likewise.
32217 * debug/pcprofiledump.c: Likewise.
32218 * debug/xtrace.sh: Likewise.
32219 * elf/ldconfig.c: Likewise.
32220 * elf/ldd.bash.in: Likewise.
32221 * elf/pldd.c: Likewise.
32222 * elf/sotruss.ksh: Likewise.
32223 * elf/sprof.c: Likewise.
32224 * iconv/iconv_prog.c: Likewise.
32225 * iconv/iconvconfig.c: Likewise.
32226 * locale/programs/locale.c: Likewise.
32227 * locale/programs/localedef.c: Likewise.
32228 * login/programs/pt_chown.c: Likewise.
32229 * malloc/memusage.sh: Likewise.
32230 * malloc/memusagestat.c: Likewise.
32231 * malloc/mtrace.pl: Likewise.
32232 * nscd/nscd.c: Likewise.
32233 * nss/getent.c: Likewise.
32234 * nss/makedb.c: Likewise.
32235 * posix/getconf.c: Likewise.
32237 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32239 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32242 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32244 * math/bits/mathcalls.h (modf): Use __nonnull.
32246 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32248 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32249 (split): Use macro CN instead of the bare value.
32250 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32253 instead of the bare value.
32254 (power1): Likewise.
32256 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32258 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32260 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32262 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32264 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32265 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32266 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32267 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32269 2012-12-28 Andreas Jaeger <aj@suse.de>
32271 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32272 values are from Linux 3.7.
32274 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32275 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32277 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32279 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32284 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32285 variables with preprocessor constants.
32286 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32287 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32290 2012-12-27 Bruno Haible <bruno@clisp.org>
32293 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32296 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32299 and use variable directly.
32300 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32302 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32304 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32309 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32310 include directive. Remove local variable MPONE.
32311 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32312 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32313 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32315 2012-12-25 David S. Miller <davem@davemloft.net>
32317 * version.h (RELEASE): Set to "development".
32318 (VERSION): Set to "2.17.90".
32319 * NEWS: Add 2.18 section.
32321 2012-12-21 David S. Miller <davem@davemloft.net>
32323 * po/hr.po: Update from translation team.
32325 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32327 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32329 2012-12-19 Steve Ellcey <sellcey@mips.com>
32331 * NEWS: Mention new memcpy for MIPS.
32333 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32335 * manual/contrib.texi (Contributors): Spelling correction.
32337 2012-12-15 David S. Miller <davem@davemloft.net>
32339 * po/ru.po: Update from translation team.
32341 2012-12-13 David S. Miller <davem@davemloft.net>
32343 * NEWS: Mention IFUNC testsuite enhancements.
32345 * po/pl.po: Update from translation team.
32346 * po/bg.po: Likewise.
32348 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32349 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32351 2012-12-11 David S. Miller <davem@davemloft.net>
32353 * po/sv.po: Update from translation team.
32355 * po/vi.po: Update from translation team.
32357 * po/cs.po: Update from translation team.
32359 * po/de.po: Update from translation team.
32360 * po/eo.po: Likewise.
32361 * po/nl.po: Likewise.
32363 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32366 * manual/argp.texi (Argp Helper Functions): Move node to follow
32367 Argp Parsing State.
32370 * manual/conf.texi (Limits on File System Capacity): Mention if
32371 terminating null is included in the max size.
32373 2012-12-10 Andreas Jaeger <aj@suse.de>
32375 * po/cs.po: Update from translation team.
32377 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32379 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32380 void pointer and cast to uintptr_t.
32381 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32383 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32384 * sysdeps/s390/s390-64/memset.S: Likewise.
32386 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32389 * menual/message.texi (Message Translation): Fix typos.
32390 (Helper programs for gettext): Likewise.
32392 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32395 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32398 2012-12-07 David S. Miller <davem@davemloft.net>
32400 * po/libc.pot: Update.
32402 2012-12-07 Richard Henderson <rth@redhat.com>
32405 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32406 normal/normal case to before the switch.
32407 (_FP_DIV): Likewise.
32409 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32410 Mike Frysinger <vapier@gentoo.org>
32412 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32413 check for __NR_fadvise64_64.
32415 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32417 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32418 0, not just to plain "0" as a statement.
32419 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32422 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32424 * NEWS: Use sourceware.org in Bugzilla URL.
32426 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32429 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32431 * stdio-common/tst-put-error.c (do_test): Add newline to the
32432 padded test to ensure flush.
32434 2012-12-05 Jeff Law <law@redhat.com>
32436 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32438 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32440 * README: Don't refer to ports add-on as distributed separately.
32441 Mention AArch64 in list of systems supported in the ports add-on.
32443 * LICENSES: Add more non-FSF copyright and license notices.
32445 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32448 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32450 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32451 10000 as width of padded output.
32453 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32455 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32457 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32458 variable LX with __attribute__ ((unused)).
32459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32461 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32464 with __attribute__ ((unused)).
32466 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32468 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32470 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32472 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32473 (CFLAGS-nldbl-acos.c): New variable.
32474 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32475 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32476 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32477 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32478 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32479 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32480 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32481 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32482 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32483 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32484 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32485 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32486 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32487 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32488 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32489 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32490 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32491 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32492 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32493 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32494 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32495 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32496 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32497 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32498 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32499 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32500 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32501 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32502 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32503 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32504 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32505 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32506 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32507 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32508 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32509 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32510 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32511 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32512 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32513 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32514 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32515 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32516 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32517 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32518 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32519 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32520 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32521 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32522 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32523 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32524 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32525 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32526 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32527 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32528 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32529 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32530 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32531 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32532 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32533 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32534 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32535 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32536 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32537 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32538 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32539 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32540 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32541 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32542 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32543 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32544 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32545 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32546 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32547 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32548 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32549 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32550 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32551 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32552 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32553 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32554 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32555 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32556 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32557 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32558 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32559 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32560 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32561 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32562 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32563 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32564 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32565 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32566 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32567 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32568 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32569 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32570 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32573 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32577 whole low double instead of just low 47 bits when splitting values
32580 2012-12-03 Allan McRae <allan@archlinux.org>
32582 * manual/stdio.texi (Predefined Printf Handlers): Remove
32583 @hsep and @vsep usage.
32585 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32587 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32588 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32590 2012-12-03 Jeff Law <law@redhat.com>
32592 * time/sys/time.h (settimeofday): Do not mark TV argument
32595 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32597 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32598 when currently writing and seek to current position when not.
32599 * libio/Makefile (tests): Remove bug-fclose1.
32600 * libio/bug-fclose1.c: Delete.
32602 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32604 * manual/arith.texi (feenableexcept): Fix typo.
32605 (fedisableexcept): Likewise.
32607 2012-11-30 Roland McGrath <roland@hack.frob.com>
32609 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32610 second, differently-typed declaration, rather than a cast.
32612 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32614 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32615 * include/rpc/svc.h: ... here.
32617 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32620 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32621 depending n and resplen2 to catch cases where answer
32624 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32626 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32627 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32629 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32633 2012-11-29 Roland McGrath <roland@hack.frob.com>
32635 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32637 2012-11-28 Jeff Law <law@redhat.com>
32640 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32641 dataset_temporary. Track alloca usage into alloca_used.
32642 If dataset is large allocate and release it via malloc/free.
32644 2012-06-04 Florian Weimer <fweimer@redhat.com>
32647 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32649 2012-11-28 David S. Miller <davem@davemloft.net>
32651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32653 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32656 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32657 of pi/2 rounded to nearest to 64 bits.
32658 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32659 nearest to 64 bits.
32660 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32663 2012-11-28 Jeff Law <law@redhat.com>
32664 Martin Osvald <mosvald@redhat.com>
32667 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32668 * sunrpc/svc.c: Include time.h.
32669 (__svc_accept_failed): New function.
32670 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32671 any reason other than EINTR, call __svc_accept_failed.
32672 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32673 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32675 2012-11-28 Andreas Schwab <schwab@suse.de>
32677 * scripts/abilist.awk: Also handle indirect functions in .opd
32680 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32683 * sysdeps/x86/fpu/powl_helper.c: New file.
32684 * sysdeps/x86/fpu/Makefile: Likewise.
32685 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32687 (__ieee754_powl): Use __powl_helper for finite arguments except
32688 integer exponents below 8.
32689 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32691 (__ieee754_powl): Use __powl_helper for finite arguments except
32692 integer exponents below 8.
32693 * math/libm-test.inc (pow_test): Add more tests and enable some
32694 previously disabled tests.
32695 * sysdeps/i386/fpu/libm-test-ulps: Update.
32696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32698 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32699 Carlos O'Donell <carlos_odonell@mentor.com>
32701 * nss/makedb.c (is_prime): Assert that input is odd and greater
32702 than 4. Note that fact in a comment too.
32703 (next_prime): Add 4 to input.
32705 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32708 * libio/Makefile (tests): Add test case tst-fwrite-error.
32709 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32710 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32711 * libio/tst-fwrite-error.c: New test case.
32713 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32715 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32716 before casting to void *.
32717 * include/libc-internal.h (__pointer_type): New macro.
32718 (__integer_if_pointer_type_sub): Likewise.
32719 (__integer_if_pointer_type): Likewise.
32720 (cast_to_integer): Likewise.
32721 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32722 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32723 before casting to atomic64_t.
32724 (atomic_exchange_acq): Likewise.
32725 (__arch_exchange_and_add_body): Likewise.
32726 (__arch_add_body): Likewise.
32727 (atomic_add_negative): Likewise.
32728 (atomic_add_zero): Likewise.
32730 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32732 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32733 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32734 (add_fdes): Likewise.
32735 (linear_search_fdes): Likewise.
32736 (binary_search_unencoded_fdes): Likewise.
32738 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32740 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32742 2012-11-24 Adam Conrad <adconrad@0c3.net>
32744 * configure.in: Autodetect C++ header directories.
32745 * configure: Regenerated.
32747 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32749 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32751 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32755 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32757 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32758 LDBL_MANT_DIG == 106]: Disable some tests.
32759 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32761 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32765 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32766 input for small inputs. Return +/- pi/2 for large inputs.
32767 * math/libm-test.inc (atan_test): Add more tests.
32769 * sysdeps/generic/unwind-dw2-fde-glibc.c
32770 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32771 __attribute__ ((unused)).
32774 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32775 x * y if x and y are nonzero and z is zero.
32778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32779 nonzero exponents with absolute value below 0x1p-117 to +/-
32783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32784 up arguments below 2**-450, not just those below 2**-500.
32785 * math/libm-test.inc (hypot_test): Add another test.
32788 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32789 Return a+b for ratio over 2**120, not 2**60.
32790 * math/libm-test.inc (hypot_test): Add another test.
32792 * math/libm-test.inc (clog_test): Use
32793 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32794 (clog10_test): Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32799 2012-11-22 Andreas Schwab <schwab@suse.de>
32801 * sysdeps/i386/fpu/libm-test-ulps: Update.
32803 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32805 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32806 printf output with newline.
32808 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32811 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32812 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32813 -z nodlopen, -z initfirst and -z execstack support.
32814 * configure: Regenerated.
32816 * elf/elf.h (DF_1_NODIRECT): New macro.
32817 (DF_1_IGNMULDEF): Likewise.
32818 (DF_1_NOKSYMS): Likewise.
32819 (DF_1_NOHDR): Likewise.
32820 (DF_1_EDITED): Likewise.
32821 (DF_1_NORELOC): Likewise.
32822 (DF_1_SYMINTPOSE): Likewise.
32823 (DF_1_GLOBAUDIT): Likewise.
32824 (DF_1_SINGLETON): Likewise.
32825 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32826 DT_1_SUPPORTED_MASK bits.
32827 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32829 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32831 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32833 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32835 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32838 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32839 (sendmmsg): Move declarations...
32840 * socket/sys/socket.h: ... here.
32841 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32842 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32844 * socket/recvmmsg.c: ... this new file.
32845 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32846 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32847 definition of __sendmmsg hidden.
32848 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32849 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32850 Move ENOSYS stub into and include it from...
32851 * socket/sendmmsg.c: ... this new file.
32852 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32853 (sysdep_routines): Move recvmmsg and sendmmsg...
32854 * socket/Makefile (routines): ... here.
32855 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32856 (GLIBC_PRIVATE): Add __sendmmsg.
32857 * include/sys/socket.h (__sendmmsg): Add declarations.
32858 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32861 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32864 variable I1 with __attribute__ ((unused)).
32865 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32867 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32869 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32870 DUMMY variables with __attribute__ ((unused)).
32872 * bits/byteswap.h: Include <bits/types.h>.
32873 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32875 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32877 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32878 string_t. Do not manually set errno.
32879 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32880 length with __strnlen. Make sure to both set errno and return it on
32883 2012-11-19 David S. Miller <davem@davemloft.net>
32885 With help from Joseph Myers.
32886 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32887 very large arguments properly.
32888 * math/libm-test.inc (atan_test): New tests.
32889 (atan2_test): New tests.
32890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32893 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32896 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32899 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32900 [POSIX] (EADDRNOTAVAIL): Likewise.
32901 [POSIX] (EAFNOSUPPORT): Likewise.
32902 [POSIX] (EALREADY): Likewise.
32903 [POSIX] (ECONNABORTED): Likewise.
32904 [POSIX] (ECONNREFUSED): Likewise.
32905 [POSIX] (ECONNRESET): Likewise.
32906 [POSIX] (EDESTADDRREQ): Likewise.
32907 [POSIX] (EDQUOT): Likewise.
32908 [POSIX] (EHOSTUNREACH): Likewise.
32909 [POSIX] (EIDRM): Likewise.
32910 [POSIX] (EISCONN): Likewise.
32911 [POSIX] (ELOOP): Likewise.
32912 [POSIX] (EMULTIHOP): Likewise.
32913 [POSIX] (ENETDOWN): Likewise.
32914 [POSIX] (ENETUNREACH): Likewise.
32915 [POSIX] (ENOBUFS): Likewise.
32916 [POSIX] (ENODATA): Likewise.
32917 [POSIX] (ENOLINK): Likewise.
32918 [POSIX] (ENOMSG): Likewise.
32919 [POSIX] (ENOPROTOOPT): Likewise.
32920 [POSIX] (ENOSR): Likewise.
32921 [POSIX] (ENOSTR): Likewise.
32922 [POSIX] (ENOTCONN): Likewise.
32923 [POSIX] (ENOTSOCK): Likewise.
32924 [POSIX] (EOPNOTSUPP): Likewise.
32925 [POSIX] (EOVERFLOW): Likewise.
32926 [POSIX] (EPROTO): Likewise.
32927 [POSIX] (EPROTONOSUPPORT): Likewise.
32928 [POSIX] (EPROTOTYPE): Likewise.
32929 [POSIX] (ESTALE): Likewise.
32930 [POSIX] (ETIME): Likewise.
32931 [POSIX] (ETXTBSY): Likewise.
32932 [POSIX] (EWOULDBLOCK): Likewise.
32933 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32934 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32935 [POSIX] (SEEK_CUR): Likewise.
32936 [POSIX] (SEEK_END): Likewise.
32937 [POSIX || UNIX98] (mode_t): Do not require.
32938 [POSIX] (off_t): Likewise.
32939 [POSIX] (pid_t): Likewise.
32940 [POSIX] (sys/stat.h): Do not allow header.
32941 [POSIX] (unistd.h): Likewise.
32942 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32943 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32944 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32945 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32947 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32948 sigevent): Specify elements.
32949 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32951 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32952 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32954 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32955 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32956 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32957 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32958 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32959 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32960 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32961 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32962 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32963 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32964 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32965 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32966 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32967 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32975 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32976 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32977 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32978 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32980 Specify lower bound on value.
32981 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32986 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32987 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32988 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32990 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32992 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32996 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32997 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32998 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32999 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33000 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33001 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33007 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33009 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33011 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33020 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33023 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33024 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33029 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33030 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33031 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33032 specify as optional.
33033 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33034 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33035 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33036 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33037 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33038 [XPG3] (NL_LANGMAX): Likewise.
33039 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33040 [POSIX || XPG3] (NL_NMAX): Likewise.
33041 [POSIX || XPG3] (NL_SETMAX): Likewise.
33042 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33043 [XPG3] (NZERO): Likewise.
33044 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33045 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33046 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33047 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33048 (REG_ERANGE): Expect.
33049 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33051 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33052 Use (void) in prototype.
33053 [POSIX] (*_t): Allow.
33054 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33055 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33056 (WRDE_BADVAL): Expect.
33058 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33060 [XPG3 || XPG4] (O_RSYNC): Likewise.
33061 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33063 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33064 [XPG3 || XPG4] (sigqueue): Likewise.
33065 [XPG3 || XPG4] (sigtimedwait): Likewise.
33066 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33067 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33068 [XPG3 || XPG4] (vsnprintf): Likewise.
33069 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33071 [XPG3 || XPG4] (blksize_t): Likewise.
33072 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33074 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33075 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33076 [XPG3 || XPG4] (struct itimerspec): Likewise.
33077 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33078 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33079 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33080 [XPG3 || XPG4] (clockid_t): Likewise.
33081 [XPG3 || XPG4] (timer_t): Likewise.
33082 [XPG3 || XPG4] (clock_getres): Likewise.
33083 [XPG3 || XPG4] (clock_gettime): Likewise.
33084 [XPG3 || XPG4] (clock_settime): Likewise.
33085 [XPG3 || XPG4] (nanosleep): Likewise.
33086 [XPG3 || XPG4] (timer_create): Likewise.
33087 [XPG3 || XPG4] (timer_delete): Likewise.
33088 [XPG3 || XPG4] (timer_gettime): Likewise.
33089 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33090 [XPG3 || XPG4] (timer_settime): Likewise.
33091 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33092 [XPG3 || XPG4] (getlogin_r): Likewise.
33093 [XPG3 || XPG4] (pread): Likewise.
33094 [XPG3 || XPG4] (pthread_atfork): Likewise.
33095 [XPG3 || XPG4] (pwrite): Likewise.
33098 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33101 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33103 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33104 finalizing MALLSTREAM.
33106 * sysdeps/mach/hurd/syncfs.c: New file.
33108 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33112 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33113 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33114 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33115 (_nss_dns_gethostbyname4_r): Likewise.
33116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33117 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33119 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33122 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33124 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33126 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33127 * elf/cache.c (print_entry): Print ",AArch64" for
33130 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33131 * elf/cache.c (print_entry): Print ",hard-float" for
33134 2012-11-18 David S. Miller <davem@davemloft.net>
33136 With help from Joseph Myers.
33137 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33139 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33141 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33142 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33145 * math/libm-test.inc (y0_test): New tests.
33146 (y1_test): New tests.
33147 * sysdeps/i386/fpu/libm-test-ulps: Update.
33148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33151 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33153 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33155 * configure: Regenerated.
33157 2012-11-17 David S. Miller <davem@davemloft.net>
33160 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33161 nonzero exponents with absolute value below 0x1p-128 to +/-
33164 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33166 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33168 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33170 * posix/getconf-speclist.c: New file.
33171 * posix/posix-envs.def: Likewise.
33172 * posix/confstr.c (START_ENV_GROUP): New macro.
33173 (END_ENV_GROUP): Likewise.
33174 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33175 (KNOWN_PRESENT_ENV_STRING): Likewise.
33176 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33177 (UNKNOWN_ENVIRONMENT): Likewise.
33178 (confstr): Include posix-envs.def instead of handling
33179 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33180 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33181 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33182 (END_ENV_GROUP): Likewise.
33183 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33184 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33185 (UNKNOWN_ENVIRONMENT): Likewise.
33186 (__sysconf): Include posix-envs.def instead of handling associated
33187 cases directly here.
33188 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33189 preprocessing getconf-speclist.c rather than running getconf or
33190 generating empty file.
33192 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33194 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33196 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33199 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33201 2012-11-16 David S. Miller <davem@davemloft.net>
33203 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33204 smaller than LDBL_EPSILON/2.0L, just return xm1.
33206 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33208 * elf/tst-array1.c (init): Set constructor priority to 1000.
33209 (fini): Set destructor priority to 1000.
33210 * elf/tst-array2dep.c: Likewise.
33212 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33215 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33216 (_IO_new_file_xsputn): Also return EOF if none of the input
33217 data was written when overflow failed.
33218 * libio/iopadn.c (_IO_padn): Likewise.
33219 * libio/iowpadn.c (_IO_wpadn): Likewise.
33220 * stdio-common/tst-put-error.c: Add copyright notice.
33221 (do_test): Add case for printing padded string.
33222 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33223 _IO_padn returned error.
33224 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33225 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33228 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33230 * libio/libioP.h: Add comment note that the references to C++
33231 bits are now obsolete.
33233 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33235 * math/libm-test.inc (check_complex): Use asprintf.
33237 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33239 * debug/pcprofiledump.c (print_version): Update copyright year.
33240 * malloc/memusagestat.c (print_version): Likewise.
33242 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33245 * elf/Makefile (tests): Add tst-audit8.
33246 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33247 ($(objpfx)tst-audit8.out): New target.
33248 (tst-audit8-ENV): New variable.
33249 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33250 audit if l_reloc_result is NULL.
33251 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33252 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33253 * elf/tst-audit8.c: New file.
33255 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33257 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33258 * misc/Makefile (CFLAGS-select.c): Define.
33259 * posix/Makefile (CFLAGS-pause.c): Define.
33261 2012-11-13 David S. Miller <davem@davemloft.net>
33263 * crypt/Makefile: Move test targets after toplevel Rules
33264 inclusion. Grab any necessary sysdep routines when linking.
33265 * crypt/md5.c (md5_process_block): Remove define, we will always
33266 name it __md5_process_block.
33267 (md5_finish_ctx): Update md5_process_block call.
33268 (md5_stream): Likewise.
33269 (md5_process_bytes): Likewise.
33270 (md5_process_block): Rename to __md5_process_block and move to ...
33271 * crypt/md5-block.c: ... here.
33272 * crypt/sha256.c (sha256_process_block): Move to ...
33273 * crypt/sha256-block.c: ... here.
33274 * crypt/sha512.c (sha512_process_block): Move to ...
33275 * crypt/sha512-block.c: ... here.
33276 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33278 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33279 * sysdeps/sparc/sparc64/multiarch/Makefile
33280 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33282 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33285 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33286 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33287 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33288 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33289 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33290 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33291 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33292 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33293 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33300 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33302 * timezone/tzselect.ksh: Update from tzcode git revision
33303 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33304 * timezone/zdump.c: Likewise.
33305 * timezone/zic.c: Likewise.
33306 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33307 in TZVERSION setting, not $(PKGVERSION).
33308 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33309 REPORT_BUGS_TO settings.
33312 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33315 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33317 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33318 detection to immediately after _FP_ROUND().
33319 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33322 2012-11-11 David S. Miller <davem@davemloft.net>
33324 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33326 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33327 __close rather than their public counterparts.
33329 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33331 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33333 [UNIX98] (sem_timedwait): Do not expect.
33334 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33335 [XPG4 || UNIX98] (sockatmark): Do not expect.
33336 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33337 (clock_getcpuclockid): Do not expect.
33338 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33339 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33341 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33342 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33343 [UNIX98] (vwscanf): Likewise.
33344 [UNIX98] (vswscanf): Likewise.
33346 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33348 * timezone/version.h: Remove file.
33349 * timezone/README: Do not refer to version.h.
33350 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33351 $(objpfx)version.h.
33352 ($(objpfx)zdump.o): Likewise.
33353 ($(objpfx)version.h): New target.
33355 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33357 * timezone/README: Don't mention modification to tzselect.ksh.
33358 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33359 work on unmodified tzselect.ksh. Substitute version numbers in
33362 * Makefile (format-me): Remove.
33363 (INSTALL): Adjust indentation. Use commands directly instead of
33364 using $(format-me).
33366 * aclocal.m4 (ACX_PKGVERSION): New macro.
33367 (ACX_BUGURL): Likewise.
33368 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33369 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33370 (REPORT_BUGS_TO): Likewise.
33371 * configure: Regenerated.
33372 * config.h.in (PKGVERSION): New macro.
33373 (REPORT_BUGS_TO): Likewise.
33374 * config.make.in (PKGVERSION): New variable.
33375 (PKGVERSION_TEXI): Likewise.
33376 (REPORT_BUGS_TO): Likewise.
33377 (REPORT_BUGS_TEXI): Likewise.
33378 * Makefile (format-me): Use -I$(common-objpfx)manual.
33379 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33380 ($(common-objpfx)manual/%): New target.
33381 (manual/%): Remove target.
33382 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33383 (print_version): Use PKGVERSION.
33384 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33385 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33386 and REPORT_BUGS_TO.
33387 ($(objpfx)xtrace): Likewise.
33388 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33389 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33390 (print_version): Use PKGVERSION.
33391 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33392 (do_version): Use PKGVERSION.
33393 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33395 (common-ldd-rewrite): Likewise.
33396 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33397 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33398 (print_version): Use PKGVERSION.
33399 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33400 * elf/pldd.c (argp_program_bug_address): Remove variable.
33401 (more_help): New function.
33402 (argp): Use more_help.
33403 (print_version): Use PKGVERSION.
33404 * elf/sln.c (main): Use PKGVERSION.
33405 (usage): Use REPORT_BUGS_TO.
33406 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33407 (top level): Use PKGVERSION.
33408 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33409 (print_version): Use PKGVERSION.
33410 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33411 (print_version): Use PKGVERSION.
33412 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33413 (print_version): Use PKGVERSION.
33414 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33415 (print_version): Use PKGVERSION.
33416 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33417 (print_version): Use PKGVERSION.
33418 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33419 (print_version): Use PKGVERSION.
33420 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33422 ($(objpfx)memusage): Likewise.
33423 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33424 (do_version): Use PKGVERSION.
33425 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33426 (print_version): Use PKGVERSION.
33427 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33428 ($PKGVERSION): New variable.
33429 ($REPORT_BUGS_TO): Likewise.
33430 (usage): Use $REPORT_BUGS_TO.
33431 (top level): Use $PKGVERSION.
33432 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33433 ($(objpfx)pkgvers.texi): New rule.
33434 ($(objpfx)stamp-pkgvers): Likewise.
33435 * manual/install.texi: Include pkgvers.texi.
33436 (--with-pkgversion): Document new configure option.
33437 (--with-bugurl): Likewise.
33438 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33439 than necessarily for this particular distribution. Use
33440 REPORT_BUGS_TO for where to report bugs.
33441 * INSTALL: Regenerated.
33442 * manual/libc.texinfo: Include pkgvers.texi.
33443 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33444 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33445 (print_version): Use PKGVERSION.
33446 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33447 (print_version): Use PKGVERSION.
33448 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33449 (print_version): Use PKGVERSION.
33450 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33451 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33453 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33454 (print_version): Use PKGVERSION.
33455 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33456 (print_version): Use PKGVERSION.
33457 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33460 * timezone/checktab.awk: Update from tzcode 2012i.
33461 * timezone/ialloc.c: Likewise.
33462 * timezone/private.h: Likewise.
33463 * timezone/scheck.c: Likewise.
33464 * timezone/tzfile.h: Likewise.
33465 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33466 (TZVERSION): Hardcode tzcode version number.
33467 * timezone/zdump.c: Update from tzcode 2012i.
33468 * timezone/zic.c: Likewise.
33469 * timezone/version.h: New file.
33470 * timezone/README: Describe version.h. Update upstream location.
33473 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33474 (mktemp): Enable declaration.
33475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33492 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33493 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33494 for copies of such integer values.
33495 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33496 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33498 2012-11-09 Andreas Jaeger <aj@suse.de>
33500 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33501 definitions and declarations that are provided by
33502 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33504 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33506 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33507 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33508 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33511 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33513 * elf/elf.h: Update comment before AArch64 relocations.
33515 2012-11-07 David S. Miller <davem@davemloft.net>
33517 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33518 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33519 (__start_context): Declare.
33520 (__makecontext_ret): Delete.
33521 (__makecontext): Hook up __start_context instead of
33523 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33524 (sysdep_routines): Add __start_context when in stdlib.
33526 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33528 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33529 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33530 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33532 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33533 (READELF): New variable. Use it instead of hardcoded "readelf".
33535 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33537 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33538 * sysdeps/x86/Makefile: Here.
33539 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33540 * sysdeps/x86/tst-xmmymm.sh: This.
33542 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33544 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33546 [UNIX98] (pthread_barrier_t): Do not expect.
33547 [UNIX98] (pthread_barrierattr_t): Likewise.
33548 [UNIX98] (pthread_spinlock_t): Likewise.
33549 [UNIX98] (pthread_barrier_destroy): Likewise.
33550 [UNIX98] (pthread_barrier_init): Likewise.
33551 [UNIX98] (pthread_barrier_wait): Likewise.
33552 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33553 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33554 [UNIX98] (pthread_barrierattr_init): Likewise.
33555 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33556 [UNIX98] (pthread_getcpuclockid): Likewise.
33557 [UNIX98] (pthread_mutex_timedlock): Likewise.
33558 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33559 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33560 [UNIX98] (pthread_sigmask): Likewise.
33561 [UNIX98] (pthread_spin_destroy): Likewise.
33562 [UNIX98] (pthread_spin_init): Likewise.
33563 [UNIX98] (pthread_spin_lock): Likewise.
33564 [UNIX98] (pthread_spin_trylock): Likewise.
33565 [UNIX98] (pthread_spin_unlock): Likewise.
33566 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33568 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33569 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33570 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33571 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33572 [XPG3 || XPG4] (pthread_key_t): Likewise.
33573 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33574 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33575 [XPG3 || XPG4] (pthread_once_t): Likewise.
33576 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33577 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33578 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33579 [XPG3 || XPG4] (pthread_t): Likewise.
33581 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33583 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33585 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33586 Change function return type to int.
33588 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33589 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33590 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33591 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33592 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33593 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33594 [!POSIX] (posix_madvise): Likewise.
33595 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33597 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33598 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33599 (mode_t): Likewise.
33600 (posix_mem_offset): Likewise.
33601 (posix_typed_mem_get_info): Likewise.
33602 (posix_typed_mem_open): Likewise.
33604 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33605 Change condition to [XOPEN2K8].
33607 * conform/conformtest.pl: Preprocess allow-header data with -x c
33608 instead of from stdin.
33609 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33610 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33611 [C99-based standards] (cerfc): Likewise.
33612 [C99-based standards] (cexp2): Likewise.
33613 [C99-based standards] (cexpm1): Likewise.
33614 [C99-based standards] (clog10): Likewise.
33615 [C99-based standards] (clog1p): Likewise.
33616 [C99-based standards] (clog2): Likewise.
33617 [C99-based standards] (clgamma): Likewise.
33618 [C99-based standards] (ctgamma): Likewise.
33619 [C99-based standards] (cerff): Likewise.
33620 [C99-based standards] (cerfcf): Likewise.
33621 [C99-based standards] (cexp2f): Likewise.
33622 [C99-based standards] (cexpm1f): Likewise.
33623 [C99-based standards] (clog10f): Likewise.
33624 [C99-based standards] (clog1pf): Likewise.
33625 [C99-based standards] (clog2f): Likewise.
33626 [C99-based standards] (clgammaf): Likewise.
33627 [C99-based standards] (ctgammaf): Likewise.
33628 [C99-based standards] (cerfl): Likewise.
33629 [C99-based standards] (cerfcl): Likewise.
33630 [C99-based standards] (cexp2l): Likewise.
33631 [C99-based standards] (cexpm1l): Likewise.
33632 [C99-based standards] (clog10l): Likewise.
33633 [C99-based standards] (clog1pl): Likewise.
33634 [C99-based standards] (clog2l): Likewise.
33635 [C99-based standards] (clgammal): Likewise.
33636 [C99-based standards] (ctgammal): Likewise.
33637 * conform/data/inttypes.h-data [C99-based standards]: Include
33638 stdint.h-data. Remove all expectations for stdint.h contents.
33639 [C99-based standards] (PRI*): Do not allow.
33640 [C99-based standards] (SCN*): Likewise.
33641 [C99-based standards] (*_t): Likewise.
33642 [C99-based-standards] (PRId8): Expect macro.
33643 [C99-based-standards] (PRIi8): Likewise.
33644 [C99-based-standards] (PRIo8): Likewise.
33645 [C99-based-standards] (PRIu8): Likewise.
33646 [C99-based-standards] (PRIx8): Likewise.
33647 [C99-based-standards] (PRIX8): Likewise.
33648 [C99-based-standards] (SCNd8): Likewise.
33649 [C99-based-standards] (SCNi8): Likewise.
33650 [C99-based-standards] (SCNo8): Likewise.
33651 [C99-based-standards] (SCNu8): Likewise.
33652 [C99-based-standards] (SCNx8): Likewise.
33653 [C99-based-standards] (PRIdLEAST8): Likewise.
33654 [C99-based-standards] (PRIiLEAST8): Likewise.
33655 [C99-based-standards] (PRIoLEAST8): Likewise.
33656 [C99-based-standards] (PRIuLEAST8): Likewise.
33657 [C99-based-standards] (PRIxLEAST8): Likewise.
33658 [C99-based-standards] (PRIXLEAST8): Likewise.
33659 [C99-based-standards] (SCNdLEAST8): Likewise.
33660 [C99-based-standards] (SCNiLEAST8): Likewise.
33661 [C99-based-standards] (SCNoLEAST8): Likewise.
33662 [C99-based-standards] (SCNuLEAST8): Likewise.
33663 [C99-based-standards] (SCNxLEAST8): Likewise.
33664 [C99-based-standards] (PRIdFAST8): Likewise.
33665 [C99-based-standards] (PRIiFAST8): Likewise.
33666 [C99-based-standards] (PRIoFAST8): Likewise.
33667 [C99-based-standards] (PRIuFAST8): Likewise.
33668 [C99-based-standards] (PRIxFAST8): Likewise.
33669 [C99-based-standards] (PRIXFAST8): Likewise.
33670 [C99-based-standards] (SCNdFAST8): Likewise.
33671 [C99-based-standards] (SCNiFAST8): Likewise.
33672 [C99-based-standards] (SCNoFAST8): Likewise.
33673 [C99-based-standards] (SCNuFAST8): Likewise.
33674 [C99-based-standards] (SCNxFAST8): Likewise.
33675 [C99-based-standards] (PRId16): Likewise.
33676 [C99-based-standards] (PRIi16): Likewise.
33677 [C99-based-standards] (PRIo16): Likewise.
33678 [C99-based-standards] (PRIu16): Likewise.
33679 [C99-based-standards] (PRIx16): Likewise.
33680 [C99-based-standards] (PRIX16): Likewise.
33681 [C99-based-standards] (SCNd16): Likewise.
33682 [C99-based-standards] (SCNi16): Likewise.
33683 [C99-based-standards] (SCNo16): Likewise.
33684 [C99-based-standards] (SCNu16): Likewise.
33685 [C99-based-standards] (SCNx16): Likewise.
33686 [C99-based-standards] (PRIdLEAST16): Likewise.
33687 [C99-based-standards] (PRIiLEAST16): Likewise.
33688 [C99-based-standards] (PRIoLEAST16): Likewise.
33689 [C99-based-standards] (PRIuLEAST16): Likewise.
33690 [C99-based-standards] (PRIxLEAST16): Likewise.
33691 [C99-based-standards] (PRIXLEAST16): Likewise.
33692 [C99-based-standards] (SCNdLEAST16): Likewise.
33693 [C99-based-standards] (SCNiLEAST16): Likewise.
33694 [C99-based-standards] (SCNoLEAST16): Likewise.
33695 [C99-based-standards] (SCNuLEAST16): Likewise.
33696 [C99-based-standards] (SCNxLEAST16): Likewise.
33697 [C99-based-standards] (PRIdFAST16): Likewise.
33698 [C99-based-standards] (PRIiFAST16): Likewise.
33699 [C99-based-standards] (PRIoFAST16): Likewise.
33700 [C99-based-standards] (PRIuFAST16): Likewise.
33701 [C99-based-standards] (PRIxFAST16): Likewise.
33702 [C99-based-standards] (PRIXFAST16): Likewise.
33703 [C99-based-standards] (SCNdFAST16): Likewise.
33704 [C99-based-standards] (SCNiFAST16): Likewise.
33705 [C99-based-standards] (SCNoFAST16): Likewise.
33706 [C99-based-standards] (SCNuFAST16): Likewise.
33707 [C99-based-standards] (SCNxFAST16): Likewise.
33708 [C99-based-standards] (PRId32): Likewise.
33709 [C99-based-standards] (PRIi32): Likewise.
33710 [C99-based-standards] (PRIo32): Likewise.
33711 [C99-based-standards] (PRIu32): Likewise.
33712 [C99-based-standards] (PRIx32): Likewise.
33713 [C99-based-standards] (PRIX32): Likewise.
33714 [C99-based-standards] (SCNd32): Likewise.
33715 [C99-based-standards] (SCNi32): Likewise.
33716 [C99-based-standards] (SCNo32): Likewise.
33717 [C99-based-standards] (SCNu32): Likewise.
33718 [C99-based-standards] (SCNx32): Likewise.
33719 [C99-based-standards] (PRIdLEAST32): Likewise.
33720 [C99-based-standards] (PRIiLEAST32): Likewise.
33721 [C99-based-standards] (PRIoLEAST32): Likewise.
33722 [C99-based-standards] (PRIuLEAST32): Likewise.
33723 [C99-based-standards] (PRIxLEAST32): Likewise.
33724 [C99-based-standards] (PRIXLEAST32): Likewise.
33725 [C99-based-standards] (SCNdLEAST32): Likewise.
33726 [C99-based-standards] (SCNiLEAST32): Likewise.
33727 [C99-based-standards] (SCNoLEAST32): Likewise.
33728 [C99-based-standards] (SCNuLEAST32): Likewise.
33729 [C99-based-standards] (SCNxLEAST32): Likewise.
33730 [C99-based-standards] (PRIdFAST32): Likewise.
33731 [C99-based-standards] (PRIiFAST32): Likewise.
33732 [C99-based-standards] (PRIoFAST32): Likewise.
33733 [C99-based-standards] (PRIuFAST32): Likewise.
33734 [C99-based-standards] (PRIxFAST32): Likewise.
33735 [C99-based-standards] (PRIXFAST32): Likewise.
33736 [C99-based-standards] (SCNdFAST32): Likewise.
33737 [C99-based-standards] (SCNiFAST32): Likewise.
33738 [C99-based-standards] (SCNoFAST32): Likewise.
33739 [C99-based-standards] (SCNuFAST32): Likewise.
33740 [C99-based-standards] (SCNxFAST32): Likewise.
33741 [C99-based-standards] (PRId64): Likewise.
33742 [C99-based-standards] (PRIi64): Likewise.
33743 [C99-based-standards] (PRIo64): Likewise.
33744 [C99-based-standards] (PRIu64): Likewise.
33745 [C99-based-standards] (PRIx64): Likewise.
33746 [C99-based-standards] (PRIX64): Likewise.
33747 [C99-based-standards] (SCNd64): Likewise.
33748 [C99-based-standards] (SCNi64): Likewise.
33749 [C99-based-standards] (SCNo64): Likewise.
33750 [C99-based-standards] (SCNu64): Likewise.
33751 [C99-based-standards] (SCNx64): Likewise.
33752 [C99-based-standards] (PRIdLEAST64): Likewise.
33753 [C99-based-standards] (PRIiLEAST64): Likewise.
33754 [C99-based-standards] (PRIoLEAST64): Likewise.
33755 [C99-based-standards] (PRIuLEAST64): Likewise.
33756 [C99-based-standards] (PRIxLEAST64): Likewise.
33757 [C99-based-standards] (PRIXLEAST64): Likewise.
33758 [C99-based-standards] (SCNdLEAST64): Likewise.
33759 [C99-based-standards] (SCNiLEAST64): Likewise.
33760 [C99-based-standards] (SCNoLEAST64): Likewise.
33761 [C99-based-standards] (SCNuLEAST64): Likewise.
33762 [C99-based-standards] (SCNxLEAST64): Likewise.
33763 [C99-based-standards] (PRIdFAST64): Likewise.
33764 [C99-based-standards] (PRIiFAST64): Likewise.
33765 [C99-based-standards] (PRIoFAST64): Likewise.
33766 [C99-based-standards] (PRIuFAST64): Likewise.
33767 [C99-based-standards] (PRIxFAST64): Likewise.
33768 [C99-based-standards] (PRIXFAST64): Likewise.
33769 [C99-based-standards] (SCNdFAST64): Likewise.
33770 [C99-based-standards] (SCNiFAST64): Likewise.
33771 [C99-based-standards] (SCNoFAST64): Likewise.
33772 [C99-based-standards] (SCNuFAST64): Likewise.
33773 [C99-based-standards] (SCNxFAST64): Likewise.
33774 [C99-based-standards] (PRIdMAX): Likewise.
33775 [C99-based-standards] (PRIiMAX): Likewise.
33776 [C99-based-standards] (PRIoMAX): Likewise.
33777 [C99-based-standards] (PRIuMAX): Likewise.
33778 [C99-based-standards] (PRIxMAX): Likewise.
33779 [C99-based-standards] (PRIXMAX): Likewise.
33780 [C99-based-standards] (SCNdMAX): Likewise.
33781 [C99-based-standards] (SCNiMAX): Likewise.
33782 [C99-based-standards] (SCNoMAX): Likewise.
33783 [C99-based-standards] (SCNuMAX): Likewise.
33784 [C99-based-standards] (SCNxMAX): Likewise.
33785 [C99-based-standards] (PRIdPTR): Likewise.
33786 [C99-based-standards] (PRIiPTR): Likewise.
33787 [C99-based-standards] (PRIoPTR): Likewise.
33788 [C99-based-standards] (PRIuPTR): Likewise.
33789 [C99-based-standards] (PRIxPTR): Likewise.
33790 [C99-based-standards] (PRIXPTR): Likewise.
33791 [C99-based-standards] (SCNdPTR): Likewise.
33792 [C99-based-standards] (SCNiPTR): Likewise.
33793 [C99-based-standards] (SCNoPTR): Likewise.
33794 [C99-based-standards] (SCNuPTR): Likewise.
33795 [C99-based-standards] (SCNxPTR): Likewise.
33796 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33798 * conform/data/stdint.h-data: Update comments to clarify
33800 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33802 [C99-based standards] (INT8_MAX): Likewise.
33803 [C99-based standards] (INT16_MIN): Likewise.
33804 [C99-based standards] (INT16_MAX): Likewise.
33805 [C99-based standards] (INT32_MIN): Likewise.
33806 [C99-based standards] (INT32_MAX): Likewise.
33807 [C99-based standards] (INT64_MIN): Likewise.
33808 [C99-based standards] (INT64_MAX): Likewise.
33809 [C99-based standards] (UINT8_MAX): Likewise.
33810 [C99-based standards] (UINT16_MAX): Likewise.
33811 [C99-based standards] (UINT32_MAX): Likewise.
33812 [C99-based standards] (UINT64_MAX): Likewise.
33813 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33814 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33815 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33816 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33817 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33818 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33819 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33820 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33821 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33822 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33823 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33824 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33825 [C99-based standards] (INT_FAST8_MIN): Likewise.
33826 [C99-based standards] (INT_FAST8_MAX): Likewise.
33827 [C99-based standards] (INT_FAST16_MIN): Likewise.
33828 [C99-based standards] (INT_FAST16_MAX): Likewise.
33829 [C99-based standards] (INT_FAST32_MIN): Likewise.
33830 [C99-based standards] (INT_FAST32_MAX): Likewise.
33831 [C99-based standards] (INT_FAST64_MIN): Likewise.
33832 [C99-based standards] (INT_FAST64_MAX): Likewise.
33833 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33834 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33835 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33836 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33837 [C99-based standards] (INTPTR_MIN): Likewise.
33838 [C99-based standards] (INTPTR_MAX): Likewise.
33839 [C99-based standards] (UINTPTR_MAX): Likewise.
33840 [C99-based standards] (INTMAX_MIN): Likewise.
33841 [C99-based standards] (INTMAX_MAX): Likewise.
33842 [C99-based standards] (UINTMAX_MAX): Likewise.
33843 [C99-based standards] (PTRDIFF_MIN): Likewise.
33844 [C99-based standards] (PTRDIFF_MAX): Likewise.
33845 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33846 [C99-based standards] (SIZE_MAX): Likewise.
33847 [C99-based standards] (WCHAR_MAX): Likewise.
33848 [C99-based standards] (WINT_MAX): Likewise.
33849 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33850 constraint on value.
33851 [C99-based standards] (WCHAR_MIN): Likewise.
33852 [C99-based standards] (WINT_MIN): Likewise.
33853 [C99-based standards] (*_t): Allow.
33854 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33855 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33856 Include math.h-data and complex.h-data. Remove all expectations
33857 of math.h and complex.h contents.
33858 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33860 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33861 (struct tm): Expect tag.
33862 [C99-based-standards] (wcstof): Expect function.
33863 [C99-based-standards] (wcstold): Likewise.
33864 [C99-based-standards] (wcstoll): Likewise.
33865 [C99-based-standards] (wcstoull): Likewise.
33866 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33867 macro-int-constant. Specify type.
33868 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33869 constraint on value.
33870 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33872 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33874 [ISO C standards]: Do not allow headers.
33875 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33876 wcs[abcdefghijklmnopqrstuvwxyz]*.
33877 [ISO C standards] (*_t): Do not allow.
33878 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33880 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33881 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33883 [ISO C standards]: Do not allow headers.
33884 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33885 is[abcdefghijklmnopqrstuvwxyz]*.
33886 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33887 to[abcdefghijklmnopqrstuvwxyz]*.
33888 [ISO C standards] (*_t): Do not allow.
33889 * conform/data/stdalign.h-data: New file.
33890 * conform/data/stdbool.h-data: Likewise.
33891 * conform/data/stdnoreturn.h-data: Likewise.
33893 2012-11-07 Roland McGrath <roland@hack.frob.com>
33896 * manual/filesys.texi (Directory Entries): Typo fix.
33897 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33899 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33901 * elf/elf.h (EM_AARCH64): New macro.
33902 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33903 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33904 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33905 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33906 (R_AARCH64_TLSDESC): Likewise.
33907 (NT_ARM_TLS): Likewise.
33908 (NT_ARM_HW_BREAK): Likewise.
33909 (NT_ARM_HW_WATCH): Likewise.
33911 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33914 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33915 (__ieee754_powl): Saturate nonzero exponents with absolute value
33916 below 0x1p-79 to +/- 0x1p-79.
33917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33918 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33919 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33920 nonzero exponents with absolute value below 0x1p-32 to +/-
33922 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33923 (__ieee754_powl): Saturate nonzero exponents with absolute value
33924 below 0x1p-79 to +/- 0x1p-79.
33925 * math/libm-test.inc (pow_test): Add more tests.
33927 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33929 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33930 _dl_s390_cap_flags with kernel. Increase string length.
33931 (_dl_s390_platforms): Add z196 and zEC12.
33933 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33935 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33936 Change XOPEN21K to XOPEN2K.
33938 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33940 * string/memmove.c: Use memcpy when possible.
33942 2012-11-06 Andreas Jaeger <aj@suse.de>
33944 * po/eo.po: Update from translation team.
33946 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33950 exponent and small x and y exponents, scale x or y up. Increase
33951 by 2 the exponent used in scaling up.
33952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33953 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33954 * math/libm-test.inc (fma_test): Add more tests.
33955 (fma_test_towardzero): Likewise.
33956 (fma_test_downward): Likewise.
33957 (fma_test_upward): Likewise.
33959 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33962 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33966 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33967 namespace for names of struct fields.
33968 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33970 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33971 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33973 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33976 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33978 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33980 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33984 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33987 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33991 definitely overflow as x * y not x * y + z.
33992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33994 * math/libm-test.inc (fma_test): Add more tests.
33995 (fma_test_towardzero): Likewise.
33996 (fma_test_downward): Likewise.
33997 (fma_test_upward): Likewise.
33999 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34003 * include/stub-tag.h: Remove file.
34004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34006 * manual/maint.texi (Porting): Don't reference it.
34007 * Makerules ($(objpfx)stubs): Likewise.
34008 * dirent/closedir.c: Don't include <stub-tag.h>.
34009 * dirent/dirfd.c: Likewise.
34010 * dirent/fdopendir.c: Likewise.
34011 * dirent/getdents.c: Likewise.
34012 * dirent/getdents64.c: Likewise.
34013 * dirent/opendir.c: Likewise.
34014 * dirent/readdir.c: Likewise.
34015 * dirent/readdir64.c: Likewise.
34016 * dirent/readdir64_r.c: Likewise.
34017 * dirent/readdir_r.c: Likewise.
34018 * dirent/rewinddir.c: Likewise.
34019 * dirent/seekdir.c: Likewise.
34020 * dirent/telldir.c: Likewise.
34021 * gmon/profil.c: Likewise.
34022 * grp/setgroups.c: Likewise.
34023 * inet/if_index.c: Likewise.
34024 * io/access.c: Likewise.
34025 * io/chdir.c: Likewise.
34026 * io/chmod.c: Likewise.
34027 * io/chown.c: Likewise.
34028 * io/close.c: Likewise.
34029 * io/dup.c: Likewise.
34030 * io/dup2.c: Likewise.
34031 * io/dup3.c: Likewise.
34032 * io/euidaccess.c: Likewise.
34033 * io/faccessat.c: Likewise.
34034 * io/fchdir.c: Likewise.
34035 * io/fchmod.c: Likewise.
34036 * io/fchmodat.c: Likewise.
34037 * io/fchown.c: Likewise.
34038 * io/fchownat.c: Likewise.
34039 * io/fcntl.c: Likewise.
34040 * io/flock.c: Likewise.
34041 * io/fstatfs.c: Likewise.
34042 * io/fstatfs64.c: Likewise.
34043 * io/fstatvfs.c: Likewise.
34044 * io/fstatvfs64.c: Likewise.
34045 * io/futimens.c: Likewise.
34046 * io/fxstat.c: Likewise.
34047 * io/fxstat64.c: Likewise.
34048 * io/fxstatat.c: Likewise.
34049 * io/fxstatat64.c: Likewise.
34050 * io/getcwd.c: Likewise.
34051 * io/isatty.c: Likewise.
34052 * io/lchmod.c: Likewise.
34053 * io/lchown.c: Likewise.
34054 * io/link.c: Likewise.
34055 * io/linkat.c: Likewise.
34056 * io/lseek.c: Likewise.
34057 * io/lseek64.c: Likewise.
34058 * io/lxstat64.c: Likewise.
34059 * io/mkdir.c: Likewise.
34060 * io/mkdirat.c: Likewise.
34061 * io/mkfifo.c: Likewise.
34062 * io/mkfifoat.c: Likewise.
34063 * io/open.c: Likewise.
34064 * io/open64.c: Likewise.
34065 * io/openat.c: Likewise.
34066 * io/openat64.c: Likewise.
34067 * io/pipe.c: Likewise.
34068 * io/pipe2.c: Likewise.
34069 * io/poll.c: Likewise.
34070 * io/posix_fadvise.c: Likewise.
34071 * io/posix_fadvise64.c: Likewise.
34072 * io/posix_fallocate.c: Likewise.
34073 * io/posix_fallocate64.c: Likewise.
34074 * io/read.c: Likewise.
34075 * io/readlink.c: Likewise.
34076 * io/readlinkat.c: Likewise.
34077 * io/rmdir.c: Likewise.
34078 * io/sendfile.c: Likewise.
34079 * io/sendfile64.c: Likewise.
34080 * io/statfs.c: Likewise.
34081 * io/statfs64.c: Likewise.
34082 * io/statvfs.c: Likewise.
34083 * io/statvfs64.c: Likewise.
34084 * io/symlink.c: Likewise.
34085 * io/symlinkat.c: Likewise.
34086 * io/ttyname.c: Likewise.
34087 * io/ttyname_r.c: Likewise.
34088 * io/umask.c: Likewise.
34089 * io/unlink.c: Likewise.
34090 * io/unlinkat.c: Likewise.
34091 * io/utime.c: Likewise.
34092 * io/utimensat.c: Likewise.
34093 * io/write.c: Likewise.
34094 * io/xmknod.c: Likewise.
34095 * io/xmknodat.c: Likewise.
34096 * io/xstat.c: Likewise.
34097 * io/xstat64.c: Likewise.
34098 * login/getpt.c: Likewise.
34099 * login/grantpt.c: Likewise.
34100 * login/unlockpt.c: Likewise.
34101 * math/e_acoshl.c: Likewise.
34102 * math/e_acosl.c: Likewise.
34103 * math/e_asinl.c: Likewise.
34104 * math/e_atan2l.c: Likewise.
34105 * math/e_atanhl.c: Likewise.
34106 * math/e_coshl.c: Likewise.
34107 * math/e_expl.c: Likewise.
34108 * math/e_fmodl.c: Likewise.
34109 * math/e_gammal_r.c: Likewise.
34110 * math/e_hypotl.c: Likewise.
34111 * math/e_j0l.c: Likewise.
34112 * math/e_j1l.c: Likewise.
34113 * math/e_jnl.c: Likewise.
34114 * math/e_lgammal_r.c: Likewise.
34115 * math/e_log10l.c: Likewise.
34116 * math/e_log2l.c: Likewise.
34117 * math/e_logl.c: Likewise.
34118 * math/e_powl.c: Likewise.
34119 * math/e_rem_pio2l.c: Likewise.
34120 * math/e_sinhl.c: Likewise.
34121 * math/e_sqrtl.c: Likewise.
34122 * math/fclrexcpt.c: Likewise.
34123 * math/fedisblxcpt.c: Likewise.
34124 * math/feenablxcpt.c: Likewise.
34125 * math/fegetenv.c: Likewise.
34126 * math/fegetexcept.c: Likewise.
34127 * math/fegetround.c: Likewise.
34128 * math/feholdexcpt.c: Likewise.
34129 * math/fesetenv.c: Likewise.
34130 * math/fesetround.c: Likewise.
34131 * math/feupdateenv.c: Likewise.
34132 * math/fgetexcptflg.c: Likewise.
34133 * math/fraiseexcpt.c: Likewise.
34134 * math/fsetexcptflg.c: Likewise.
34135 * math/ftestexcept.c: Likewise.
34136 * math/k_cosl.c: Likewise.
34137 * math/k_rem_pio2l.c: Likewise.
34138 * math/k_sinl.c: Likewise.
34139 * math/k_tanl.c: Likewise.
34140 * math/s_asinhl.c: Likewise.
34141 * math/s_atanl.c: Likewise.
34142 * math/s_cbrtl.c: Likewise.
34143 * math/s_erfl.c: Likewise.
34144 * math/s_expm1l.c: Likewise.
34145 * math/s_log1pl.c: Likewise.
34146 * math/s_tanhl.c: Likewise.
34147 * misc/acct.c: Likewise.
34148 * misc/brk.c: Likewise.
34149 * misc/chflags.c: Likewise.
34150 * misc/chroot.c: Likewise.
34151 * misc/fchflags.c: Likewise.
34152 * misc/fgetxattr.c: Likewise.
34153 * misc/flistxattr.c: Likewise.
34154 * misc/fremovexattr.c: Likewise.
34155 * misc/fsetxattr.c: Likewise.
34156 * misc/fsync.c: Likewise.
34157 * misc/ftruncate.c: Likewise.
34158 * misc/futimes.c: Likewise.
34159 * misc/futimesat.c: Likewise.
34160 * misc/getdomain.c: Likewise.
34161 * misc/getdtsz.c: Likewise.
34162 * misc/gethostid.c: Likewise.
34163 * misc/gethostname.c: Likewise.
34164 * misc/getloadavg.c: Likewise.
34165 * misc/getpagesize.c: Likewise.
34166 * misc/getsysstats.c: Likewise.
34167 * misc/getxattr.c: Likewise.
34168 * misc/gtty.c: Likewise.
34169 * misc/ioctl.c: Likewise.
34170 * misc/lgetxattr.c: Likewise.
34171 * misc/listxattr.c: Likewise.
34172 * misc/llistxattr.c: Likewise.
34173 * misc/lremovexattr.c: Likewise.
34174 * misc/lsetxattr.c: Likewise.
34175 * misc/lutimes.c: Likewise.
34176 * misc/madvise.c: Likewise.
34177 * misc/mincore.c: Likewise.
34178 * misc/mlock.c: Likewise.
34179 * misc/mlockall.c: Likewise.
34180 * misc/mmap.c: Likewise.
34181 * misc/mprotect.c: Likewise.
34182 * misc/msync.c: Likewise.
34183 * misc/munlock.c: Likewise.
34184 * misc/munlockall.c: Likewise.
34185 * misc/munmap.c: Likewise.
34186 * misc/preadv.c: Likewise.
34187 * misc/preadv64.c: Likewise.
34188 * misc/ptrace.c: Likewise.
34189 * misc/pwritev.c: Likewise.
34190 * misc/pwritev64.c: Likewise.
34191 * misc/readv.c: Likewise.
34192 * misc/reboot.c: Likewise.
34193 * misc/remap_file_pages.c: Likewise.
34194 * misc/removexattr.c: Likewise.
34195 * misc/revoke.c: Likewise.
34196 * misc/select.c: Likewise.
34197 * misc/setdomain.c: Likewise.
34198 * misc/setegid.c: Likewise.
34199 * misc/seteuid.c: Likewise.
34200 * misc/sethostid.c: Likewise.
34201 * misc/sethostname.c: Likewise.
34202 * misc/setregid.c: Likewise.
34203 * misc/setreuid.c: Likewise.
34204 * misc/setxattr.c: Likewise.
34205 * misc/sstk.c: Likewise.
34206 * misc/stty.c: Likewise.
34207 * misc/swapoff.c: Likewise.
34208 * misc/swapon.c: Likewise.
34209 * misc/sync.c: Likewise.
34210 * misc/syncfs.c: Likewise.
34211 * misc/syscall.c: Likewise.
34212 * misc/truncate.c: Likewise.
34213 * misc/ualarm.c: Likewise.
34214 * misc/usleep.c: Likewise.
34215 * misc/ustat.c: Likewise.
34216 * misc/utimes.c: Likewise.
34217 * misc/vhangup.c: Likewise.
34218 * misc/writev.c: Likewise.
34219 * posix/_exit.c: Likewise.
34220 * posix/alarm.c: Likewise.
34221 * posix/execve.c: Likewise.
34222 * posix/fexecve.c: Likewise.
34223 * posix/fork.c: Likewise.
34224 * posix/fpathconf.c: Likewise.
34225 * posix/getaddrinfo.c: Likewise.
34226 * posix/getegid.c: Likewise.
34227 * posix/geteuid.c: Likewise.
34228 * posix/getgid.c: Likewise.
34229 * posix/getgroups.c: Likewise.
34230 * posix/getlogin.c: Likewise.
34231 * posix/getlogin_r.c: Likewise.
34232 * posix/getpgid.c: Likewise.
34233 * posix/getpid.c: Likewise.
34234 * posix/getppid.c: Likewise.
34235 * posix/getresgid.c: Likewise.
34236 * posix/getresuid.c: Likewise.
34237 * posix/getsid.c: Likewise.
34238 * posix/getuid.c: Likewise.
34239 * posix/glob64.c: Likewise.
34240 * posix/nanosleep.c: Likewise.
34241 * posix/pathconf.c: Likewise.
34242 * posix/pause.c: Likewise.
34243 * posix/posix_madvise.c: Likewise.
34244 * posix/pread.c: Likewise.
34245 * posix/pread64.c: Likewise.
34246 * posix/pwrite.c: Likewise.
34247 * posix/pwrite64.c: Likewise.
34248 * posix/sched_getaffinity.c: Likewise.
34249 * posix/sched_getp.c: Likewise.
34250 * posix/sched_gets.c: Likewise.
34251 * posix/sched_primax.c: Likewise.
34252 * posix/sched_primin.c: Likewise.
34253 * posix/sched_rr_gi.c: Likewise.
34254 * posix/sched_setaffinity.c: Likewise.
34255 * posix/sched_setp.c: Likewise.
34256 * posix/sched_sets.c: Likewise.
34257 * posix/sched_yield.c: Likewise.
34258 * posix/setgid.c: Likewise.
34259 * posix/setlogin.c: Likewise.
34260 * posix/setpgid.c: Likewise.
34261 * posix/setresgid.c: Likewise.
34262 * posix/setresuid.c: Likewise.
34263 * posix/setsid.c: Likewise.
34264 * posix/setuid.c: Likewise.
34265 * posix/sleep.c: Likewise.
34266 * posix/spawni.c: Likewise.
34267 * posix/sysconf.c: Likewise.
34268 * posix/times.c: Likewise.
34269 * posix/wait.c: Likewise.
34270 * posix/wait3.c: Likewise.
34271 * posix/wait4.c: Likewise.
34272 * posix/waitpid.c: Likewise.
34273 * resolv/gai_sigqueue.c: Likewise.
34274 * resource/getpriority.c: Likewise.
34275 * resource/getrlimit.c: Likewise.
34276 * resource/getrusage.c: Likewise.
34277 * resource/nice.c: Likewise.
34278 * resource/setpriority.c: Likewise.
34279 * resource/setrlimit.c: Likewise.
34280 * resource/ulimit.c: Likewise.
34281 * rt/aio_cancel.c: Likewise.
34282 * rt/aio_fsync.c: Likewise.
34283 * rt/aio_read.c: Likewise.
34284 * rt/aio_sigqueue.c: Likewise.
34285 * rt/aio_suspend.c: Likewise.
34286 * rt/aio_write.c: Likewise.
34287 * rt/clock_getres.c: Likewise.
34288 * rt/clock_gettime.c: Likewise.
34289 * rt/clock_nanosleep.c: Likewise.
34290 * rt/clock_settime.c: Likewise.
34291 * rt/lio_listio.c: Likewise.
34292 * rt/mq_close.c: Likewise.
34293 * rt/mq_getattr.c: Likewise.
34294 * rt/mq_notify.c: Likewise.
34295 * rt/mq_open.c: Likewise.
34296 * rt/mq_receive.c: Likewise.
34297 * rt/mq_send.c: Likewise.
34298 * rt/mq_setattr.c: Likewise.
34299 * rt/mq_timedreceive.c: Likewise.
34300 * rt/mq_timedsend.c: Likewise.
34301 * rt/mq_unlink.c: Likewise.
34302 * rt/shm_open.c: Likewise.
34303 * rt/shm_unlink.c: Likewise.
34304 * rt/timer_create.c: Likewise.
34305 * rt/timer_delete.c: Likewise.
34306 * rt/timer_getoverr.c: Likewise.
34307 * rt/timer_gettime.c: Likewise.
34308 * rt/timer_settime.c: Likewise.
34309 * setjmp/__longjmp.c: Likewise.
34310 * setjmp/setjmp.c: Likewise.
34311 * signal/kill.c: Likewise.
34312 * signal/killpg.c: Likewise.
34313 * signal/raise.c: Likewise.
34314 * signal/sigaction.c: Likewise.
34315 * signal/sigaltstack.c: Likewise.
34316 * signal/sigblock.c: Likewise.
34317 * signal/sigignore.c: Likewise.
34318 * signal/sigintr.c: Likewise.
34319 * signal/signal.c: Likewise.
34320 * signal/sigpause.c: Likewise.
34321 * signal/sigpending.c: Likewise.
34322 * signal/sigqueue.c: Likewise.
34323 * signal/sigreturn.c: Likewise.
34324 * signal/sigset.c: Likewise.
34325 * signal/sigsetmask.c: Likewise.
34326 * signal/sigstack.c: Likewise.
34327 * signal/sigsuspend.c: Likewise.
34328 * signal/sigtimedwait.c: Likewise.
34329 * signal/sigvec.c: Likewise.
34330 * signal/sigwait.c: Likewise.
34331 * signal/sigwaitinfo.c: Likewise.
34332 * signal/sysv_signal.c: Likewise.
34333 * socket/accept.c: Likewise.
34334 * socket/accept4.c: Likewise.
34335 * socket/bind.c: Likewise.
34336 * socket/connect.c: Likewise.
34337 * socket/getpeername.c: Likewise.
34338 * socket/getsockname.c: Likewise.
34339 * socket/getsockopt.c: Likewise.
34340 * socket/isfdtype.c: Likewise.
34341 * socket/listen.c: Likewise.
34342 * socket/recv.c: Likewise.
34343 * socket/recvfrom.c: Likewise.
34344 * socket/recvmsg.c: Likewise.
34345 * socket/send.c: Likewise.
34346 * socket/sendmsg.c: Likewise.
34347 * socket/sendto.c: Likewise.
34348 * socket/setsockopt.c: Likewise.
34349 * socket/shutdown.c: Likewise.
34350 * socket/sockatmark.c: Likewise.
34351 * socket/socket.c: Likewise.
34352 * socket/socketpair.c: Likewise.
34353 * stdio-common/ctermid.c: Likewise.
34354 * stdio-common/cuserid.c: Likewise.
34355 * stdio-common/remove.c: Likewise.
34356 * stdio-common/rename.c: Likewise.
34357 * stdio-common/renameat.c: Likewise.
34358 * stdio-common/tempname.c: Likewise.
34359 * stdlib/getcontext.c: Likewise.
34360 * stdlib/makecontext.c: Likewise.
34361 * stdlib/setcontext.c: Likewise.
34362 * stdlib/swapcontext.c: Likewise.
34363 * stdlib/system.c: Likewise.
34364 * streams/fattach.c: Likewise.
34365 * streams/fdetach.c: Likewise.
34366 * streams/getmsg.c: Likewise.
34367 * streams/getpmsg.c: Likewise.
34368 * streams/putmsg.c: Likewise.
34369 * streams/putpmsg.c: Likewise.
34370 * sysdeps/unix/bsd/getpt.c: Likewise.
34371 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34372 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34373 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34376 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34377 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34378 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34379 * sysvipc/msgctl.c: Likewise.
34380 * sysvipc/msgget.c: Likewise.
34381 * sysvipc/msgrcv.c: Likewise.
34382 * sysvipc/msgsnd.c: Likewise.
34383 * sysvipc/semctl.c: Likewise.
34384 * sysvipc/semget.c: Likewise.
34385 * sysvipc/semop.c: Likewise.
34386 * sysvipc/semtimedop.c: Likewise.
34387 * sysvipc/shmat.c: Likewise.
34388 * sysvipc/shmctl.c: Likewise.
34389 * sysvipc/shmdt.c: Likewise.
34390 * sysvipc/shmget.c: Likewise.
34391 * termios/tcdrain.c: Likewise.
34392 * termios/tcflow.c: Likewise.
34393 * termios/tcflush.c: Likewise.
34394 * termios/tcgetattr.c: Likewise.
34395 * termios/tcgetpgrp.c: Likewise.
34396 * termios/tcsendbrk.c: Likewise.
34397 * termios/tcsetattr.c: Likewise.
34398 * termios/tcsetpgrp.c: Likewise.
34399 * time/adjtime.c: Likewise.
34400 * time/clock.c: Likewise.
34401 * time/getitimer.c: Likewise.
34402 * time/gettimeofday.c: Likewise.
34403 * time/setitimer.c: Likewise.
34404 * time/settimeofday.c: Likewise.
34405 * time/stime.c: Likewise.
34406 * time/time.c: Likewise.
34408 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34410 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34413 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34415 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34417 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34421 FE_TONEAREST before applying Dekker multiplication and Knuth
34422 addition. Clear inexact exceptions and check for exact zero
34423 results afterwards.
34424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34425 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34427 * math/libm-test.inc (fma_test): Add more tests.
34428 (fma_test_towardzero): Likewise.
34429 (fma_test_downward): Likewise.
34430 (fma_test_upward): Likewise.
34431 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34433 (libc_fesetround): New macro.
34434 (libc_fesetroundf): Likewise.
34435 (libc_fesetroundl): Likewise.
34436 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34438 (libc_fesetround_387): Likewise.
34439 (libc_fesetroundf): New macro.
34440 (libc_fesetround): Likewise.
34441 (libc_fesetroundl): Likewise.
34442 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34444 (libc_fesetroundf): New macro.
34445 (libc_fesetround): Likewise.
34446 (libc_fesetroundl): Likewise.
34447 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34448 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34449 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34451 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34452 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34454 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34455 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34457 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34461 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34462 integer constant usable in #if and use that to give value to enum
34464 (FE_DIVBYZERO): Likewise.
34465 (FE_UNDERFLOW): Likewise.
34466 (FE_OVERFLOW): Likewise.
34467 (FE_INVALID): Likewise.
34468 (FE_INVALID_SNAN): Likewise.
34469 (FE_INVALID_ISI): Likewise.
34470 (FE_INVALID_IDI): Likewise.
34471 (FE_INVALID_ZDZ): Likewise.
34472 (FE_INVALID_IMZ): Likewise.
34473 (FE_INVALID_COMPARE): Likewise.
34474 (FE_INVALID_SOFTWARE): Likewise.
34475 (FE_INVALID_SQRT): Likewise.
34476 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34477 (FE_TONEAREST): Likewise.
34478 (FE_TOWARDZERO): Likewise.
34479 (FE_UPWARD): Likewise.
34480 (FE_DOWNWARD): Likewise.
34481 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34482 (FE_DIVBYZERO): Likewise.
34483 (FE_OVERFLOW): Likewise.
34484 (FE_UNDERFLOW): Likewise.
34485 (FE_INEXACT): Likewise.
34486 (FE_TONEAREST): Likewise.
34487 (FE_DOWNWARD): Likewise.
34488 (FE_UPWARD): Likewise.
34489 (FE_TOWARDZERO): Likewise.
34490 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34491 (FE_UNDERFLOW): Likewise.
34492 (FE_OVERFLOW): Likewise.
34493 (FE_DIVBYZERO): Likewise.
34494 (FE_INVALID): Likewise.
34495 (FE_TONEAREST): Likewise.
34496 (FE_TOWARDZERO): Likewise.
34497 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34498 (FE_OVERFLOW): Likewise.
34499 (FE_UNDERFLOW): Likewise.
34500 (FE_DIVBYZERO): Likewise.
34501 (FE_INEXACT): Likewise.
34502 (FE_TONEAREST): Likewise.
34503 (FE_TOWARDZERO): Likewise.
34504 (FE_UPWARD): Likewise.
34505 (FE_DOWNWARD): Likewise.
34506 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34507 (FE_DIVBYZERO): Likewise.
34508 (FE_OVERFLOW): Likewise.
34509 (FE_UNDERFLOW): Likewise.
34510 (FE_INEXACT): Likewise.
34511 (FE_TONEAREST): Likewise.
34512 (FE_DOWNWARD): Likewise.
34513 (FE_UPWARD): Likewise.
34514 (FE_TOWARDZERO): Likewise.
34516 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34518 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34520 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34522 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34523 commands. Quote $PWD.
34524 (blacklist_exports): Don't use remove_newlines. Replace "declare
34526 (remove_newlines): Remove.
34528 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34530 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34531 * stdlib/stdlib.h (atof): Moved to ...
34532 * include/bits/stdlib-float.h: Here. New file.
34533 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34534 * stdlib/bits/stdlib-float.h: New file.
34535 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34540 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34542 * conform/conformtest.pl (@headers): Add fenv.h.
34543 * conform/data/fenv.h-data: New file.
34544 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34545 include of <math/fenv.h>.
34547 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34548 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34549 && !UNIX98]. Enables tests for XOPEN2K8.
34550 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34551 POSIX2008]: Likewise.
34553 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34554 (struct rusage): Do not expect type or its members.
34557 * math/math.h (FP_NAN): Define macro to integer constant usable in
34558 #if and use that to give value to enum constant.
34559 (FP_INFINITE): Likewise.
34560 (FP_ZERO): Likewise.
34561 (FP_SUBNORMAL): Likewise.
34562 (FP_NORMAL): Likewise.
34564 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34566 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34567 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34570 2012-11-02 Roland McGrath <roland@hack.frob.com>
34572 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34573 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34574 autoconf-time if not.
34575 * configure.in: Remove AC_PREREQ.
34577 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34579 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34580 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34581 of the internal implementation.
34583 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34585 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34586 except include of <misc/sys/syslog.h>.
34588 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34591 function returns with a NULL context exit with zero.
34593 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34595 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34597 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34599 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34600 (run_program_cmd): This.
34601 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34602 (tst_langinfo): New variable. Use it.
34604 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34606 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34607 floating point opcodes.
34609 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34611 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34614 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34616 * sysdeps/mach/hurd/powerpc: Remove directory.
34617 * sysdeps/mach/powerpc: Likewise.
34619 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34621 * scripts/check-local-headers.sh: Ignore c++ headers.
34623 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34625 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34626 __libc_cleanup_region_start argument.
34628 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34633 x * y using scaling, not as x * y + z.
34634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34636 * math/libm-test.inc (fma_test): Add more tests.
34637 (fma_test_towardzero): Likewise.
34638 (fma_test_downward): Likewise.
34639 (fma_test_upward): Likewise.
34641 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34643 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34645 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34647 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34650 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34652 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34654 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34661 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34664 Fix the order of the list for glibc 2.17.
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34668 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34672 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34676 for low part of x being zero before using __atanl (y).
34677 * math/libm-test.inc (atan2_test): Add another test.
34679 * manual/install.texi (Configuring and compiling): Document
34680 general use of test-wrapper and test-wrapper-env.
34681 * INSTALL: Regenerated.
34683 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34684 (__fma): Do not extract and scale down low bits on after-rounding
34685 systems when result rounded to normal precision would have normal
34687 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34688 (__fmal): Do not extract and scale down low bits on after-rounding
34689 systems when result rounded to normal precision would have normal
34691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34692 (__fmal): Do not extract and scale down low bits on after-rounding
34693 systems when result rounded to normal precision would have normal
34695 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34697 (fma_test): Add more tests.
34698 (fma_test_towardzero): Likewise.
34699 (fma_test_downward): Likewise.
34700 (fma_test_upward): Likewise.
34702 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34704 * sysdeps/i386/tininess.h: Renamed to ...
34705 * sysdeps/x86/tininess.h: This.
34706 * sysdeps/x86_64/tininess.h: Removed.
34708 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34710 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34711 input. Use $(build-program-cmd).
34712 ($(objpfx)tst-array1-static.out): Likewise.
34713 ($(objpfx)tst-array2.out): Likewise.
34714 ($(objpfx)tst-array3.out): Likewise.
34715 ($(objpfx)tst-array4.out): Likewise.
34716 ($(objpfx)tst-array5.out): Likewise.
34717 ($(objpfx)tst-array5-static.out): Likewise.
34719 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34721 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34724 * nss/nsswitch.h (nss_interface_function): Provide new
34725 macro for use with NSS functions.
34726 * grp/initgroups.c: Use new macro.
34727 * nss/getXXbyYY.c: Likewise.
34728 * nss/getXXbyYY_r.c: Likewise.
34729 * nss/getXXent.c: Likewise.
34730 * nss/getXXent_r.c: Likewise.
34731 * sysdeps/posix/getaddrinfo.c: Likewise.
34733 2012-10-30 Andreas Jaeger <aj@suse.de>
34735 * po/ru.po: Update Russion translation from translation project.
34737 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34742 result and shift together with sticky bit instead of replicating
34743 round-to-nearest rounding.
34744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34746 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34747 missing underflow exceptions.
34748 (fma_test_towardzero): Add more tests.
34749 (fma_test_downward): Likewise.
34750 (fma_test_upward): Likewise.
34753 * sysdeps/generic/tininess.h: New file.
34754 * sysdeps/i386/tininess.h: Likewise.
34755 * sysdeps/sh/tininess.h: Likewise.
34756 * sysdeps/x86_64/tininess.h: Likewise.
34757 * stdlib/tst-strtod-underflow.c: Likewise.
34758 * stdlib/tst-tininess.c: Likewise.
34759 * stdlib/strtod_l.c: Include <tininess.h>.
34760 (round_and_return): Do not set errno for exact underflow cases.
34761 Force an underflow exception when setting errno for underflow.
34762 Determine underflow based on rounding to normal precision if
34763 TININESS_AFTER_ROUNDING.
34764 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34765 ERANGE for exact underflow cases.
34766 * stdlib/Makefile (tests): Add tst-tininess and
34767 tst-strtod-underflow.
34768 ($(objpfx)tst-tininess): Use $(link-libm).
34769 ($(objpfx)tst-strtod-underflow): Likewise.
34771 2012-10-30 Andreas Jaeger <aj@suse.de>
34774 * elf/Makefile (tests): Remove conditional for have-initfini-array
34775 since this is now always required and the variable does not exist
34777 (tests-static): Likewise.
34778 (modules-names): Likewise.
34780 * po/eo.po: Add Esperanto translation from translation project.
34782 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34783 merged with constructor/destructor.
34784 (init_array): Likewise.
34785 * elf/tst-array2dep.c (fini_array): Likewise.
34786 (init_array): Likewise.
34788 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34790 * manual/message.texi: Delete @cartouche tags.
34792 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34794 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34796 * sysdeps/mach/hurd/fsync.c: Likewise.
34798 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34799 [_POSIX_REALTIME_SIGNALS]: Change condition to
34800 [_POSIX_REALTIME_SIGNALS > 0].
34802 2012-10-27 Andreas Jaeger <aj@suse.de>
34804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34805 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34807 [__WORDSIZE != 64]: Likewise.
34809 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34811 * iconvdata/tst-table.sh: Remove ${SHELL}.
34812 * iconvdata/tst-tables.sh: Likewise.
34814 2012-10-25 David S. Miller <davem@davemloft.net>
34816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34817 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34823 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34824 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34827 2012-10-25 Roland McGrath <roland@hack.frob.com>
34829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34830 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34833 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34834 Jim Blandy <jimb@codesourcery.com>
34836 * scripts/cross-test-ssh.sh: New file.
34837 * manual/install.texi (Configuring and compiling): Document use of
34839 * INSTALL: Regenerated.
34841 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34843 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34846 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34848 * Makeconfig (run-program-prefix): Fix comment.
34850 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34851 Jim Blandy <jimb@codesourcery.com>
34853 * Makeconfig (test-wrapper): New variable,
34854 (test-wrapper-env): Likewise.
34855 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34856 (run-built-tests): Define to yes.
34857 (run-program-prefix): Use $(test-wrapper).
34858 (built-program-cmd): Likewise.
34859 * Rules (make-test-out): Use $(test-wrapper-env) and
34860 $(host-built-program-cmd).
34861 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34862 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34864 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34865 $(test-wrapper-env) to tst-rtld-load-self.sh.
34866 ($(objpfx)order2.out): Use $(test-wrapper).
34867 ($(objpfx)tst-initorder.out): Likewise.
34868 ($(objpfx)tst-initorder2.out): Likewise.
34869 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34870 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34871 (test_wrapper_env): New variable. Use it to run ld.so.
34872 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34873 Use it to run ld.so.
34874 (test_wrapper_env): Likewise.
34875 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34876 $(test-wrapper) to run-iconv-test.sh.
34877 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34878 (ICONV): Use $test_wrapper.
34879 * posix/Makefile ($(objpfx)globtest.out): Pass
34880 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34881 globtest.sh, not $(run-program-prefix).
34882 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34883 (test_wrapper): Likewise.
34884 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34885 set together with run_via_rtld_prefix.
34886 (run_program_prefix): Define in terms of test_wrapper and
34887 run_via_rtld_prefix.
34889 2012-10-24 Roland McGrath <roland@hack.frob.com>
34891 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34892 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34896 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34897 Declare __clock_getres, __clock_gettime, __clock_settime,
34898 __clock_nanosleep, and __clock_getcpuclockid.
34899 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34900 Remove librt_hidden_def (clock_gettime).
34901 * sysdeps/unix/clock_gettime.c: Likewise.
34902 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34904 * rt/clock_getres.c: Define __clock_getres as an alias.
34905 * sysdeps/posix/clock_getres.c: Likewise.
34906 * rt/clock_settime.c: Define __clock_settime as an alias.
34907 * sysdeps/unix/clock_settime.c: Likewise.
34908 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34909 * sysdeps/unix/clock_nanosleep.c: Likewise.
34910 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34911 * rt/clock-compat.c: New file.
34912 * rt/Makefile (librt-routines): Add clock-compat and move
34913 $(clock-routines) to ...
34914 (routines): ... here, new variable.
34915 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34916 Don't add get_clockfreq here.
34917 * rt/Versions (libc: GLIBC_2.17): New version set.
34918 Add clock_* symbols here.
34919 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34921 (GLIBC_2.17): Add clock_* symbols.
34922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34933 * NEWS: Mention the move.
34935 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34936 Use __open, __read, __close rather than their public counterparts.
34937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34938 (__get_clockfreq_via_cpuinfo): Likewise.
34939 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34940 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34942 * config.h.in (HAVE_IFUNC): New #undef.
34943 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34945 * configure: Regenerated.
34947 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34949 * configure.in: Move READELF check to start of file.
34950 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34951 libc_cv_asm_gnu_indirect_function in the process.
34952 * configure: Regenerated.
34954 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34956 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34957 send the output to /dev/null.
34958 (libc_cv_cc_with_libunwind): Likewise.
34959 (libc_cv_as_noexecstack): Likewise.
34960 * configure: Regenerate.
34962 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34964 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34966 * posix/globtest.sh (TMPDIR): Do not set.
34967 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34968 (testout): Likewise.
34970 2012-10-24 Andreas Jaeger <aj@suse.de>
34972 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34973 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34974 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34975 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34976 posix_fadvise64, posix_fallocate64.
34978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34979 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34980 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34982 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34984 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34987 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34988 <bits/fcntl-linux.h>.
34989 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34992 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34993 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34994 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34995 [__WORDSIZE != 64]: Likewise.
34997 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34999 * Makeconfig (run-built-tests): New variable.
35000 * Rules [$(cross-compiling) = yes]: Change condition to
35001 [$(run-built-tests) = no].
35002 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35003 to [$(run-built-tests) = yes].
35004 * elf/Makefile [$(cross-compiling) = no]: Likewise
35005 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35006 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35007 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35008 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35009 * io/Makefile [$(cross-compiling) = no]: Likewise.
35010 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35011 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35012 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35013 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35014 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35015 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35016 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35017 * string/Makefile [$(cross-compiling) = no]: Likewise.
35019 * posix/Makefile ($(objpfx)globtest.out): Pass
35020 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35021 $(rtld-installed-name).
35022 * posix/globtest.sh (elf_objpfx): Remove variable.
35023 (rtld_installed_name): Likewise.
35024 (library_path): Likewise.
35025 (run_program_prefix): New variable. Use for running globtest
35028 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35029 Joseph Myers <joseph@codesourcery.com>
35031 * Makeconfig (host-built-program-cmd): New variable.
35032 * elf/Makefile (tst-stackguard1-ARGS): Use
35033 $(host-built-program-cmd).
35034 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35035 (tst-spawn-ARGS): Likewise.
35036 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35038 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35039 Jim Blandy <jimb@codesourcery.com>
35041 * Makeconfig (run-via-rtld-prefix): New variable.
35042 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35043 (built-program-cmd): Likewise.
35045 2012-10-22 Andreas Jaeger <aj@suse.de>
35047 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35048 __O_RSYNC if it exists, otherwise to O_SYNC.
35050 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35051 Joseph Myers <joseph@codesourcery.com>
35053 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35055 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35057 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35060 2012-10-22 Andreas Jaeger <aj@suse.de>
35062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35067 bits/fcntl-linux.h.
35069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35070 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35077 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35078 Joseph Myers <joseph@codesourcery.com>
35080 * config.make.in (NM): New variable.
35082 2012-10-21 Andreas Jaeger <aj@suse.de>
35084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35085 definitions and declarations that are provided by
35086 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35088 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35091 * elf/Makefile (tests-static): Add tst-leaks1-static.
35092 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35093 ($(objpfx)tst-leaks1-static): New rule.
35094 ($(objpfx)tst-leaks1-static-mem): Likewise.
35095 (tst-leaks1-static-ENV): New macro.
35096 * elf/dl-open.c (dl_open_worker): Check the main application
35097 only if SHARED is defined.
35098 * elf/tst-leaks1-static.c: New file.
35100 2012-10-20 Andreas Jaeger <aj@suse.de>
35102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35103 generic values for Linux.
35104 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35105 and declarations that are provided by <bits/fcntl-linux.h> and
35106 include <bits/fcntl-linux.h>.
35107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35110 2012-10-20 Roland McGrath <roland@hack.frob.com>
35112 * io/fcntl.h: Move include of <bits/types.h> to the top and
35113 include it unconditionally.
35115 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35117 * wcsmbs/Makefile (tests-ifunc): New variable.
35118 (tests): Add $(tests-ifunc).
35119 * wcsmbs/test-wcschr-ifunc.c: New file.
35120 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35121 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35122 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35123 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35124 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35126 * string/Makefile (tests-ifunc): New variable.
35127 (tests): Add $(tests-ifunc).
35128 * string/test-memccpy.c (TEST_NAME): New macro.
35129 * string/test-memchr.c (TEST_NAME): Likewise.
35130 * string/test-memcmp.c (TEST_NAME): Likewise.
35131 * string/test-memcpy.c (TEST_NAME): Likewise.
35132 * string/test-memmem.c (TEST_NAME): Likewise.
35133 * string/test-memmove.c (TEST_NAME): Likewise.
35134 * string/test-memset.c (TEST_NAME): Likewise.
35135 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35136 * string/test-stpcpy.c (TEST_NAME): Likewise.
35137 * string/test-stpncpy.c (TEST_NAME): Likewise.
35138 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35139 * string/test-strcasestr.c (TEST_NAME): Likewise.
35140 * string/test-strcat.c (TEST_NAME): Likewise.
35141 * string/test-strchr.c (TEST_NAME): Likewise.
35142 * string/test-strcmp.c(TEST_NAME): Likewise.
35143 * string/test-strcpy.c (TEST_NAME): Likewise.
35144 * string/test-strcspn.c (TEST_NAME): Likewise.
35145 * string/test-strlen.c (TEST_NAME): Likewise.
35146 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35147 * string/test-strncmp.c (TEST_NAME): Likewise.
35148 * string/test-strncpy.c (TEST_NAME): Likewise.
35149 * string/test-strnlen.c (TEST_NAME): Likewise.
35150 * string/test-strpbrk.c (TEST_NAME): Likewise.
35151 * string/test-strrchr.c (TEST_NAME): Likewise.
35152 * string/test-strspn.c (TEST_NAME): Likewise.
35153 * string/test-strstr.c (TEST_NAME): Likewise.
35154 * string/test-bcopy-ifunc.c: New file.
35155 * string/test-bzero-ifunc.c: Likewise.
35156 * string/test-memccpy-ifunc.c: Likewise.
35157 * string/test-memchr-ifunc.c: Likewise.
35158 * string/test-memcmp-ifunc.c: Likewise.
35159 * string/test-memcpy-ifunc.c: Likewise.
35160 * string/test-memmem-ifunc.c: Likewise.
35161 * string/test-memmove-ifunc.c: Likewise.
35162 * string/test-mempcpy-ifunc.c: Likewise.
35163 * string/test-memset-ifunc.c: Likewise.
35164 * string/test-rawmemchr-ifunc.c: Likewise.
35165 * string/test-stpcpy-ifunc.c: Likewise.
35166 * string/test-stpncpy-ifunc.c: Likewise.
35167 * string/test-strcasecmp-ifunc.c: Likewise.
35168 * string/test-strcasestr-ifunc.c: Likewise.
35169 * string/test-strcat-ifunc.c: Likewise.
35170 * string/test-strchr-ifunc.c: Likewise.
35171 * string/test-strchrnul-ifunc.c: Likewise.
35172 * string/test-strcmp-ifunc.c: Likewise.
35173 * string/test-strcpy-ifunc.c: Likewise.
35174 * string/test-strcspn-ifunc.c: Likewise.
35175 * string/test-strlen-ifunc.c: Likewise.
35176 * string/test-strncasecmp-ifunc.c: Likewise.
35177 * string/test-strncat-ifunc.c: Likewise.
35178 * string/test-strncmp-ifunc.c: Likewise.
35179 * string/test-strncpy-ifunc.c: Likewise.
35180 * string/test-strnlen-ifunc.c: Likewise.
35181 * string/test-strpbrk-ifunc.c: Likewise.
35182 * string/test-strrchr-ifunc.c: Likewise.
35183 * string/test-strspn-ifunc.c: Likewise.
35184 * string/test-strstr-ifunc.c: Likewise.
35186 * debug/Makefile (tests-ifunc): New variable.
35187 (tests): Add $(tests-ifunc).
35188 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35189 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35190 * debug/test-stpcpy_chk-ifunc.c: New file.
35191 * debug/test-strcpy_chk-ifunc.c: Likewise.
35193 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35196 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35197 header is not read in.
35199 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35201 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35202 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35203 directly. Pass built executable to script as
35204 $(built-program-cmd).
35205 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35206 $testprogram without using LD_LIBRARY_PATH and $ldso.
35208 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35209 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35210 $(rtld-installed-name).
35211 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35212 (rtld_installed_name): Likewise.
35213 (library_path): Likewise.
35214 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35215 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35216 $(run-program-prefix) to tst-tables.sh.
35217 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35218 it to run tst-table-from and tst-table-to.
35219 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35220 Pass it to tst-table.sh.
35221 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35222 $(run-program-prefix) to tst-gettext.sh.
35223 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35225 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35227 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35228 to run tst-gettext.
35229 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35230 to run tst-gettext2.
35231 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35232 to run tst-translit.
35233 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35234 $(run-program-prefix) to tst-mtrace.sh.
35235 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35237 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35238 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35239 $(rtld-installed-name).
35240 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35241 (rtld_installed_name): Likewise.
35242 (run_program_prefix): New variable. Use it to run wordexp-test.
35244 * Makeconfig (ARCH): Remove all definitions.
35245 (machine): Likewise.
35246 [ARCH]: Remove conditional code.
35247 [!objdir]: Give error.
35248 [!objdir] (objpfx): Remove.
35249 [!objdir] (common-objpfx): Likewise.
35250 [!objdir] (common-objdir): Likewise.
35251 * configure.in (config_makefile): Remove. Hardcode Makefile in
35252 AC_CONFIG_FILES call.
35253 * configure: Regenerated.
35256 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35258 (testout): Likewise.
35260 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35261 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35262 $(rtld-installed-name).
35263 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35264 (rtld_installed_name): Likwise.
35265 (runit): Remove function.
35266 (run_getconf): New variable, Use it for running getconf binary.
35268 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35271 * string/test-memmem.c (check_result): New function.
35272 (do_one_test): Use it.
35273 (check1): New function.
35274 (test_main): Use it.
35276 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35278 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35280 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35282 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35283 (_G_LSEEK64): Likewise.
35284 (_G_MMAP64): Likewise.
35285 (_G_FSTAT64): Likewise.
35286 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35287 (_G_LSEEK64): Likewise.
35288 (_G_MMAP64): Likewise.
35289 (_G_FSTAT64): Likewise.
35290 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35291 unconditional. Call __mmap64 directly.
35292 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35293 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35294 __lseek64 directly.
35295 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35296 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35298 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35299 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35300 __lseek64 directly.
35301 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35302 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35303 __lseek64 directly.
35304 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35305 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35306 __lseek64 directly.
35307 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35308 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35309 __fxstat64 directly.
35310 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35311 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35313 (freopen64) [!_G_OPEN64]: Remove conditional code.
35314 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35316 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35317 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35319 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35320 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35322 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35323 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35325 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35326 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35328 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35329 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35331 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35332 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35334 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35336 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35339 * manual/memory.texi (Malloc Tunable Parameters): Add note
35340 about free list pointers overwriting some perturb bytes.
35341 Wording suggested by Roland McGrath.
35343 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35345 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35346 (lgamma_test): Likewise.
35347 (tgamma_test): Likewise.
35349 2012-10-16 Florian Weimer <fweimer@redhat.com>
35352 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35353 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35355 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35357 * NEWS: Mention BZ #14716.
35358 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35359 when removing AVAILABLE1_USES_J macro.
35361 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35363 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35364 (__bswap_64): __uint64_t for unsigned 64-bit int.
35366 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35368 * include/string.h (memmem): Declare libc hidden alias.
35369 * string/memmem.c (memmem): Define libc hidden alias.
35370 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35371 __read, __close instead of open, read, close.
35373 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35376 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35378 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35379 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35380 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35382 (__rawmemchr_sse2): Likewise.
35383 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35384 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35385 (__strchr_sse2): Likewise.
35386 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35387 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35388 (__strcasecmp_sse2): Likewise.
35389 (__strncasecmp_sse2): Likewise.
35390 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35391 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35392 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35393 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35394 (__strrchr_sse2): Likewise.
35395 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35397 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35398 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35399 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35400 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35401 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35402 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35403 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35404 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35405 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35406 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35407 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35408 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35409 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35410 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35411 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35412 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35413 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35414 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35415 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35416 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35417 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35418 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35419 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35420 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35421 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35422 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35423 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35424 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35425 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35426 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35428 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35430 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35431 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35432 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35433 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35435 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35437 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35438 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35439 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35440 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35442 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35443 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35444 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35445 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35446 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35447 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35448 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35449 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35450 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35451 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35455 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35456 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35460 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35476 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35484 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35485 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35486 * include/ifunc-impl-list.h: New file.
35487 * misc/ifunc-impl-list.c: Likewise.
35488 * misc/Makefile (routines): Add ifunc-impl-list.
35489 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35490 * string/test-string.h: Include <ifunc-impl-list.h>.
35491 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35492 TEST_NAME]: New variables.
35493 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35495 (test_init): Call __libc_ifunc_impl_list to initialize
35496 func_list if TEST_IFUNC and TEST_NAME are defined.
35498 * string/Makefile (strop-tests): Add bcopy and bzero.
35499 * string/test-bcopy.c: New file.
35500 * string/test-bzero.c: Likewise.
35501 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35503 * string/test-memset.c: Support bzero test if TEST_BZERO is
35505 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35507 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35509 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35512 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35514 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35515 * configure: Regenerated.
35517 * Makeconfig (+link-static-before-libc): Don't include
35518 $(link-static-libc).
35520 * libio/libio.h (_IO_pos_t): Remove.
35522 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35524 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35527 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35529 * crypt/crypt-entry.c: Include fips-private.h.
35530 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35531 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35532 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35533 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35535 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35537 * crypt/crypt-private.h: Include stdbool.h.
35538 (_ufc_setup_salt_r): Return bool.
35539 * crypt/crypt-entry.c: Include errno.h.
35540 (__crypt_r): Return NULL with EINVAL for bad salt.
35541 * crypt/crypt_util.c (bad_for_salt): New.
35542 (_ufc_setup_salt_r): Check that salt is long enough and within
35543 the specified alphabet.
35544 * crypt/badsalttest.c: New file.
35545 * crypt/Makefile (tests): Add it.
35546 ($(objpfx)badsalttest): New.
35548 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35550 * NEWS: Add entry for BZ #14602.
35552 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35554 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35556 * math/libm-test.inc: Update comment listing what functions and
35558 (isgreater_test): New function.
35559 (isgreaterequal_test): Likewise.
35560 (isless_test): Likewise.
35561 (islessequal_test): Likewise.
35562 (islessgreater_test): Likewise.
35563 (isunordered_test): Likewise.
35564 (main): Call the new functions.
35566 2012-10-09 Roland McGrath <roland@hack.frob.com>
35568 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35569 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35570 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35571 * sysdeps/i386/configure: Regenerated.
35572 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35573 * sysdeps/mach/configure: Regenerated.
35574 * sysdeps/mach/hurd/configure: Regenerated.
35575 * sysdeps/powerpc/configure: Regenerated.
35576 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35577 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35578 * sysdeps/s390/s390-32/configure: Regenerated.
35579 * sysdeps/s390/s390-64/configure: Regenerated.
35580 * sysdeps/sh/configure: Regenerated.
35581 * sysdeps/sparc/configure: Regenerated.
35582 * sysdeps/unix/sysv/linux/configure: Regenerated.
35583 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35584 * sysdeps/x86_64/configure: Regenerated.
35586 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35587 defined. Don't check if MAP is NULL.
35589 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35591 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35592 (_G_stat64): Likewise.
35593 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35594 (_G_stat64): Likewise.
35595 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35596 instead of struct _G_stat64.
35597 * libio/fileops.c (mmap_remap_check): Likewise.
35598 (decide_maybe_mmap): Likewise.
35599 (_IO_new_file_seekoff): Likewise.
35600 (_IO_file_stat): Likewise.
35601 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35603 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35604 instead of struct _G_stat64.
35605 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35607 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35610 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35612 (CHECK_EOL): New macro.
35613 (two_way_short_needle): Check beginning of haystack for EOL. Use
35615 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35616 Replace with CHECK_EOL.
35617 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35618 Replace with CHECK_EOL.
35620 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35622 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35624 * math/libm-test.inc: Update comment listing what functions and
35626 (finite_test): New function.
35627 (isinf_test): Likewise.
35628 (isnan_test): Likewise.
35629 (fpclassify_test): Test subnormal input.
35630 (isfinite_test): Likewise.
35631 (isnormal_test): Likewise.
35632 (main): Call the new functions.
35634 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35637 * Makerules (%.dynsym): Force C locale when running
35638 $(OBJDUMP) --dynamic-syms.
35640 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35642 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35645 2012-10-06 David S. Miller <davem@davemloft.net>
35647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35648 upper 32-bits of the length value in %o2 since we use branch-on-register
35649 tests which consider the entire 64-bit register.
35651 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35653 * string/test-strstr.c (check2): Add a test for page boundary.
35655 2012-10-05 David S. Miller <davem@davemloft.net>
35657 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35658 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35660 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35662 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35663 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35664 and bzero when HWCAP_SPARC_CRYPTO is present.
35666 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35669 * string/test-strstr.c (check2): New function.
35670 (test_main): Call check2.
35672 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35674 * string/bug-strcasestr1.c (do_test): Moved to ...
35675 * string/test-strcasestr.c (check1): Here. New function.
35676 (do_one_test): Break out result checking code into ...
35677 (check_result): This. New function.
35678 (do_one_test): Call check_result.
35679 (test_main): Call check1.
35680 * string/bug-strchr1.c (do_test): Moved to ...
35681 * string/test-strchr.c (check1): Here. New function.
35682 (do_one_test): Break out result checking code into ...
35683 (check_result): This. New function.
35684 (do_one_test): Call check_result.
35685 (test_main): Call check1.
35686 * string/bug-strstr1.c (main): Moved to ...
35687 * string/test-strstr.c (check1): Here. New function.
35688 (do_one_test): Break out result checking code into ...
35689 (check_result): This. New function.
35690 (do_one_test): Call check_result.
35691 (test_main): Call check1.
35692 * string/bug-strcasestr1.c: Removed.
35693 * string/bug-strchr1.c: Likewise.
35694 * string/bug-strstr1.c: Likewise.
35696 * elf/Makefile (dl-routines): Add hwcaps.
35697 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35698 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35699 (_dl_important_hwcaps): Moved to ...
35700 * elf/dl-hwcaps.c: Here. New file.
35701 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35704 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35705 if IS_IN_rtld isn't defined.
35707 * elf/dl-support.c (_dl_sysinfo_map): New.
35708 Include "get-dynamic-info.h" and "setup-vdso.h".
35709 (_dl_non_dynamic_init): Call setup_vdso.
35710 * elf/dynamic-link.h: Don't include <assert.h>.
35711 (elf_get_dynamic_info): Moved to ...
35712 * elf/get-dynamic-info.h: Here. New file.
35713 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35714 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35715 * elf/setup-vdso.h: Here. New file.
35716 * elf/rtld.c: Include "setup-vdso.h".
35717 (dl_main): Call setup_vdso.
35719 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35721 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35722 creal in comment listing functions tested. List finite, isinf,
35723 isnan, isless, islessequal, isgreater, isgreaterequal,
35724 islessgreater, isunordered, lgamma_r and pow10 as functions and
35725 macros not tested. Mention which functions not tested are aliases
35726 for other functions. Fix typo. Note that signs of NaNs are not
35729 * scripts/config.guess: Update from config.git.
35730 * scripts/config.sub: Likewise.
35732 2012-10-04 Roland McGrath <roland@hack.frob.com>
35734 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35735 * misc/madvise.c (madvise): Renamed to __madvise.
35736 Make madvise a weak alias.
35737 * include/sys/mman.h: Declare __madvise.
35738 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35739 * sysdeps/unix/syscalls.list
35740 (madvise): Make __madvise the strong name, and madvise a weak alias.
35741 * sysdeps/unix/sysv/linux/syscalls.list
35742 (madvise, mmap): Remove redundant entries.
35743 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35744 * malloc/malloc.c (mtrim): Likewise.
35745 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35747 2012-10-03 Roland McGrath <roland@hack.frob.com>
35749 * sysdeps/mach/hurd/dl-cache.c: File removed.
35750 * config.h.in (USE_LDCONFIG): New #undef.
35751 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35752 * configure: Regenerated.
35753 * elf/Makefile (dl-routines): Add dl-cache only under
35754 [$(use-ldconfig) = yes].
35755 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35756 cache on [USE_LDCONFIG].
35757 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35759 * elf/rtld.c (dl_main): Likewise.
35761 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35763 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35764 _SC_LEVEL4_CACHE_LINESIZE.
35766 2012-10-03 Roland McGrath <roland@hack.frob.com>
35768 * sysdeps/unix/bsd/confstr.h: File removed.
35770 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35772 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35775 2012-10-02 Roland McGrath <roland@hack.frob.com>
35777 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35778 Make 'mapoff' field ElfW(Off) rather than off_t.
35780 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35782 * nscd/Makefile: Remove nscd-cflags and all its users.
35783 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35784 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35787 * malloc.c (malloc_printerr): Clarify error message.
35789 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35793 Set bit_FMA_Usable if FMA is supported.
35794 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35796 (bit_FMA4_Usable): Updated.
35797 (index_FMA_Usable): New macro.
35798 (CPUID_FMA): Likewise
35799 (HAS_FMA): Defined with bit_FMA_Usable.
35801 2012-10-01 Roland McGrath <roland@hack.frob.com>
35803 * bits/types.h (__swblk_t): Type removed.
35804 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35805 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35807 (__SWBLK_T_TYPE): Likewise.
35808 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35809 (__SWBLK_T_TYPE): Likewise.
35810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35811 (__SWBLK_T_TYPE): Likewise.
35812 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35813 (__SWBLK_T_TYPE): Likewise.
35815 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35816 Honza Horak <hhorak@redhat.com>
35818 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35819 (xdr_mapname): Use YPMAXMAP as maxsize.
35820 (xdr_peername): Use YPMAXPEER as maxsize.
35821 (xdr_keydat): Use YPAXRECORD as maxsize.
35822 (xdr_valdat): Use YPMAXRECORD as maxsize.
35824 2012-10-01 Roland McGrath <roland@hack.frob.com>
35826 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35828 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35829 * csu/init-first.c: ... here.
35830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35831 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35832 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35833 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35834 * sysdeps/i386/init-first.c: File removed.
35835 * sysdeps/sh/init-first.c: File removed.
35837 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35841 if x * y might underflow to zero and z is zero.
35842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35844 * math/libm-test.inc (min_subnorm_value): New variable.
35845 (fma_test): Add more tests.
35846 (fma_test_towardzero): Likewise.
35847 (fma_test_downward): Likewise
35848 (fma_test_upward): Likewise.
35849 (initialize): Set min_subnorm_value.
35851 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35857 mode for addition resulting in exact zero.
35858 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35863 * math/libm-test.inc (fma_test): Add more tests.
35864 (fma_test_towardzero): New function.
35865 (fma_test_downward): Likewise.
35866 (fma_test_upward): Likewise.
35867 (main): Call the new functions.
35869 2012-09-28 David S. Miller <davem@davemloft.net>
35871 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35873 2012-09-28 Roland McGrath <roland@hack.frob.com>
35875 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35876 instead of SIGALRM.
35878 * sysdeps/gnu/_G_config.h: Moved to ...
35879 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35880 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35881 * sysdeps/generic/_G_config.h: ... here.
35883 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35885 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35887 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35888 Conditionalize target on [libnss_test1.so-version].
35890 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35892 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35893 (elfobjdir): Move out of conditionals.
35895 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35896 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35897 (__nss_lookup_function): Conditionalize label remove_from_tree on
35898 [!DO_STATIC_NSS || SHARED], matching its only use.
35900 2012-09-28 David S. Miller <davem@davemloft.net>
35902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35903 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35905 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35907 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35909 when HWCAP_SPARC_CRYPTO is present.
35911 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35913 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35915 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35918 * stdio-common/vfprintf.c (process_string_arg): Revert
35921 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35923 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35925 * stdio-common/tst-sprintf.c: Include <locale.h>
35926 (main): Test sprintf's handling of incomplete multibyte
35929 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35931 * elf/dl-runtime.c (VERSYMIDX): Removed.
35932 * elf/dl-version.c (VERSYMIDX): Likewise.
35933 * elf/do-rel.h (VERSYMIDX): Likewise.
35934 (VALIDX): Likewise.
35935 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35936 * elf/rtld.c (VALIDX): Likewise.
35937 (ADDRIDX): Likewise.
35938 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35939 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35940 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35941 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35942 (VALIDX): Likewise.
35943 (ADDRIDX): Likewise.
35945 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35947 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35949 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35952 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35954 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35955 addresses are in the same scope as 192.0.2/24.
35956 * posix/gai.conf: Document new scope table defaults.
35958 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35961 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35962 for ftell. Compute offsets from write pointers instead.
35963 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35965 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35968 * libio/Makefile (tests): New test case tst-fseek.
35969 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35970 combination works in wide mode.
35971 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35972 state when the external buffer state changes.
35974 2012-09-27 David S. Miller <davem@davemloft.net>
35977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35978 pass reloc->r_addend in as the 'high' argument to
35979 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35983 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35985 * rt/tst-aio2.c: Include <pthread.h>.
35986 * rt/tst-aio3.c: Likewise.
35988 2012-09-27 Steve Ellcey <sellcey@mips.com>
35990 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35992 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35994 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35995 contents on [SHARED].
35997 2012-09-26 Marek Polacek <polacek@redhat.com>
36001 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36002 for C++ and GCC <4.3 as well as for non GCC compilers.
36004 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36008 2012-09-25 Roland McGrath <roland@hack.frob.com>
36010 * Makefile.in (all, install): Declare with .PHONY.
36011 Reported by Michael Hope <michael.hope@linaro.org>.
36013 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36015 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36016 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36018 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36020 (sydep_routines): Add the new and the internal functions.
36021 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36022 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36024 (GLIBC_2.17): Add the new function.
36025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36026 (GLIBC_2.17): Likewise.
36027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36028 (GLIBC_2.17): Likewise.
36029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36030 (GLIBC_2.17): Likewise.
36031 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36033 2012-09-25 Alan Modra <amodra@gmail.com>
36035 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36036 Add release barrier before setting once_control to say
36037 initialisation is done. Add hints on lwarx. Use macro in
36039 (clear_once_control): Add release barrier.
36041 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36044 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36046 * math/s_clog10.c (__clog10): Likewise.
36047 * math/s_clog10f.c (__clog10f): Likewise.
36048 * math/s_clog10l.c (__clog10l): Likewise.
36049 * math/s_clogf.c (__clogf): Likewise.
36050 * math/s_clogl.c (__clogl): Likewise.
36051 * math/Makefile (libm-calls): Add x2y2m1.
36052 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36053 (__x2y2m1): Likewise.
36054 (__x2y2m1l): Likewise.
36055 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36056 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36057 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36058 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36059 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36060 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36061 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36062 * sysdeps/i386/fpu/libm-test-ulps: Update.
36063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36066 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36067 int as type of variable DEPTH.
36068 (glob): Use size_t instead of int as type of variables NEWCOUNT
36071 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36073 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36074 Add s_sincosf-sse2.
36075 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36076 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36077 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36078 macros for using routine as __sincosf_ia32.
36079 Use macro for function declaration and weak_alias.
36080 * sysdeps/i386/fpu/libm-test-ulps: Update.
36082 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36085 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36086 subnormal argument.
36087 * math/s_cexpf.c (__cexpf): Likewise.
36088 * math/s_csinf.c (__csinf): Likewise.
36089 * math/s_csinhf.c (__csinhf): Likewise.
36090 * math/s_ctanf.c (__ctanf): Likewise.
36091 * math/s_ctanhf.c (__ctanhf): Likewise.
36092 * math/s_ccosh.c (__ccoshf): Likewise.
36093 * math/s_cexp.c (__cexpl): Likewise.
36094 * math/s_csin.c (__csin): Likewise.
36095 * math/s_csinh.c (__csinh): Likewise.
36096 * math/s_ctan.c (__ctan): Likewise.
36097 * math/s_ctanh.c (ctanh): Likewise.
36098 * math/s_ccoshl.c (__ccoshl): Likewise.
36099 * math/s_cexpl.c (__cexpl): Likewise.
36100 * math/s_csinl.c (__csinl): Likewise.
36101 * math/s_csinhl.c (__csinhl): Likewise.
36102 * math/s_ctanl.c (__ctanl): Likewise.
36103 * math/s_ctanhl.c (__ctanhl): Likewise.
36105 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36107 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36108 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36109 (_IO_off_t): Define to __off_t, not _G_off_t.
36110 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36111 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36112 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36113 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36114 type of __dummy and __dummy2 fields.
36115 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36116 (_G_ssize_t): Likewise.
36117 (_G_off_t): Likewise.
36118 (_G_pid_t): Likewise.
36119 (_G_uid_t): Likewise.
36120 (_G_wchar_t): Likewise.
36121 (_G_wint_t): Likewise.
36122 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36123 (_G_ssize_t): Likewise.
36124 (_G_off_t): Likewise.
36125 (_G_pid_t): Likewise.
36126 (_G_uid_t): Likewise.
36127 (_G_wchar_t): Likewise.
36128 (_G_wint_t): Likewise.
36129 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36130 (_G_ssize_t): Likewise.
36131 (_G_off_t): Likewise.
36132 (_G_pid_t): Likewise.
36133 (_G_uid_t): Likewise.
36134 (_G_wchar_t): Likewise.
36135 (_G_wint_t): Likewise.
36137 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36139 * malloc/arena.c: Include malloc-sysdep.h.
36140 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36141 is sufficient to shrink the heap or an unmap is needed.
36142 * sysdeps/generic/malloc-sysdep.h: New file. Define
36143 new function check_may_shrink_heap.
36144 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36145 new function check_may_shrink_heap.
36147 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36149 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36152 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36154 * catgets/test-gencat.sh: Add "set -e".
36155 * elf/tst-pathopt.sh: Likewise.
36156 * grp/tst_fgetgrent.sh: Likewise.
36157 * iconvdata/run-iconv-test.sh: Likewise.
36158 * intl/tst-gettext.sh: Likewise.
36159 * intl/tst-gettext2.sh: Likewise.
36160 * intl/tst-gettext4.sh: Likewise.
36161 * intl/tst-gettext6.sh: Likewise.
36162 * intl/tst-translit.sh: Likewise.
36163 * io/ftwtest-sh: Likewise.
36164 * libio/test-freopen.sh: Likewise.
36165 * malloc/tst-mtrace.sh: Likewise.
36166 * posix/globtest.sh: Likewise.
36167 * posix/tst-getconf.sh: Likewise.
36168 * posix/wordexp-tst.sh: Likewise.
36169 * stdio-common/tst-printf.sh: Likewise.
36170 * stdio-common/tst-unbputc.sh: Likewise.
36171 * stdlib/tst-fmtmsg.sh: Likewise.
36172 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36173 * catgets/Makefile: Do not specify -e option when running
36174 testsuite shell scripts.
36175 * elf/Makefile: Likewise.
36176 * grp/Makefile: Likewise.
36177 * iconvdata/Makefile: Likewise.
36178 * intl/Makefile: Likewise.
36179 * io/Makefile: Likewise.
36180 * libio/Makefile: Likewise.
36181 * malloc/Makefile: Likewise.
36182 * posix/Makefile: Likewise.
36183 * stdio-common/Makefile: Likewise.
36184 * stdlib/Makefile: Likewise.
36185 * sysdeps/x86_64/Makefile: Likewise.
36187 * io/ftwtest-sh: Add copyright header.
36188 * posix/globtest.sh: Likewise.
36189 * posix/tst-getconf.sh: Likewise.
36190 * posix/wordexp-tst.sh: Likewise.
36191 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36193 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36196 * Makeconfig (+link): Defined as $(+link-static) if
36197 $(build-shared) isn't yes.
36198 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36200 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36202 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36205 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36206 new chunk size with MALLOC_ALIGN_MASK.
36208 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36211 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36213 (__printf_fphex): Determine rounding using get_rounding_mode and
36215 * stdio-common/tst-printf-round.c (struct hex_test): New
36217 (hex_tests): New variable.
36218 (test_hex_in_one_mode): New function.
36219 (do_test): Also run tests for hex float output.
36221 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36223 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36224 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36225 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36226 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36227 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36228 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36229 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36230 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36232 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36234 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36235 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36236 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36237 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36239 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36242 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36244 * elf/tst-rtld-load-self.sh: New test.
36245 * elf/Makefile: Run it.
36247 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36249 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36250 (tst-writev-ENV): Remove.
36251 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36253 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36255 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36257 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36259 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36261 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36263 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36264 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36265 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36268 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36271 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36272 * config.make.in (have-cpp-asm-debuginfo): Removed.
36273 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36274 * configure: Regenerated.
36276 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36279 * stdio-common/printf_fp.c: Include <stdbool.h> and
36281 (___printf_fp): Determine rounding using get_rounding_mode and
36283 * stdio-common/tst-printf-round.c: New file.
36284 * stdio-common/Makefile (tests): Add tst-printf-round.
36285 (link-libm): New variable.
36286 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36288 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36291 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36292 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36294 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36297 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36299 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36300 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36301 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36302 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36304 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36307 * include/rounding-mode.h: New file.
36308 * sysdeps/generic/get-rounding-mode.h: Likewise.
36309 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36310 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36311 (MAX_VALUE): New macro.
36312 (MIN_VALUE): Likewise.
36313 (overflow_value): New function.
36314 (underflow_value): Likewise.
36315 (round_and_return): Use overflow_value and underflow_value to
36316 determine return values in overflow and underflow cases. Use
36317 round_away to determine rounding depending on rounding mode.
36318 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36319 determine return values in overflow and underflow cases.
36320 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36321 (struct test_results): New structure.
36322 (struct test): Use struct test_results to store expected results
36323 for all rounding modes.
36324 (TEST): Include expected results for all rounding modes.
36325 (test_in_one_mode): New function.
36326 (do_test): Use test_in_one_mode to compute and check results.
36327 Check results for all rounding modes.
36328 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36331 2012-12-09 Allan McRae <allan@archlinux.org>
36333 * sysdeps/i386/fpu/libm-test-ulps: Update
36335 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36337 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36338 (_G_int32_t): Likewise.
36339 (_G_uint16_t): Likewise.
36340 (_G_uint32_t): Likewise.
36341 (_G_HAVE_BOOL): Likewise.
36342 (_G_HAVE_ATEXIT): Likewise.
36343 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36344 (_G_HAVE_IO_FILE_OPEN): Likewise.
36345 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36346 (_G_int32_t): Likewise.
36347 (_G_uint16_t): Likewise.
36348 (_G_uint32_t): Likewise.
36349 (_G_HAVE_BOOL): Likewise.
36350 (_G_HAVE_ATEXIT): Likewise.
36351 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36352 (_G_HAVE_IO_FILE_OPEN): Likewise.
36353 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36354 (_G_int32_t): Likewise.
36355 (_G_uint16_t): Likewise.
36356 (_G_uint32_t): Likewise.
36357 (_G_HAVE_BOOL): Likewise.
36358 (_G_HAVE_ATEXIT): Likewise.
36359 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36360 (_G_HAVE_IO_FILE_OPEN): Likewise.
36362 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36364 * csu/libc-tls.c: Update copyright years.
36366 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36368 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36369 [!_G_USING_THUNKS]: Remove conditional code.
36370 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36371 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36373 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36374 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36375 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36376 (_G_VTABLE_LABEL_PREFIX): Likewise.
36377 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36378 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36379 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36380 (_G_VTABLE_LABEL_PREFIX): Likewise.
36381 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36382 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36383 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36384 (_G_VTABLE_LABEL_PREFIX): Likewise.
36385 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36387 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36389 * libio/Makefile: Include ../Makeconfig before tests.
36390 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36391 only if $(build-shared) is yes.
36393 * iconv/gconv_db.c: Update copyright years.
36395 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36397 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36398 unwind info if defined PIC. Fix special cases description.
36399 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36401 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36403 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36405 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36407 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36409 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36412 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36413 (LDLIBS-tst-chk4): This.
36414 (LDFLAGS-tst-chk5): Renamed to ...
36415 (LDLIBS-tst-chk5): This.
36416 (LDFLAGS-tst-chk6): Renamed to ...
36417 (LDLIBS-tst-chk6): This.
36418 (LDFLAGS-tst-lfschk4): Renamed to ...
36419 (LDLIBS-tst-lfschk4): This.
36420 (LDFLAGS-tst-lfschk5): Renamed to ...
36421 (LDLIBS-tst-lfschk5): This.
36422 (LDFLAGS-tst-lfschk6): Renamed to ...
36423 (LDLIBS-tst-lfschk6): This.
36425 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36426 on $(common-objpfx)soversions.mk.
36428 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36431 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36434 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36436 * malloc/arena.c (arena_get_retry): New function that gets
36437 another arena for the caller to try its request on.
36438 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36439 current arena cannot fulfill the request.
36440 (__libc_memalign): Likewise.
36441 (__libc_memalign): Likewise.
36442 (__libc_pvalloc): Likewise.
36443 (__libc_calloc): Likewise.
36445 2012-09-05 John Tobey <john.tobey@gmail.com>
36448 * manual/arith.texi (Operations on Complex): Fix description
36449 of carg branch cut.
36451 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36454 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36458 * manual/memory.texi (Memory): Make order of menu items match
36461 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36463 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36464 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36465 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36467 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36469 * csu/libc-tls.c (static_dtv): Renamed to ...
36470 (_dl_static_dtv): This. Make it global.
36471 (_dl_initial_dtv): Removed.
36472 (__libc_setup_tls): Updated.
36473 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36474 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36477 2012-09-06 Petr Machata <pmachata@redhat.com>
36479 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36480 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36481 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36482 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36484 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36487 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36488 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36491 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36494 * Makeconfig (link-static-before-libc): Replace $(+prector)
36496 (link-static-after-libc): Replace $(+postctor) with
36498 (link-bounded): Replace $(+prector)/$(+postctor) with
36499 $(+prectorT)/$(+postctorT).
36500 (+prectorT): New macro.
36501 (+postctorT): Likewise.
36503 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36505 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36506 (round_str): Handle values above the maximum for IBM long double
36508 * stdlib/tst-strtod-round.c (tests): Regenerated.
36510 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36512 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36514 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36515 zarch_nohighgprs around the zarch optimized routines.
36516 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36517 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36521 2012-09-05 David S. Miller <davem@davemloft.net>
36523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36525 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36526 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36527 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36528 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36531 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36533 * malloc/arena.c: Fold copyright years.
36534 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36536 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36538 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36540 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36542 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36544 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36546 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36547 change internal state upon failure.
36549 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36551 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36552 * malloc/memusage.c (mmap): Likewise.
36553 (mmap64, mremap): Likewise. Adjust name in comment.
36555 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36557 * libio/fileops.c: Fix typos in comments.
36558 * libio/oldfileops.c: Likewise.
36559 * libio/wfileops.c: Likewise.
36561 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36564 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36565 (tst-malloc-usable-ENV): Set environment for test case.
36566 * malloc/hooks.c (malloc_check_get_size): New function to get
36568 * malloc/malloc.c (musable): Use malloc_check_get_size.
36569 * malloc/tst-malloc-usable.c: New test case.
36571 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36573 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36575 2012-09-05 Allan McRae <allan@archlinux.org>
36578 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36579 determine header location.
36580 * configure: Regenerated.
36582 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36584 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36586 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36587 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36589 (test): Regenerate.
36591 2012-09-04 David S. Miller <davem@davemloft.net>
36593 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36594 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36595 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36597 2012-09-04 Florian Weimer <fweimer@redhat.com>
36599 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36602 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36604 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36607 * libio/iogetdelim.c: Include <limits.h>.
36608 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36609 + len + 1 would overflow.
36611 2012-09-03 Andreas Jaeger <aj@suse.de>
36613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36614 * sysdeps/i386/fpu/libm-test-ulps: Update.
36616 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36618 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36619 Add s_sinf-sse2, s_conf-sse2.
36621 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36622 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36623 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36624 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36626 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36627 for using routine as __sinf_ia32.
36628 Use macro for function declaration and weak_alias.
36629 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36630 for using routine as __cosf_ia32.
36631 Use macro for function declaration and weak_alias.
36633 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36634 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36636 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36637 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36640 * math/libm-test.inc (cos_test): Add more test cases.
36641 (sin_test): Likewise.
36642 (sincos_test): Likewise.
36644 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36646 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36647 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36649 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36651 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36654 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36655 first element of the GOT.
36656 (elf_machine_load_address): Return the difference between
36657 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36659 2012-09-01 Allan McRae <allan@archlinux.org>
36662 * configure.in (AWK): Require gawk version 3.0 or later.
36663 * configure: Regenerated.
36665 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36667 * sysdeps/unix/sysv/linux/kernel-features.h
36668 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36670 [__NR_clock_getres]: Make code unconditional.
36671 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36672 (clock_getcpuclockid): Remove code left unreachable by removal of
36674 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36675 code unconditional.
36676 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36677 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36678 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36679 Make code unconditional.
36680 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36682 * sysdeps/unix/sysv/linux/clock_settime.c
36683 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36685 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36686 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36688 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36691 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36692 scripts/test-installation.pl.
36694 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36695 and $ld_so_version if it is set.
36697 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36701 failure if reading from procfs failed.
36702 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36704 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36706 * sysdeps/unix/sysv/linux/kernel-features.h
36707 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36708 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36709 Remove conditional code.
36710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36711 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36712 Remove conditional code.
36713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36714 * sysdeps/unix/sysv/linux/i386/fxstat.c
36715 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36717 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36718 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36720 * sysdeps/unix/sysv/linux/i386/lxstat.c
36721 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36723 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36724 Remove conditional code.
36725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36726 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36727 Remove conditional code.
36728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36729 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36730 <kernel-features.h>.
36731 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36733 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36734 Remove conditional code.
36735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36736 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36737 Remove conditional.
36739 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36742 * NEWS: Add fixed bug number.
36744 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36747 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36748 underflowing exponent in case of negative sign.
36749 * stdlib/tst-strtod-round-data: Add more tests.
36750 * stdlib/tst-strtod-round.c (tests): Regenerated.
36753 * stdlib/strtod_l.c (NDIG): Remove.
36754 (HEXNDIG): Likewise.
36755 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36756 smallest representable value.
36757 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36758 lie within an exact representation of 1/2 ulp of the result.
36759 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36761 (TENS_P9_IDX): Define unconditionally.
36762 (TENS_P9_SIZE): Likewise.
36763 (TENS_P10_IDX): Likewise.
36764 (TENS_P10_SIZE): Likewise.
36765 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36766 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36767 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36768 entries for 10^2^13 and 10^2^14.
36769 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36770 (TENS_P13_IDX): Define.
36771 (TENS_P13_SIZE): Likewise.
36772 (TENS_P14_IDX): Likewise.
36773 (TENS_P14_SIZE): Likewise.
36774 (_fpioconst_pow10): Change array size to
36775 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36777 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36778 1024]: Add entries for 10^2^13 and 10^2^14.
36779 [LAST_POW10 > _LAST_POW10]: Remove #error.
36780 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36781 (_fpioconst_pow10): Change array size to
36782 FPIOCONST_POW10_ARRAY_SIZE.
36783 * stdlib/gen-fpioconst.c: New file.
36784 * stdlib/gen-tst-strtod-round.c: Likewise.
36785 * stdlib/tst-strtod-round-data: Likewise.
36786 * stdlib/tst-strtod-round.c: Likewise.
36787 * stdlib/Makefile (tests): Add tst-strtod-round.
36790 * stdlib/strtod_l.c: Include <stdint.h>.
36791 (NDEBUG): Do not define.
36792 (round_and_return): Change EXPONENT parameter to type intmax_t.
36793 Rearrange calculations to avoid internal overflow possibilities.
36794 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36795 Rearrange calculations to avoid internal overflow possibilities.
36796 Assert that number fits inside MPNSIZE limbs.
36797 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36798 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36799 calculations and add assertions to avoid internal overflow
36800 possibilities. Add casts to avoid signed/unsigned operations.
36801 * stdlib/tst-strtod-overflow.c: New file.
36802 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36804 2012-08-25 Marek Polacek <polacek@redhat.com>
36806 * time/time.h: Fix some typos in comments.
36808 2012-08-23 Roland McGrath <roland@hack.frob.com>
36810 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36811 * posix/tst-rfc3484-2.c: Likewise.
36812 * posix/tst-rfc3484-3.c: Likewise.
36814 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36816 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36817 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36819 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36821 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36822 #include of fxstatat64.c.
36824 2012-08-22 Roland McGrath <roland@hack.frob.com>
36826 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36827 * shadow/getspent_r.c: Likewise.
36828 * shadow/getspnam.c: Likewise.
36829 * shadow/getspnam_r.c: Likewise.
36830 * gshadow/getsgent.c: Likewise.
36831 * gshadow/getsgent_r.c: Likewise.
36832 * gshadow/getsgnam.c: Likewise.
36833 * gshadow/getsgnam_r.c: Likewise.
36834 * inet/getnetbyad.c: Likewise.
36835 * inet/getnetbyad_r.c: Likewise.
36836 * inet/getnetbynm.c: Likewise.
36837 * inet/getnetbynm_r.c: Likewise.
36838 * inet/getnetent.c: Likewise.
36839 * inet/getnetent_r.c: Likewise.
36840 * inet/getproto.c: Likewise.
36841 * inet/getproto_r.c: Likewise.
36842 * inet/getprtent.c: Likewise.
36843 * inet/getprtent_r.c: Likewise.
36844 * inet/getprtname.c: Likewise.
36845 * inet/getprtname_r.c: Likewise.
36846 * inet/getrpcbyname.c: Likewise.
36847 * inet/getrpcbyname_r.c: Likewise.
36848 * inet/getrpcbynumber.c: Likewise.
36849 * inet/getrpcbynumber_r.c: Likewise.
36850 * inet/getrpcent.c: Likewise.
36851 * inet/getrpcent_r.c: Likewise.
36852 * inet/getaliasent.c: Likewise.
36853 * inet/getaliasent_r.c: Likewise.
36854 * inet/getaliasname.c: Likewise.
36855 * inet/getaliasname_r.c: Likewise.
36856 * nscd/getgrgid_r.c: Likewise.
36857 * nscd/getgrnam_r.c: Likewise.
36858 * nscd/gethstbyad_r.c: Likewise.
36859 * nscd/gethstbynm3_r.c: Likewise.
36860 * nscd/getpwnam_r.c: Likewise.
36861 * nscd/getpwuid_r.c: Likewise.
36862 * nscd/getsrvbynm_r.c: Likewise.
36863 * nscd/getsrvbypt_r.c: Likewise.
36864 * nscd/gai.c: Likewise.
36866 * configure.in (build_nscd): New substituted variable, set
36867 by --disable-build-nscd and defaults to $use_nscd.
36868 * configure: Regenerated.
36869 * config.make.in (build-nscd): New substituted variable.
36870 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36871 Change conditional to require [$(build-nscd) = yes] as well.
36872 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36875 * configure.in (use_nscd): New substituted variable, set by
36876 --disable-nscd. If enabled, define USE_NSCD.
36877 * configure: Regenerated.
36878 * config.h.in: Add USE_NSCD.
36879 * config.make.in (use-nscd): New substituted variable.
36880 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36881 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36882 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36883 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36884 (CFLAGS-getgrnam_r.c): Likewise.
36885 (CFLAGS-initgroups.c): Likewise.
36886 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36887 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36889 * inet/getnetgrent_r.c
36890 (nscd_setnetgrent): New function, broken out of ...
36891 (setnetgrent): ... here. Call it.
36892 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36893 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36894 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36895 * nscd/Makefile (routines, aux): Move definitions after include of
36896 Makeconfig. Conditionalize on [$(use-nscd) != no].
36897 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36898 Conditionalize on [USE_NSCD].
36899 (is_nscd, nscd_init_cb): Likewise.
36900 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36901 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36902 * nss/nss_db/db-init.c: Likewise.
36903 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36905 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36906 (make_request): Use it.
36907 (cache_valid_p): New function.
36908 (__check_pf): Use it.
36909 * NEWS: Add item for --disable-nscd.
36911 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36913 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36914 to support sed >= 4.2.1-20-ga9bf076.
36915 * configure: Regenerated.
36917 2012-08-22 Roland McGrath <roland@hack.frob.com>
36919 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36920 Conditionalize whole body on [IREL].
36922 2012-08-22 Jeff Law <law@redhat.com>
36925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36926 if the family is PF_UNSPEC.
36928 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36930 * Makerules (lib-version): Rename from V.
36931 (install-lib-nosubdir): Change V to lib-version.
36933 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36936 * powerpc32/power6/wcschr.c: New file.
36937 * powerpc32/power6/wcscpy.c: New file.
36938 * powerpc32/power6/wcsrchr.c: New file.
36939 * powerpc64/power6/wcschr.c: New file.
36940 * powerpc64/power6/wcscpy.c: New file.
36941 * powerpc64/power6/wcsrchr.c: New file.
36943 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36945 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36946 (two_way_short_needle): Use it.
36947 * string/strstr.c (AVAILABLE1_USES_J): Define.
36948 * string/strcasestr.c: Likewise.
36950 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36952 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36955 * NEWS: Add an entry.
36956 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36957 define their defaults.
36958 (two_way_short_needle): Detect end-of-string on-the-fly.
36959 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36960 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36961 * string/bug-strcasestr1.c: New test.
36962 * string/Makefile: Run it.
36964 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36967 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36968 the first character.
36970 2012-08-21 Roland McGrath <roland@hack.frob.com>
36972 * csu/elf-init.c (__libc_csu_irel): Function removed.
36973 * csu/libc-start.c (apply_irel): New function.
36974 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36976 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36978 * sysdeps/unix/sysv/linux/kernel-features.h
36979 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36980 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36981 <kernel-features.h>.
36982 [__NR_fadvise64_64]: Make code unconditional.
36983 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36984 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36985 !__NR_fadvise64_64)]: Likewise.
36986 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36987 !__NR_fadvise64_64))]: Likewise.
36988 [__NR_fadvise64]: Make code unconditional.
36989 [!__NR_fadvise64]: Remove conditional code.
36990 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36991 <kernel-features.h>.
36992 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36994 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36997 not include <kernel-features.h>.
36998 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37000 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37002 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37003 include <kernel-features.h>.
37004 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37006 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37009 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37012 slight instruction rearrangements per scrollpipe analysis.
37013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37015 2012-08-20 Roland McGrath <roland@hack.frob.com>
37017 * manual/syslog.texi (syslog; vsyslog, closelog):
37018 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37019 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37021 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37022 DSOCAPS to match condition on defining it.
37024 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37026 * sysdeps/unix/sysv/linux/kernel-features.h
37027 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37029 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37030 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37032 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37033 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37035 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37036 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37038 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37039 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37041 * sysdeps/unix/sysv/linux/kernel-features.h
37042 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37043 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37045 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37046 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37047 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37048 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37049 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37050 Make code unconditional.
37051 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37052 (__mmap64) [!__NR_mmap2]: Likewise.
37053 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37054 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37055 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37056 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37057 [__NR_mmap2]: Make code unconditional.
37058 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37059 (__mmap64) [!__NR_mmap2]: Likewise.
37061 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37063 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37065 2012-08-18 Andreas Jaeger <aj@suse.de>
37067 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37069 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37071 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37072 * include/unistd.h (__have_sock_cloexec): Likewise.
37073 (__have_pipe2): Likewise.
37074 (__have_dup3): Likewise.
37076 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37079 * include/unistd.h (__have_pipe2): Change define into an extern int.
37080 (__have_dup3): Likewise.
37081 * socket/have_sock_cloexec.c: Include fcntl.h.
37082 (__have_pipe2): New variable.
37083 (__have_dup3): Likewise.
37085 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37087 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37089 2012-08-17 Marek Polacek <polacek@redhat.com>
37091 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37092 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37094 2012-08-17 Roland McGrath <roland@hack.frob.com>
37096 * configure.in: Add AC_SUBST for sysheaders.
37097 * configure: Regenerated.
37098 * config.make.in (sysheaders): New substituted variable.
37100 * sysdeps/unix/mkfifo.c: Moved ...
37101 * sysdeps/posix/mkfifo.c: ... here.
37102 * sysdeps/unix/mkfifoat.c: Moved ...
37103 * sysdeps/posix/mkfifoat.c: ... here.
37105 * sysdeps/unix/utime.c: Moved ...
37106 * sysdeps/posix/utime.c: ... here.
37108 * sysdeps/unix/time.c: Moved ...
37109 * sysdeps/posix/time.c: ... here.
37110 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37111 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37113 * sysdeps/unix/nice.c: Moved ...
37114 * sysdeps/posix/nice.c: ... here.
37116 * sysdeps/unix/alarm.c: Moved ...
37117 * sysdeps/posix/alarm.c: ... here.
37119 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37121 2012-08-17 Jeff Law <law@redhat.com>
37123 * intl/Makefile (codeset_mo): New variable.
37124 ($(codeset_mo)): New target.
37125 (tst-codeset.out): Depend on that. Remove explicit rule.
37126 (tst-gettext3.out, tst-gettext5.out): Likewise.
37127 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37128 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37129 * intl/tst-codeset.sh: Remove.
37130 * intl/tst-gettext3.sh: Likewise.
37131 * intl/tst-gettext5.sh: Likewise.
37133 2012-08-17 Roland McGrath <roland@hack.frob.com>
37135 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37136 * sysdeps/unix/syscalls.list: ... here.
37138 * sysdeps/posix/getaddrinfo.c
37139 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37140 (gaiconf_init, gaiconf_reload): Use them.
37141 [!_STATBUF_ST_NSEC]
37142 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37143 Define using time_t rather than struct timespec.
37145 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37146 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37148 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37150 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37151 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37154 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37155 __libc_cleanup_push argument.
37157 * bits/param.h: New file.
37158 * misc/sys/param.h: New file.
37159 * include/sys/param.h: New file.
37160 * misc/Makefile (headers): Add bits/param.h.
37161 * sysdeps/generic/sys/param.h: File removed.
37162 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37163 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37164 * sysdeps/mach/hurd/bits/param.h: New file.
37165 * sysdeps/mach/hurd/sys/param.h: File removed.
37167 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37170 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37172 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37173 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37176 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37177 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37178 rather than -D_IO_MTSAFE_IO conditionally.
37179 * stdio-common/Makefile (CPPFLAGS): Likewise.
37180 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37181 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37182 Use $(libio-mtsafe).
37183 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37184 of -D_IO_MTSAFE_IO.
37185 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37186 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37187 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37188 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37189 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37190 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37191 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37192 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37193 (CFLAGS-fread_u_chk.c): Likewise.
37194 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37195 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37196 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37197 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37198 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37199 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37200 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37201 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37202 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37204 * libio/Makefile: Test [$(libc-reentrant) = yes]
37205 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37208 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37209 * sysdeps/pthread/configure: File removed.
37210 * sysdeps/pthread/Makeconfig: New file.
37211 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37212 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37214 2012-08-16 Gary Benson <gbenson@redhat.com>
37216 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37217 unmapping the first object in a namespace.
37219 2012-08-16 Roland McGrath <roland@hack.frob.com>
37221 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37222 (__internal_setnetgrent): ... this. Add internal_function to
37223 definition. Add libc_hidden_def.
37224 (setnetgrent): Update caller.
37225 (internal_endnetgrent): Renamed to ...
37226 (__internal_endnetgrent): ... this. Add internal_function to
37227 definition. Add libc_hidden_def.
37228 (endnetgrent): Update caller.
37229 (internal_getnetgrent_r): Renamed to ...
37230 (__internal_getnetgrent_r): ... this. Add internal_function to
37231 definition. Add libc_hidden_def.
37232 (__getnetgrent_r): Update caller.
37233 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37235 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37237 * stdlib/longlong.h: Update from GCC.
37239 2012-08-16 Roland McGrath <roland@hack.frob.com>
37241 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37242 on _QL, which is set by umul_ppmm but never used.
37243 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37244 variables, which are set by GMP macros but never used.
37245 * stdio-common/_itowa.c (_itowa): Likewise.
37246 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37247 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37249 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37251 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37252 struct La_sh_regs is not constant.
37253 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37254 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37255 and struct La_sparc64_regs are not constant.
37257 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37259 * sysdeps/unix/sysv/linux/kernel-features.h
37260 (__ASSUME_POSIX_TIMERS): Remove.
37261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37262 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37263 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37264 Make code unconditional.
37265 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37266 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37267 Make code unconditional.
37268 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37269 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37270 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37271 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37272 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37273 Make code unconditional.
37274 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37275 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37276 (__libc_missing_posix_timers): Remove.
37278 2012-08-15 Roland McGrath <roland@hack.frob.com>
37280 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37281 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37283 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37285 * elf/dl-sym.c: Include <stdlib.h>.
37287 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37288 constants, which avoids warnings in 32-bit builds.
37290 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37291 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37293 * misc/lseek.c: File moved to ...
37294 * io/lseek.c: ... here.
37296 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37298 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37299 shifting LEN more than 31 bits at once.
37301 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37304 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37305 segmentation fault for a case of two empty input strings.
37306 * string/test-strncasecmp.c (check1): Renamed to...
37307 (bz12205): ...this.
37308 (bz14195): Add new testcase for two empty input strings and N > 0.
37309 (test_main): Call new testcase, adapt for renamed function.
37311 2012-08-15 Andreas Jaeger <aj@suse.de>
37314 * crypt/md5test2.c: New test, based on test supplied by Serge
37315 Belyshev <belyshev@depni.sinp.msu.ru>.
37316 * crypt/Makefile (xtests): Add md5test-giant..
37317 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37319 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37322 * crypt/md5.c (md5_process_block): Don't assume the buffer
37323 length is less than 2**32.
37324 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37325 length is less than 2**64.
37327 2012-08-15 Roland McGrath <roland@hack.frob.com>
37329 * string/str-two-way.h: Include <sys/param.h>.
37330 (MAX): Macro removed.
37332 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37333 Move #define and #undef of memmove to just before and after
37334 including <string.h>.
37336 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37337 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37338 and after including <string.h>. Move declarations of
37339 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37340 to before #include "string/memmove.c".
37342 * include/dirent.h: Declare __getdirentries.
37344 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37345 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37347 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37349 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37350 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37351 * sysdeps/i386/configure: Regenerated.
37352 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37353 STABS_CURRENT_FILE, and STABS_FUN.
37354 (END): Remove call to STABS_FUN_END.
37355 (STABS_CURRENT_FILE1): Delete.
37356 (STABS_CURRENT_FILE): Likewise.
37357 (STABS_FUN): Likewise.
37358 (STABS_FUN_END): Likewise.
37359 (STABS_FUN2): Likewise.
37360 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37361 * sysdeps/x86_64/configure: Regenerated.
37363 2012-08-14 Roland McGrath <roland@hack.frob.com>
37365 * elf/dl-open.c: Include <atomic.h>.
37366 * elf/dl-lookup.c: Likewise.
37368 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37370 * sysdeps/unix/sysv/linux/kernel-features.h
37371 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37372 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37374 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37376 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37377 condition on __ASSUME_CLONE_THREAD_FLAGS.
37379 2012-08-14 Andreas Jaeger <aj@suse.de>
37381 * sysdeps/i386/fpu/libm-test-ulps: Update.
37383 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37385 * include/atomic.h (atomic_exchange_and_add): Split into ...
37386 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37389 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37393 2012-08-13 Jeff Law <law@redhat.com>
37395 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37396 null byte in the output string.
37398 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37400 * sysdeps/unix/sysv/linux/kernel-features.h
37401 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37402 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37403 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37404 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37405 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37406 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37407 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37409 2012-08-09 Jeff Law <law@redhat.com>
37412 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37413 When avoid_arena is set, don't retry in the that arena. Pick the
37414 next one, whatever it might be.
37415 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37416 (arena_lock): Pass in new parameter to arena_get2.
37417 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37419 (__libc_malloc): Unify retrying after main arena failure with
37420 __libc_memalign version.
37421 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37423 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37426 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37427 to __redirect_strstr.
37428 (__strstr_sse42): Use typeof __redirect_strstr.
37429 (__strstr_ia32): Likewise.
37430 (__libc_strstr): New prototype.
37431 (strstr): Renamed to ...
37432 (__libc_strstr): This.
37433 (strstr): New strong alias of __libc_strstr.
37434 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37435 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37438 (__libc_time): New prototype.
37439 (time_ifunc): Replace time with __libc_time.
37440 (time): New strong alias and hidden definition of __libc_time.
37441 (__GI_time): Remove strong alias.
37442 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37443 Include <stddef.h>.
37444 (memmove): Redefined to __redirect_memmove.
37445 (__memmove_sse2): Use typeof __redirect_memmove.
37446 (__memmove_ssse3): Likewise.
37447 (__memmove_ssse3_back): Likewise.
37448 (__libc_memmove): New prototype.
37449 (memmove): Renamed to ...
37450 (__libc_memmove): This.
37451 (memmove): New strong alias of __libc_memmove.
37453 2012-08-08 Mark Salter <msalter@redhat.com>
37456 (R_MN10300_TLS_GD): Define.
37457 (R_MN10300_TLS_LD): Likewise.
37458 (R_MN10300_TLS_LDO): Likewise.
37459 (R_MN10300_TLS_GOTIE): Likewise.
37460 (R_MN10300_TLS_IE): Likewise.
37461 (R_MN10300_TLS_LE): Likewise.
37462 (R_MN10300_TLS_DTPMOD): Likewise.
37463 (R_MN10300_TLS_DTPOFF): Likewise.
37464 (R_MN10300_TLS_TPOFF): Likewise.
37465 (R_MN10300_SYM_DIFF): Likewise.
37466 (R_MN10300_ALIGN): Likewise.
37467 (R_MN10300_NUM): Update.
37469 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37471 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37474 2012-08-08 Roland McGrath <roland@hack.frob.com>
37476 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37478 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37479 sysdeps/unix -> sysdeps/posix move.
37480 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37482 2012-08-07 Allan McRae <allan@archlinux.org>
37485 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37486 (SUNOS_CPP): Likewise.
37487 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37489 (open_input): Call CPP using execvp.
37491 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37493 * sysdeps/unix/sysv/linux/kernel-features.h
37494 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37495 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37496 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37497 (__ASSUME_WAITID_SYSCALL): Likewise.
37498 * sysdeps/unix/sysv/linux/dl-execstack.c
37499 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37500 code unconditional.
37501 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37503 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37504 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37505 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37507 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37509 [__ASSUME_WAITID_SYSCALL]: Likewise.
37510 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37512 2012-08-07 Roland McGrath <roland@hack.frob.com>
37514 * sysdeps/unix/closedir.c: Renamed to ...
37515 * sysdeps/posix/closedir.c: ... here.
37516 * sysdeps/unix/dirfd.c: Renamed to ...
37517 * sysdeps/posix/dirfd.c: ... here.
37518 * sysdeps/unix/dirstream.h: Renamed to ...
37519 * sysdeps/posix/dirstream.h: ... here.
37520 * sysdeps/unix/fdopendir.c: Renamed to ...
37521 * sysdeps/posix/fdopendir.c: ... here.
37522 * sysdeps/unix/opendir.c: Renamed to ...
37523 * sysdeps/posix/opendir.c: ... here.
37524 * sysdeps/unix/readdir.c: Renamed to ...
37525 * sysdeps/posix/readdir.c: ... here.
37526 * sysdeps/unix/readdir_r.c: Renamed to ...
37527 * sysdeps/posix/readdir_r.c: ... here.
37528 * sysdeps/unix/rewinddir.c: Renamed to ...
37529 * sysdeps/posix/rewinddir.c: ... here.
37530 * sysdeps/unix/seekdir.c: Renamed to ...
37531 * sysdeps/posix/seekdir.c: ... here.
37532 * sysdeps/unix/telldir.c: Renamed to ...
37533 * sysdeps/posix/telldir.c: ... here.
37534 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37535 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37536 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37537 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37539 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37540 * bits/fcntl.h: ... here.
37542 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37544 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37545 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37546 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37547 (struct flock): Move l_start, l_len to the beginning.
37548 Use __pid_t for l_pid.
37549 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37550 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37551 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37552 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37553 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37554 [__USE_LARGEFILE64] (struct flock64): New type.
37555 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37557 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37558 * bits/dirent.h: ... here.
37560 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37561 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37563 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37566 Change from 2.6.0 to 2.6.16.
37567 * sysdeps/unix/sysv/linux/configure: Regenerated.
37568 * sysdeps/unix/sysv/linux/kernel-features.h
37569 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37570 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37572 (__ASSUME_UTIMES): Likewise.
37573 (__ASSUME_CLONE_STOPPED): Remove.
37574 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37575 architectures, not kernel version.
37576 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37577 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37578 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37579 (__ASSUME_WAITID_SYSCALL): Likewise.
37580 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37581 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37582 * README: State 2.6.16 as minimum Linux kernel version. Do not
37583 refer to older versions.
37585 2012-08-06 Roland McGrath <roland@hack.frob.com>
37587 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37588 Define alphasort64 as an alias.
37589 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37590 Define versionsort64 as an alias.
37591 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37592 Define scandir64 as an alias.
37593 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37594 Define scandirat64 as an alias.
37595 * dirent/alphasort64.c (alphasort64):
37596 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37597 * dirent/versionsort64.c: Likewise.
37598 * dirent/scandir64.c: Likewise.
37599 * dirent/scandirat64.c: Likewise.
37600 * sysdeps/wordsize-64/alphasort.c: File removed.
37601 * sysdeps/wordsize-64/alphasort64.c: File removed.
37602 * sysdeps/wordsize-64/scandir.c: File removed.
37603 * sysdeps/wordsize-64/scandir64.c: File removed.
37604 * sysdeps/wordsize-64/scandirat.c: File removed.
37605 * sysdeps/wordsize-64/scandirat64.c: File removed.
37606 * sysdeps/wordsize-64/versionsort.c: File removed.
37607 * sysdeps/wordsize-64/versionsort64.c: File removed.
37608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37617 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37619 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37621 [defined __arch64__ || defined __sparcv9]
37622 (__INO_T_MATCHES_INO64_T): New macro.
37623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37624 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37625 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37626 * sysdeps/unix/sysv/linux/bits/dirent.h
37627 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37628 (_DIRENT_MATCHES_DIRENT64): New macro.
37630 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37631 Define lockf64 as an alias.
37632 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37633 Define fseeko64 as an alias.
37634 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37635 Define ftello64 as an alias.
37636 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37637 Define _IO_fgetpos64 and fgetpos64 as aliases.
37638 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37639 Define _IO_fsetpos64 and fsetpos64 as aliases.
37640 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37641 Conditionalize body on this.
37642 * libio/fseeko64.c: Likewise.
37643 * libio/ftello64.c: Likewise.
37644 * libio/iofgetpos64.c: Likewise.
37645 * libio/iofsetpos64.c: Likewise.
37646 * sysdeps/wordsize-64/lockf.c: File removed.
37647 * sysdeps/wordsize-64/lockf64.c: File removed.
37648 * sysdeps/wordsize-64/fseeko.c: File removed.
37649 * sysdeps/wordsize-64/fseeko64.c: File removed.
37650 * sysdeps/wordsize-64/ftello.c: File removed.
37651 * sysdeps/wordsize-64/ftello64.c: File removed.
37652 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37653 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37654 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37655 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37656 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37657 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37658 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37659 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37660 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37661 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37662 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37664 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37665 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37667 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37669 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37671 [defined __arch64__ || defined __sparcv9]
37672 (__OFF_T_MATCHES_OFF64_T): New macro.
37673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37674 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37676 (__OFF_T_MATCHES_OFF64_T): New macro.
37678 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37680 * stdlib/secure-getenv.c (__secure_getenv): Replace
37681 GLIBC_2_16 with GLIBC_2_17.
37683 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37686 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37688 2012-08-03 David S. Miller <davem@davemloft.net>
37690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37692 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37694 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37696 (__ASSUME_CORRECT_SI_PID): Likewise.
37697 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37698 (__ASSUME_TMPFS_NAME): Likewise.
37699 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37700 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37701 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37702 (HAVE_AUX_SECURE): Make definition unconditional.
37703 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37704 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37706 2012-08-03 Roland McGrath <roland@hack.frob.com>
37708 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37709 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37710 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37711 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37712 __eloop_threshold instead of SYMLOOP_MAX.
37714 * sysdeps/generic/eloop-threshold.h: New file.
37715 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37717 * elf/chroot_canon.c (chroot_canon): Likewise.
37719 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37723 Change to 2.6.0 everywhere.
37724 * sysdeps/unix/sysv/linux/configure: Regenerated.
37725 * sysdeps/unix/sysv/linux/kernel-features.h
37726 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37727 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37729 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37730 (__ASSUME_FUTEX_REQUEUE): Remove.
37731 (__ASSUME_STATFS64): Define unconditionally.
37732 (__ASSUME_AT_SECURE): Likewise.
37733 (__ASSUME_CORRECT_SI_PID): Likewise.
37734 (__ASSUME_TGKILL): Define without depending on kernel version for
37736 (__ASSUME_UTIMES): Likewise.
37737 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37739 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37740 (__ASSUME_TMPFS_NAME): Likewise.
37741 * README: Update reference to Linux kernel versions.
37743 2012-08-02 Marek Polacek <polacek@redhat.com>
37746 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37747 libc_cv_asm_type_prefix with %.
37748 * configure: Regenerated.
37749 * include/libc-symbols.h: Remove comment about
37750 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37751 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37752 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37753 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37754 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37755 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37756 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37757 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37758 * elf/tst-unique2mod1.c: Likewise.
37759 * elf/tst-unique1mod2.c: Likewise.
37760 * elf/tst-unique1mod1.c: Likewise.
37761 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37762 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37763 Replace ASM_TYPE_DIRECTIVE with .type.
37764 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37765 * sysdeps/i386/sysdep.h: Likewise.
37766 * sysdeps/x86_64/sysdep.h: Likewise.
37767 * sysdeps/sh/sysdep.h: Likewise.
37768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37769 Do not define ASM_TYPE_DIRECTIVE.
37770 * sysdeps/powerpc/sysdep.h: Likewise.
37771 * sysdeps/powerpc/powerpc32/sysdep.h:
37772 Replace ASM_TYPE_DIRECTIVE with .type.
37773 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37774 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37775 * sysdeps/i386/fpu/e_powf.S: Likewise.
37776 * sysdeps/i386/fpu/e_expl.S: Likewise.
37777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37778 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37779 * sysdeps/i386/fpu/e_pow.S: Likewise.
37780 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37781 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37782 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37783 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37784 * sysdeps/i386/fpu/e_log2.S: Likewise.
37785 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37786 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37787 * sysdeps/i386/fpu/e_powl.S: Likewise.
37788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37789 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37790 * sysdeps/i386/fpu/e_logl.S: Likewise.
37791 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37792 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37793 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37794 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37795 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37796 * sysdeps/i386/fpu/e_log.S: Likewise.
37797 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37798 * sysdeps/i386/fpu/e_logf.S: Likewise.
37799 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37801 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37802 * sysdeps/i386/fpu/e_log10.S: Likewise.
37803 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37804 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37805 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37806 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37807 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37808 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37809 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37810 * sysdeps/i386/i686/strtok.S: Likewise.
37811 * sysdeps/i386/i386-mcount.S: Likewise.
37812 * sysdeps/i386/strtok.S: Likewise.
37813 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37814 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37816 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37817 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37818 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37819 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37820 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37821 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37822 * sysdeps/x86_64/_mcount.S: Likewise.
37823 * sysdeps/x86_64/strtok.S: Likewise.
37824 * sysdeps/sh/_mcount.S: Likewise.
37826 2012-08-01 Roland McGrath <roland@hack.frob.com>
37828 * libio/iofopen.c: Include <fcntl.h>.
37829 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37830 (_IO_fopen64, fopen64): Define as aliases.
37831 * libio/iofopen64.c: Include <fcntl.h>.
37832 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37833 Conditionalize body on this.
37834 * sysdeps/wordsize-64/iofopen.c: File removed.
37835 * sysdeps/wordsize-64/iofopen64.c: File removed.
37837 2012-08-01 Marek Polacek <polacek@redhat.com>
37839 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37840 Use dlfcn directly instead of a variable.
37841 (binfmt-subdir): Do not define.
37844 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37846 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37847 Remove all definitions.
37848 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37849 <kernel-features.h>.
37850 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37851 (miss_F_GETOWN_EX): Remove all definitions.
37852 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37854 [!__ASSUME_FCNTL64]: Remove conditional code.
37855 [__ASSUME_FCNTL64]: Make code unconditional.
37856 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37857 <kernel-features.h>.
37858 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37859 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37860 (lockf64) [__NR_fcntl64]: Make code unconditional.
37861 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37863 * sysdeps/unix/sysv/linux/kernel-features.h
37864 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37865 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37866 Make code unconditional.
37867 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37868 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37870 [__NR_vfork]: Make code unconditional.
37871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37874 [__NR_vfork]: Make code unconditional.
37875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37878 2012-08-01 Roland McGrath <roland@hack.frob.com>
37880 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37881 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37883 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37884 Define mkstemp64 as an alias.
37885 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37886 Define mkstemps64 as an alias.
37887 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37888 Define mkostemp64 as an alias.
37889 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37890 Define mkostemps64 as an alias.
37891 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37892 Conditionalize body on this.
37893 * misc/mkostemp64.c: Likewise.
37894 * misc/mkostemps64.c: Likewise.
37895 * misc/mkstemps64.c: Likewise.
37896 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37897 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37898 * sysdeps/wordsize-64/mkostemp.c: File removed.
37899 * sysdeps/wordsize-64/mkstemp.c: File removed.
37900 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37906 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37907 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37908 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37909 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37911 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37912 compat_symbol macros from <shlib-compat.h> rather than the underlying
37913 default_symbol_version and symbol_version macros, so that DEFAULT
37914 lines in shlib-versions are respected.
37915 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37917 2012-08-01 Florian Weimer <fweimer@redhat.com>
37919 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37920 Declare with warn_unused_result.
37921 (setgid, setregid, setegid, setresgid): Likewise.
37922 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37924 * WUR-REPORT: Remove set*id functions.
37926 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37928 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37930 2012-07-31 Roland McGrath <roland@hack.frob.com>
37933 * include/sys/socket.h (__libc_accept, __libc_accept4):
37934 Add attribute_hidden.
37935 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37937 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37939 * inet/getnetgrent_r.c (setup): Likewise.
37941 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37943 2012-07-31 David S. Miller <davem@davemloft.net>
37945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37947 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37950 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37951 value between 1.0 and 2.0 and smaller part has absolute value less
37953 * math/s_clog10.c (__clog10): Likewise.
37954 * math/s_clog10f.c (__clog10f): Likewise.
37955 * math/s_clog10l.c (__clog10l): Likewise.
37956 * math/s_clogf.c (__clogf): Likewise.
37957 * math/s_clogl.c (__clogl): Likewise.
37958 * math/libm-test.inc (clog_test): Add more tests.
37959 (clog10_test): Likewise.
37960 * sysdeps/i386/fpu/libm-test-ulps: Update.
37961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37963 2012-07-31 Florian Weimer <fweimer@redhat.com>
37965 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37966 Exit with zero in case no suitable GID is found, and write a
37967 message to standard error.
37969 2012-07-30 Roland McGrath <roland@hack.frob.com>
37971 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37973 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37974 (MAXPATHLEN): Removed.
37975 (NOGROUP, NODEV): New macros.
37976 (setbit, clrbit, isset, isclr): New macros.
37977 (howmany, roundup, powerof2): New macros.
37978 (DEV_BSIZE): New macro.
37980 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37981 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37983 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37984 definition on [!__NO_LONG_DOUBLE_MATH].
37986 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37987 PTR_MANGLE and PTR_DEMANGLE.
37989 * socket/accept4.c (accept4): Rename to __libc_accept4.
37990 Define accept4 as a weak alias.
37992 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37993 on [_DIRENT_HAVE_D_TYPE].
37994 * io/ftw.c (ftw_dir): Likewise.
37996 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37998 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38000 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38001 Use the BSD numbers rather than the arbitrary ones we had.
38002 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38003 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38004 (SIGXCPU, SIGXFSZ): New macros.
38007 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38008 initializer on [_LIBC_REENTRANT].
38010 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38011 definitions inside [_POSIX_MAPPED_FILES].
38013 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38015 * dirent/opendir.c: Include <fcntl.h>.
38017 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38018 (__libc_getspecific): Likewise.
38019 (__libc_key_create): Likewise.
38021 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38022 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38023 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38024 (tmpfile64): Define as alias.
38025 * sysdeps/wordsize-64/tmpfile.c: File removed.
38026 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38027 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38028 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38030 * stdio-common/vfscanf.c: Include <stdbool.h>.
38031 * nss/makedb.c: Likewise.
38032 * stdio-common/_i18n_number.h: Likewise.
38033 * argp/argp-help.c: Likewise.
38034 * posix/wordexp.c: Likewise.
38035 * sysdeps/posix/spawni.c: Likewise.
38036 * nss/nss_files/files-initgroups.c: Likewise.
38037 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38038 * nss/nss_files/files-initgroups.c: Likewise.
38039 * nss/nss_db/db-netgrp.c: Likewise.
38040 * nss/nss_db/db-initgroups.c: Likewise.
38041 * io/fchmodat.c: Include <sys/stat.h>.
38043 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38044 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38046 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38049 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38050 Add multiple inclusion protection.
38052 2012-07-27 David S. Miller <davem@davemloft.net>
38054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38056 2012-07-27 Gary Benson <gbenson@redhat.com>
38059 * elf/rtld.c: Include <stap-probe.h>.
38060 (dl_main): Added static probes "init_start" and "init_complete".
38061 * elf/dl-load.c: Include <stap-probe.h>.
38062 (lose): Take new parameter "nsid".
38063 Added static probe "map_failed".
38064 (_dl_map_object_from_fd): Pass namespace id to lose.
38065 Added static probe "map_start".
38066 (open_verify): Pass namespace id to lose.
38067 * elf/dl-open.c: Include <stap-probe.h>.
38068 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38069 and "reloc_complete".
38070 * elf/dl-close.c: Include <stap-probe.h>.
38071 (_dl_close_worker): Added static probes "unmap_start" and
38073 * elf/rtld-debugger-interface.txt: New file documenting the above.
38075 2012-07-26 Roland McGrath <roland@hack.frob.com>
38077 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38078 rather than a string variable.
38079 * sunrpc/rpc_main.c (h_output): Likewise.
38080 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38082 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38084 * inet/check_native.c: New file.
38086 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38089 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38090 if larger part has absolute value 1.0.
38091 * math/s_clog10.c (__clog10): Likewise.
38092 * math/s_clog10f.c (__clog10f): Likewise.
38093 * math/s_clog10l.c (__clog10l): Likewise.
38094 * math/s_clogf.c (__clogf): Likewise.
38095 * math/s_clogl.c (__clogl): Likewise.
38096 * math/libm-test.inc (clog_test): Add more tests.
38097 (clog10_test): Likewise.
38098 * sysdeps/i386/fpu/libm-test-ulps: Update.
38099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38101 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38102 (pltexit): Likewise.
38103 (La_regs): Likewise.
38104 (La_retval): Likewise.
38105 (int_retval): Likewise.
38106 Update #error for removed macros to refer only to definitions in
38108 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38110 (pltexit): Likewise.
38111 (La_regs): Likewise.
38112 (La_retval): Likewise.
38113 (int_retval): Likewise.
38114 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38116 (pltexit): Likewise.
38117 (La_regs): Likewise.
38118 (La_retval): Likewise.
38119 (int_retval): Likewise.
38120 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38122 (pltexit): Likewise.
38123 (La_regs): Likewise.
38124 (La_retval): Likewise.
38125 (int_retval): Likewise.
38126 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38128 (pltexit): Likewise.
38129 (La_regs): Likewise.
38130 (La_retval): Likewise.
38131 (int_retval): Likewise.
38132 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38134 (pltexit): Likewise.
38135 (La_regs): Likewise.
38136 (La_retval): Likewise.
38137 (int_retval): Likewise.
38138 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38140 (pltexit): Likewise.
38141 (La_regs): Likewise.
38142 (La_retval): Likewise.
38143 (int_retval): Likewise.
38144 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38145 macro definitions in tst-audit.h.
38146 * sysdeps/i386/tst-audit.h: New file.
38147 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38148 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38149 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38150 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38151 * sysdeps/sh/tst-audit.h: Likewise.
38152 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38153 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38154 * sysdeps/x86_64/tst-audit.h: Likewise.
38156 2012-07-26 Andreas Jaeger <aj@suse.de>
38158 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38161 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38162 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38163 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38165 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38166 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38167 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38169 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38172 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38174 (si_call_addr, si_syscall, si_arch): Define new macro.
38175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38177 (si_call_addr, si_syscall, si_arch): Define new marcro.
38178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38180 (si_call_addr, si_syscall, si_arch): Define new macro.
38181 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38183 (si_call_addr, si_syscall, si_arch): Define new macro.
38185 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38189 Change to 2.4.21 where previously 2.4.1.
38190 * sysdeps/unix/sysv/linux/configure: Regenerated.
38191 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38192 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38193 Linux kernel version.
38194 (__ASSUME_STD_AUXV): Remove.
38195 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38197 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38198 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38199 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38200 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38201 (__ASSUME_NETLINK_SUPPORT): Likewise.
38202 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38203 (__no_netlink_support): Remove conditional definition.
38204 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38206 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38207 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38208 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38209 (if_nameindex_ioctl): Remove.
38210 (if_nameindex_netlink): Do not handle __no_netlink_support.
38211 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38213 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38214 Remove conditional code.
38215 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38217 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38219 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38220 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38221 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38223 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38224 [!__ASSUME_STD_AUXV]: Remove conditional code.
38225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38226 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38227 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38229 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38230 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38232 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38234 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38235 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38237 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38239 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38242 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38245 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38246 code unconditional.
38247 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38249 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38251 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38254 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38256 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38259 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38260 code unconditional.
38261 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38263 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38265 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38268 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38269 code unconditional.
38270 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38272 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38274 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38277 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38279 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38280 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38281 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38282 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38283 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38284 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38285 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38286 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38287 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38288 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38289 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38290 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38291 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38292 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38293 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38294 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38295 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38296 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38297 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38299 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38300 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38301 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38303 2012-07-25 Florian Weimer <fweimer@redhat.com>
38305 * Versions.def: Add GLIBC_2.17.
38306 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38307 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38308 Introduce __libc_secure_getenv.
38309 * stdlib/Versions (2.17): Add secure_getenv
38310 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38311 * stdlib/secure-getenv.c: Rename __secure_getenv to
38312 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38313 symbol __secure_getenv for GLIBC_2.0.
38314 * stdlib/tst-secure-getenv.c: New.
38315 * stdlib/Makefile (tests): Add testcase.
38316 * manual/startup.texi (Environment Access): Document
38318 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38319 __libc_secure_getenv.
38320 * inet/ruserpass.c (ruserpass): Likewise.
38321 * malloc/mtrace.c (mtrace): Likewise.
38322 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38323 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38324 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38325 * sysdeps/posix/tempname.c: Likewise. Evaluate
38326 HAVE_SECURE_GETENV.
38327 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38328 __secure_getenv to __libc_secure_getenv.
38329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38342 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38344 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38345 (struct La_i86_retval): Likewise.
38346 (struct La_x86_64_regs): Likewise.
38347 (struct La_x86_64_retval): Likewise.
38348 (struct La_x32_regs): Likewise.
38349 (struct La_x32_retval): Likewise.
38350 (struct La_ppc32_regs): Likewise.
38351 (struct La_ppc32_retval): Likewise.
38352 (struct La_ppc64_regs): Likewise.
38353 (struct La_ppc64_retval): Likewise.
38354 (struct La_sh_regs): Likewise.
38355 (struct La_sh_retval): Likewise.
38356 (struct La_s390_32_regs): Likewise.
38357 (struct La_s390_32_retval): Likewise.
38358 (struct La_s390_64_regs): Likewise.
38359 (struct La_s390_64_retval): Likewise.
38360 (struct La_sparc32_regs): Likewise.
38361 (struct La_sparc32_retval): Likewise.
38362 (struct La_sparc64_regs): Likewise.
38363 (struct La_sparc64_retval): Likewise.
38364 (struct audit_ifaces): Remove architecture-specific pltenter and
38366 * sysdeps/i386/ldsodefs.h: New file.
38367 * sysdeps/powerpc/ldsodefs.h: Likewise.
38368 * sysdeps/s390/ldsodefs.h: Likewise.
38369 * sysdeps/sh/ldsodefs.h: Likewise.
38370 * sysdeps/sparc/ldsodefs.h: Likewise.
38371 * sysdeps/x86_64/ldsodefs.h: Likewise.
38373 2012-07-25 Marek Polacek <polacek@redhat.com>
38376 * math/libm-test.inc (yn_test): Add another test.
38377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38378 to ERANGE when the result is +-Inf.
38379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38380 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38381 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38382 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38384 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38386 * conform/data/time.h-data (NULL): Use macro-constant. Require
38388 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38390 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38392 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38394 * configure.in <sysdeps resolving>: Correct printing
38396 * configure: Regenerate.
38398 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38400 * math/w_ilogb.c: Include <limits.h>.
38401 * math/w_ilogbl.c: Likewise.
38403 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38405 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38406 va_copy. Document allowing for unavailable va_copy only as
38407 pre-C99 compatibility.
38408 * manual/string.texi (Copying and Concatenation): Use va_copy
38409 instead of __va_copy in concat example.
38411 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38413 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38414 (__sendto): Use create_address_port. Initialize APORT and deallocate
38417 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38418 with O_NOLINK passed to __file_name_lookup.
38420 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38421 with O_NOLINK passed to __file_name_lookup.
38423 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38424 negative N or less than NGIDS.
38426 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38427 type to string_t. Set ERANGE as errno and return it if NAME is not big
38428 enough. Use memcpy instead of strncpy.
38430 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38432 * elf/Makefile (check-data): Remove.
38433 (localplt.data): New vpath directive.
38434 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38435 instead of $(check-data).
38436 * scripts/data/localplt-generic.data: Move to ...
38437 * sysdeps/generic/localplt.data: ... here.
38438 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38439 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38440 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38443 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38446 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38449 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38452 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38455 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38459 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38461 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38462 PPC32 and PPC64 files.
38463 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38464 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38466 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38468 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38469 __makecontext_ret to ...
38470 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38471 ... here and call exit if uc_link is NULL. New file.
38472 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38473 __makecontext_ret.S.
38474 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38475 __makecontext_ret to ...
38476 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38477 ... here and call exit if uc_link is NULL. New file.
38478 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38479 __makecontext_ret.S.
38481 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38483 * elf/elf.h (R_390_IRELATIVE): New definition.
38484 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38485 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38486 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38488 (elf_machine_lazy_rel): Likewise.
38489 * sysdeps/s390/dl-irel.h: New file.
38490 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38491 * sysdeps/s390/s390-64/memset.S: New asm code.
38492 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38493 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38494 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38495 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38496 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38497 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38498 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38499 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38500 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38501 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38502 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38503 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38504 * sysdeps/s390/s390-32/memset.S: New asm code.
38505 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38507 2012-07-17 Marek Polacek <polacek@redhat.com>
38510 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38511 * sysdeps/s390/s390-64/configure.in: Likewise.
38512 * sysdeps/sparc/configure.in: Likewise.
38513 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38514 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38515 * sysdeps/i386/configure.in: Likewise.
38516 * sysdeps/x86_64/configure.in: Likewise.
38517 * sysdeps/sh/configure.in: Likewise.
38518 * sysdeps/s390/s390-32/configure: Regenerated.
38519 * sysdeps/s390/s390-64/configure: Likewise.
38520 * sysdeps/x86_64/configure: Likewise.
38521 * sysdeps/sh/configure: Likewise.
38522 * sysdeps/powerpc/powerpc64/configure: Likewise.
38523 * sysdeps/powerpc/powerpc32/configure: Likewise.
38524 * sysdeps/sparc/configure: Likwise.
38525 * sysdeps/i386/configure: Likewise.
38527 * elf/dl-open.c: Comment fixes.
38529 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38531 * Makefile [CXX] (check-data): Remove.
38532 [CXX] (c++-types.data): New vpath directive.
38533 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38534 vpath. Do not allow for C++ type data being missing.
38535 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38536 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38537 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38538 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38539 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38540 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38541 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38544 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38547 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38550 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38553 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38556 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38559 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38562 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38565 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38566 definitions to architecture-specific files.
38567 (TLS_IE): Likewise.
38568 (TLS_LD): Likewise.
38569 (TLS_GD): Likewise.
38570 * sysdeps/i386/tls-macros.h: New file.
38571 * sysdeps/powerpc/tls-macros.h: Likewise.
38572 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38573 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38574 * sysdeps/sh/tls-macros.h: Likewise.
38575 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38576 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38577 * sysdeps/x86_64/tls-macros.h: Likewise.
38579 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38581 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38582 zero value for regular exit case.
38584 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38585 (__start_context): Preserve zero value for regular exit case.
38587 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38588 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38590 * manual/setjmp.texi (setcontext): Clarify normal process
38591 termination when uc_link is the null pointer.
38592 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38595 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38597 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38598 preprocessor. Test for each exception mask separately.
38600 2012-07-16 Andreas Jaeger <aj@suse.de>
38602 * po/ru.po: Update from translation team.
38604 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38606 * conform/data/string.h-data (NULL): Use macro-constant. Require
38608 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38609 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38610 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38611 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38614 2012-07-13 Andreas Jaeger <aj@suse.de>
38616 * po/fr.po: Update from translation team.
38618 2012-07-12 Marek Polacek <polacek@redhat.com>
38621 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38625 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38628 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38629 Change to 2.4.1 where previously 2.4.0.
38630 * sysdeps/unix/sysv/linux/configure: Regenerated.
38631 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38632 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38634 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38635 (__ASSUME_AT_CLKTCK): Remove.
38636 (__ASSUME_AT_PAGESIZE): Likewise.
38637 (__ASSUME_AT_XID): Likewise.
38638 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38639 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38640 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38642 (HAVE_AUX_PAGESIZE): Likewise.
38643 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38644 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38645 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38647 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38651 the temporary buffer used to invoke __gethostbyname2_r,
38652 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38653 host_data / struct gaih_addrtuple.
38654 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38655 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38656 header file nss/nsswitch.h.
38657 * nss/nsswitch.h (global scope): Add definition of implementation
38658 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38659 resolv/nss_dns/dns-host.c).
38661 2012-07-11 Andreas Jaeger <aj@suse.de>
38663 * po/fr.po: Update from translation team.
38665 * po/sv.po: Update from translation team
38666 * po/fr.po: Another update from translation team.
38668 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38670 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38671 for subnormals or multiply small sinh result by itself.
38672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38675 2012-07-11 David S. Miller <davem@davemloft.net>
38677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38679 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38682 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38683 (INTERNAL_MARK): Shift it here.
38685 2012-07-10 Marek Polacek <polacek@redhat.com>
38688 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38689 libc_cv_asm_global_directive with .globl.
38690 * configure: Regenerated.
38691 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38693 * sysdeps/i386/configure: Regenerated.
38694 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38696 * sysdeps/x86_64/configure: Regenerated.
38697 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38698 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38699 * elf/tst-unique2mod2.c: Likewise.
38700 * elf/tst-unique2mod1.c: Likewise.
38701 * elf/tst-unique1mod2.c: Likewise.
38702 * elf/tst-unique1mod1.c: Likewise.
38703 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38704 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38705 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38706 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38707 * sysdeps/mach/sysdep.h: Likewise.
38708 * sysdeps/i386/sysdep.h: Likewise.
38709 * sysdeps/i386/i386-mcount.S: Likewise.
38710 * sysdeps/x86_64/_mcount.S: Likewise.
38711 * sysdeps/x86_64/sysdep.h: Likewise.
38712 * sysdeps/sh/_mcount.S: Likewise.
38713 * sysdeps/sh/sysdep.h: Likewise.
38714 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38715 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38716 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38717 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38718 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38719 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38720 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38721 * locale/localeinfo.h: Likewise.
38722 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38723 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38725 2012-07-09 Roland McGrath <roland@hack.frob.com>
38728 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38730 * manual/message.texi (The Uniforum approach): Likewise.
38731 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38732 (glibc iconv Implementation): Likewise.
38734 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38737 * math/s_clog.c (__clog): Avoid scaling a value down where that
38738 could result in underflow.
38739 * math/s_clog10.c (__clog10): Likewise.
38740 * math/s_clog10f.c (__clog10f): Likewise.
38741 * math/s_clog10l.c (__clog10l): Likewise.
38742 * math/s_clogf.c (__clogf): Likewise.
38743 * math/s_clogl.c (__clogl): Likewise.
38744 * math/libm-test.inc (clog_test): Add more tests.
38745 (clog10_test): Likewise.
38746 * sysdeps/i386/fpu/libm-test-ulps: Update.
38747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38749 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38752 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38753 by 7 not 8 to examine high bit of fractional part.
38756 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38757 for call to __mcount_internal.
38758 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38759 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38760 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38762 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38765 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38766 approximation for values within 0x1p-13f of an odd multiple of
38768 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38769 exception. Add more tests.
38770 * sysdeps/i386/fpu/libm-test-ulps: Update.
38773 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38774 inputs and return -1 for them. Do not check for +Inf in case not
38775 reachable for +Inf.
38776 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38777 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38778 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38779 and return -1 for them. Do not check for +Inf in case not
38780 reachable for +Inf.
38781 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38784 and return -1 for them. Do not check for +Inf in case not
38785 reachable for +Inf.
38786 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38787 spurious underflow.
38788 * sysdeps/i386/fpu/libm-test-ulps: Update.
38789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38791 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38793 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38795 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38799 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38800 could result in spurious underflow. Scale down values above
38801 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38802 * math/s_csqrtf.c (__csqrtf): Likewise.
38803 * math/s_csqrtl.c (__csqrtl): Likewise.
38804 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38805 spurious underflow.
38806 * sysdeps/i386/fpu/libm-test-ulps: Update.
38807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38809 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38811 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38813 * catgets/xopen-msg.awk: New file.
38814 * catgets/xopen-msg.sed: Removed.
38816 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38818 * intl/po2test.awk: New file.
38819 * intl/po2test.sed: Removed.
38821 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38824 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38825 or multiply small sinh result by itself.
38826 * math/s_ctanf.c (__ctanf): Likewise.
38827 * math/s_ctanh.c (__ctanh): Likewise.
38828 * math/s_ctanhf.c (__ctanhf): Likewise.
38829 * math/s_ctanhl.c (__ctanhl): Likewise.
38830 * math/s_ctanl.c (__ctanl): Likewise.
38831 * math/libm-test.inc (ctan_test_tonearest): New function.
38832 (ctan_test_towardzero): Likewise.
38833 (ctan_test_downward): Likewise.
38834 (ctan_test_upward): Likewise.
38835 (ctanh_test_tonearest): Likewise.
38836 (ctanh_test_towardzero): Likewise.
38837 (ctanh_test_downward): Likewise.
38838 (ctanh_test_upward): Likewise.
38839 (main): Call these new functions.
38840 * sysdeps/i386/fpu/libm-test-ulps: Update.
38841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38843 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38845 * .gitignore: Delete /ports entry.
38847 2012-07-03 Andreas Jaeger <aj@suse.de>
38849 * po/bg.po: Update from translation team.
38850 * po/cs.po: Likewise.
38851 * po/de.po: Likewise.
38852 * po/hr.po: Likewise.
38853 * po/nl.pl: Likewise.
38854 * po/pl.po: Likewise.
38855 * po/vi.po: Likewise.
38857 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38859 * Makeconfig [!+link] (+link-before-libc): New variable.
38860 [!+link] (+link-after-libc): Likewise.
38861 [!+link] (+link-tests): Likewise.
38862 [!+link] (+link): Define in terms of $(+link-before-libc) and
38863 $(+link-after-libc).
38864 [!+link-static] (+link-static-before-libc): New variable.
38865 [!+link-static] (+link-static-after-libc): Likewise.
38866 [!+link-static] (+link-static-tests): Likewise.
38867 [!+link-static] (+link-static): Define in terms of
38868 $(+link-static-before-libc) and $(+link-static-after-libc).
38869 [build-shared] (link-libc-before-gnulib): New variable.
38870 [build-shared] (link-libc-tests): Likewise.
38871 [build-shared] (link-libc): Define in terms of
38872 $(link-libc-before-gnulib).
38873 [!build-shared] (link-libc-tests): New variable.
38874 (link-libc-static-tests): New variable.
38875 [!gnulib] (gnulib-arch): New variable.
38876 [!gnulib] (gnulib-tests): Likewise.
38877 [!gnulib] (static-gnulib-arch): Likewise.
38878 [!gnulib] (static-gnulib-tests): Likewise.
38879 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38880 Define with "=" instead of ":=".
38881 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38882 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38883 * Rules (binaries-all-notests): New variable.
38884 (binaries-all-tests): Likewise.
38885 (binaries-static-notests): Likewise.
38886 (binaries-static-tests): Likewise.
38887 (binaries-all): Define using $(binaries-all-notests) and
38888 $(binaries-all-tests).
38889 (binaries-static): Define using $(binaries-static-notests) and
38890 $(binaries-static-tests).
38891 (binaries-shared-tests): New variable.
38892 (binaries-shared-notests): Likewise.
38893 (binaries-shared): Remove variable.
38894 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38895 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38896 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38897 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38898 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38899 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38900 * elf/Makefile (sln-modules): New variable.
38901 (extra-objs): Add $(sln-modules:=.o).
38902 (ldconfig-modules): Add static-stubs.
38903 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38904 * elf/static-stubs.c: New file.
38907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38908 by 7 not 8 to examine high bit of fractional part. Use volatile
38909 variables when splitting into final array of floats if
38910 __FLT_EVAL_METHOD__ != 0.
38911 * math/libm-test.inc (cos_test): Add another test.
38912 (sin_test): Likewise.
38913 * sysdeps/i386/fpu/libm-test-ulps: Update.
38916 * math/libm-test.inc (cosh_test): Add more tests.
38918 * version.h (RELEASE): Set to "development".
38919 (VERSION): Set to "2.16.90".
38921 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38923 * NEWS: Update copyright. Remove last-updated date.
38924 Mention math library bug fixes and timezone data changes.
38925 * README: Mention GNU/Hurd, x32, and HPPA support status.
38927 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38929 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38931 2012-06-27 Andreas Jaeger <aj@suse.de>
38933 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38935 2012-06-25 Andreas Jaeger <aj@suse.de>
38937 * sysdeps/s390/fpu/libm-test-ulps: Update.
38939 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38940 Thomas Schwinge <thomas@codesourcery.com>
38942 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38943 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38947 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38949 * sysdeps/mach/start.c: Remove file.
38950 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38951 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38952 * sysdeps/sh/init-first.c: Likewise.
38954 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38955 registers for frame unwinding purposes, add CFI directives.
38956 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38957 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38958 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38961 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38962 __fortify_fail returning.
38963 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38965 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38966 sysdeps/sh/____longjmp_chk.S.
38967 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38968 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38969 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38970 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38972 * sysdeps/sh/abort-instr.h: New file.
38973 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38974 process in case exit returns.
38976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38977 initialize the GOT register before use.
38979 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38980 calculation of ARGC > 4.
38982 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38983 meaningful names to some local labels.
38985 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38986 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38988 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38989 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38990 (__arch_compare_and_exchange_val_16_acq): Likewise.
38991 (__arch_compare_and_exchange_val_32_acq): Likewise.
38992 (atomic_exchange_and_add): Fix gUSA sequence.
38993 (atomic_add): Likewise.
38994 (atomic_add_negative): Likewise.
38995 (atomic_add_zero): Likewise.
38996 (atomic_bit_test_set): Likewise.
38998 2012-06-22 Andreas Schwab <schwab@redhat.com>
39001 * include/link.h (struct link_map): Add l_free_initfini.
39002 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39004 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39005 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39006 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39009 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39011 * configure.in: Use AC_LANG_SOURCE.
39012 * configure: Regenerate.
39014 2012-06-22 Roland McGrath <roland@hack.frob.com>
39016 * configure.in (libc_cv_localstatedir): New substituted variable.
39017 * configure: Regenerated.
39018 * config.make.in (localstatedir): New variable, substituted from
39019 libc_cv_localstatedir.
39020 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39021 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39022 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39023 * sysdeps/gnu/configure: Regenerated.
39025 2012-06-21 Jeff Law <law@redhat.com>
39028 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39029 free. Simplify list management for _LIBC case.
39031 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39034 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39035 Clear sign bit of 64-bit integer value before comparing against
39038 * sysdeps/mach/configure: Regenerated.
39040 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39043 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39045 2012-06-21 Jeff Law <law@redhat.com>
39048 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39049 uint16_t for elements in the "seen" array to avoid char overflows.
39050 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39051 * elf/dl-open.c (dl_open_worker): Likewise.
39053 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39055 * scripts/list-sources.sh: Scan PORTS for translations.
39056 * po/libc.pot: Regenerated.
39058 2012-06-21 Andreas Jaeger <aj@suse.de>
39061 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39063 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39064 * bits/byteswap-16.h (__bswap_16): Likewise.
39065 * bits/byteswap.h (__bswap_constant_16): Likewise.
39067 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39070 * sysdeps/i386/fpu_control.h: Removed.
39071 * sysdeps/x86_64/fpu_control.h: Moved to ...
39072 * sysdeps/x86/fpu_control.h: Here.
39074 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39075 (_FPU_SETCW): Likewise.
39077 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39080 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39081 * sysdeps/x86/fpu/bits/mathinline.h: This.
39082 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39086 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39087 functions if __x86_64__ is defined.
39089 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39091 * string/endian.h: Add !__ASSEMBLER__ condition for including
39092 conversion interfaces.
39094 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39098 of ABS(x) in calculating zero to negative powers other than odd
39100 * math/libm-test.inc (pow_test): Add more tests.
39102 2012-06-15 Andreas Jaeger <aj@suse.de>
39104 * manual/contrib.texi (Contributors): Update entry of Liubov
39105 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39108 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39110 * string/string.h: Add __wur to GNU version of strerror_r.
39112 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39115 * string/Makefile (tests): Add tst-strtok_r.
39116 * string/tst-strtok_r.c: New file.
39117 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39118 RAX_LP/RDX_LP on SAVE_PTR.
39120 2012-06-14 Roland McGrath <roland@hack.frob.com>
39122 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39124 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39126 * libm_test.inc (csqrt_test): Allow more spurious underflow
39128 (j0_test): Likewise.
39129 (j1_test): Likewise.
39130 (y0_test): Likewise.
39131 (y1_test): Likewise.
39133 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39135 * po/Makefile (libc.pot): Use UTF-8 charset.
39137 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39140 Suppress sign-conversion warning from FD_SET.
39141 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39142 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39143 not unsigned long int.
39144 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39146 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39150 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39151 __extern_always_inline instead of __extern_inline.
39152 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39153 (__signbit): Likewise.
39154 (__signbitl): Support C++ namespace.
39155 (lrintf): New inline function.
39157 (llrintf): Likewise.
39158 (llrint): Likewise.
39168 (floorf): Likewise.
39169 (nearbyint): Likewise.
39170 (nearbyintf): Likewise.
39172 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39174 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39175 non-default versions.
39177 2012-06-11 Roland McGrath <roland@hack.frob.com>
39180 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39182 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39184 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39185 (FE_UPWARD, FE_DOWNWARD): Don't define.
39186 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39187 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39189 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39191 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39192 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39194 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39196 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39198 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39199 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39201 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39204 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39205 * sysdeps/i386/fpu/Implies: New file.
39206 * sysdeps/x86_64/fpu/Implies: Likewise.
39207 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39208 * sysdeps/x86/fpu/bits/fenv.h: This.
39210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39213 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39216 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39217 character 0xffff that matches the last element of the
39220 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39225 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39228 values higher than 25.6283.
39230 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39233 subnormal exponent extraction and add some __builtin_expect.
39234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39235 Fix for subnormal mantissa calculation.
39237 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39239 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39240 cpu2 is -1 and errno is not ENOSYS.
39242 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39245 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39246 * sysdeps/x86/bits/string.h: This.
39247 * sysdeps/x86_64/bits/string.h: Removed.
39249 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39250 if not compiling for x86-64, but compiling for >= i486.
39252 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39253 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39255 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39256 New macro from Linux kernel 3.4.0.
39257 (FP_XSTATE_MAGIC2): Likewise.
39258 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39259 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39260 (struct _fpx_sw_bytes): New struct.
39261 (struct _xsave_hdr): Likewise.
39262 (struct _ymmh_state): Likewise.
39263 (struct _xstate): Likewise.
39265 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39266 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39267 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39268 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39269 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39270 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39272 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39273 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39274 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39275 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39276 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39277 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39279 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39282 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39283 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39284 (sysdep_headers): Include sys/platform/ppc.h.
39285 * sysdeps/powerpc/test-gettimebase.c: Test for
39286 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39287 * manual/Makefile (appendices): Include platform.texi.
39288 * manual/contrib.texi (Contributors): Update @node pointers.
39289 * manual/maint.texi (Maintenance): Likewise.
39290 (Platform): New node.
39291 * manual/platform.texi: New file. Document the new features.
39293 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39294 Jakub Jelinek <jakub@redhat.com>
39297 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39298 where __builtin_expect is unavailable.
39300 2012-06-03 David S. Miller <davem@davemloft.net>
39302 * stdlib/longlong.h: Updated from GCC.
39304 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39307 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39308 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39311 (GLIBC_2.16): Likewise.
39313 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39315 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39317 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39320 (default-abi): New variable.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39324 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39326 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39328 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39331 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39332 definition. Document in comment.
39334 2012-06-01 David S. Miller <davem@davemloft.net>
39336 * stdlib/longlong.h: Updated from GCC.
39338 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39341 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39342 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39343 sys/debugreg.h sys/io.h here.
39344 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39345 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39347 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39348 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39349 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39350 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39351 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39352 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39354 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39355 Define only if __x86_64__ is defined.
39357 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39361 Use int64_t for variable i.
39362 * math/libm-test.inc (fmod_test): Add more tests.
39364 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39365 z computation is not scheduled after fetestexcept.
39366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39367 Use math_force_eval instead of asm to ensure calculation scheduled
39368 before exception test.
39369 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39370 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39372 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39375 computation is not scheduled after fetestexcept.
39377 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39380 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39381 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39383 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39385 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39386 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39388 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39391 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39393 (__WCHAR_MIN): Support __WORDSIZE == 64.
39394 (__WCHAR_MAX): Likewise.
39396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39397 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39401 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39404 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39405 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39407 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39408 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39410 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39411 Defined to 1 if __x86_64__ isn't defined.
39412 (_STAT_VER_LINUX_OLD): New.
39413 (st_atime): Remove duplicate.
39414 (st_mtime): Likewise.
39415 (st_ctime): Likewise.
39417 2012-05-31 David S. Miller <davem@davemloft.net>
39419 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39422 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39424 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39428 * elf/dl-reloc.c: Include <_itoa.h>.
39429 (_dl_reloc_bad_type): Remove use of INTUSE.
39430 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39431 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39432 * stdio-common/psiginfo.c (psiginfo): Likewise.
39433 * stdio-common/psignal.c (psignal): Likewise.
39434 * string/strsignal.c (strsignal): Likewise.
39435 * include/signal.h (_sys_siglist): Declare hidden proto.
39436 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39437 INTVARDEF with libc_hidden_data_def.
39438 * stdio-common/itoa-udigits.c: Likewise.
39439 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39440 (_itoa_lower_digits_internal): Remove declaration.
39441 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39442 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39443 (_sys_sigabbrev_internal): Remove aliases.
39444 (_sys_siglist): Define hidden alias.
39446 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39451 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39454 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39455 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39457 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39458 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39459 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39460 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39462 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39464 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39465 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39466 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39468 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39476 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39477 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39478 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39480 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39481 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39482 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39483 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39484 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39485 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39487 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39488 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39490 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39491 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39497 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39498 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39500 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39502 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39503 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39504 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39506 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39508 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39510 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39512 * math/math.h (M_El): Use two more decimal places.
39513 (M_LOG2El): Likewise.
39514 (M_LOG10El): Likewise.
39515 (M_LN2l): Likewise.
39516 (M_LN10l): Likewise.
39518 (M_PI_2l): Likewise.
39519 (M_PI_4l): Likewise.
39520 (M_1_PIl): Likewise.
39521 (M_2_PIl): Likewise.
39522 (M_2_SQRTPIl): Likewise.
39523 (M_SQRT2l): Likewise.
39524 (M_SQRT1_2l): Likewise.
39526 2012-05-31 David S. Miller <davem@davemloft.net>
39528 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39529 values between float registers.
39530 * sysdeps/sparc/sparc64/memset.S: Likewise.
39531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39533 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39535 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39536 -D_FORTIFY_SOURCE=1.
39537 (CPPFLAGS-tst-longjmp_chk.c): Define.
39538 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39539 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39540 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39541 CFLAGS-tst-wchar-h.c.
39543 2012-05-31 Marek Polacek <polacek@redhat.com>
39546 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39547 __endmntent_internal): Remove declaration.
39548 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39549 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39550 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39552 2012-05-30 David S. Miller <davem@davemloft.net>
39554 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39555 (___Q_simulate_exceptions): Use real FP ops rather than writing
39557 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39560 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39563 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39564 * sysdeps/x86/bits/xtitypes.h: This.
39566 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39567 * sysdeps/x86/bits/wordsize.h: This.
39569 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39570 * sysdeps/x86/bits/huge_vall.h: This.
39572 * sysdeps/i386/bits/select.h: Removed.
39573 * sysdeps/x86_64/bits/select.h: Renamed to ...
39574 * sysdeps/x86/bits/select.h: This.
39576 * sysdeps/i386/bits/setjmp.h: Removed.
39577 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39578 * sysdeps/x86/bits/setjmp.h: This.
39580 * sysdeps/i386/bits/mathdef.h: Removed.
39581 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39582 * sysdeps/x86/bits/mathdef.h: This.
39584 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39587 * include/sys/socket.h (__connect_internal)
39588 (__libc_sa_len_internal): Remove declaration.
39589 (__connect, __libc_sa_len): Declare hidden_proto.
39590 (SA_LEN): Remove use of INTUSE.
39591 * socket/connect.c: Add libc_hidden_def.
39592 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39593 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39594 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39596 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39598 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39599 of adding _internal alias.
39601 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39604 * sysdeps/i386/bits/link.h: Removed.
39605 * sysdeps/i386/bits/linkmap.h: Likewise.
39606 * sysdeps/x86_64/bits/link.h: Renamed to ...
39607 * sysdeps/x86/bits/link.h: This.
39608 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39609 * sysdeps/x86/bits/linkmap.h: This.
39611 * sysdeps/i386/bits/endian.h: Removed.
39612 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39613 * sysdeps/x86/bits/endian.h: This.
39615 * sysdeps/i386/bits/byteswap.h: Removed.
39616 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39617 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39618 * sysdeps/x86/bits/byteswap.h: This.
39619 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39620 * sysdeps/x86/bits/byteswap-16.h: This.
39621 * sysdeps/i386/Implies: Add x86.
39622 * sysdeps/x86_64/Implies: Likewise.
39624 2012-05-30 David S. Miller <davem@davemloft.net>
39626 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39627 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39628 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39629 (FP_TRAPPING_EXCEPTIONS): Define.
39630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39631 (FP_TRAPPING_EXCEPTIONS): Define.
39632 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39633 subnormals only when inexact has been signalled or underflow
39634 exceptions are enabled.
39635 (_FP_PACK_CANONICAL): Likewise.
39637 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39641 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39643 2012-05-30 Richard Henderson <rth@twiddle.net>
39645 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39646 with #ifndef NOT_IN_libc.
39648 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39649 marked to avoid plt entry.
39651 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39654 * Makeconfig (default-abi): New macro.
39655 (abi-includes): Likewise.
39656 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39657 $(abi-$(default-abi)-lib-soname) for soname if defined.
39658 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39660 * Makefile (installed-stubs): Likewise.
39661 * include/stubs-biarch.h: Removed.
39662 * scripts/lib-names.awk: Only handle one library at a time.
39663 * scripts/soversions.awk: Remove WORDSIZE support.
39664 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39666 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39668 (syscall-list-default-condition): Likewise.
39669 (syscall-list-default-condition): Likewise.
39670 (syscall-list-includes): Likewise.
39671 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39672 syscall-list-* with abi-*. Handle undefined abi-variants.
39673 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39674 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39675 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39676 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39677 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39678 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39680 (syscall-list-32-options): Likewise.
39681 (syscall-list-32-condition): Likewise.
39682 (syscall-list-64-options): Likewise.
39683 (syscall-list-64-condition): Likewise.
39684 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39686 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39689 (abi-64-ld-soname): New macro.
39690 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39691 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39694 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39695 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39697 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39699 * sysdeps/unix/sysv/linux/kernel-features.h
39700 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39701 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39702 include <kernel-features.h>.
39703 [!__NR_ftruncate64]: Remove conditional code.
39704 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39705 [__NR_ftruncate64]: Make code unconditional.
39706 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39707 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39708 include <kernel-features.h>.
39709 [!__NR_ftruncate64]: Remove conditional code.
39710 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39711 [__NR_ftruncate64]: Make code unconditional.
39712 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39714 include <kernel-features.h>.
39715 [!__NR_ftruncate64]: Remove conditional code.
39716 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39717 [__NR_ftruncate64]: Make code unconditional.
39718 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39720 include <kernel-features.h>.
39721 [!__NR_ftruncate64]: Remove conditional code.
39722 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39723 [__NR_ftruncate64]: Make code unconditional.
39724 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39726 * configure.in (libc_cv_fpie): Weaken to a compile test using
39727 LIBC_TRY_CC_OPTION.
39728 * configure: Regenerated.
39730 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39745 2012-05-27 David S. Miller <davem@davemloft.net>
39747 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39749 (__Q_simulate_exceptions): Return void. Change to simulate
39750 exceptions by writing into the %fsr.
39751 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39752 (__Qp_handle_exceptions): Likewise.
39754 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39755 __Qp_handle_exceptions.
39756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39757 __Qp_handle_exceptions.
39758 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39759 as unused and give dummy FP_RND_NEAREST initializer.
39760 (FP_INHIBIT_RESULTS): Define.
39761 (___Q_simulate_exceptions): Update declaration.
39762 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39765 as unused and give dummy FP_RND_NEAREST initializer.
39766 (__Qp_handle_exceptions): Update declaration.
39767 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39770 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39772 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39773 the temporary FPU control word.
39774 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39775 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39776 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39777 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39779 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39780 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39781 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39782 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39783 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39786 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39788 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39791 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39793 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39794 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39795 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39796 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39798 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39799 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39802 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39804 * po/h.po: Update from translation team.
39806 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39808 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39810 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39811 handling of denormals.
39812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39813 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39814 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39815 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39821 2012-05-26 Marek Polacek <polacek@redhat.com>
39824 * math/libm-test.inc (fma_test): Don't always expect underflow
39827 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39830 * elf/tst-execstack.c: Include stackinfo.h.
39831 (do_test): Adjust test case to ensure that pthread_getattr_np
39832 behaviour remains the same after marking stack executable.
39834 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39836 * sysdeps/unix/sysv/linux/kernel-features.h
39837 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39838 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39840 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39841 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39842 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39844 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39845 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39847 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39849 * configure.in: Define the default includes to being none.
39850 * configure: Regenerated.
39852 2012-05-25 Roland McGrath <roland@hack.frob.com>
39854 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39855 * sysdeps/x86_64/setjmp.S: Likewise.
39856 * sysdeps/i386/bsd-setjmp.S: Likewise.
39857 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39858 * sysdeps/i386/setjmp.S: Likewise.
39859 * sysdeps/i386/__longjmp.S: Likewise.
39860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39861 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39863 * include/stap-probe.h: New file.
39864 * configure.in: Handle --enable-systemtap.
39865 * configure: Regenerated.
39866 * config.h.in (USE_STAP_PROBE): New #undef.
39867 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39868 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39869 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39871 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39875 to 2.4.0 where earlier.
39876 * sysdeps/unix/sysv/linux/configure: Regenerated.
39877 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39878 <kernel-features.h>.
39879 [__ASSUME_32BITUIDS]: Make code unconditional.
39880 [!__ASSUME_32BITUIDS]: Remove conditional code.
39881 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39882 <kernel-features.h>.
39883 [__ASSUME_32BITUIDS]: Make code unconditional.
39884 [!__ASSUME_32BITUIDS]: Remove conditional code.
39885 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39886 [__ASSUME_32BITUIDS]: Make code unconditional.
39887 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39888 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39889 <kernel-features.h>.
39890 [__ASSUME_32BITUIDS]: Make code unconditional.
39891 [!__ASSUME_32BITUIDS]: Remove conditional code.
39892 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39893 <kernel-features.h>.
39894 [__ASSUME_32BITUIDS]: Make code unconditional.
39895 [!__ASSUME_32BITUIDS]: Remove conditional code.
39896 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39897 <kernel-features.h>.
39898 [__ASSUME_32BITUIDS]: Make code unconditional.
39899 [!__ASSUME_32BITUIDS]: Remove conditional code.
39900 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39901 <kernel-features.h>.
39902 [__ASSUME_32BITUIDS]: Make code unconditional.
39903 [!__ASSUME_32BITUIDS]: Remove conditional code.
39904 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39905 <kernel-features.h>.
39906 [__ASSUME_32BITUIDS]: Make code unconditional.
39907 [!__ASSUME_32BITUIDS]: Remove conditional code.
39908 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39909 <kernel-features.h>.
39910 [__ASSUME_32BITUIDS]: Make code unconditional.
39911 [!__ASSUME_32BITUIDS]: Remove conditional code.
39912 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39913 <kernel-features.h>.
39914 [__ASSUME_32BITUIDS]: Make code unconditional.
39915 [!__ASSUME_32BITUIDS]: Remove conditional code.
39916 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39917 <kernel-features.h>.
39918 [__ASSUME_32BITUIDS]: Make code unconditional.
39919 [!__ASSUME_32BITUIDS]: Remove conditional code.
39920 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39921 <kernel-features.h>.
39922 [__ASSUME_32BITUIDS]: Make code unconditional.
39923 [!__ASSUME_32BITUIDS]: Remove conditional code.
39924 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39925 <kernel-features.h>.
39926 [__ASSUME_32BITUIDS]: Make code unconditional.
39927 [!__ASSUME_32BITUIDS]: Remove conditional code.
39928 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39929 <kernel-features.h>.
39930 [__NR_setresgid] (__setresgid): Do not declare.
39931 [__ASSUME_32BITUIDS]: Make code unconditional.
39932 [!__ASSUME_32BITUIDS]: Remove conditional code.
39933 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39934 <kernel-features.h>.
39935 [__NR_setresuid] (__setresuid): Do not declare.
39936 [__ASSUME_32BITUIDS]: Make code unconditional.
39937 [!__ASSUME_32BITUIDS]: Remove conditional code.
39938 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39939 <kernel-features.h>.
39940 [__ASSUME_32BITUIDS]: Make code unconditional.
39941 [!__ASSUME_32BITUIDS]: Remove conditional code.
39942 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39943 <kernel-features.h>.
39944 [__ASSUME_32BITUIDS]: Make code unconditional.
39945 [!__ASSUME_32BITUIDS]: Remove conditional code.
39946 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39947 <kernel-features.h>.
39948 [__ASSUME_32BITUIDS]: Make code unconditional.
39949 [!__ASSUME_32BITUIDS]: Remove conditional code.
39950 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39951 <kernel-features.h>.
39952 [__ASSUME_32BITUIDS]: Make code unconditional.
39953 [!__ASSUME_32BITUIDS]: Remove conditional code.
39954 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39955 <kernel-features.h>.
39956 [__ASSUME_32BITUIDS]: Make code unconditional.
39957 [!__ASSUME_32BITUIDS]: Remove conditional code.
39958 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39959 <kernel-features.h>.
39960 [__ASSUME_32BITUIDS]: Make code unconditional.
39961 [!__ASSUME_32BITUIDS]: Remove conditional code.
39962 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39963 <kernel-features.h>.
39964 [__ASSUME_32BITUIDS]: Make code unconditional.
39965 [!__ASSUME_32BITUIDS]: Remove conditional code.
39966 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39967 <kernel-features.h>.
39968 [__ASSUME_32BITUIDS]: Make code unconditional.
39969 [!__ASSUME_32BITUIDS]: Remove conditional code.
39970 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39971 <kernel-features.h>.
39972 [__ASSUME_32BITUIDS]: Make code unconditional.
39973 [!__ASSUME_32BITUIDS]: Remove conditional code.
39974 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39975 <kernel-features.h>.
39976 [__ASSUME_32BITUIDS]: Make code unconditional.
39977 [!__ASSUME_32BITUIDS]: Remove conditional code.
39978 * sysdeps/unix/sysv/linux/kernel-features.h
39979 (__ASSUME_SETRESUID_SYSCALL): Remove.
39980 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39981 (__ASSUME_32BITUIDS): Likewise.
39982 (__ASSUME_LDT_WORKS): Likewise.
39983 (__ASSUME_O_DIRECTORY): Likewise.
39984 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39985 architecture but not kernel version.
39986 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39987 (__ASSUME_MMAP2_SYSCALL): Likewise.
39988 (__ASSUME_STAT64_SYSCALL): Likewise.
39989 (__ASSUME_IPC64): Likewise.
39990 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39991 <kernel-features.h>.
39992 [__ASSUME_32BITUIDS]: Make code unconditional.
39993 [!__ASSUME_32BITUIDS]: Remove conditional code.
39994 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39995 <kernel-features.h>.
39996 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39997 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39998 132096]: Remove conditional code.
39999 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40000 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40001 <kernel-features.h>.
40002 [__ASSUME_32BITUIDS]: Make code unconditional.
40003 [!__ASSUME_32BITUIDS]: Remove conditional code.
40004 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40005 <kernel-features.h>.
40006 [__ASSUME_32BITUIDS]: Make code unconditional.
40007 [!__ASSUME_32BITUIDS]: Remove conditional code.
40008 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40009 <kernel-features.h>.
40010 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40012 (__setresgid): Do not declare.
40013 [__ASSUME_32BITUIDS]: Make code unconditional.
40014 [!__ASSUME_32BITUIDS]: Remove conditional code.
40015 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40016 <kernel-features.h>.
40017 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40019 (__setresuid): Do not declare.
40020 [__ASSUME_32BITUIDS]: Make code unconditional.
40021 [!__ASSUME_32BITUIDS]: Remove conditional code.
40022 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40023 <kernel-features.h>.
40024 [__ASSUME_32BITUIDS]: Make code unconditional.
40025 [!__ASSUME_32BITUIDS]: Remove conditional code.
40026 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40027 <kernel-features.h>.
40028 [__ASSUME_32BITUIDS]: Make code unconditional.
40029 [!__ASSUME_32BITUIDS]: Remove conditional code.
40031 2012-05-25 Richard Henderson <rth@twiddle.net>
40033 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40034 dl_hwcap to ifunc resolver.
40035 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40037 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40038 dl_hwcap to ifunc resolver.
40039 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40041 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40044 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40045 for |x| <= 2**-26, not 2**-57.
40046 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40049 2012-05-24 Jeff Law <law@redhat.com>
40051 * stdio-common/Makefile (tests): Add bug25.
40052 * stdio-common/bug25.c: New test.
40054 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40057 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40058 multiple of MALLOC_ALIGNMENT in size.
40059 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40061 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40063 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40065 (FILENAME_MAX): Use macro-int-constant.
40066 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40067 (_IOFBF): Use macro-int-constant.
40068 (_IOLBF): Likewise.
40069 (_IONBF): Likewise.
40070 (SEEK_CUR): Likewise.
40071 (SEEK_END): Likewise.
40072 (SEEK_SET): Likewise.
40073 (TMP_MAX): Likewise.
40074 (EOF): Use macro-int-constant. Require < 0.
40075 (NULL): Use macro-constant. Require == 0.
40076 (stdin): Require type to be FILE *.
40077 (stdout): Likewise.
40078 (stderr): Likewise.
40079 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40080 macro-int-constant.
40081 (EXIT_SUCCESS): Likewise.
40082 (NULL): Use macro-constant. Require == 0.
40083 (RAND_MAX): Use macro-int-constant.
40084 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40085 [C99-based standards] (strtof): Require function.
40086 [C99-based standards] (strtold): Likewise.
40087 [C99-based standards] (strtoll): Likewise.
40088 [C99-based standards] (strtoull): Likewise.
40089 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40090 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40091 [ISO || ISO99 || ISO11] (math.h): Likewise.
40092 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40093 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40096 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40099 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40100 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40101 * intl/dgettext.c (DCGETTEXT): Likewise.
40102 * intl/gettext.c (DCGETTEXT): Likewise.
40103 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40104 * posix/regex_internal.h (gettext): Likewise.
40105 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40106 Remove declaration.
40107 * include/argz.h (__argz_count_internal)
40108 (__argz_stringify_internal): Remove declaration.
40109 (__argz_count, __argz_stringify): Declare hidden proto.
40110 * intl/dcgettext.c: Remove use of INTDEF.
40111 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40112 * string/argz-stringify.c: Likewise.
40113 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40114 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40115 Declare hidden proto.
40116 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40117 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40118 Declare hidden proto.
40119 * include/stdio.h (__asprintf_internal): Don't declare.
40120 (__asprintf): Don't define as macro. Declare hidden proto.
40121 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40122 (__fsetlocking): Declare hidden proto.
40123 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40124 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40126 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40127 (_IO_setlinebuf): Remove use of INTUSE.
40128 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40129 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40130 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40131 Remove declaration.
40132 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40133 (_IO_do_flush): Remove use of INTUSE.
40134 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40135 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40136 (_IO_adjust_column, _IO_least_wmarker)
40137 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40138 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40139 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40140 (_IO_default_doallocate, _IO_wdefault_doallocate)
40141 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40142 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40143 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40144 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40145 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40146 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40147 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40148 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40149 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40150 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40151 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40152 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40153 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40155 (_IO_flush_all_internal, _IO_adjust_column_internal)
40156 (_IO_default_uflow_internal, _IO_default_finish_internal)
40157 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40158 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40159 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40160 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40161 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40162 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40163 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40164 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40165 (_IO_file_close_internal, _IO_file_close_it_internal)
40166 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40167 (_IO_file_init_internal, _IO_file_attach_internal)
40168 (_IO_file_fopen_internal, _IO_file_read_internal)
40169 (_IO_file_sync_internal, _IO_file_seek_internal)
40170 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40171 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40172 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40173 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40174 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40175 (_IO_list_all_internal, _IO_link_in_internal)
40176 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40177 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40178 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40179 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40180 (_IO_do_write_internal, _IO_padn_internal)
40181 (_IO_getline_info_internal, _IO_getline_internal)
40182 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40183 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40184 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40185 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40186 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40187 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40188 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40189 with libc_hidden_ver, remove use of INTUSE.
40190 * libio/genops.c: Likewise.
40191 * libio/freopen.c: Likewise.
40192 * libio/freopen64.c: Likewise.
40193 * libio/iofclose.c: Likewise.
40194 * libio/iofdopen.c: Likewise.
40195 * libio/iofflush.c: Likewise.
40196 * libio/iofflush_u.c: Likewise.
40197 * libio/iofgets.c: Likewise.
40198 * libio/iofgets_u.c: Likewise.
40199 * libio/iofopen.c: Likewise.
40200 * libio/iofopncook.c: Likewise.
40201 * libio/iofread.c: Likewise.
40202 * libio/iofread_u.c: Likewise.
40203 * libio/ioftell.c: Likewise.
40204 * libio/iofwrite.c: Likewise.
40205 * libio/iogetline.c: Likewise.
40206 * libio/iogets.c: Likewise.
40207 * libio/iogetwline.c: Likewise.
40208 * libio/iopadn.c: Likewise.
40209 * libio/iopopen.c: Likewise.
40210 * libio/ioseekoff.c: Likewise.
40211 * libio/ioseekpos.c: Likewise.
40212 * libio/iosetbuffer.c: Likewise.
40213 * libio/iosetvbuf.c: Likewise.
40214 * libio/ioungetc.c: Likewise.
40215 * libio/ioungetwc.c: Likewise.
40216 * libio/iovdprintf.c: Likewise.
40217 * libio/iovsprintf.c: Likewise.
40218 * libio/iovsscanf.c: Likewise.
40219 * libio/memstream.c: Likewise.
40220 * libio/obprintf.c: Likewise.
40221 * libio/oldfileops.c: Likewise.
40222 * libio/oldiofclose.c: Likewise.
40223 * libio/oldiofdopen.c: Likewise.
40224 * libio/oldiofopen.c: Likewise.
40225 * libio/oldiopopen.c: Likewise.
40226 * libio/oldstdfiles.c: Likewise.
40227 * libio/putc.c: Likewise.
40228 * libio/setbuf.c: Likewise.
40229 * libio/setlinebuf.c: Likewise.
40230 * libio/stdfiles.c: Likewise.
40231 * libio/strops.c: Likewise.
40232 * libio/vasprintf.c: Likewise.
40233 * libio/vscanf.c: Likewise.
40234 * libio/vsnprintf.c: Likewise.
40235 * libio/vswprintf.c: Likewise.
40236 * libio/wfiledoalloc.c: Likewise.
40237 * libio/wfileops.c: Likewise.
40238 * libio/wgenops.c: Likewise.
40239 * libio/wmemstream.c: Likewise.
40240 * libio/wstrops.c: Likewise.
40241 * libio/__fpurge.c: Likewise.
40242 * libio/__fsetlocking.c: Likewise.
40243 * assert/assert.c: Likewise.
40244 * debug/fgets_chk.c: Likewise.
40245 * debug/fgets_u_chk.c: Likewise.
40246 * debug/fread_chk.c: Likewise.
40247 * debug/fread_u_chk.c: Likewise.
40248 * debug/gets_chk.c: Likewise.
40249 * debug/obprintf_chk.c: Likewise.
40250 * debug/vasprintf_chk.c: Likewise.
40251 * debug/vdprintf_chk.c: Likewise.
40252 * debug/vsnprintf_chk.c: Likewise.
40253 * debug/vsprintf_chk.c: Likewise.
40254 * malloc/mtrace.c: Likewise.
40255 * misc/error.c: Likewise.
40256 * misc/syslog.c: Likewise.
40257 * stdio-common/asprintf.c: Likewise.
40258 * stdio-common/fxprintf.c: Likewise.
40259 * stdio-common/getw.c: Likewise.
40260 * stdio-common/isoc99_fscanf.c: Likewise.
40261 * stdio-common/isoc99_scanf.c: Likewise.
40262 * stdio-common/isoc99_vfscanf.c: Likewise.
40263 * stdio-common/isoc99_vscanf.c: Likewise.
40264 * stdio-common/isoc99_vsscanf.c: Likewise.
40265 * stdio-common/printf-prs.c: Likewise.
40266 * stdio-common/printf_fp.c: Likewise.
40267 * stdio-common/printf_fphex.c: Likewise.
40268 * stdio-common/printf_size.c: Likewise.
40269 * stdio-common/putw.c: Likewise.
40270 * stdio-common/scanf.c: Likewise.
40271 * stdio-common/sprintf.c: Likewise.
40272 * stdio-common/tmpfile.c: Likewise.
40273 * stdio-common/vfprintf.c: Likewise.
40274 * stdio-common/vfscanf.c: Likewise.
40275 * stdlib/strfmon_l.c: Likewise.
40276 * sunrpc/openchild.c: Likewise.
40277 * sunrpc/xdr_stdio.c: Likewise.
40278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40279 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40281 2012-05-24 Roland McGrath <roland@hack.frob.com>
40283 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40285 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40286 in the third column, to generate for the shared library an IFUNC
40287 that uses _dl_vdso_vsym.
40288 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40289 * Makeconfig (object-suffixes-noshared): New variable.
40291 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40292 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40293 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40294 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40297 * include/sys/time.h (__gettimeofday): Remove macro.
40298 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40299 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40301 (__gettimeofday): Add libc_hidden_def.
40302 (gettimeofday): Add libc_hidden_weak.
40303 * sysdeps/mach/gettimeofday.c: Likewise.
40304 * sysdeps/posix/gettimeofday.c: Likewise.
40305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40306 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40308 (__gettimeofday_internal): Remove strong_alias.
40309 (__gettimeofday): Add libc_hidden_def.
40310 (gettimeofday): Add libc_hidden_weak.
40311 * sysdeps/unix/syscalls.list (gettimeofday):
40312 Remove __gettimeofday_internal alias.
40314 2012-05-24 Daniel Jacobowitz <drow@false.org>
40315 H.J. Lu <hongjiu.lu@intel.com>
40318 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40319 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40320 (largebin_index_32_big): New.
40321 (largebin_index): Use it for 16-byte alignment.
40322 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40323 correction with front_misalign.
40325 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40353 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40354 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40356 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40360 * math/libm-test.inc (exp_test): Add test from bug 14036.
40361 (pow_test): Add test from bug 10846.
40363 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40365 (special_function): Do not include flags in test name.
40366 (parse_args): Likewise.
40367 * sysdeps/i386/fpu/libm-test-ulps: Update.
40368 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40369 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40373 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40375 * math/libm-test.inc ("Philosophy"): Update comment about
40377 (UNDERFLOW_EXCEPTION): New macro.
40378 (UNDERFLOW_EXCEPTION_OK): Likewise.
40379 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40380 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40381 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40382 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40383 (INVALID_EXCEPTION_OK): Update value.
40384 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40385 (OVERFLOW_EXCEPTION_OK): Likewise.
40386 (IGNORE_ZERO_INF_SIGN): Likewise.
40387 (test_exceptions): Handle underflow exceptions.
40388 (acos_test): Update for underflow exception expectations.
40389 (cexp_test): Likewise.
40390 (clog_test): Likewise.
40391 (clog10_test): Likewise.
40392 (csqrt_test): Likewise.
40393 (ctan_test): Likewise.
40394 (ctanh_test): Likewise.
40395 (exp_test): Likewise.
40396 (exp10_test): Likewise.
40397 (exp2_test): Likewise.
40398 (expm1_test): Likewise.
40399 (fma_test): Likewise.
40400 (j0_test): Likewise.
40401 (jn_test): Likewise.
40402 (nexttoward_test): Likewise.
40403 (pow_test): Likewise.
40404 (scalbn_test): Likewise.
40405 (scalbln_test): Likewise.
40406 (tan_test): Likewise.
40407 (y1_test): Likewise.
40408 * sysdeps/i386/fpu/libm-test-ulps: Update.
40409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40411 2012-05-23 David S. Miller <davem@davemloft.net>
40413 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40414 (__libc_sigaction): Remove unused local variables.
40416 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40418 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40420 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40422 mktime: avoid signed integer overflow
40423 * time/mktime.c (__mktime_internal): Do not mishandle the case
40424 where diff == INT_MIN.
40426 mktime: simplify computation of average
40427 * time/mktime.c (ranged_convert): Use new time_t_avg function
40428 instead of rolling our own (probably-slower) code.
40430 mktime: do not assume signed right shift propagates sign bit
40431 * time/mktime.c (isdst_differ): New static function.
40432 (__mktime_internal): No need to normalize tm_isdst now.
40433 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40436 mktime: merge another wrapv change from gnulib
40437 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40438 from some compilers.
40440 mktime: remove incorrect attempt at unusual arithmetics
40441 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40442 The code didn't really work on such machines anyway.
40443 (TYPE_MINIMUM): Assume two's complement.
40444 (twos_complement_arithmetic): Verify that long_int and time_t
40445 are two's complement (or unsigned, in the latter case).
40447 mktime: check signed shifts on long_int and time_t, too
40448 * time/mktime.c (SHR): Check that shifts work as desired
40449 on the types long_int and time_t too, as SHR is used on
40452 mktime: do not assume 'long' is wide enough
40453 * time/mktime.c (verify): Move decl up.
40454 (long_int): New type.
40455 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40456 to remove assumption in the code that 'long' is wide enough to
40457 store year values. This assumption is not true on x32 and on
40458 some non-glibc platforms.
40460 mktime: merge wrapv change from gnulib
40461 * time/mktime.c (WRAPV): New macro.
40462 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40463 (guess_time_tm, __mktime_internal): Do not assume that signed
40464 integer overflow wraps around; modern compilers generate code
40465 where this assumption is no longer valid.
40467 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40469 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40470 Replace "jmp L(pseudo_end)" with "ret".
40471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40474 2012-05-23 Andreas Jaeger <aj@suse.de>
40476 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40477 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40479 2012-05-23 Andreas Jaeger <aj@suse.de>
40480 Maximilian Attems <max@stro.at>
40482 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40485 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40488 code so that pseudo_end is just ret and the stack pointer is
40489 correct also for static library in error case.
40491 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40493 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40494 move to syscalls.list.
40495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40500 * manual/install.texi (Running make install): Do not mention Linux
40501 kernel version for which pt_chown is not needed.
40502 (Linux): Do not mention problems with nscd with 2.0 kernels.
40503 * INSTALL: Regenerated.
40505 2012-05-23 Andreas Jaeger <aj@suse.de>
40507 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40508 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40510 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40511 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40512 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40514 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40516 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40518 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40520 * sysdeps/unix/sysv/linux/bits/in.h
40521 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40523 2012-05-22 Roland McGrath <roland@hack.frob.com>
40525 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40526 (PREPARE_VERSION): Just use assert instead, it will be elided
40527 under [NDEBUG] anyway.
40529 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40531 * sysdeps/unix/sysv/linux/Makefile: Include
40532 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40533 (sysdep_routines): Remove sysctl.
40534 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40535 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40536 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40537 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40538 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40540 2012-05-22 Andreas Jaeger <aj@suse.de>
40542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40543 that pseudo_end is just ret and the stack pointer is correct also
40544 for static library in error case.
40546 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40549 * nss/nsswitch.c (defconfig_entries): New variable.
40550 (__nss_database_lookup): Don't leak defconfig entries.
40551 (nss_parse_service_list): Don't leak on error paths.
40552 (free_database_entries): New function.
40553 (free_defconfig): New function.
40554 (free_mem): Move common code to free_database_entries.
40556 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40560 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40562 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40563 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40566 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40567 (INTERNAL_SYSCALL_TYPES): Likewise.
40568 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40569 (LOAD_REGS_TYPES_[1-6]): Likewise.
40570 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40571 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40573 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40575 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40576 copysignl for GLIBC_2_0.
40577 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40578 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40580 logbl for GLIBC_2_0.
40581 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40582 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40584 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40587 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40589 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40592 * time/mktime.c: Update copyright years.
40594 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40596 mktime: merge comment-quoting-style change from gnulib
40597 * time/mktime.c: Quote 'like this' in comments.
40598 The GNU coding standards suggest that we no longer quote `like this',
40599 as "`" and "'" are typically rendered asymmetrically nowadays.
40600 The typical gnulib style is to quote 'like this' when quoting
40601 code, and "like this" when quoting English.
40603 * time/mktime.c (compile-command): Add "-I.".
40605 mktime: merge mktime-internal.h change from gnulib
40606 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40608 mktime: merge time_r change from gnulib
40609 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40611 mktime: merge DEBUG change from gnulib
40612 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40613 case system <time.h> has a #define.
40615 mktime: merge <sys/types.h> change from gnulib
40616 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40617 since <time.t> is now guaranteed to define time_t.
40619 mktime: merge HAVE_CONFIG_H change from gnulib
40620 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40622 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40627 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40629 (struct rusage): Use anonymous union to pad each field to
40632 2012-05-21 David S. Miller <davem@davemloft.net>
40634 * Makefules (o-iterator): Remove .s cases.
40635 (compile-command.s): Delete.
40636 (COMPILE.s): Delete.
40637 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40639 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40641 * configure.in (libc_cv_predef_stack_protector): Only consider
40642 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40643 * configure: Regenerated.
40645 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40648 New macro. Use R*LP on int and pointer.
40649 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40650 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40651 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40652 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40654 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40655 [__WORDSIZE_TIME64_COMPAT32] instead of
40656 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40657 (struct utmp): Likewise.
40658 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40659 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40661 (__WORDSIZE_TIME64_COMPAT32): This.
40662 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40663 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40664 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40665 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40666 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40667 (__WORDSIZE_TIME64_COMPAT32): New macro.
40669 2012-05-21 Andreas Jaeger <aj@suse.de>
40671 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40672 only if [SHARED]. Add prototype for __wcschr_ia32.
40674 2012-05-21 Roland McGrath <roland@hack.frob.com>
40676 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40677 of %rbp unmolested in the jmp_buf while mangling the low bits.
40678 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40679 unmolested high bits of %rbp while demangling the low bits.
40680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40682 2012-05-21 Andreas Jaeger <aj@suse.de>
40684 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40685 * sunrpc/svc_simple.c: Use it for registerrpc.
40686 * sunrpc/xcrypt.c: Use it for passwd2des.
40688 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40690 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40692 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40693 Don't define if [__SYSCALL_WORDSIZE != 32].
40694 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40697 2012-05-21 Bruno Haible <bruno@clisp.org>
40698 Andreas Jaeger <aj@suse.de>
40700 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40701 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40702 inptr and inend for must_buffer_ch.
40703 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40704 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40705 * stdio-common/Makefile (tests): Remove bug15.
40706 (bug15-ENV): Remove macro.
40707 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40710 2012-05-19 Andreas Jaeger <aj@suse.de>
40711 Roland McGrath <roland@hack.frob.com>
40713 * manual/contrib.texi: Completely rewritten. It contains now an
40714 alphabetical list of contributors and their contributions.
40716 2012-05-21 Richard Henderson <rth@twiddle.net>
40718 * misc/getauxval.c (__getauxval): Use unsigned long int.
40719 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40720 (getauxval): Use unsigned long int.
40722 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40724 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40726 2012-05-21 Roland McGrath <roland@hack.frob.com>
40728 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40729 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40730 __alignof__ (long double).
40732 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40736 2012-05-20 Richard Henderson <rth@twiddle.net>
40738 * misc/getauxval.c: New file.
40739 * misc/sys/auxv.h: New file.
40740 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40741 (routines): Add getauxval.
40742 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40744 * elf/dl-sysdep.c (_dl_auxv): Remove.
40745 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40746 * elf/dl-support.c (_dl_auxv): New variable.
40747 (_dl_aux_init): Initialize it.
40748 * manual/startup.texi (Auxiliary Vector): New node.
40749 * sysdeps/generic/bits/hwcap.h: New file.
40750 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40751 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40752 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40753 * sysdeps/sparc/sysdep.h: ... here. Include it.
40754 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40755 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40767 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40771 2012-05-19 David S. Miller <davem@davemloft.net>
40773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40775 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40778 * math/s_ccosh.c: Include <float.h>
40779 (__ccosh): Avoid internal overflow calculating sinh and cosh
40780 values before multiplying by sin and cos values.
40781 * math/s_ccoshf.c: Likewise.
40782 * math/s_ccoshl.c: Likewise.
40783 * math/s_csin.c: Likewise.
40784 * math/s_csinf.c: Likewise.
40785 * math/s_csinl.c: Likewise.
40786 * math/s_csinh.c: Likewise.
40787 * math/s_csinhf.c: Likewise.
40788 * math/s_csinhl.c: Likewise.
40789 * math/libm-test.inc (ccos_test): Add more tests.
40790 (ccosh_test): Likewise.
40791 (csin_test): Likewise.
40792 (csinh_test): Likewise.
40793 * sysdeps/i386/fpu/libm-test-ulps: Update.
40794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40796 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40798 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40799 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40801 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40803 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40805 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40806 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40807 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40808 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40809 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40810 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40811 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40812 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40813 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40814 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40815 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40816 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40817 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40818 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40819 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40820 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40821 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40822 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40823 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40824 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40825 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40826 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40827 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40828 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40829 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40830 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40831 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40832 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40833 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40834 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40835 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40837 2012-05-18 Andreas Jaeger <aj@suse.de>
40839 * csu/.gitignore: Delete.
40841 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40843 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40844 (timex): Use __syscall_slong_t.
40846 2012-05-18 Andreas Jaeger <aj@suse.de>
40847 Carlos O'Donell <carlos_odonell@mentor.com>
40849 * manual/install.texi (Configuring and compiling): Update
40850 description about files modified in the source directory.
40851 * INSTALL: Regenerated.
40853 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40855 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40856 value. Use "or" to set return value to -1.
40857 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40858 negate return value.
40860 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40862 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40863 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40864 failure if the compiler has Graphite support disabled.
40865 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40867 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40868 (CFLAGS-memmove.c): Likewise.
40869 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40872 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40874 * sysdeps/x86_64/x32/_itoa.h: New file.
40876 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40877 getdents system call only if kernel and user dirents have the
40878 same d_ino and d_off.
40880 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40881 LLONG_MAX != LONG_MAX.
40882 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40883 (_fitoa_word): Likewise.
40885 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40887 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40888 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40889 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40891 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40892 include <bits/wordsize.h>. Check __x86_64__ instead of
40894 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40895 if __x86_64__ is defined. Use anonymous union on fpstate.
40897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40900 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40902 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40903 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40904 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40905 Refer to _rtld_local_ro instead of _rtld_global_ro.
40906 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40908 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40910 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40912 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40913 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40914 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40916 * sysdeps/powerpc/powerpc32/dl-machine.c
40917 (__elf_machine_runtime_setup) [PROF]: Don't reference
40920 2012-05-18 Andreas Jaeger <aj@suse.de>
40922 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40923 function only available for GCCs before 3.4 since GCC 3.4
40924 introduced a builtin.
40926 (llrintf): Likewise.
40927 (llrint): Likewise.
40934 (nearbyint): Likewise.
40935 (nearbyintf): Likewise.
40939 (floorf): Likewise.
40941 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40943 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40944 on both fields and cast pointer to __syscall_ulong_t.
40946 * bits/types.h (__fsword_t): New type.
40947 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40948 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40950 (__FSWORD_T_TYPE): Likewise.
40951 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40952 (__FSWORD_T_TYPE): Likewise.
40953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40954 (__FSWORD_T_TYPE): Likewise.
40955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40956 (__FSWORD_T_TYPE): Likewise.
40957 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40958 __SWORD_TYPE with __fsword_t.
40959 (statfs64): Likewise.
40961 2012-05-17 David S. Miller <davem@davemloft.net>
40963 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40965 2012-05-17 Andreas Jaeger <aj@suse.de>
40967 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40970 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40972 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40974 2012-05-17 Andreas Jaeger <aj@suse.de>
40976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40979 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40981 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40983 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40985 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40986 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40988 2012-05-17 Andreas Jaeger <aj@suse.de>
40989 Carlos O'Donell <carlos_odonell@mentor.com>
40992 * sysdeps/x86_64/multiarch/init-arch.h
40993 (bit_YMM_Usable): Rename to...
40994 (bit_AVX_Usable): ... this.
40995 (bit_FMA4_Usable): New macro.
40996 (bit_XMM_state): New macro.
40997 (bit_YMM_state): New macro.
40998 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40999 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41000 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41001 (CPUID_OSXSAVE): New macro.
41002 (CPUID_AVX): New macro.
41003 (CPUID_FMA4): New macro.
41004 (index_YMM_Usable): Rename to...
41005 (index_AVX_Usable): ... this.
41006 (HAS_AVX): Use HAS_ARCH_FEATURE.
41007 (HAS_FMA4): Likewise.
41008 (HAS_YMM_USABLE): Remove.
41009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41010 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41012 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41013 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41014 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41015 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41016 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41018 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41020 * math/libm-test.c: Support platforms without multiple rounding modes.
41021 * math/bug-nextafter.c: Support platforms without FP exceptions.
41022 * math/bug-nexttoward.c: Likewise.
41023 * math/test-fenv.c: Likewise.
41024 * math/test-misc.c: Likewise.
41025 * stdlib/bug-getcontext.c: Likewise.
41027 2012-05-17 Andreas Jaeger <aj@suse.de>
41029 * manual/examples/search.c (critter_cmp): Change signature to
41031 * manual/string.texi (Collation Functions): Likewise.
41033 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41035 * bits/types.h: Fold copyright years.
41036 * bits/typesizes.h: Likewise.
41037 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41041 * time/time.h: Likewise.
41043 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41046 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41047 in instead of returning them. Return void.
41048 (__libc_mallinfo): Accumulate over all arenas.
41049 (__malloc_stats): Adjust for change in int_mallinfo interface.
41051 2012-05-16 Roland McGrath <roland@hack.frob.com>
41054 * configure.in (NM): Add AC_CHECK_TOOL for it.
41055 (libc_extra_cflags): New substituted variable.
41056 Check for -fstack-protector being used implicitly.
41057 * configure: Regenerated.
41058 * config.make.in (config-extra-cflags): New variable,
41059 gets @libc_extra_cflags@.
41060 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41063 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41064 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41065 * configure: Regenerated.
41066 * config.make.in (CPPUNDEFS): New substituted variable.
41067 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41068 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41069 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41071 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41073 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41074 (mq_attr): Use __syscall_slong_t.
41076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41079 Check __x86_64__ instead of __WORDSIZE.
41080 (_STAT_VER_LINUX): Likewise.
41081 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41082 __syscall_ulong_t and __syscall_slong_t.
41083 (stat64): Likewise.
41085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41089 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41091 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41093 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41095 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41098 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41099 include <bits/wordsize.h>. Check __x86_64__ instead of
41101 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41103 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41105 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41106 include <bits/wordsize.h>. Check __x86_64__ instead of
41108 (user_regs_struct): Use "__extension__ unsigned long long"
41109 instead of "unsigned long" if __x86_64__ is defined.
41110 (user): Likewise. Pad after pointer field if __ILP32__ is
41113 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41115 * configure.in (makeinfo): Require version 4.5 or later. Allow
41117 * configure: Regenerated.
41118 * manual/install.texi (texinfo): Increase version requirement to
41120 * INSTALL: Regenerated.
41122 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41126 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41128 * sysdeps/x86_64/x32/ffs.c: New file.
41130 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41132 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41133 defined. Use __syscall_ulong_t.
41134 (shminfo): Use __syscall_ulong_t.
41135 (shm_info): Likewise.
41137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41140 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41142 (msgqnum_t): Use __syscall_ulong_t.
41143 (msglen_t): Likewise.
41144 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41147 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41148 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41150 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41152 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41153 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41155 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41158 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41159 include <bits/wordsize.h>. Check __x86_64__ instead of
41162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41163 "unsigned long long int" if __x86_64__ is defined.
41164 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41167 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41168 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41170 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41172 (GET_PC): Cast to uintptr_t first.
41173 (GET_FRAME): Likewise.
41174 (GET_STACK): Likewise.
41176 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41182 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41183 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41184 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41185 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41186 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41187 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41188 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41189 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41193 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41195 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41197 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41198 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41199 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41200 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41203 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41206 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41208 * Makerules (+depfiles): Also collect depfiles from .oS in
41210 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41211 .oS, $(libnldbl-routines)).
41213 * Makerules (native-compile-mkdep-flags): Define.
41214 * sunrpc/Makefile (extra-objs): Add $(addprefix
41215 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41216 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41217 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41218 calling $(make-target-directory).
41220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41222 * bits/types.h (__snseconds_t): Removed.
41223 * time/time.h (struct timespec): Replace __snseconds_t with
41225 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41226 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41229 (__SNSECONDS_T_TYPE): Likewise.
41230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41231 (__SNSECONDS_T_TYPE): Likewise.
41232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41233 (__SNSECONDS_T_TYPE): Likewise.
41235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41237 * sysdeps/mach/hurd/bits/typesizes.h
41238 (__SYSCALL_SLONG_TYPE): New macro.
41239 (__SYSCALL_ULONG_TYPE): Likewise.
41241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41243 * bits/types.h (__syscall_slong_t): New type.
41244 (__syscall_ulong_t): Likewise.
41246 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41247 (__SYSCALL_ULONG_TYPE): Likewise.
41248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41249 (__SYSCALL_SLONG_TYPE): Likewise.
41250 (__SYSCALL_ULONG_TYPE): Likewise.
41251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41252 (__SYSCALL_SLONG_TYPE): Likewise.
41253 (__SYSCALL_ULONG_TYPE): Likewise.
41254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41255 (__SYSCALL_SLONG_TYPE): Likewise.
41256 (__SYSCALL_ULONG_TYPE): Likewise.
41258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41260 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41261 Add sigaltstack-offsets.sym.
41262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41263 <sigaltstack-offsets.h>.
41264 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41265 longjmp_msg pointer.
41266 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41267 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41269 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41271 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41273 * elf/stackguard-macros.h: Remove file.
41274 * sysdeps/generic/stackguard-macros.h: New file.
41275 * sysdeps/i386/stackguard-macros.h: Likewise.
41276 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41277 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41278 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41279 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41280 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41281 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41282 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41283 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41284 <elf/stackguard-macros.h>.
41287 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41288 __aligned__ in attribute.
41289 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41290 (gregset_t): Likewise.
41292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41294 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41295 * sysdeps/x86_64/64/Implies-after: Here. New file.
41296 * sysdeps/x86_64/x32/Implies-after: New file.
41298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41300 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41301 and access return value for _dl_profile_fixup. Use R10_LP to
41304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41306 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41310 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41311 * sysdeps/x86_64/x32/sysdep.h: New file.
41313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41315 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41316 * sysdeps/x86_64/setjmp.S: Likewise.
41318 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41320 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41322 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41324 remove unused global constant.
41326 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41328 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41329 include of <not-cancel.h>.
41331 2012-05-15 Roland McGrath <roland@hack.frob.com>
41333 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41335 2012-05-15 Jeff Law <law@redhat.com>
41336 Andreas Jaeger <aj@suse.de>
41339 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41341 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41342 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41343 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41344 code changing __hst_map_handle.map.
41346 2012-05-15 Roland McGrath <roland@hack.frob.com>
41348 * configure.in (sysnames): Look for Implies-before and Implies-after
41350 * configure: Regenerated.
41352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41354 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41355 8-byte data alignment with LP_SIZE alignment.
41357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41359 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41364 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41368 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41369 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41370 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41376 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41377 (stackinfo_sub_sp): Likewise.
41379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41386 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41396 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41400 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41401 into R11_LP and load __x86_64_shared_cache_size_half into
41404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41406 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41409 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41417 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41418 powerpc32/power7/fpu/s_logb.c via #include.
41419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41420 powerpc32/power7/fpu/s_logbf.c via #include.
41421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41422 powerpc32/power7/fpu/s_logbl.c via #include.
41424 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41426 * README.libm: Remove file.
41428 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41430 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41431 count for x32. Use R*_LP and omit operand-size suffix.
41433 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41435 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41436 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41437 * sysdeps/x86_64/x32/shlib-versions: New file.
41439 2012-05-14 Roland McGrath <roland@hack.frob.com>
41441 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41442 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41443 Use _dl_fatal_printf instead.
41445 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41447 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41448 set if not set by the user. Do not allow for being unset.
41449 * sysdeps/unix/sysv/linux/configure: Regenerated.
41451 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41453 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41454 the `q' suffix from lea and replace .quad with ASM_ADDR.
41456 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41459 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41461 (PTR_DEMANGLE): Likewise.
41463 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41465 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41467 (ASM_ADDR): Likewise.
41468 (RAX_LP): Likewise.
41469 (RBP_LP): Likewise.
41470 (RBX_LP): Likewise.
41471 (RCX_LP): Likewise.
41472 (RDI_LP): Likewise.
41473 (RSI_LP): Likewise.
41474 (RSP_LP): Likewise.
41477 (R10_LP): Likewise.
41478 (R10_LP): Likewise.
41479 (R11_LP): Likewise.
41480 (R12_LP): Likewise.
41481 (R13_LP): Likewise.
41482 (R14_LP): Likewise.
41483 (R15_LP): Likewise.
41485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41487 * sysdeps/x86_64/x32/dl-machine.h: New file.
41489 2012-05-14 Andreas Jaeger <aj@suse.de>
41491 * manual/Makefile (subdir): Remove export of subdir.
41492 (all): Remove target.
41493 (.PHONY): Remove all from list.
41494 (mkinstalldirs): Remove.
41495 (.PHONY): Remove installdirs from list.
41496 ($(inst_infodir)/libc.info): Use make-target-directory.
41497 (installdirs): Remove.
41498 (subdir_%): Remove.
41499 (glibc-targets): Remove.
41502 ($(objpfx)stubs ../po/manual.pot): Remove.
41503 ($(objpfx)stamp%): Remove.
41504 (make-target-directory): Remove.
41505 (subdir_install): Remove.
41506 (routines): Remove.
41513 * manual/.gitignore: Remove, it's not needed anymore.
41514 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41516 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41518 (texis): Renamed to $(objpfx)texis.
41519 (texis-path): New, contains path to generated files.
41520 (chapters.%): Use texis-path for complete path, add extra argument
41522 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41523 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41524 (summary,texi, stamp-summary): Use complete path of
41525 files. Generate files in build dir.
41526 (dir-add.texi): Build in build dir.
41527 (libm-err.texi,stamp-libm-err): Likewise.
41528 (version.texi, stamp-version): Likewise.
41529 (.%c.texi): Likewise.
41530 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41531 (mostlyclean): Remove target.
41532 (realclean): Remove target.
41533 (generated): Add new variable with contents from mostlyclean and
41534 realclean, remove entries duplicated in common-mostlyclean, add
41535 stamp-libm-err and stamp-version.
41536 (generated-dirs): Add libc directory.
41537 ($(inst_infodir)/libc.info): Install files from build dir.
41539 * manual/install.texi (Configuring and compiling): Adjust since
41540 the info files are not part of the tar ball anymore.
41542 2012-05-14 Andreas Jaeger <aj@suse.de>
41544 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41547 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41551 to 2.2.0 where earlier.
41552 * sysdeps/unix/sysv/linux/configure: Regenerated.
41553 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41554 Remove conditional code.
41555 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41556 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41557 Remove conditional code.
41558 [!__NR_lchown]: Likewise.
41559 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41560 [__NR_lchown]: Likewise.
41561 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41562 comment referencing __ASSUME_LCHOWN_SYSCALL.
41563 * sysdeps/unix/sysv/linux/i386/sigaction.c
41564 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41565 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41566 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41567 Remove conditional code.
41568 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41569 (__protocol_available): Remove #if 0 code.
41570 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41572 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41573 * sysdeps/unix/sysv/linux/kernel-features.h
41574 (__ASSUME_GETCWD_SYSCALL): Don't define.
41575 (__ASSUME_REALTIME_SIGNALS): Likewise.
41576 (__ASSUME_PREAD_SYSCALL): Likewise.
41577 (__ASSUME_PWRITE_SYSCALL): Likewise.
41578 (__ASSUME_POLL_SYSCALL): Likewise.
41579 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41580 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41582 (__ASSUME_SIOCGIFNAME): Don't define.
41583 (__ASSUME_MSG_NOSIGNAL): Likewise.
41584 (__ASSUME_SENDFILE): Define unconditionally.
41585 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41586 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41588 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41589 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41590 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41591 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41592 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41593 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41594 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41608 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41611 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41614 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41617 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41619 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41620 Remove conditional code.
41621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41622 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41623 Remove conditional code.
41624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41625 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41626 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41627 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41628 Remove conditional code.
41629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41630 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41631 Remove conditional code.
41632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41633 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41634 Remove conditional code.
41635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41636 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41637 Remove conditional code.
41638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41639 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41640 Remove conditional code.
41641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41642 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41643 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41645 * sysdeps/unix/sysv/linux/sigaction.c
41646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41648 * sysdeps/unix/sysv/linux/sigpending.c
41649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41651 * sysdeps/unix/sysv/linux/sigprocmask.c
41652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41654 * sysdeps/unix/sysv/linux/sigsuspend.c
41655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41658 (__libc_missing_rt_sigs): Remove.
41659 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41660 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41661 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41662 Remove conditional code.
41663 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41664 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41666 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41667 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41669 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41671 2012-05-14 Andreas Jaeger <aj@suse.de>
41673 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41674 it's not used in glibc.
41675 (__coshm1): Likewise.
41676 (__acosh1p): Likewise.
41679 * manual/string.texi (Copying and Concatenation): Add missing
41680 variable in concat example.
41681 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41683 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41687 __builtin_clzl with __builtin_clzll.
41689 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41692 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41695 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41697 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41698 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41699 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41700 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41702 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41704 * NEWS: Update ia64 info.
41706 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41708 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41711 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41713 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41714 * sysdeps/unix/syscalls.list (dup3): Likewise.
41715 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41716 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41718 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41720 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41721 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41723 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41725 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41727 (TLS_IE): Use mov/add instead of movq/addq to load thread
41729 (TLS_GD_PREFIX): New.
41732 2012-05-11 David S. Miller <davem@davemloft.net>
41734 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41735 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41736 (_FPU_SETCW): Likewise.
41738 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41740 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41741 is 32-byte aligned.
41743 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41746 * iconvdata/gb18030.c: Update tables.
41747 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41748 characters specially.
41749 (BODY for TO_LOOP): Add encoding of missing ranges.
41751 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41754 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41755 * sysdeps/mach/hurd/dup3.c: Likewise.
41756 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41757 * sysdeps/powerpc/memmove.c:: Likewise.
41759 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41762 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41764 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41766 * elf/elf.h (R_X86_64_RELATIVE64): New.
41767 (R_X86_64_NUM): Updated.
41768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41769 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41770 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41771 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41772 tst-quad1pie tst-quad2pie
41773 (modules-names): Add tst-quadmod1 tst-quadmod2.
41774 ($(objpfx)tst-quad1): New dependency.
41775 ($(objpfx)tst-quad2): Likewise.
41776 ($(objpfx)tst-quad1pie): Likewise.
41777 ($(objpfx)tst-quad2pie): Likewise.
41778 * sysdeps/x86_64/tst-quad1.c: New file.
41779 * sysdeps/x86_64/tst-quad1pie.c: New file.
41780 * sysdeps/x86_64/tst-quad2.c: Likewise.
41781 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41782 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41783 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41784 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41785 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41789 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41790 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41791 * streams/stropts.h (t_scalar_t): Define type.
41793 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41794 (_PATH_PRESERVE): Set to "/var/lib".
41795 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41797 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41800 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41801 if __dir_mkfile succeeded.
41803 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41804 checking for _hurd_dtablesize. Unlock it right after having
41805 finished _hurd_dtable allocation.
41807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41809 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41810 * sysdeps/mach/hurd/configure: Regenerated.
41811 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41812 special-casing to...
41813 * sysdeps/gnu/configure.in: ... this new file.
41814 * sysdeps/unix/sysv/linux/configure: Regenerated.
41815 * sysdeps/gnu/configure: New generated file.
41817 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41818 for Linux: use nsec instead of usec, as well as:
41819 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41820 members of type struct timespec.
41821 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41823 (struct stat64): Likewise.
41824 (_STATBUF_ST_NSEC): New macro.
41825 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41827 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41828 __strtoul_internal rather than strtoul.
41830 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41832 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41835 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41837 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41838 which preserves existing values.
41839 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41841 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41843 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41844 TIMEOUT values. Return EINVAL for NFDS values either negative or
41845 greater than FD_SETSIZE.
41847 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41849 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41850 allocated, call __vm_protect to finish enabling the existing space, and
41851 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41852 allocate the remainder.
41854 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41856 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41857 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41861 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41862 sysdeps/mach/hurd/readlink.c.
41864 * posix/tst-sysconf.c (posix_options): Only use
41865 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41866 _POSIX_SYNCHRONIZED_IO when they are defined
41867 * sysdeps/mach/hurd/bits/posix_opt.h:
41868 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41869 (_XOPEN_REALTIME): Undefine macro.
41870 (_XOPEN_REALTIME_THREADS): Undefine macro.
41871 (_XOPEN_SHM): Undefine macro.
41872 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41874 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41876 (_POSIX_ASYNC_IO): Undefine macro.
41877 (_POSIX_PRIORITIZED_IO): Undefine macro.
41878 (_POSIX_SPIN_LOCKS): Define macro to -1.
41880 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41881 SA_NODEFER, SA_RESETHAND.
41882 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41883 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41886 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41888 * elf/Makefile (pldd-modules): Define unconditionally.
41890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41892 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41896 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41897 Return ENOENT when name is empty.
41898 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41902 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41904 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41906 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41908 Fix mlock in all cases except non-readable pages.
41909 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41910 instead of VM_PROT_ALL as parameter to __vm_wire function.
41912 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41913 (__mkdir): When path is `/', just fail with EEXIST.
41914 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41918 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41919 <sys/uio.h> (for writev).
41920 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41921 and <sys/param.h> (for MIN).
41923 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41925 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41926 REQUESTED_TIME. Properly set the remaining time and return EINTR
41929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41931 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41932 Depend on against $(link-rpcuserlibs).
41934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41936 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41937 (__libc_stack_end): Do not use attribute_relro.
41938 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41939 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41940 to libthread-provided value.
41941 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41947 * bits/libc-lock.h (__libc_once_get): New macro.
41948 * sysdeps/mach/bits/libc-lock.h: Likewise.
41949 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41951 instead of using implementation details.
41953 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41954 * libio/freopen.c: Likewise.
41955 * libio/freopen64.c: Likewise.
41956 * misc/syslog.c: Likewise.
41957 * nscd/connections.c: Likewise.
41958 * nscd/netgroupcache.c: Likewise.
41959 * sysdeps/posix/getcwd.c: Likewise.
41961 2012-05-10 Roland McGrath <roland@hack.frob.com>
41963 * math/w_ilogbf.c: Add #include <limits.h>.
41965 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41967 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41968 path instead of returning without unlocking.
41970 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41971 immediate-write ioctls.
41972 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41976 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41977 __builtin_frame_address instead of making assumptions about the
41978 location of the return address relative to DATA. Force early load of
41979 the return address.
41980 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41981 __builtin_frame_address.
41984 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41985 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41986 implement dup3 and do some further code clean-ups.
41987 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41988 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41992 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41994 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41995 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41996 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41997 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41998 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42001 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42002 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42003 when handler == SIG_ERR, not when handler != SIG_ERR.
42005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42007 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42008 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42011 accept4 for GNU Hurd.
42012 * include/sys/socket.h (__libc_accept4): New prototype.
42013 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42014 to implement __libc_accept4.
42015 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42017 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42019 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42020 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42021 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42022 signal-defines.sym.
42024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42026 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42030 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42031 assertion on O_CLOEXEC flag.
42032 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42033 * hurd/intern-fd.c: Likewise.
42034 * hurd/port2fd.c: Likewise.
42036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42039 * bits/in.h (IPV6_PKTINFO): Define new macro.
42040 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42042 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42047 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42049 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42052 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42053 * math/libm-test.inc (logb_test) : Additional logb tests.
42055 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42056 Andreas Jaeger <aj@suse.de>
42058 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42059 * configure: Regenerated.
42060 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42061 * config.make.in (link-obsolete-rpc): New substituted variable.
42062 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42063 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42064 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42065 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42066 so that libc.a contains the symbols.
42067 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42068 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42069 * sunrpc/auth_none.c: Likewise.
42070 * sunrpc/auth_unix.c: Likewise.
42071 * sunrpc/authdes_prot.c: Likewise.
42072 * sunrpc/authuxprot.c: Likewise.
42073 * sunrpc/clnt_gen.c: Likewise.
42074 * sunrpc/clnt_perr.c: Likewise.
42075 * sunrpc/clnt_raw.c: Likewise.
42076 * sunrpc/clnt_simp.c: Likewise.
42077 * sunrpc/clnt_tcp.c: Likewise.
42078 * sunrpc/clnt_udp.c: Likewise.
42079 * sunrpc/clnt_unix.c: Likewise.
42080 * sunrpc/des_crypt.c: Likewise.
42081 * sunrpc/des_soft.c: Likewise.
42082 * sunrpc/get_myaddr.c: Likewise.
42083 * sunrpc/key_call.c: Likewise.
42084 * sunrpc/key_prot.c: Likewise.
42085 * sunrpc/netname.c: Likewise.
42086 * sunrpc/pm_getmaps.c: Likewise.
42087 * sunrpc/pm_getport.c: Likewise.
42088 * sunrpc/pmap_clnt.c: Likewise.
42089 * sunrpc/pmap_prot.c: Likewise.
42090 * sunrpc/pmap_prot2.c: Likewise.
42091 * sunrpc/pmap_rmt.c: Likewise.
42092 * sunrpc/publickey.c: Likewise.
42093 * sunrpc/rpc_cmsg.c: Likewise.
42094 * sunrpc/rpc_common.c: Likewise.
42095 * sunrpc/rpc_dtable.c: Likewise.
42096 * sunrpc/rpc_prot.c: Likewise.
42097 * sunrpc/rpc_thread.c: Likewise.
42098 * sunrpc/rtime.c: Likewise.
42099 * sunrpc/svc.c: Likewise.
42100 * sunrpc/svc_auth.c: Likewise.
42101 * sunrpc/svc_raw.c: Likewise.
42102 * sunrpc/svc_run.c: Likewise.
42103 * sunrpc/svc_tcp.c: Likewise.
42104 * sunrpc/svc_udp.c: Likewise.
42105 * sunrpc/svc_unix.c: Likewise.
42106 * sunrpc/svcauth_des.c: Likewise.
42107 * sunrpc/xcrypt.c: Likewise.
42108 * sunrpc/xdr.c: Likewise.
42109 * sunrpc/xdr_array.c: Likewise.
42110 * sunrpc/xdr_float.c: Likewise.
42111 * sunrpc/xdr_intXX_t.c: Likewise.
42112 * sunrpc/xdr_mem.c: Likewise.
42113 * sunrpc/xdr_rec.c: Likewise.
42114 * sunrpc/xdr_ref.c: Likewise.
42115 * sunrpc/xdr_sizeof.c: Likewise.
42116 * sunrpc/xdr_stdio.c: Likewise.
42118 2012-05-10 Roland McGrath <roland@hack.frob.com>
42120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42121 change. Update copyright years.
42123 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42125 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42127 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42128 Joseph Myers <joseph@codesourcery.com>
42129 Paul Pluzhnikov <ppluzhnikov@google.com>
42132 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42134 [cross-compiling] (extra-libs): Likewise.
42135 [cross-compiling] (extra-libs-others): Likewise.
42136 [cross-compiling] (librpcsvc-routines): Likewise.
42137 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42138 [cross-compiling] (omit-deps): Likewise.
42139 (sunrpc-CPPFLAGS): New variable.
42140 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42141 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42142 (cross-rpcgen-objs): New variable.
42143 (extra-objs): Append $(cross-rpcgen-objs).
42144 ($(cross-rpcgen-objs)): New rule.
42145 ($(objpfx)cross-rpcgen): Likewise.
42146 (rpcgen-cmd): Define to use $(built-program-file). Expand
42148 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42149 ($(objpfx)x%.stmp): Likewise.
42150 * sunrpc/proto.h [IS_IN_build] (_): Define.
42151 [IS_IN_build] (_libc_intl_domainname): Likewise.
42153 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42156 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42157 and R_X86_64_TPOFF64.
42159 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42161 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42162 sysdeps/unix/sysv/syscalls.list.
42165 * sysdeps/unix/sysv/syscalls.list: Remove file.
42167 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42170 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42171 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42172 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42173 (__LC_IDENTIFICATION): Make these macros useful in #if
42174 expressions, as required by C99.
42176 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42178 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42179 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42182 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42184 * stdlib/longlong.h: Updated from GCC.
42186 2012-05-09 Andreas Jaeger <aj@suse.de>
42188 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42189 default is first entry.
42190 (run_mode): Set type.
42191 (main): Remove informal message about syslog.
42192 (options): Fix typo.
42195 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42198 (llrintf): Likewise.
42199 (llrint): Likewise.
42202 (nearbyint): Likewise.
42203 (nearbyintf): Likewise.
42205 2012-05-09 Andreas Jaeger <aj@suse.de>
42206 Pedro Alves <palves@redhat.com>
42208 * nscd/nscd.c (run_mode): Use enum.
42209 (main): Cleanup coding style issue.
42211 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42212 Andreas Jaeger <aj@suse.de>
42214 * nscd/nscd.c (go_background): Replaced with...
42215 (run_mode): ... this.
42216 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42217 (options): Add -F --foreground.
42218 (main): Implement it.
42219 (parse_opt): Parse it.
42221 2012-05-09 Andreas Jaeger <aj@suse.de>
42224 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42225 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42226 -Wconversion warning.
42227 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42230 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42232 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42234 (LC_ALL): Use macro-int-constant.
42235 (LC_COLLATE): Likewise.
42236 (LC_CTYPE): Likewise.
42237 (LC_MESSAGES): Likewise.
42238 (LC_MONETARY): Likewise.
42239 (LC_NUMERIC): Likewise.
42240 (LC_TIME): Likewise.
42241 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42242 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42244 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42246 [C99-based standards] (float_t): Expect type.
42247 [C99-based standards] (double_t): Expect type.
42248 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42250 [C99-based standards] (HUGE_VALL): Likewise.
42251 [C99-based standards] (INFINITY): Likewise.
42252 [C99-based standards] (NAN): Likewise.
42253 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42254 [C99-based standards] (FP_NAN): Likewise.
42255 [C99-based standards] (FP_NORMAL): Likewise.
42256 [C99-based standards] (FP_SUBNORMAL): Likewise.
42257 [C99-based standards] (FP_ZERO): Likewise.
42258 [C99-based standards] (FP_FAST_FMA): Use
42259 optional-macro-int-constant. Specify type. Require == 1.
42260 [C99-based standards] (FP_FAST_FMAF): Likewise.
42261 [C99-based standards] (FP_FAST_FMAL): Likewise.
42262 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42263 [C99-based standards] (FP_ILOGBNAN): Likewise.
42264 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42266 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42267 [C99-based standards] (math_errhandling): Specify type.
42268 [ISO99 || ISO11] (signgam): Do not allow.
42269 [non-C99-based standards] (copysignf): Do not allow.
42270 [non-C99-based standards] (exp2f): Likewise.
42271 [non-C99-based standards] (log2f): Likewise.
42272 [non-C99-based standards] (modff): Allow.
42273 [non-C99-based standards] (erff): Do not allow.
42274 [non-C99-based standards] (erfcf): Likewise.
42275 [non-C99-based standards] (gammaf): Likewise.
42276 [non-C99-based standards] (hypotf): Likewise.
42277 [non-C99-based standards] (j0f): Likewise.
42278 [non-C99-based standards] (j1f): Likewise.
42279 [non-C99-based standards] (jnf): Likewise.
42280 [non-C99-based standards] (lgammaf): Likewise.
42281 [non-C99-based standards] (tgammaf): Likewise.
42282 [non-C99-based standards] (y0f): Likewise.
42283 [non-C99-based standards] (y1f): Likewise.
42284 [non-C99-based standards] (ynf): Likewise.
42285 [non-C99-based standards] (isnanf): Likewise.
42286 [non-C99-based standards] (acoshf): Likewise.
42287 [non-C99-based standards] (asinhf): Likewise.
42288 [non-C99-based standards] (atanhf): Likewise.
42289 [non-C99-based standards] (cbrtf): Likewise.
42290 [non-C99-based standards] (expm1f): Likewise.
42291 [non-C99-based standards] (ilogbf): Likewise.
42292 [non-C99-based standards] (log1pf): Likewise.
42293 [non-C99-based standards] (logbf): Likewise.
42294 [non-C99-based standards] (nextafterf): Likewise.
42295 [non-C99-based standards] (remainderf): Likewise.
42296 [non-C99-based standards] (rintf): Likewise.
42297 [non-C99-based standards] (scalbf): Likewise.
42298 [non-C99-based standards] (copysignl): Likewise.
42299 [non-C99-based standards] (exp2l): Likewise.
42300 [non-C99-based standards] (log2l): Likewise.
42301 [non-C99-based standards] (modfl): Allow.
42302 [non-C99-based standards] (erfl): Do not allow.
42303 [non-C99-based standards] (erfcl): Likewise.
42304 [non-C99-based standards] (gammal): Likewise.
42305 [non-C99-based standards] (hypotl): Likewise.
42306 [non-C99-based standards] (j0l): Likewise.
42307 [non-C99-based standards] (j1l): Likewise.
42308 [non-C99-based standards] (jnl): Likewise.
42309 [non-C99-based standards] (lgammal): Likewise.
42310 [non-C99-based standards] (tgammal): Likewise.
42311 [non-C99-based standards] (y0l): Likewise.
42312 [non-C99-based standards] (y1l): Likewise.
42313 [non-C99-based standards] (ynl): Likewise.
42314 [non-C99-based standards] (isnanl): Likewise.
42315 [non-C99-based standards] (acoshl): Likewise.
42316 [non-C99-based standards] (asinhl): Likewise.
42317 [non-C99-based standards] (atanhl): Likewise.
42318 [non-C99-based standards] (cbrtl): Likewise.
42319 [non-C99-based standards] (expm1l): Likewise.
42320 [non-C99-based standards] (ilogbl): Likewise.
42321 [non-C99-based standards] (log1pl): Likewise.
42322 [non-C99-based standards] (logbl): Likewise.
42323 [non-C99-based standards] (nextafterl): Likewise.
42324 [non-C99-based standards] (remainderl): Likewise.
42325 [non-C99-based standards] (rintl): Likewise.
42326 [non-C99-based standards] (scalbl): Likewise.
42327 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42328 [non-C99-based standards] (FP_*): Do not allow.
42329 [C99-based standards] (FP_*): Change to
42330 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42331 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42333 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42334 (SIG_ERR): Likewise.
42335 [X/Open-based standards] (SIG_HOLD): Likewise.
42336 (SIG_IGN): Likewise.
42337 (SIGABRT): Use macro-int-constant. Specify type. Require
42339 (SIGFPE): Likewise.
42340 (SIGILL): Likewise.
42341 (SIGINT): Likewise.
42342 (SIGSEGV): Likewise.
42343 (SIGTER): Likewise.
42344 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42345 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42346 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42347 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42348 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42349 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42350 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42351 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42352 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42353 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42354 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42355 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42356 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42357 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42358 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42359 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42360 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42361 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42362 [X/Open-based standards] (SIGTRAP): Likewise.
42363 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42364 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42365 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42366 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42367 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42370 2012-05-08 Ian Wienand <ianw@vmware.com>
42373 * time/tzset.c (__tzset_parse_tz): Update default rules for
42374 daylight time changes in the Energy Policy Act of 2005.
42376 2012-05-09 Andreas Jaeger <aj@suse.de>
42379 * elf/ldconfig.c (parse_conf): Change string to make clear that
42380 ldconfig only issued a warning if ld.so.conf does not exist.
42382 2012-05-08 David S. Miller <davem@davemloft.net>
42384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42385 movxtod instead of popping the value on the stack.
42387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42389 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42391 * config.h.in: Add HAVE_ARM_PCS_VFP.
42393 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42396 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42397 checking but the checks are disabled for any reason.
42399 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42401 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42402 and ELF64_R_TYPE with ELFW(R_TYPE).
42404 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42406 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42407 (ulimit): Likewise.
42409 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42410 (settimeofday): Likewise.
42412 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42414 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42415 a struct th_u2 inside the union, and move tu_block/tu_code into
42416 a new th_u3 union of tu_block/tu_code inside of that. Move
42417 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42418 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42419 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42420 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42421 (th_stuff): Change to th_u1.tu_stuff.
42423 (th_msg): Change to th_u1.th_u2.tu_data.
42425 2012-05-07 David S. Miller <davem@davemloft.net>
42427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42430 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42431 (SETUP_PIC_REG): Use it.
42432 (SETUP_PIC_REG_LEAF): Use it.
42434 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42438 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42440 (EXPL_FINITE): Likewise.
42441 (FLDLOG): Likewise.
42442 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42443 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42447 (EXPL_FINITE): Likewise.
42448 (FLDLOG): Likewise.
42449 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42450 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42452 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42453 test of -max_value argument for long double.
42454 * sysdeps/i386/fpu/libm-test-ulps: Update.
42455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42457 2012-05-06 David S. Miller <davem@davemloft.net>
42459 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42460 quad soft-float symbols whose references which are compiler
42462 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42464 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42470 (EXPL_FINITE): Likewise.
42471 (FLDLOG): Likewise.
42474 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42475 Adjust comments for base varying.
42476 (__expl_finite): Change alias to EXPL_FINITE.
42477 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42479 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42480 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42481 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42482 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42483 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42485 (EXPL_FINITE): Likewise.
42486 (FLDLOG): Likewise.
42489 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42490 Adjust comments for base varying.
42491 (__expl_finite): Change alias to EXPL_FINITE.
42492 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42497 * math/libm-test.inc (check_float_internal): Correct ulp
42498 calculation for subnormal expected results.
42500 2012-05-06 Andreas Jaeger <aj@suse.de>
42502 * Makeconfig (+math-flags): New, set to -frounding-math.
42503 (+cflags): Add +math-flags so that all of glibc gets compiled with
42506 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42508 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42510 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42516 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42517 (__ieee754_expl): Allow for and saturate large arguments.
42518 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42519 (u_threshold): Likewise.
42520 (__exp): Call __ieee754_exp before checking for overflow and
42522 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42523 (u_threshold): Likewise.
42524 (__expf): Call __ieee754_expf before checking for overflow and
42526 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42527 (u_threshold): Likewise.
42528 (__expl): Call __ieee754_expl before checking for overflow and
42530 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42531 (__ieee754_expl): Allow for and saturate large arguments.
42532 * math/libm-test.inc (exp_test): Add another test. Do not allow
42533 missing overflow exception on overflow.
42534 (expm1_test): Do not allow missing overflow exception on overflow.
42536 * sysdeps/i386/fpu/e_expl.c: Move to ...
42537 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42538 rather than using inline asm.
42539 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42540 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42541 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42543 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42546 (signal): Likewise.
42550 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42552 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42553 sysdeps/unix/common/syscalls.list.
42554 (fchmod): Likewise.
42555 (fchown): Likewise.
42556 (ftruncate): Likewise.
42557 (getrusage): Likewise.
42558 (gettimeofday): Likewise.
42559 (setpgid): Likewise.
42560 (setregid): Likewise.
42561 (setreuid): Likewise.
42562 (sigaction): Likewise.
42563 (truncate): Likewise.
42564 (vhangup): Likewise.
42565 * sysdeps/unix/common/syscalls.list: Remove file.
42566 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42567 * sysdeps/unix/sysv/linux/Implies: Likewise.
42569 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42571 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42573 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42577 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42580 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42583 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42586 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42589 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42592 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42595 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42599 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42603 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42606 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42610 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42614 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42616 * sysdeps/unix/common/bits/dirent.h: Remove file.
42617 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42619 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42620 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42621 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42622 * sysdeps/unix/bsd/isatty.c: Likewise.
42623 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42624 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42625 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42627 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42631 long double comparison inaccuracies.
42632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42635 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42637 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42640 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42644 nonzero digits before rounding a hex value.
42645 * stdlib/tst-strtod.c (tests): Add another test.
42647 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42649 * sysdeps/s390/fpu/libm-test-ulps: Update.
42651 2012-05-03 Andreas Jaeger <aj@suse.de>
42653 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42654 does not get optimized out.
42655 (malloc_opt_barrier): New.
42657 2012-05-03 Andreas Jaeger <aj@suse.de>
42658 Roland McGrath <roland@hack.frob.com>
42660 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42661 intermediate file deletion.
42662 (generated): Add .symlist files.
42664 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42667 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42668 Redirect under this condition.
42669 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42670 [__USE_GNU] (__dprintf_chk): Not under this condition.
42671 [__USE_GNU] (__vdprintf_chk): Likewise.
42672 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42673 under this condition.
42674 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42675 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42676 [__USE_XOPEN2K8] (vdprintf): Likewise.
42677 [__USE_GNU] (__dprintf_chk): Not under this condition.
42678 [__USE_GNU] (__vdprintf_chk): Likewise.
42679 [__USE_GNU] (dprintf): Likewise.
42680 [__USE_GNU] (vdprintf): Likewise.
42682 2012-05-03 Roland McGrath <roland@hack.frob.com>
42684 * elf/Makefile (common-generated): Set this instead of generated for
42685 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42686 $(all-built-dso)-derived lists.
42688 2012-05-03 Andreas Jaeger <aj@suse.de>
42690 * sysdeps/i386/fpu/libm-test-ulps: Update.
42693 * FAQ.in: Likewise.
42694 * scripts/gen-FAQ.pl: Likewise.
42695 * manual/install.texi (Installation): Point to online location of
42697 * Makefile (files-for-dist): Remove FAQ.
42700 2012-05-02 Allan McRae <allan@archlinux.org>
42702 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42703 (LDFLAGS-reldepmod5.so): Likewise.
42704 (LDFLAGS-reldep6mod1.so): Likewise.
42705 (LDFLAGS-reldep6mod4.so): Likewise.
42706 (LDFLAGS-reldep8mod3.so): Likewise.
42707 (LDFLAGS-unload4mod1.so): Likewise.
42708 (LDFLAGS-unload4mod2.so): Likewise.
42709 (LDFLAGS-tst-initorder): Likewise.
42710 (LDFLAGS-tst-initordera2.so): Likewise.
42711 (LDFLAGS-tst-initordera3.so): Likewise.
42712 (LDFLAGS-tst-initordera4.so): Likewise.
42713 (LDFLAGS-tst-initorderb2.so): Likewise.
42714 (LDFLAGS-noload): Likewise.
42715 (LDFLAGS-next): Likewise.
42716 (LDFLAGS-order2mod1.so): Likewise.
42717 (LDFLAGS-order2mod2.so): Likewise.
42718 (LDFLAGS-tst-initorder2): Likewise.
42719 (LDFLAGS-tst-initorder2a.so): Likewise.
42720 (LDFLAGS-tst-initorder2b.so): Likewise.
42721 (LDFLAGS-tst-initorder2c.so): Likewise.
42722 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42724 2012-05-02 David S. Miller <davem@davemloft.net>
42726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42728 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42731 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42733 2012-05-02 Andreas Jaeger <aj@suse.de>
42735 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42736 since we manipulate rounding mode.
42737 (CPPFLAGS-test-idouble.c): Likewise.
42738 (CPPFLAGS-test-ifloat.c): Likewise.
42739 (CFLAGS-test-ldouble.c): Likewise.
42740 (CFLAGS-test-double.c): Likewise.
42741 (CFLAGS-test-float.c): Likewise.
42742 (CFLAGS-test-misc.c): Likewise.
42743 (CFLAGS-test-test-fenv.c): Likewise.
42745 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42750 comparisons to determine direction to adjust input.
42752 2012-05-01 Roland McGrath <roland@hack.frob.com>
42754 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42755 output to the target.
42757 * scripts/localplt.awk: New file.
42758 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42759 (check-localplt-CFLAGS): Variable removed.
42760 ($(all-built-dso:=.jmprel)): New static pattern rule.
42761 (generated): Add those targets.
42762 (localplt-built-dso): New variable.
42763 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42765 * elf/check-localplt.c: File removed.
42767 * scripts/check-execstack.awk: New file.
42768 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42769 (check-execstack-CFLAGS): Variable removed.
42770 ($(objpfx)check-execstack.h): Target removed.
42771 ($(objpfx)execstack-default): New target.
42772 (generated): Add that instead of check-execstack.h.
42773 ($(all-built-dso:=.phdr)): New static pattern rule.
42774 (generated): Add those targets.
42775 * elf/check-execstack.c: File removed.
42777 * scripts/check-textrel.awk: New file.
42778 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42779 (check-textrel-CFLAGS): Variable removed.
42780 (all-built-dso): Use := to define.o
42781 ($(all-built-dso:=.dyn)): New static pattern rule.
42782 (generated): Add those targets.
42783 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42784 * config.make.in (READELF): New substituted variable.
42785 * elf/check-textrel.c: File removed.
42787 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42789 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42791 * conform/data/ctype.h-data [C99-based standards] (isblank):
42793 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42794 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42796 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42797 Specify type. Require positive value.
42798 (EILSEQ): Likewise.
42799 (ERANGE): Likewise.
42800 [ISO || POSIX] (EILSEQ): Do not expect.
42801 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42802 Specify type. Require positive value.
42803 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42804 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42805 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42806 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42807 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42808 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42809 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42810 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42811 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42812 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42813 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42814 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42815 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42816 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42817 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42818 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42819 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42820 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42821 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42822 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42823 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42824 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42825 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42826 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42827 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42828 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42829 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42830 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42831 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42832 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42833 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42834 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42835 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42836 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42837 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42838 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42839 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42840 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42841 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42842 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42843 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42844 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42845 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42846 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42847 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42848 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42849 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42850 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42851 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42852 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42853 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42854 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42855 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42856 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42857 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42858 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42859 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42860 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42861 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42862 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42863 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42864 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42865 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42866 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42867 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42868 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42869 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42870 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42871 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42872 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42873 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42874 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42875 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42876 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42877 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42878 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42879 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42881 (FLT_ROUNDS): Expect as macro, not constant.
42882 (FLT_MANT_DIG): Use macro-int-constant.
42883 (DBL_MANT_DIG): Likewise.
42884 (LDBL_MANT_DIG): Likewise.
42885 (FLT_DIG): Likewise.
42886 (DBL_DIG): Likewise.
42887 (LDBL_DIG): Likewise.
42888 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42889 (DBL_MIN_EXP): Likewise.
42890 (LDBL_MIN_EXP): Likewise.
42891 (FLT_MAX_EXP): Use macro-int-constant.
42892 (DBL_MAX_EXP): Likewise.
42893 (LDBL_MAX_EXP): Likewise.
42894 (FLT_MAX_10_EXP): Likewise.
42895 (DBL_MAX_10_EXP): Likewise.
42896 (LDBL_MAX_10_EXP): Likewise.
42897 (FLT_MAX): Use macro-constant.
42898 (DBL_MAX): Likewise.
42899 (LDBL_MAX): Likewise.
42900 (FLT_EPSILON): Use macro-constant. Give upper bound.
42901 (DBL_EPSILON): Likewise.
42902 (LDBL_EPSILON): Likewise.
42903 (FLT_MIN): Likewise.
42904 (DBL_MIN): Likewise.
42905 (LDBL_MIN): Likewise.
42906 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42907 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42908 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42909 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42910 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42911 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42912 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42913 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42914 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42915 [ISO11] (FLT_TRUE_MIN): Likewise.
42916 [ISO11] (LDBL_TRUE_MIN): Likewise.
42917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42918 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42919 (SCHAR_MIN): Use macro-int-constant. Specify type.
42920 (SCHAR_MAX): Likewise.
42921 (UCHAR_MAX): Likewise.
42922 (CHAR_MIN): Likewise.
42923 (CHAR_MAX): Likewise.
42924 (MB_LEN_MAX): Use macro-int-constant.
42925 (SHRT_MIN): Use macro-int-constant. Specify type.
42926 (SHRT_MAX): Likewise.
42927 (USHRT_MAX): Likewise.
42928 (INT_MAX): Likewise.
42929 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42931 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42933 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42935 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42936 bound negative. Suffix upper bound with "L".
42937 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42939 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42941 [C99-based standards] (LLONG_MAX): Likewise.
42942 [C99-based standards] (ULLONG_MAX): Likewise.
42943 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42945 [ISO11] (max_align_t): Require type.
42946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42948 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42949 from $CFLAGS, without defining away __attribute__ calls.
42950 (checknamespace): Use $CFLAGS_namespace.
42952 * conform/conformtest.pl (@keywords): Only include C99 keywords
42953 for standards based on C99 or C11.
42955 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42957 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42960 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42961 usability of symbols in #if.
42963 * conform/conformtest.pl: If macro or constant types start
42964 "promoted:", expect the symbol to be of the following type
42965 promoted by the integer promotions.
42967 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42968 in one place. Also handle "macro-constant".
42970 * conform/conformtest.pl: Only accept expected macro values with
42971 "==". Parse all "macro" lines in one place.
42972 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42974 * conform/conformtest.pl: Handle braced types on "constant" lines
42975 instead of handling "typed-constant".
42976 * conform/data/signal.h-data: Use "constant" instead of
42979 * conform/conformtest.pl: Handle "optional-" at start of lines in
42980 one place rather than duplicating several cases. Handle each
42981 format of "macro" line with initial "optional-".
42983 * conform/conformtest.pl: Only accept expected constant or
42984 optional-constant values with "==". Parse all "constant" lines in
42985 one place. Parse all "optional-constant" lines in one place.
42986 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42987 * conform/data/fmtmsg.h-data: Likewise.
42988 * conform/data/netinet/in.h-data: Likewise.
42989 * conform/data/tar.h-data: Likewise.
42990 * conform/data/limits.h-data: Use "==" form on "constant" and
42991 "optional-constant" lines.
42993 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42994 Use -std=c99 for XOPEN2K.
42995 (@knownproblems): Remove.
42996 (newtoken): Don't check %isknown.
42998 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42999 Do not expect macro.
43000 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43012 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43013 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43021 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43024 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43025 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43026 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43027 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43028 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43030 [XPG3] (acosh): Likewise.
43031 [XPG3] (asinh): Likewise.
43032 [XPG3] (atanh): Likewise.
43033 [XPG3] (cbrt): Likewise.
43034 [XPG3] (expm1): Likewise.
43035 [XPG3] (ilogb): Likewise.
43036 [XPG3] (log1p): Likewise.
43037 [XPG3] (logb): Likewise.
43038 [XPG3] (nextafter): Likewise.
43039 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43040 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43041 [XPG3] (remainder): Likewise.
43042 [XPG3] (rint): Likewise.
43043 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43044 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43045 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43046 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43047 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43048 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43049 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43050 [UNIX98 || XOPEN2K] (scalb): Expect.
43051 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43052 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43053 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43054 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43055 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43056 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43057 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43058 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43059 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43060 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43061 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43062 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43063 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43064 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43065 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43066 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43067 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43068 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43069 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43070 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43071 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43072 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43073 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43074 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43075 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43076 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43077 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43078 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43079 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43080 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43081 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43082 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43083 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43084 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43085 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43087 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43088 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43089 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43090 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43091 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43092 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43093 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43094 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43095 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43096 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43097 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43098 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43099 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43100 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43101 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43102 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43103 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43104 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43105 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43106 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43107 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43108 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43109 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43110 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43111 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43112 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43113 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43114 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43115 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43116 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43117 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43118 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43119 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43120 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43121 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43122 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43123 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43124 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43125 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43126 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43127 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43128 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43129 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43130 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43131 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43132 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43133 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43134 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43135 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43136 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43137 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43138 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43139 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43140 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43141 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43142 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43143 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43144 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43145 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43146 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43147 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43148 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43149 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43150 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43151 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43152 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43153 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43154 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43155 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43156 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43157 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43158 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43159 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43160 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43161 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43162 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43163 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43164 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43165 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43166 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43167 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43168 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43169 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43170 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43171 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43172 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43173 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43174 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43175 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43176 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43177 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43178 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43179 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43180 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43181 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43182 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43183 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43184 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43185 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43186 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43187 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43189 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43190 _XOPEN_SOURCE_EXTENDED for XPG4.
43192 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43194 * Makeconfig (localtime): Remove variable.
43195 (inst_localtime-file): Likewise.
43197 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43218 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43222 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43223 comparisons to determine direction to adjust input.
43224 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43225 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43235 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43237 * math/libm-test.inc (nexttoward_test): Add more tests.
43239 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43242 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43243 in version GLIBC_2.1, not GLIBC_2.0.
43244 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43247 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43250 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43252 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43253 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43254 * math/libm-test.inc (acos_test): Add more tests.
43255 (asin_test): Likewise.
43256 * sysdeps/i386/fpu/libm-test-ulps: Update.
43257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43260 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43262 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43263 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43264 * math/libm-test.inc (acos_test_tonearest): New function.
43265 (acos_test_towardzero): Likewise.
43266 (acos_test_downward): Likewise.
43267 (acos_test_upward): Likewise.
43268 (asin_test_tonearest): Likewise.
43269 (asin_test_towardzero): Likewise.
43270 (asin_test_downward): Likewise.
43271 (asin_test_upward): Likewise.
43272 (main): Call the new functions.
43273 * sysdeps/i386/fpu/libm-test-ulps: Update.
43274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43278 * math/e_exp10.c: Include <float.h>.
43279 (__ieee754_exp10): Handle underflow here rather than multiplying
43280 large negative argument by M_LN10.
43281 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43283 * math/e_exp10l.c: Include <float.h>.
43284 (__ieee754_exp10l): Handle underflow here rather than multiplying
43285 large negative argument by M_LN10l.
43286 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43287 spurious overflow exception on underflow.
43289 2012-04-29 Marek Polacek <polacek@redhat.com>
43291 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43292 (__fortify_function): New macro.
43293 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43294 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43295 __extern_always_inline.
43296 * libio/bits/stdio2.h: Likewise.
43297 * libio/bits/stdio.h: Likewise.
43298 * string/string.h: Likewise.
43299 * string/bits/string3.h: Likewise.
43300 * include/stdio.h: Likewise.
43301 * stdlib/bits/stdlib.h: Likewise.
43302 * stdlib/stdlib.h: Likewise.
43303 * rt/bits/mqueue2.h: Likewise.
43304 * rt/mqueue.h: Likewise.
43305 * posix/bits/unistd.h: Likewise.
43306 * posix/unistd.h: Likewise.
43307 * io/bits/poll2.h: Likewise.
43308 * io/bits/fcntl2.h: Likewise.
43309 * io/fcntl.h: Likewise.
43310 * io/sys/poll.h: Likewise.
43311 * misc/bits/syslog.h: Likewise.
43312 * misc/bits/syslog-ldbl.h: Likewise.
43313 * misc/sys/syslog.h: Likewise.
43314 * socket/bits/socket2.h: Likewise.
43315 * socket/sys/socket.h: Likewise.
43316 * debug/tst-chk1.c: Likewise.
43317 * wcsmbs/bits/wchar2.h: Likewise.
43318 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43319 * wcsmbs/wchar.h: Likewise.
43321 2012-04-29 Andreas Jaeger <aj@suse.de>
43323 * Makerules (tests): Remove enable-check-abi protection.
43324 (check-abi-warn): Remove.
43325 (check-abi-%): Remove check-abi-warn usage.
43327 * configure.in: Remove check-abi configure option.
43328 * configure: Regenerated.
43329 * config.make.in (enable-check-abi): Remove.
43331 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43334 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43335 double functions to double *_finite functions.
43338 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43339 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43341 * stdio-common/Makefile (tests): Add tst-sprintf3.
43342 * stdio-common/tst-sprintf3.c: New file.
43344 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43345 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43347 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43349 * conform/conformtest.pl: Remove duplicate typed-constant
43352 2012-04-28 David S. Miller <davem@davemloft.net>
43354 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43355 (check-abi-%): Remove AWK script prerequisite and explicit
43357 (check-abi): Rewrite to just diff the symlist with the abilist.
43358 (config-tls, config-abi-config): Delete, no longer used.
43359 (update-abi-%): Remove AWK script and explicit abilist directory.
43360 (update-abi): Rewrite to simply compare and conditionally copy the
43361 symlist and the sysdep abilist file. Remove update-abi-config
43363 * abilist/ld.abilist: Remove.
43364 * abilist/libBrokenLocale.abilist: Remove.
43365 * abilist/libanl.abilist: Remove.
43366 * abilist/libcrypt.abilist: Remove.
43367 * abilist/libdl.abilist: Remove.
43368 * abilist/librt.abilist: Remove.
43369 * abilist/libthread_db.abilist: Remove.
43370 * abilist/libutil.abilist: Remove.
43371 * scripts/extract-abilist.awk: Remove.
43372 * scripts/merge-abilist.awk: Remove.
43373 * sysdeps/generic/libcidn.abilist: New file.
43374 * sysdeps/generic/libnss_compat.abilist: New file.
43375 * sysdeps/generic/libnss_db.abilist: New file.
43376 * sysdeps/generic/libnss_dns.abilist: New file.
43377 * sysdeps/generic/libnss_files.abilist: New file.
43378 * sysdeps/generic/libnss_hesiod.abilist: New file.
43379 * sysdeps/generic/libnss_nis.abilist: New file.
43380 * sysdeps/generic/libnss_nisplus.abilist: New file.
43381 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43382 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43383 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43385 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43386 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43387 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43388 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43389 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43390 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43391 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43392 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43393 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43395 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43396 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43397 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43398 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43400 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43401 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43402 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43403 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43404 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43405 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43407 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43408 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43409 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43411 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43514 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43515 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43516 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43519 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43520 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43521 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43522 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43523 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43524 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43525 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43526 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43527 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43579 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43581 * conform/conformtest.pl: Fix typo in handling typed-constant from
43584 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43586 * README: Cut down references to pre-2.6 Linux kernels and
43587 Linuxthreads. Update lists of configurations in libc and ports
43588 and sort alphabetically. Say "or newer" with Linux kernel version
43591 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43593 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43596 * math/libm-test.inc (logb_test_downward): New test to expose
43597 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43600 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43603 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43605 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43606 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43608 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43610 * sysdeps/unix/i386/brk.S: Remove file.
43611 * sysdeps/unix/i386/dl-brk.S: Likewise.
43612 * sysdeps/unix/i386/pipe.S: Likewise.
43613 * sysdeps/unix/i386/sigreturn.S: Likewise.
43614 * sysdeps/unix/i386/syscall.S: Likewise.
43615 * sysdeps/unix/i386/vfork.S: Likewise.
43616 * sysdeps/unix/i386/wait.S: Likewise.
43618 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43619 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43621 * configure.in (arm*-none*): Do not allow without
43622 --enable-hacker-mode.
43623 (netbsd*): Remove case setting base_os.
43624 (386bsd*): Likewise.
43625 (freebsd*): Likewise.
43628 (sunos*): Likewise.
43629 (ultrix*): Likewise.
43630 (newsos*): Likewise.
43631 (dynix*): Likewise.
43637 (minix*): Likewise.
43638 (irix4*): Likewise.
43639 (irix6*): Likewise.
43640 (solaris[2-9]*): Likewise.
43642 * configure: Regenerated.
43644 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43648 overflow or cancellation in calculating denominator.
43649 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43651 down expression to avoid unexpected rounding in newer GCCs.
43652 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43654 2012-04-26 David S. Miller <davem@davemloft.net>
43656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43657 long-double compat symbols.
43658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43672 2012-04-25 David S. Miller <davem@davemloft.net>
43674 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43675 HWCAP_* values only after the memory barriers have been defined.
43676 (atomic_full_barrier): Define.
43677 (atomic_read_barrier): Define.
43678 (atomic_write_barrier): Define.
43680 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43682 * shlib-versions: Add libgcc_s version information.
43683 * sysdeps/generic/libgcc_s.h: Remove.
43684 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43686 * sysdeps/gnu/unwind-resume.c: Likewise.
43687 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43689 2012-04-25 David S. Miller <davem@davemloft.net>
43691 * sysdeps/unix/sparc/brk.S: Delete.
43692 * sysdeps/unix/sparc/dl-brk.S: Delete.
43693 * sysdeps/unix/sparc/pipe.S: Delete.
43694 * sysdeps/unix/sparc/sysdep.S: Delete.
43695 * sysdeps/unix/sparc/sysdep.h: Delete.
43696 * sysdeps/unix/sparc/vfork.S: Delete.
43697 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43698 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43699 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43700 (ret_ERRVAL, r0, r1, MOVE): Define.
43701 (JUMPTARGET): Remove.
43702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43703 sysdeps/unix/sparc/sysdep.h
43704 (ENTRY, END): Remove.
43705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43707 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43709 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43710 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43713 * timezone/README: Update upstream location and email address for
43715 * timezone/zdump.c: Update from tzcode 2012b.
43716 * timezone/zic.c: Likewise.
43718 * configure.in (libc_cv_as_needed): Remove test.
43719 * configure: Regenerated.
43720 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43721 conditional definition.
43722 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43723 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43724 * config.make.in (have-as-needed): Remove variable.
43726 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43727 Paul Pluzhnikov <ppluzhnikov@google.com>
43729 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43732 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43734 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43735 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43736 * sysdeps/sh/strlen.S: Likewise.
43738 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43740 * sysdeps/unix/fork.S: Remove file.
43741 * sysdeps/unix/i386/fork.S: Likewise.
43742 * sysdeps/unix/sparc/fork.S: Likewise.
43744 * sysdeps/unix/system.c: Remove file.
43745 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43747 * sysdeps/unix/getegid.S: Remove file.
43748 * sysdeps/unix/geteuid.S: Likewise.
43750 2012-04-24 Roland McGrath <roland@hack.frob.com>
43752 * scripts/check-localplt.awk: New file.
43753 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43755 * scripts/data/localplt-generic.data: Add a comment.
43757 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43758 NODE when __dir_mkfile failed.
43759 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43760 Reported by Ludovic Courtès <ludo@gnu.org>.
43762 2012-04-24 Andreas Jaeger <aj@suse.de>
43764 * Makerules (common-clean): Also remove gen-as-const-headers
43767 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43769 * Makerules (native-compile): Do not change working directory for
43770 build. Use $(OUTPUT_OPTION) in command.
43771 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43773 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43776 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43777 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43778 * math/libm-test.inc (floor_test): Add more tests.
43779 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43781 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43783 * sysdeps/unix/getdents.c: Remove file.
43784 * sysdeps/unix/sysv/getdents.c: Likewise.
43785 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43787 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43788 sysdeps/unix/mman/syscalls.list.
43790 (mprotect): Likewise.
43792 (munmap): Likewise.
43793 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43794 * sysdeps/unix/mman/syscalls.list: Remove.
43795 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43797 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43798 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43799 * configure: Regenerated.
43800 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43801 $(libgcc_s_suffix).
43802 * config.make.in (libgcc_s_suffix): Remove variable.
43804 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43806 * sysdeps/unix/sysv/gethostname.c: Move to ...
43807 * sysdeps/posix/gethostname.c: ... here.
43809 * sysdeps/unix/execve.S: Remove file.
43811 * sysdeps/unix/_exit.S: Remove file.
43813 2012-04-23 Andreas Jaeger <aj@suse.de>
43816 * manual/Makefile: Remove make dist support, there's no
43817 need for a stand-alone documentation tar ball.
43818 (TEXI2DVI): Define always, it's not in Makeconfig.
43821 (edition): Removed.
43822 (glibc-doc-$(edition).tar): Removed
43826 (ETAGS): Remove, it's in Makeconfig.
43827 (move-if-change): Remove, it's in Makeconfig.
43829 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43832 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43833 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43834 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43835 (strtod_l, strtof_l, strtold_l): Remove __wur.
43836 It is not necessarily an error to ignore strtol's return value.
43837 One can reliably look at the stored endptr to decide whether
43838 the number had valid syntax.
43840 2012-04-21 Andreas Jaeger <aj@suse.de>
43843 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43845 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43847 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43848 * sysdeps/unix/sysv/Versions: Remove file.
43850 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43855 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43859 version from __vm86.
43861 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43863 * sysdeps/unix/common/lxstat.c: Remove file.
43864 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43866 * sysdeps/unix/sysv/Makefile: Remove file.
43868 * sysdeps/unix/sysv/direct.h: Remove file.
43870 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43871 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43872 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43873 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43874 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43875 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43876 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43878 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43880 * sysdeps/unix/xmknod.c: Remove file.
43881 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43883 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43885 * sysdeps/unix/sysv/i386/time.S: Remove file.
43887 * sysdeps/unix/fxstat.c: Remove file.
43888 * sysdeps/unix/xstat.c: Likewise.
43889 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43891 * sysdeps/unix/sysv/sigaction.c: Remove file.
43893 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43894 (sysdep_headers): Remove variable.
43895 [termio.h not in sysdep_headers] (generated): Likewise.
43896 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43897 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43898 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43899 * sysdeps/unix/sysv/tcflow.c: Likewise.
43900 * sysdeps/unix/sysv/tcflush.c: Likewise.
43901 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43902 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43903 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43904 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43905 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43907 * sysdeps/unix/siglist.c: Remove file.
43909 * sysdeps/unix/getppid.S: Remove file.
43911 * sysdeps/unix/mkdir.c: Remove file.
43912 * sysdeps/unix/rmdir.c: Likewise.
43914 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43916 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43918 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43919 errlist-compat value.
43921 2012-04-18 David S. Miller <davem@davemloft.net>
43923 * sysdeps/generic/memcopy.h (reg_char): Delete.
43924 * debug/strcat_chk.c: Use char, not reg_char.
43925 * debug/strcpy_chk.c: Likewise.
43926 * debug/strncat_chk.c: Likewise.
43927 * debug/strncpy_chk.c: Likewise.
43928 * string/memchr.c: Likewise.
43929 * string/memrchr.c: Likewise.
43930 * string/rawmemchr.c: Likewise.
43931 * string/strcat.c: Likewise.
43932 * string/strchr.c: Likewise.
43933 * string/strchrnul.c: Likewise.
43934 * string/strcmp.c: Likewise.
43935 * string/strcpy.c: Likewise.
43936 * string/strncat.c: Likewise.
43937 * string/strncmp.c: Likewise.
43938 * string/strncpy.c: Likewise.
43940 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43942 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43943 __builtin_memcopy is called when src and dest ranges are known to not
43946 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43948 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43949 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43950 fwd_align_merge macro call.
43951 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43952 bwd_align_merge macro call.
43953 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43955 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43957 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43958 bwd_align_merge macros.
43959 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43960 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43961 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43963 2012-04-18 David S. Miller <davem@davemloft.net>
43965 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43967 2012-04-18 Andreas Jaeger <aj@suse.de>
43970 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43971 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43972 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43975 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43976 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43978 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43979 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43980 Adjust for changed ldbl-128 files.
43982 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43983 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43984 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43986 2012-04-17 David S. Miller <davem@davemloft.net>
43988 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43990 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43992 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43993 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43994 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43995 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43996 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43997 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43999 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44002 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44003 * math/libm-test.inc: Add ilogb errno and exception tests.
44004 * math/w_ilogb.c: New file: ilogb wrapper.
44005 * math/w_ilogbf.c: New file: ilogbf wrapper.
44006 * math/w_ilogbl.c: New file: ilogbl wrapper.
44007 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44008 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44009 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44010 exception being thrown with 0.0 as argument.
44011 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44012 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44013 exception being thrown with 0.0 as argument.
44014 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44015 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44016 exception being thrown with 0.0 as argument.
44017 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44018 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44019 exception being thrown with 0.0 as argument.
44020 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44021 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44022 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44023 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44024 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44025 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44026 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44027 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44028 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44030 2012-04-17 Petr Baudis <pasky@ucw.cz>
44032 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44035 2012-04-16 Marek Polacek <polacek@redhat.com>
44037 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44039 2012-04-16 Marek Polacek <polacek@redhat.com>
44041 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44042 operands of fdivp instruction.
44044 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44046 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44047 * elf/tst-auditmod3b.c: Likewise.
44048 * elf/tst-auditmod4b.c: Likewise.
44049 * elf/tst-auditmod5b.c: Likewise.
44050 * elf/tst-auditmod6b.c: Likewise.
44051 * elf/tst-auditmod6c.c: Likewise.
44052 * elf/tst-auditmod7b.c: Likewise.
44053 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44054 * sysdeps/x86_64/preconfigure.in: Likewise.
44055 * sysdeps/x86_64/preconfigure: Regenerated.
44057 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44062 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44065 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44067 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44070 * locale/iso-639.def: Fix gl language name. Spotted by
44073 2012-04-12 Roland McGrath <roland@hack.frob.com>
44076 * libio/libio.h (__io_write_fn): Update comment.
44078 2012-04-12 Petr Baudis <pasky@ucw.cz>
44081 * stdio.texi (Hook Functions): The user provided writer function
44082 is not allowed to return -1.
44084 2012-04-11 David S. Miller <davem@davemloft.net>
44086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44088 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44090 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44091 Add a leading slash to rtkaio.
44093 2012-04-11 Jim Meyering <meyering@redhat.com>
44096 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44097 It is not necessarily an error to ignore fwrite's return
44098 value. One can reliably use ferror to test for errors after
44101 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44103 * bits/types.h (__snseconds_t): New type.
44104 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44106 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44108 (__SNSECONDS_T_TYPE): Likewise.
44109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44110 (__SNSECONDS_T_TYPE): Likewise.
44111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44112 (__SNSECONDS_T_TYPE): Likewise.
44114 2012-04-10 Andreas Jaeger <aj@suse.de>
44117 * manual/time.texi (Processor Time): Return type of times is
44118 elapsed real time since an arbitrary point in the past.
44119 (CPU Time): Move CLK_TCK from here...
44120 (Processor Time): ...to here. Correct description.
44121 * manual/conf.texi (Constants for Sysconf): Correct description of
44124 2012-04-10 David S. Miller <davem@davemloft.net>
44127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44128 where the is a gap between DT_REL(A) and DT_JMPREL.
44130 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44132 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44133 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44134 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44136 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44138 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44139 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44140 (dl_main): Handle --inhibit-cache.
44141 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44143 * elf/dl-load.c (_dl_map_object): Use it.
44144 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44146 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44149 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44150 (__ieee754_powl): Saturate large exponents rather than testing for
44151 overflow of y*log2(x).
44152 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44153 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44157 * math/s_ctan.c: Include <float.h>.
44158 (__ctan): Avoid internal overflow or cancellation in calculating
44160 * math/s_ctanf.c: Likewise.
44161 * math/s_ctanl.c: Likewise.
44162 * math/s_ctanh.c: Likewise.
44163 * math/s_ctanhf.c: Likewise.
44164 * math/s_ctanhl.c: Likewise.
44165 * math/libm-test.inc (ctan_test): Add more tests.
44166 (ctanh_test): Likewise.
44167 * sysdeps/i386/fpu/libm-test-ulps: Update.
44168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44170 2012-04-09 Andreas Jaeger <aj@suse.de>
44173 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44174 is an optional BSD extension.
44177 * manual/stdio.texi (Opening Streams): Document additional fopen
44180 2012-04-09 Roland McGrath <roland@hack.frob.com>
44182 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44183 %eax without telling the compiler.
44185 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44188 * manual/install.texi: Use sourceware.org.
44190 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44193 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44194 (__ieee754_pow): Generate overflow and underflow using huge*huge
44195 and tiny*tiny rather than just returning constant infinity or zero
44196 for large exponents.
44197 * math/libm-test.inc (pow_test): Require overflow exceptions for
44198 applicable cases of large exponents.
44201 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44202 (__ieee754_pow): Use iterative multiplication algorithm only for
44203 integer exponents with absolute value below 1024. Check for odd
44204 integer exponents when using algorithm for real exponents.
44205 * math/libm-test.inc (pow_test): Add more tests.
44206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44208 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44211 * math/libm-test.inc (exp_test): Do not allow overflow exception
44214 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44217 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44218 instead of __kernel_standard_f.
44220 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44222 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44223 * sysdeps/x86_64/memset_chk.S: Likewise.
44225 2012-04-08 Andreas Jaeger <aj@suse.de>
44228 * manual/startup.texi (Environment Access): Describe return value
44229 for putenv and setenv.
44232 * manual/filesys.texi (Directory Entries): Add description for
44236 * manual/filesys.texi (Directory Entries): Clarify that it's file
44237 system not operating system in the description of DT_UNKNOWN.
44240 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44242 2012-04-08 Stephen Compall <s11@member.fsf.org>
44245 * manual/llio.texi (Opening and Closing Files): Add cross
44246 reference to explain mode argument.
44248 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44250 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44251 * sysdeps/x86_64/memset_chk.S: Likewise.
44253 2012-04-07 David S. Miller <davem@davemloft.net>
44255 * elf/elf.h (R_SPARC_WDISP10): Define.
44256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44259 R_SPARC_SIZE64 and R_SPARC_H34.
44261 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44263 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44264 conditions and remove no longer applicable assertion.
44266 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44268 * bits/byteswap.h: Include <features.h>.
44269 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44270 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44272 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44274 * bits/byteswap.h (__bswap_16): Removed.
44275 Include <bits/byteswap-16.h> to get __bswap_16.
44276 * sysdeps/i386/bits/byteswap.h: Likewise.
44277 * sysdeps/s390/bits/byteswap.h: Likewise.
44278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44279 * bits/byteswap-16.h: New file.
44280 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44281 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44282 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44283 * string/Makefile (headers): Add bits/byteswap-16.h.
44285 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44288 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44290 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44291 * nss/tst-nss-static.c: New.
44293 2012-04-06 Robert Millan <rmh@gnu.org>
44296 * manual/llio.texi (File Position Primitive): lseek
44297 refers to WHENCE when it really means OFFSET.
44299 2012-04-06 Andreas Jaeger <aj@suse.de>
44301 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44302 strncmp declarations.
44304 * abilist/libc.abilist: Add __poll and __ppoll.
44306 2012-04-05 David S. Miller <davem@davemloft.net>
44308 * scripts/check-local-headers.sh: Accept a host triplet in the
44309 path matched by the exclude regexp.
44311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44313 * sysdeps/powerpc/powerpc32/dl-machine.h
44314 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44315 * sysdeps/s390/s390-32/dl-machine.h
44316 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44317 * sysdeps/sparc/sparc32/dl-machine.h
44318 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44319 * sysdeps/sparc/sparc64/dl-machine.h
44320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44322 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44324 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44325 undefined symbol errors.
44327 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44330 2012-04-05 Michael Matz <matz@suse.de>
44333 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44335 2012-04-05 Andreas Jaeger <aj@suse.de>
44338 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44341 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44343 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44344 which ROUND is no valid rounding mode.
44346 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44348 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44350 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44352 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44354 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44355 an exception using FPU order intentionally.
44357 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44359 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44360 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44361 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44362 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44364 2012-04-05 Simon Josefsson <simon@josefsson.org>
44367 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44368 EINVAL when BUFLEN is too smal.
44370 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44373 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44374 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44376 2012-04-03 Andreas Jaeger <aj@suse.de>
44379 * manual/setjmp.texi (System V contexts): Fix sentence.
44382 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44383 New macro for this case.
44384 [!__GNUC__] (__bswap_64): New inline function for this case.
44385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44386 * bits/byteswap.h: Likewise.
44387 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44388 ull, guard with __GLIBC_HAVE_LONG_LONG.
44390 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44391 __GLIBC_HAVE_LONG_LONG.
44393 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44394 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44396 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44399 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44400 inptr and inend, rather than using last_ch.
44402 2012-04-02 David S. Miller <davem@davemloft.net>
44404 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44405 * stdio-common/printf-parse.h (read_int): Change return type to
44406 'int', return -1 on INT_MAX overflow.
44407 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44408 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44409 overflows INT_MAX. Check for overflow of in-format-string precision
44410 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44411 SIZE_MAX not INT_MAX for integer overflow test.
44412 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44413 skip the construct in the format string but do not record anything.
44414 * stdio-common/bug22.c: Adjust to test both width/prevision
44415 INT_MAX overflow as well as total length INT_MAX overflow. Check
44416 explicitly for proper errno values.
44418 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44420 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44422 * string/test-strcmp.c [! WIDE]: Likewise.
44423 * time/tst-mktime2.c: Likewise for INT_MAX.
44424 * string/test-string.h: #include <sys/param.h> for MIN.
44426 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44427 * sysdeps/i386/init-first.c (init): Likewise.
44428 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44429 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44430 * sysdeps/sh/init-first.c (init): Likewise.
44432 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44434 * po/ru.po: Update from translation team.
44435 * po/vi.po: Likewise.
44437 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44439 * resolv/nss_dns/dns-host.c: Merge copyright years.
44441 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44443 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44444 Optimize memcpy with prefetch if
44445 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44446 src, dst pointers have unequal 16 byte alignments.
44448 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44451 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44452 from a CNAME entry and return the minimum ttl for the query.
44453 (gaih_getanswer_slice): Likewise.
44455 2012-03-30 Jeff Law <law@redhat.com>
44457 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44459 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44460 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44462 * resolv/nss_dns/dns-host.c: Update copyright year.
44464 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44466 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44467 requests to save a system call. Fix check that all bytes are sent.
44469 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44470 comments for sendmmsg.
44472 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44475 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44476 with only 1 character between 0x0041 and 0x01b0.
44477 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44478 * wcsmbs/tst-mbsnrtowcs.c: New file.
44480 2012-03-29 David S. Miller <davem@davemloft.net>
44482 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44483 small copies by hand.
44485 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44488 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44489 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44492 2012-03-28 David S. Miller <davem@davemloft.net>
44494 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44495 that branches into memcpy.
44496 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44499 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44502 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44503 implementation too.
44504 * sysdeps/sparc/mempcpy.S: New file.
44506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44507 the IFUNC routine in the libc case.
44508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44510 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44511 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44512 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44513 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44514 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44515 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44516 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44517 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44519 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44520 loop to 256 bytes instead of 64 bytes and fix test signedness.
44522 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44523 * sysdeps/sparc/sparc32/Makefile: rather than here...
44524 * sysdeps/sparc/sparc64/Makefile: and here.
44526 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44528 * malloc/mallocbug.c: Avoid warnings about unused variables.
44530 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44533 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44534 in the right place. Discard and retry query if response is
44535 larger than input buffer size.
44537 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44543 x for large integer exponent.
44544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44545 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44546 sign of result as needed afterwards.
44547 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44548 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44549 result for underflowing pow the same as for overflow.
44550 (__kernel_standard_l): Handle powl overflow and underflow here
44551 rather than calling __kernel_standard.
44552 * math/libm-test.inc (pow_test): Add more tests.
44567 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44568 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44569 (__kernel_standard_l): New function.
44570 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44572 * math/w_acosl.c (__acosl): Likewise.
44573 * math/w_asinl.c (__asinl): Likewise.
44574 * math/w_atan2l.c (__atan2l): Likewise.
44575 * math/w_atanhl.c (__atanhl): Likewise.
44576 * math/w_coshl.c (__coshl): Likewise.
44577 * math/w_exp10l.c (__exp10l): Likewise.
44578 * math/w_exp2l.c (__exp2l): Likewise.
44579 * math/w_fmodl.c (__fmodl): Likewise.
44580 * math/w_hypotl.c (__hypotl): Likewise.
44581 * math/w_j0l.c (__j0l, __y0l): Likewise.
44582 * math/w_j1l.c (__j1l, __y1l): Likewise.
44583 * math/w_jnl.c (__jnl, __ynl): Likewise.
44584 * math/w_lgammal.c (__lgammal): Likewise.
44585 * math/w_log10l.c (__log10l): Likewise.
44586 * math/w_log2l.c (__log2l): Likewise.
44587 * math/w_logl.c (__logl): Likewise.
44588 * math/w_powl.c (__powl): Likewise.
44589 * math/w_remainderl.c (__remainderl): Likewise.
44590 * math/w_scalbl.c (sysv_scalbl): Likewise.
44591 * math/w_sinhl.c (__sinhl): Likewise.
44592 * math/w_sqrtl.c (__sqrtl): Likewise.
44593 * math/w_tgammal.c (__tgammal): Likewise.
44594 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44595 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44596 * math/libm-test.inc (acos_test): Add more tests.
44597 (acosh_test): Likewise.
44598 (asin_test): Likewise.
44599 (atanh_test): Likewise.
44600 (exp_test): Likewise.
44601 (exp10_test): Likewise.
44602 (exp2_test): Likewise.
44603 (expm1_test): Likewise.
44604 (lgamma_test): Likewise.
44605 (log_test): Likewise.
44606 (log10_test): Likewise.
44607 (log1p_test): Likewise.
44608 (log2_test): Likewise.
44609 (pow_test): Do not allow some spurious overflow exceptions.
44610 (sqrt_test): Add more tests.
44611 (tgamma_test): Likewise.
44612 (y0_test): Likewise.
44613 (y1_test): Likewise.
44614 (yn_test): Likewise.
44616 2012-03-27 Anton Blanchard <anton@samba.org>
44618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44624 2012-03-27 David S. Miller <davem@davemloft.net>
44626 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44628 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44629 have-as-vis3 check.
44631 2012-03-27 Andreas Jaeger <aj@suse.de>
44633 * sysdeps/x86_64/elf/configure.in: Moved to ...
44634 * sysdeps/x86_64/configure.in: ... here.
44635 * sysdeps/x86_64/elf/start.S: Moved to ...
44636 * sysdeps/x86_64/start.S: ... here.
44637 * sysdeps/x86_64/elf/configure: Delete.
44639 * sysdeps/x86_64/configure.in: Merge contents from
44640 sysdeps/i386/configure.in (without i686 check).
44642 * sysdeps/i386/elf/Versions: Merge into ...
44643 * sysdeps/i386/Versions: ... this.
44644 * sysdeps/i386/elf/Versions: Delete file.
44645 * sysdeps/i386/elf/start.S: Moved to ...
44646 * sysdeps/i386/start.S: ...here.
44647 * sysdeps/i386/elf/configure.in: Merge into...
44648 * sysdeps/i386/configure.in: ...here.
44649 * sysdeps/i386/elf/configure.in: Delete file.
44650 * sysdeps/i386/elf/configure: Delete file.
44652 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44653 * debug/backtracesyms.c: ... here.
44654 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44655 * debug/backtracesymsfd.c: ... here.
44656 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44657 * sysdeps/generic/ifunc-sel.h: ... here.
44659 * sysdeps/unix/i386/start.c: Delete file.
44660 * sysdeps/unix/sparc/start.c: Delete file.
44661 * sysdeps/unix/start.c: Delete file.
44663 * sysdeps/sh/elf/configure.in: Moved to ...
44664 * sysdeps/sh/configure.in: ... here.
44665 * sysdeps/sh/elf/start.S: Moved to ...
44666 * sysdeps/sh/start.S: ... here.
44667 * sysdeps/sh/elf/configure: Delete file.
44669 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44670 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44671 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44672 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44673 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44674 * sysdeps/powerpc/powerpc64/start.S: here.
44675 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44676 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44677 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44678 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44679 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44681 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44682 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44683 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44684 * sysdeps/powerpc/powerpc32/start.S: ... here.
44685 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44686 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44687 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44689 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44690 * sysdeps/powerpc/ifunc-sel.h: ... here.
44691 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44692 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44694 * sysdeps/sparc/elf/configure.in: Moved to ...
44695 * sysdeps/sparc/configure.in: ... here.
44696 * sysdeps/sparc/elf/configure: Delete file.
44697 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44698 * sysdeps/sparc/sparc32/start.S: ... here.
44699 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44700 * sysdeps/sparc/sparc64/start.S: ... here.
44701 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44702 * sysdeps/sparc/sparc32/Makefile: ... this.
44703 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44704 * sysdeps/sparc/sparc64/Makefile: ... this.
44706 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44707 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44708 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44709 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44710 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44711 * sysdeps/s390/s390-32/setjmp.S: ... here.
44712 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44713 * sysdeps/s390/s390-32/configure.in: ... here.
44714 * sysdeps/s390/s390-32/elf/configure: Delete file.
44715 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44716 * sysdeps/s390/s390-32/start.S: ... here.
44718 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44719 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44720 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44721 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44722 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44723 * sysdeps/s390/s390-64/setjmp.S: ... here.
44724 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44725 * sysdeps/s390/s390-64/configure.in: ... here
44726 * sysdeps/s390/s390-64/elf/configure: Delete file.
44727 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44728 * sysdeps/s390/s390-64/start.S: ... here.
44729 * sysdeps/s390/s390-64/elf/configure: Delete.
44731 * configure.in: Remove support for elf directories in sysdeps.
44733 * configure: Regenerated.
44734 * sysdeps/i386/configure: Regenerated.
44735 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44736 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44737 * sysdeps/s390/s390-32/configure: Regenerated.
44738 * sysdeps/s390/s390-64/configure: Regenerated.
44739 * sysdeps/sh/configure: Regenerated.
44740 * sysdeps/sparc/configure: Regenerated.
44741 * sysdeps/x86_64/configure: Regenerated.
44743 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44748 denormal result into account.
44750 2012-03-25 Roland McGrath <roland@hack.frob.com>
44752 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44753 Reported by Allan McRae <allan@archlinux.org>.
44755 2012-03-23 Jeff Law <law@redhat.com>
44757 * nss/getnssent.c (__nss_getent): Fix typo.
44759 2012-03-23 David S. Miller <davem@davemloft.net>
44761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44763 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44765 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44766 to pad to uint64_t for each field.
44767 (dl_tls_index): Replace unsigned long with uint64_t.
44769 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44770 Paul Pluzhnikov <ppluzhnikov@google.com>
44773 * grp/Makefile (otherlibs): Don't set it.
44774 * inet/Makefile (otherlibs): Likewise.
44775 * login/Makefile (otherlibs): Likewise.
44776 * nscd/Makefile (otherlibs): Likewise.
44777 * posix/Makefile (otherlibs): Likewise.
44778 * pwd/Makefile (otherlibs): Likewise.
44779 * rt/Makefile (otherlibs): Likewise.
44780 * sunrpc/Makefile (otherlibs): Likewise.
44781 * nss/Makefile (otherlibs): Likewise.
44782 Add libnss_files to routines and static-only-routines.
44783 ($(objpfx)getent): Remove rule.
44784 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44785 static-only-routines.
44787 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44790 * math/s_cexp.c: Include <float.h>.
44791 (__cexp): Handle exp result overflowing not necessarily
44792 overflowing both real and imaginary parts of result.
44793 * math/s_cexpf.c: Likewise.
44794 * math/s_cexpl.c: Likewise.
44795 * math/libm-test.inc (cexp_test): Add more tests.
44796 * sysdeps/i386/fpu/libm-test-ulps: Update.
44797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44799 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44801 * include/link.h (ELFW): New macro.
44802 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44803 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44805 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44807 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44810 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44812 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44814 (struct La_x32_retval): Likewise.
44816 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44818 * sysdeps/x86_64/preconfigure.in: New file.
44819 * sysdeps/x86_64/preconfigure: New generated file.
44821 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44824 * math/e_exp2l.c: Include <float.h>.
44825 (__ieee754_exp2l): Handle overflow and underflow cases
44826 separately. Only pass fractional part of argument to
44828 * math/libm-test.inc (exp2_test): Add more tests.
44830 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44831 negating x to take absolute value.
44832 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44834 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44835 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44837 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44838 computing low part if x was negated.
44839 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44841 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44843 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44844 la_x32_gnu_pltexit.
44845 (pltexit): Cast int_retval to ptrdiff_t.
44846 * elf/tst-auditmod3b.c: Likewise.
44847 * elf/tst-auditmod4b.c: Likewise.
44848 * elf/tst-auditmod5b.c: Likewise.
44849 * elf/tst-auditmod6b.c: Likewise.
44850 * elf/tst-auditmod6c.c: Likewise.
44851 * elf/tst-auditmod7b.c: Likewise.
44853 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44854 and x32_gnu_pltexit.
44856 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44857 __ELF_NATIVE_CLASS.
44858 (La_x32_regs): New macro.
44859 (La_x32_retval): Likewise.
44860 (la_x32_gnu_pltenter): New function prototype.
44861 (la_x32_gnu_pltexit): Likewise.
44863 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44870 * configure.in (libc_cv_cc_nofma): Check for option to disable
44871 generation of FMA instructions.
44872 * configure: Regenerate.
44873 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44874 * sysdeps/ieee754/dbl-64/Makefile: New file.
44875 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44876 Remove brandred-fma4.
44877 (CFLAGS-brandred-fma4.c): Remove.
44878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44879 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44881 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44884 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44886 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44887 LLONG_MAX != LONG_MAX.
44888 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44889 (_fitoa_word): Likewise.
44890 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44891 LLONG_MAX != LONG_MAX.
44892 * stdio-common/_itowa.h: Include <_itoa.h>.
44893 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44894 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44895 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44896 only if not defined.
44897 (_ITOA_WORD_TYPE): Likewise.
44898 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44899 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44901 2012-03-21 David S. Miller <davem@davemloft.net>
44903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44905 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44907 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44908 of x86_64 when setting libc_cv_slibdir, libdir and
44910 * sysdeps/unix/sysv/linux/configure: Regenerated.
44912 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44914 * manual/lang.texi (Old Varargs): Remove section.
44915 (How Variadic): Update menu.
44916 (va_start): Do not mention varargs.h.
44918 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44919 Joseph Myers <joseph@codesourcery.com>
44921 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44923 * configure: Regenerated.
44925 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44927 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44928 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44931 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44934 * Makefile (files-for-dist): Remove NOTES.
44935 (NOTES): Remove rule.
44936 * README: Don't refer to NOTES.
44937 * manual/creature.texi: Don't include macros.texi.
44938 * manual/intro.texi (creature.texi): Remove comment referring to
44941 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44942 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44943 * configure: Regenerated.
44944 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44945 LIBC_TRY_CC_OPTION.
44946 (libc_cv_as_i686): Likewise.
44947 (libc_cv_cc_avx): Likewise.
44948 (libc_cv_cc_sse2avx): Likewise.
44949 (libc_cv_cc_fma4): Likewise.
44950 (libc_cv_cc_novzeroupper): Likewise.
44951 * sysdeps/i386/configure: Regenerated.
44954 * sysdeps/i386/fpu/s_cexp.S: Remove.
44955 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44956 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44957 * math/libm-test.inc (cexp_test): Add more tests.
44958 * sysdeps/i386/fpu/libm-test-ulps: Update.
44959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44961 2012-03-21 Allan McRae <allan@archlinux.org>
44963 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44965 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44968 * math/w_exp2.c: Do not include <float.h>.
44969 (o_threshold, u_threshold): Remove.
44970 (__exp2): Calculate result before checking finiteness and calling
44972 * math/w_exp2f.c: Likewise.
44973 * math/w_exp2l.c: Likewise.
44974 * math/libm-test.inc (exp2_test): Require overflow exception for
44978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44979 range of signed 64-bit integers before using fistpll. Remove
44980 checks for whether integers fit in mantissa bits.
44981 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44982 the range of signed 32-bit integers before using fistpl. Remove
44983 checks for whether integers fit in mantissa bits.
44984 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44985 (__ieee754_powl): Test for y outside the range of signed 64-bit
44986 integers before using fistpll. Reduce 64-bit values to 63-bit
44988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44989 divide-by-zero is raised for zero to large negative powers.
44990 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44991 (__ieee754_powl): Test for y outside the range of signed 64-bit
44992 integers before using fistpll. Reduce 64-bit values to 63-bit
44994 * math/libm-test.inc (pow_test): Add more tests.
44996 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44998 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44999 <stdio-common/_itoa.h>.
45000 * debug/segfault.c: Likewise.
45001 * elf/dl-cache.c: Likewise.
45002 * elf/dl-minimal.c: Likewise.
45003 * elf/dl-misc.c: Likewise.
45004 * elf/dl-sysdep.c: Likewise.
45005 * elf/dl-version.c: Likewise.
45006 * elf/rtld.c: Likewise.
45007 * hurd/hurdsock.c: Likewise.
45008 * hurd/lookup-retry.c: Likewise.
45009 * malloc/malloc.c: Likewise.
45010 * malloc/mtrace.c: Likewise.
45011 * nscd/nscd_getgr_r.c: Likewise.
45012 * nscd/nscd_getpw_r.c: Likewise.
45013 * nscd/nscd_getserv_r.c: Likewise.
45014 * posix/getopt_init.c: Likewise.
45015 * posix/wordexp.c: Likewise.
45016 * stdio-common/_itoa.c: Likewise.
45017 * stdio-common/printf_fphex.c: Likewise.
45018 * stdio-common/vfprintf.c: Likewise.
45019 * string/_strerror.c: Likewise.
45020 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45021 * sysdeps/i386/i686/hp-timing.h: Likewise.
45022 * sysdeps/mach/_strerror.c: Likewise.
45023 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45024 * sysdeps/mach/hurd/sethostid.c: Likewise.
45025 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45026 * sysdeps/mach/xpg-strerror.c: Likewise.
45027 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45029 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45030 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45031 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45032 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45034 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45035 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45036 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45037 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45038 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45039 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45040 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45041 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45042 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45043 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45044 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45045 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45046 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45047 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45049 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45051 * stdio-common/_itoa.h: Moved to ...
45052 * sysdeps/generic/_itoa.h: Here.
45054 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45056 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45057 instead of "_itoa.h" and "_itowa.h".
45058 * stdio-common/vfprintf.: Likewise.
45060 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45064 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45065 (__signbit): Likwise.
45066 (llrintf): Likwise.
45069 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45071 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45074 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45076 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45077 OVERFLOW_EXCEPTION_OK.
45078 * math/libm-test.inc ("Philosophy"): Update comment about
45080 (OVERFLOW_EXCEPTION): Define.
45081 (OVERFLOW_EXCEPTION_OK): Likewise.
45082 (INVALID_EXCEPTION_OK): Renumber.
45083 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45084 (IGNORE_ZERO_INF_SIGN): Likewise.
45085 (test_exceptions): Handle FE_OVERFLOW.
45086 (exp10_test): Expect overflow exceptions.
45087 (exp2_test): Likewise.
45088 (expm1_test): Likewise.
45089 (nextafter_test): Likewise.
45090 (pow_test): Likewise.
45091 (scalbn_test): Likewise.
45092 (scalbln_test): Likewise.
45094 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45096 * sysdeps/x86_64/bits/atomic.h
45097 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45099 (atomic_exchange_acq): Likewise.
45100 (__arch_exchange_and_add_body): Likewise.
45101 (__arch_add_body): Likewise.
45102 (atomic_add_negative): Likewise.
45103 (atomic_add_zero): Likewise.
45105 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45107 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45108 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45110 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45112 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45113 Check __x86_64__ instead of __WORDSIZE.
45115 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45117 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45119 2012-03-19 David S. Miller <davem@davemloft.net>
45121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45123 * sysdeps/sparc/fpu/fenv_private.h: New file.
45124 * sysdeps/sparc/fpu/math_private.h: Use it.
45125 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45127 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45128 (libc_feholdexcept_setroundl): Remove.
45129 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45131 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45132 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45134 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45136 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45137 int64_t instead of long int.
45138 (INSERT_WORDS64): Likwise.
45140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45142 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45143 _Unwind_GetCFA return to _Unwind_Ptr first.
45145 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45148 * math/s_clog.c: Include <float.h>.
45149 (__clog): Scale large or subnormal inputs.
45150 * math/s_clogf.c: Likewise.
45151 * math/s_clogl.c: Likewise.
45152 * math/s_clog10.c: Include <float.h>.
45153 (M_LOG10_2): Define.
45154 (__clog10): Scale large or subnormal inputs.
45155 * math/s_clog10f.c: Likewise.
45156 * math/s_clog10l.c: Likewise.
45157 * math/libm-test.inc (clog_test): Add more tests.
45158 (clog10_test): Likewise.
45159 * sysdeps/i386/fpu/libm-test-ulps: Update.
45160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45163 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45165 * math/libm-test.inc (atan2_test): Add another test.
45167 * Makerules (common-objdir-compile): Remove.
45168 * sysdeps/unix/Makefile (config-generated): Do not add
45169 $(unix-generated) to variable.
45170 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45171 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45173 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45175 [generic bits/local_lim.h] (before-compile): Do not append to
45177 [generic bits/local_lim.h] (common-generated): Likewise.
45178 [generic sys/param.h] (before-compile): Do not append to variable.
45179 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45180 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45181 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45182 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45184 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45185 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45186 [generic sys/param.h] ($(addprefix
45187 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45188 [generic sys/param.h] (common-generated): Do not append to
45190 [generic sys/param.h] (sysdep_headers): Likewise.
45191 [generic bits/errno.h] (before-compile): Do not append to
45193 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45195 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45196 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45197 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45198 [generic bits/errno.h] (common-generated): Do not append to
45200 [generic bits/ioctls.h] (before-compile): Do not append to
45202 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45204 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45205 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45206 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45208 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45209 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45210 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45211 [generic bits/ioctls.h] (common-generated): Do not append to
45213 [generic sys/syscall.h] (syscall.h): Remove variable.
45214 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45216 [generic sys/syscall.h] (before-compile): Do not append to
45218 [generic sys/syscall.h] (common-generated): Likewise.
45219 * sysdeps/unix/errnos-tmpl.c: Remove file.
45220 * sysdeps/unix/errnos.awk: Likewise.
45221 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45222 * sysdeps/unix/ioctls.awk: Likewise.
45223 * sysdeps/unix/mk-local_lim.c: Likewise.
45224 * sysdeps/unix/snarf-ioctls: Likewise.
45226 2012-03-19 Richard Henderson <rth@twiddle.net>
45228 * sysdeps/i386/fpu/fenv_private.h: New file.
45229 * sysdeps/i386/fpu/math_private.h: Use it.
45230 (math_opt_barrier, math_force_eval): Remove.
45231 (libc_feholdexcept_setround_53bit): Remove.
45232 (libc_feupdateenv_53bit): Remove.
45233 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45234 (math_opt_barrier, math_force_eval): Remove.
45235 (libc_feholdexcept): Remove.
45236 (libc_feholdexcept_setround): Remove.
45237 (libc_fetestexcept, libc_fesetenv): Remove.
45238 (libc_feupdateenv_test): Remove.
45239 (libc_feupdateenv, libc_feholdsetround): Remove.
45240 (libc_feresetround): Remove.
45242 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45243 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45245 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45246 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45247 (libc_feupdateenv_testl): New.
45248 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45249 (libc_feupdateenv_testf): New.
45250 (libc_feupdateenv): Use libc_feupdateenv_test.
45251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45252 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45254 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45255 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45256 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45257 (libc_feresetround_noex): New.
45258 (libc_feresetround_noexf): New.
45259 (libc_feresetround_noexl): New.
45260 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45261 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45262 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45268 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45269 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45270 SET_RESTORE_ROUND_NOEX.
45271 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45272 SET_RESTORE_ROUND_NOEXF.
45273 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45274 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45275 (libc_feholdsetroundf): New.
45276 (libc_feresetround, libc_feresetroundf): New.
45278 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45279 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45280 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45282 * sysdeps/generic/math_private.h: Include <fenv.h>.
45283 (default_libc_feholdexcept): New.
45284 (default_libc_feholdexcept_setround): New.
45285 (default_libc_fesetenv, default_libc_feupdateenv): New.
45286 (libc_feholdexcept): Only define if undefined.
45287 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45288 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45289 (libc_feholdexcept_setroundl): Likewise.
45290 (libc_feholdexcept_setround_53bit): Likewise.
45291 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45292 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45293 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45294 (libc_feupdateenv_53bit): Likewise.
45295 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45296 (libc_feholdexcept): Convert from macro to inline function.
45297 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45298 (libc_fesetenv, libc_feupdateenv): Likewise.
45300 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45301 not previously defined.
45302 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45303 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45304 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45305 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45306 * sysdeps/ieee754/flt-32/math_private.h: New file.
45307 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45308 math_private.h below SET_FLOAT_WORD.
45309 (__isnan, __isinf_ns, __finite): Remove.
45310 (__isnanf, __isinf_nsf, __finitef): Remove.
45312 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45316 2012-03-17 David S. Miller <davem@davemloft.net>
45319 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45322 2012-03-16 David S. Miller <davem@davemloft.net>
45324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45330 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45331 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45332 sysdep_routines when subdir is sysvipc.
45333 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45334 __getshmlba helper.
45336 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45338 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45340 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45343 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45345 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45346 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45347 (__lround): Renamed to ...
45348 (__llround): This. Replace long int with long long int.
45349 Define lround functions as aliases of llround functions.
45350 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45352 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45354 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45355 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45356 adresses to uintptr_t. Replace "long int" and "unsigned long
45357 int" with "greg_t" on va_arg.
45359 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45361 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45362 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45364 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45365 Move e_machine check before EI_CLASS check. Handle x32
45366 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45367 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45368 SKIP_EM_IA_64 and include
45369 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45371 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45372 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45373 (add_system_dir): New macro.
45375 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45376 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45378 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45389 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45391 * math/w_j0f.c (j0f): Likewise.
45393 * math/w_j0l.c (__j0l): Likewise.
45395 * math/w_j1.c (j1): Likewise.
45397 * math/w_j1f.c (j1f): Likewise.
45399 * math/w_j1l.c (__j1l): Likewise.
45401 * math/w_jn.c (jn): Likewise.
45403 * math/w_jnf.c (jnf): Likewise.
45405 * math/w_jnl.c (__jnl): Likewise.
45407 * math/libm-test.inc (j0_test): Add more tests.
45408 (j1_test): Likewise.
45409 (jn_test): Likewise. Add trailing semicolon to existing test.
45410 (y0_test): Likewise.
45411 (y1_test): Likewise.
45412 * sysdeps/i386/fpu/libm-test-ulps: Update.
45413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45417 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45418 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45419 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45420 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45421 (__tanl): Set errno for infinite argument.
45422 * sysdeps/i386/fpu/mptan.c: Remove.
45423 * sysdeps/i386/fpu/s_tan.S: Likewise.
45424 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45425 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45426 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45427 * math/libm-test.inc (tan_test): Add more tests and enable more
45428 tests for double and long double.
45429 * sysdeps/i386/fpu/libm-test-ulps: Update.
45430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45432 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45434 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45435 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45437 2012-03-16 Roland McGrath <roland@hack.frob.com>
45439 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45440 * configure.in: Use it for both main tree and add-ons.
45441 * configure: Regenerated.
45443 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45445 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45447 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45449 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45453 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45454 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45455 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45456 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45457 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45459 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45461 != 0 for prec == 2.
45462 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45463 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45464 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45465 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45466 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45467 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45468 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45469 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45470 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45471 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45472 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45473 * math/libm-test.inc (cos_test): Add more tests and enable more
45474 tests for long double.
45475 (sin_test): Likewise.
45476 (sincos_test): Likewise.
45477 * sysdeps/i386/fpu/libm-test-ulps: Update.
45478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45480 2012-03-16 David S. Miller <davem@davemloft.net>
45482 * sysdeps/sparc/fpu/math_private.h: New file.
45484 2012-03-15 David S. Miller <davem@davemloft.net>
45486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45500 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45501 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45503 * sysdeps/sparc/sparc-ifunc.h: New file.
45504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45549 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45551 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45555 2012-03-15 Andreas Jaeger <aj@suse.de>
45558 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45559 ieee754/flt-32 implementation for sin, cos and sincos.
45560 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45561 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45562 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45563 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45564 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45565 ieee754/flt-32 implementation for tan.
45567 * math/libm-test.inc (cos_test): Enable some large input tests for
45569 (sin_test): Likewise.
45570 (sincos_test): Likewise.
45571 (tan_test): Add tests for large input.
45573 * sysdeps/i386/fpu/libm-test-ulps: Update.
45575 2012-03-15 Andreas Jaeger <aj@suse.de>
45578 * math/libm-test.inc (cos_test): Add more test cases.
45579 (sin_test): Likewise.
45580 (sincos_test): Likewise.
45582 2012-03-15 Andreas Jaeger <aj@suse.de>
45585 * math/libm-test.inc (cos_test): Add a test case for large input
45587 (sin_test): Likewise.
45588 (sincos_test): Likewise.
45590 2012-03-15 Andreas Jaeger <aj@suse.de>
45591 Joseph Myers <joseph@codesourcery.com>
45594 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45595 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45596 * sysdeps/i386/fpu/branred.c: Likewise.
45597 * sysdeps/i386/fpu/dosincos.c: Likewise.
45598 * sysdeps/i386/fpu/mpa.c: Likewise.
45599 * sysdeps/i386/fpu/s_cos.S: Likewise.
45600 * sysdeps/i386/fpu/s_sin.S: Likewise.
45601 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45602 * sysdeps/i386/fpu/sincos32.c: Likewise.
45604 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45606 (libc_feupdateenv_53bit): Define.
45607 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45609 (libc_feupdateenv_53bit): Define.
45611 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45612 53 bit (without extend i386 double precision).
45614 * math/libm-test.inc (sincos_test): Add tests for large input.
45618 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45620 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45624 2012-03-15 David S. Miller <davem@davemloft.net>
45626 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45627 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45628 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45629 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45654 fmin/fmax sysdep routines.
45655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45657 2012-03-14 David S. Miller <davem@davemloft.net>
45659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45731 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45736 * sysdeps/sparc/configure.in: New file.
45737 * sysdeps/sparc/configure: Generate.
45738 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45739 * configure: Regenerate.
45740 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45741 * config.make.in (have-as-vis3): New.
45742 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45743 available use -Av9d instead of -Av9a.
45744 * sysdeps/sparc/sparc64/Makefile: Likewise.
45745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45760 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45761 fzeros/fnegs to load 0x80000000 into a float register instead of
45763 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45765 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45769 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45770 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45771 ($(inst_includedir)/bits/syscall.h): Remove rule.
45772 ($(objpfx)bits/syscall.d): Include instead of
45773 $(objpfx)syscall-list.d.
45774 (generated): Change syscall-list.h and syscall-list.d to
45775 bits/syscall.h and bits/syscall.d.
45777 2012-03-14 Roland McGrath <roland@hack.frob.com>
45780 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45782 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45785 * math/s_csqrt.c: Include <float.h>.
45786 (__csqrt): Scale large or subnormal inputs.
45787 * math/s_csqrtf.c: Likewise.
45788 * math/s_csqrtl.c: Likewise.
45789 * math/libm-test.inc (csqrt_test): Add more tests.
45790 * sysdeps/i386/fpu/libm-test-ulps: Update.
45791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45794 * math/libm-test.inc (hypot_test): Add more tests.
45796 2012-03-13 David S. Miller <davem@davemloft.net>
45799 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45800 double-precision for the calculation instead of scaling.
45802 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45804 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45805 manipulate bits before adding and subtracting TWO52[sx].
45806 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45807 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45809 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45811 2012-03-13 David S. Miller <davem@davemloft.net>
45813 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45814 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45816 rtld-global-offsets.h
45817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45819 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45822 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45824 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45825 'err' in the ifdef scope in which it is actually used.
45827 * nss/nss_db/db-init.c: Include string.h
45829 2012-03-12 David S. Miller <davem@davemloft.net>
45831 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45832 masking out of the most significant byte of random value used.
45833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45834 Fix coding style in previous change.
45836 * sysdeps/unix/sysv/linux/kernel-features.h
45837 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45838 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45840 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45843 2012-03-11 David S. Miller <davem@davemloft.net>
45845 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45846 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45847 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45848 for 'resultvar' otherwise things get truncated on 64-bit.
45850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45851 Fix masking out of the most significant byte of random value used.
45853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45855 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45859 2012-03-09 David S. Miller <davem@davemloft.net>
45861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45862 variables with appropriate CPP guards.
45863 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45864 from the frame pointer, not the stack pointer. Correct layout
45865 comments. Fix test on resulting framesize and the management of
45866 the outregs buffer for pltexit. Preserve floating point return
45867 values across _dl_call_pltexit call.
45868 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45869 framesize and the management of the outregs buffer for pltexit.
45870 Preserve floating point return values across _dl_call_pltexit
45872 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45873 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45874 (la_sparc64_gnu_pltexit): New functions.
45875 (print_exit): Fix format string for return register value.
45877 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45879 * sunrpc/Makefile (others): Add rpcgen.
45880 ($(objpfx)rpcgen): Remove special build rule and dependency on
45882 * sunrpc/rpcgen.c: New file.
45884 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45887 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45888 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45889 * sysdeps/i386/crti.S: Likewise.
45890 * sysdeps/i386/crtn.S: Likewise.
45891 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45892 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45893 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45894 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45895 * sysdeps/sh/crti.S: Likewise.
45896 * sysdeps/sh/crtn.S: Likewise.
45897 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45900 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45902 * locale/programs/locfile-kw.gperf: Likewise.
45903 * locale/programs/charmap-kw.h: Regenerated.
45904 * locale/programs/locfile-kw.h: Likewise.
45907 * intl/plural.y: Replace FSF snail mail address with URL.
45908 * intl/plural.c: Regenerated.
45910 2012-03-09 Richard Henderson <rth@twiddle.net>
45912 * include/math_private.h: Remove file.
45913 * math/math_private.h: Move file ...
45914 * sysdeps/generic/math_private.h: ... here.
45916 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45917 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45920 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45921 and <math_private.h>.
45922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45927 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45933 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45934 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45948 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45949 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45954 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45962 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45963 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45965 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45973 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45974 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45976 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45977 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45978 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45981 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45983 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45986 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45990 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46009 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46010 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46013 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46016 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46017 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46018 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46019 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46022 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46023 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46024 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46025 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46027 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46028 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46029 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46034 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46035 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46036 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46037 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46038 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46039 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46040 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46041 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46042 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46043 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46045 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46049 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46050 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46051 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46052 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46055 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46056 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46057 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46059 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46060 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46063 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46065 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46066 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46070 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46071 * sysdeps/ieee754/k_standard.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46123 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46148 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46158 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46159 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46165 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46176 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46179 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46180 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46184 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46186 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46197 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46216 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46220 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46221 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46223 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46226 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46227 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46228 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46229 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46230 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46231 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46232 * sysdeps/ieee754/s_lib_version.c: Likewise.
46233 * sysdeps/ieee754/s_matherr.c: Likewise.
46234 * sysdeps/ieee754/s_signgam.c: Likewise.
46235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46238 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46239 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46241 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46242 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46243 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46244 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46245 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46246 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46249 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46257 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46259 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46260 * sunrpc/rpc_main.c: Likewise.
46261 * sunrpc/rpc_svcout.c: Likewise.
46263 2012-03-09 David S. Miller <davem@davemloft.net>
46265 * include/math_private.h: New file.
46267 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46269 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46270 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46271 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46272 from <bits/socket_type.h>.
46273 (enum __socket_type): Don't define here.
46274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46276 bits/socket_type.h.
46279 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46280 checking __USE_GNU.
46282 * Makerules ($(inst_includedir)/%.h): New rule.
46283 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46284 (install-others): Remove variable setting.
46285 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46287 2012-03-08 Richard Henderson <rth@twiddle.net>
46289 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46290 from macro to inline function; merge with the
46291 !__LIBC_INTERNAL_MATH_INLINES version.
46292 (__ieee754_sqrtf): Likewise.
46294 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46295 to inline function.
46296 (__rintf, __floor, __floorf): Likewise.
46298 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46299 macro to inline function.
46300 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46303 not <math/math_private.h>.
46305 2012-03-08 David S. Miller <davem@davemloft.net>
46307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46309 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46311 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46313 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46315 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46316 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46318 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46320 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46321 be defined individually, they must be defined as a block. Define
46322 S for printing a string instead of hidint the different by using a
46323 macro for adding the 'l'.
46324 * stdio-common/tst-fphex-wide.c: Adjust.
46326 2012-03-07 Marek Polacek <polacek@redhat.com>
46328 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46330 2012-03-08 Marek Polacek <polacek@redhat.com>
46333 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46334 * stdio-common/tst-fphex.c: Define a few macros to make the
46335 test reusable. Use them.
46336 * stdio-common/tst-fphex-wide.c: New file.
46338 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46341 * manual/macros.texi (gnusystems): New macro.
46342 (nongnusystems): Likewise.
46343 (gnulinuxhurdsystems): Likewise.
46344 (gnuhurdsystems): Likewise..
46345 (gnulinuxsystems): Likewise.
46346 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46347 variants of the GNU system, not "GNU system".
46348 * manual/conf.texi: Likewise.
46349 * manual/errno.texi: Likewise. Update example of errno macro
46351 * manual/filesys.texi: Likewise.
46352 (getumask): Document as specific to GNU/Hurd.
46353 * manual/install.texi: Likewise. Reword some references to
46355 * manual/intro.texi: Likewise.
46356 * manual/io.texi: Likewise.
46357 (File Name Portability): Detail which constraints are inapplicable
46358 to all GNU systems and which are only inapplicable to GNU/Hurd.
46359 * manual/job.texi: Likewise.
46360 * manual/llio.texi: Likewise.
46361 (O_NOCTTY): Document as present on GNU/Linux.
46362 * manual/maint.texi: Likewise.
46363 * manual/memory.texi: Likewise.
46364 * manual/pattern.texi: Likewise.
46365 * manual/pipe.texi: Likewise.
46366 * manual/process.texi: Likewise.
46367 * manual/resource.texi: Likewise.
46368 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46370 * manual/setjmp.texi: Likewise.
46371 * manual/signal.texi: Likewise.
46372 * manual/startup.texi: Likewise.
46373 * manual/stdio.texi: Likewise.
46374 * manual/terminal.texi: Likewise.
46375 (ONLCR): Document as POSIX.
46376 (OXTABS): Document availability on GNU/Linux as XTABS.
46377 (ONOEOT): Document availability separately from other bits.
46378 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46379 * manual/time.texi: Likewise.
46380 * manual/users.texi: Likewise.
46381 * INSTALL: Regenerated.
46382 * sysdeps/gnu/errlist.c: Regenerated.
46384 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46385 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46386 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46388 * configure: Regenerated.
46390 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46392 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46393 default includes instead of AC_HEADER_CHECK.
46394 * sysdeps/i386/configure: Regenerated.
46397 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46398 * math/s_cacoshf.c (__cacoshf): Likewise.
46399 * math/s_cacoshl.c (__cacoshl): Likewise.
46400 * math/s_casinh.c (__casinh): Set signs of result from argument.
46401 * math/s_casinhf.c (__casinhf): Likewise.
46402 * math/s_casinhl.c (__casinhl): Likewise.
46403 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46404 (casinh_test): Add more tests.
46405 * sysdeps/i386/fpu/libm-test-ulps: Update.
46406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46408 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46410 * po/zh_TW.po: Update from translation team.
46412 * login/Makefile (distribute): Remove variable.
46413 * catgets/Makefile: Likewise.
46414 * mach/Makefile: Likewise.
46415 * malloc/Makefile: Likewise.
46416 * misc/Makefile: Likewise.
46417 * iconv/Makefile: Likewise.
46418 * nscd/Makefile: Likewise.
46419 * hurd/Makefile: Likewise.
46420 * manual/Makefile: Likewise.
46421 * locale/Makefile: Likewise.
46422 * intl/Makefile: Likewise.
46423 * conform/Makefile: Likewise.
46424 * nss/Makefile: Likewise.
46425 * time/Makefile: Likewise.
46426 * soft-fp/Makefile: Likewise.
46427 * dirent/Makefile: Likewise.
46428 * gmon/Makefile: Likewise.
46429 * po/Makefile: Likewise.
46430 * rt/Makefile: Likewise.
46431 * socket/Makefile: Likewise.
46432 * math/Makefile: Likewise.
46433 * signal/Makefile: Likewise.
46434 * debug/Makefile: Likewise.
46435 * elf/Makefile: Likewise.
46436 * timezone/Makefile: Likewise.
46437 * stdlib/Makefile: Likewise.
46438 * iconvdata/Makefile: Likewise.
46439 * sunrpc/Makefile: Likewise.
46440 * io/Makefile: Likewise.
46441 * argp/Makefile: Likewise.
46442 * inet/Makefile: Likewise.
46443 * hesiod/Makefile: Likewise.
46444 * grp/Makefile: Likewise.
46445 * csu/Makefile: Likewise.
46446 * wctype/Makefile: Likewise.
46447 * crypt/Makefile: Likewise.
46448 * libio/Makefile: Likewise.
46449 * string/Makefile: Likewise.
46450 * nis/Makefile: Likewise.
46451 * resolv/Makefile: Likewise.
46452 * stdio-common/Makefile: Likewise.
46453 * wcsmbs/Makefile: Likewise.
46454 * dlfcn/Makefile: Likewise.
46455 * posix/Makefile: Likewise.
46458 * timezone/Makefile: Don't install timezone files, just the programs
46461 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46463 * nss/databases.def: Add missing gshadow entry.
46465 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46467 2012-03-06 Marek Polacek <polacek@redhat.com>
46470 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46471 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46472 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46473 * stdio-common/tst-long-dbl-fphex.c: New file.
46475 2012-03-06 David S. Miller <davem@davemloft.net>
46477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46478 (set_obp_int): New function.
46479 (get_obp_int): New function.
46480 (__get_clockfreq_via_dev_openprom): Likewise.
46481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46482 Avoid unused variable warnings on 'val' and use builtin_expect.
46483 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46485 (INLINE_CLONE_SYSCALL): Likewise.
46487 2012-03-05 David S. Miller <davem@davemloft.net>
46489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46491 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46496 only for |x| >= 40.
46497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46499 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46502 Replace gettimeofday with __vdso_gettimeofday.
46504 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46505 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46506 __vdso_clock_gettime and __vdso_getcpu.
46508 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46509 time with __vdso_time.
46511 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46513 * manual/lang.texi (size_t): Note types to which size_t may be
46514 equivalent with the GNU C Library, but do not describe when
46515 differences between them are significant.
46517 2012-03-05 Andreas Jaeger <aj@suse.de>
46519 * sysdeps/i386/fpu/libm-test-ulps: Update.
46521 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46524 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46525 (__ieee754_pow): Save and restore rounding mode and use
46526 round-to-nearest for main computations.
46527 * math/libm-test.inc (pow_test_tonearest): New function.
46528 (pow_test_towardzero): Likewise.
46529 (pow_test_downward): Likewise.
46530 (pow_test_upward): Likewise.
46531 (main): Call the new functions.
46532 * sysdeps/i386/fpu/libm-test-ulps: Update.
46533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46536 * math/libm-test.inc (cosh_test_tonearest): New function.
46537 (cosh_test_towardzero): Likewise.
46538 (cosh_test_downward): Likewise.
46539 (cosh_test_upward): Likewise.
46540 (sinh_test_tonearest): Likewise.
46541 (sinh_test_towardzero): Likewise.
46542 (sinh_test_downward): Likewise.
46543 (sinh_test_upward): Likewise.
46544 (main): Call the new functions.
46545 * sysdeps/i386/fpu/libm-test-ulps: Update.
46546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46548 2012-03-05 Tom de Vries <tom@codesourcery.com>
46550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46551 default stack guard is set in last bytes.
46552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46554 2012-03-05 Kees Cook <keescook@chromium.org>
46556 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46559 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46560 possibly allocate from heap instead of stack.
46561 * stdio-common/bug-vfprintf-nargs.c: New file.
46562 * stdio-common/Makefile (tests): Add nargs overflow test.
46564 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46568 2012-03-03 Marek Polacek <polacek@redhat.com>
46570 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46571 * math/math_private.h: Likewise.
46572 * stdlib/tst-strtod.c: Likewise.
46573 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46574 * sysdeps/x86_64/bits/atomic.h: Likewise.
46576 2012-03-02 David S. Miller <davem@davemloft.net>
46578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46582 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46583 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46584 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46585 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46587 2012-03-02 Roland McGrath <roland@hack.frob.com>
46590 * manual/examples/README: New file, says the example source files
46591 can be used under GPL>=2.
46592 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46593 line containing just "*/".
46594 * manual/examples/add.c: Add copyright header (GPL>=2).
46595 * manual/examples/argp-ex1.c: Likewise.
46596 * manual/examples/argp-ex2.c: Likewise.
46597 * manual/examples/argp-ex3.c: Likewise.
46598 * manual/examples/argp-ex4.c: Likewise.
46599 * manual/examples/atexit.c: Likewise.
46600 * manual/examples/db.c: Likewise.
46601 * manual/examples/dir.c: Likewise.
46602 * manual/examples/dir2.c: Likewise.
46603 * manual/examples/execinfo.c: Likewise.
46604 * manual/examples/filecli.c: Likewise.
46605 * manual/examples/filesrv.c: Likewise.
46606 * manual/examples/fmtmsgexpl.c: Likewise.
46607 * manual/examples/genpass.c: Likewise.
46608 * manual/examples/inetcli.c: Likewise.
46609 * manual/examples/inetsrv.c: Likewise.
46610 * manual/examples/isockad.c: Likewise.
46611 * manual/examples/longopt.c: Likewise.
46612 * manual/examples/memopen.c: Likewise.
46613 * manual/examples/memstrm.c: Likewise.
46614 * manual/examples/mkfsock.c: Likewise.
46615 * manual/examples/mkisock.c: Likewise.
46616 * manual/examples/mygetpass.c: Likewise.
46617 * manual/examples/pipe.c: Likewise.
46618 * manual/examples/popen.c: Likewise.
46619 * manual/examples/rprintf.c: Likewise.
46620 * manual/examples/search.c: Likewise.
46621 * manual/examples/select.c: Likewise.
46622 * manual/examples/setjmp.c: Likewise.
46623 * manual/examples/sigh1.c: Likewise.
46624 * manual/examples/sigusr.c: Likewise.
46625 * manual/examples/stpcpy.c: Likewise.
46626 * manual/examples/strdupa.c: Likewise.
46627 * manual/examples/strftim.c: Likewise.
46628 * manual/examples/strncat.c: Likewise.
46629 * manual/examples/subopt.c: Likewise.
46630 * manual/examples/swapcontext.c: Likewise.
46631 * manual/examples/termios.c: Likewise.
46632 * manual/examples/testopt.c: Likewise.
46633 * manual/examples/testpass.c: Likewise.
46634 * manual/examples/timeval_subtract.c: Likewise.
46637 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46639 * manual/timeval_subtract.c.texi: ... here, new file.
46641 2012-03-02 David S. Miller <davem@davemloft.net>
46643 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46645 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46648 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46649 (__sin): Save and restore rounding mode and use round-to-nearest
46650 for all computations.
46651 (__cos): Save and restore rounding mode and use round-to-nearest
46652 for all computations.
46653 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46655 (tan): Save and restore rounding mode and use round-to-nearest for
46657 * math/libm-test.inc (cos_test_tonearest): New function.
46658 (cos_test_towardzero): Likewise.
46659 (cos_test_downward): Likewise.
46660 (cos_test_upward): Likewise.
46661 (sin_test_tonearest): Likewise.
46662 (sin_test_towardzero): Likewise.
46663 (sin_test_downward): Likewise.
46664 (sin_test_upward): Likewise.
46665 (tan_test_tonearest): Likewise.
46666 (tan_test_towardzero): Likewise.
46667 (tan_test_downward): Likewise.
46668 (tan_test_upward): Likewise.
46669 (main): Call the new functions.
46670 * sysdeps/i386/fpu/libm-test-ulps: Update.
46671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46675 small n, then large n, before computing and testing k+n.
46676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46681 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46682 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46689 * math/libm-test.inc (scalbn_test): Add more tests.
46690 (scalbln_test): Likewise.
46692 * manual/filesys.texi (mode_t): Describe constraints on size and
46693 signedness, not exact equivalence to a particular type.
46695 (ino64_t): Likewise.
46697 (nlink_t): Likewise.
46698 (blkcnt_t): Likewise.
46699 (blkcnt64_t): Likewise.
46700 * manual/llio.texi (off_t): Likewise.
46703 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46704 (__ieee754_exp): Save and restore rounding mode and use
46705 round-to-nearest for all computations.
46706 * math/libm-test.inc (exp_test_tonearest): New function.
46707 (exp_test_towardzero): Likewise.
46708 (exp_test_downward): Likewise.
46709 (exp_test_upward): Likewise.
46710 (main): Call the new functions.
46711 * sysdeps/i386/fpu/libm-test-ulps: Update.
46712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46714 2012-03-01 Chris Demetriou <cgd@google.com>
46716 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46717 have predictable order.
46719 2012-03-01 David S. Miller <davem@davemloft.net>
46721 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46723 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46724 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46725 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46726 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46728 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46729 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46730 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46732 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46733 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46734 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46735 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46736 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46741 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46744 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46745 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46747 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46748 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46753 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46754 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46760 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46761 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46762 * sysdeps/sparc/elf/configure: Regenerated.
46764 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46766 * configure.in (AS, LD): Require binutils 2.20 or later.
46767 * configure: Regenerated.
46768 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46769 as required minimum version.
46770 * INSTALL: Regenerated.
46774 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46775 before squaring exponent.
46776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46777 bottom long double and 27 bits of top long double before squaring
46779 * math/libm-test.inc (erfc_test): Add more tests.
46780 * sysdeps/i386/fpu/libm-test-ulps: Update.
46781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46784 2012-03-01 Kai Tietz <ktietz@redhat.com>
46786 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46787 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46788 containing bit-fields.
46789 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46790 * soft-fp/single.h (_FP_UNION_S): Likewise.
46791 * soft-fp/double.h (_FP_UNION_D): Likewise.
46793 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46796 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46797 not include ../strcmp.S.
46798 [USE_AS_STRNCASECMP_L]: Likewise.
46799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46800 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46801 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46802 (__strncasecmp_l_ia32): Define as alias to
46803 __strncasecmp_l_nonascii.
46806 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46807 * sysdeps/i386/fpu/libm-test-ulps: Update.
46808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46810 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46813 2012-02-29 Jeff Law <law@redhat.com>
46815 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46816 out of bounds read.
46818 2012-02-29 Marek Polacek <polacek@redhat.com>
46821 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46822 * elf/Makefile: Add rules to run tst-unused-dep.out.
46824 2012-02-28 David S. Miller <davem@davemloft.net>
46826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46833 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46835 * math/libm-test.inc (llround_test): Move one test from
46836 lround_test. Use TEST_f_L in moved test.
46837 (lround_test): Move misplaced test to llround_test. Add testcase
46840 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46842 * sysdeps/x86_64/fpu/e_expf.S: New file.
46843 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46845 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46848 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46849 of remain_len that may cause incomplete multi-byte character and
46851 * posix/bug-regex33.c: New file.
46852 * posix/Makefile (tests): Add bug-regex33.
46854 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46856 * manual/macros.texi: New file.
46857 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46858 * manual/libc.texinfo: Include macros.texi.
46859 * manual/creatute.texi: Likewise.
46860 * manual/install.texi: Likewise.
46861 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46862 @glibcadj{} in references to the GNU C Library.
46863 * manual/charset.texi: Likewise.
46864 * manual/conf.texi: Likewise.
46865 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46866 when not using those macros.
46867 * manual/creature.texi: Likewise.
46868 * manual/crypt.texi: Likewise.
46869 * manual/errno.texi: Likewise.
46870 * manual/filesys.texi: Likewise.
46871 * manual/header.texi: Likewise.
46872 * manual/install.texi: Likewise.
46873 * manual/intro.texi: Likewise.
46874 * manual/io.texi: Likewise.
46875 * manual/job.texi: Likewise.
46876 * manual/lang.texi: Likewise.
46877 * manual/libc.texiinfo: Likewise.
46878 * manual/llio.texi: Likewise.
46879 * manual/locale.texi: Likewise.
46880 * manual/maint.texi: Likewise.
46881 * manual/math.texi: Likewise.
46882 * manual/memory.texi: Likewise.
46883 * manual/message.texi: Likewise.
46884 * manual/nss.texi: Likewise.
46885 * manual/pattern.texi: Likewise.
46886 * manual/process.texi: Likewise.
46887 * manual/resource.texi: Likewise.
46888 * manual/search.texi: Likewise.
46889 * manual/setjmp.texi: Likewise.
46890 * manual/signal.texi: Likewise.
46891 * manual/socket.texi: Likewise.
46892 * manual/startup.texi: Likewise.
46893 * manual/stdio.texi: Likewise.
46894 * manual/string.texi: Likewise.
46895 * manual/sysinfo.texi: Likewise.
46896 * manual/syslog.texi: Likewise.
46897 * manual/terminal.texi: Likewise.
46898 * manual/time.texi: Likewise.
46899 * manual/users.texi: Likewise.
46900 * INSTALL: Regenerated.
46901 * NOTES: Regenerated.
46902 * sysdeps/gnu/errlist.c: Regenerated.
46904 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46906 * include/dirent.h: Include <dirstream.h> before
46909 2012-02-28 David S. Miller <davem@davemloft.net>
46911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46912 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46913 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46916 2012-02-27 David S. Miller <davem@davemloft.net>
46918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46920 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46921 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46924 frame pointer instead of stack pointer relative arg slot.
46925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46929 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46932 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46934 2012-02-27 David S. Miller <davem@davemloft.net>
46936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46942 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46945 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46947 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46948 later. Allow versions 5-9.
46949 * configure: Regenerated.
46950 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46951 required minimum version and 4.6 as recommended version. Do not
46952 mention bugs in GCC 2.7 and 2.8.
46953 * INSTALL: Regenerated.
46955 2012-02-27 David S. Miller <davem@davemloft.net>
46957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46963 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46964 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46967 manipulate bits before adding and subtracting TWO112[sx].
46968 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46970 2012-02-27 Roland McGrath <roland@hack.frob.com>
46973 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46974 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46975 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46976 being in POSIX, because they are in 1003.1-2008.
46978 * rt/tst-aio.c: Include <fcntl.h>.
46979 * rt/tst-aio7.c: Likewise.
46980 * rt/tst-aio64.c: Likewise.
46982 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46984 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46986 * manual/install.texi (--with-headers): Describe headers as
46987 interface headers, not private headers.
46988 (Specific advice for GNU/Linux systems): Describe use of headers
46989 from "make headers_install", not private headers from older
46991 * INSTALL: Regenerated.
46992 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46994 * sysdeps/unix/sysv/linux/configure: Regenerated.
46996 * manual/llio.texi (fclean): Remove documentation.
46998 * manual/Makefile (libc-texi-generated): New variable. Include
47000 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47001 $(libc-texi-generated), not duplicated list of files.
47002 (version.texi, stamp-version): New rules.
47003 (realclean): Remove $(libc-texi-generated), not individual files
47004 from that list. Do not remove dir-add.texinfo.
47005 * manual/libc.texinfo: Comment out uses of edition numbers and
47006 references to printed manual. Remove last-updated dates.
47007 (EDITION): Comment out.
47009 (VERSION, UPDATED): Remove.
47010 (version.texi): Include.
47012 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47014 * sysdeps/posix/spawni.c: Include <signal.h>.
47015 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47016 * sysdeps/pthread/aio_fsync.c: Likewise.
47018 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47020 * conform/Makefile (tests): Run only when not cross-compiling and
47021 when fast-check is not defined.
47023 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47024 * conform/data/limits.h-data: Fixes for POSIX2008.
47025 * conform/run-conformtest.sh: Run all tests.
47026 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47028 * include/bits/dlfcn.h: Likewise.
47029 * include/langinfo.h: Likewise.
47030 * include/monetary.h: Likewise.
47031 * include/sys/poll.h: Likewise.
47033 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47035 * posix/spawn.h: Define __need_sigset_t.
47036 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47037 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47038 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47039 to get sigevent_t only.
47040 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47041 only for __USE_GNU.
47042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47043 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47044 process_vm_writev only for __USE_GNU.
47045 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47047 * conform/Makefile: For now ignore errors from run-conformtest.
47048 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47049 POSIX to avoid namespace pollution. Don't prepend headers.
47050 * conform/data/aio.h-data: Fixes for POSIX testing.
47051 * conform/data/fcntl.h-data: Likewise.
47052 * conform/data/glob.h-data: Likewise.
47053 * conform/data/grp.h-data: Likewise.
47054 * conform/data/pthread.h-data: Likewise.
47055 * conform/data/pwd.h-data: Likewise.
47056 * conform/data/signal.h-data: Likewise.
47057 * conform/data/spawn.h-data: Likewise.
47058 * conform/data/stdio.h-data: Likewise.
47059 * conform/data/stdlib.h-data: Likewise.
47060 * conform/data/stropts.h-data: Likewise.
47061 * conform/data/sys/mman.h-data: Likewise.
47062 * conform/data/sys/stat.h-data: Likewise.
47063 * conform/data/sys/types.h-data: Likewise.
47064 * conform/data/sys/wait.h-data: Likewise.
47065 * conform/data/time.h-data: Likewise.
47066 * conform/data/unistd.h-data: Likewise.
47067 * conform/data/utime.h-data: Likewise.
47069 * io/sys/stat.h: fchmod was always in POSIX.
47070 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47071 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47072 * rt/aio.h: Define __need_timespec before including <time.h>.
47073 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47074 struct. Add forward declaration of pthread_attr_t and use it in
47076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47078 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47079 always remove CLK_TCK definition.
47081 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47083 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47085 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47087 * conform/run-conformtest.sh: New file.
47088 * conform/Makefile: Run run-conformtest for tests.
47089 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47092 * conform/data/uchar.h-data: New file.
47093 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47094 * conform/data/arpa/inet.h-data: Likewise.
47095 * conform/data/assert.h-data: Likewise.
47096 * conform/data/complex.h-data: Likewise.
47097 * conform/data/cpio.h-data: Likewise.
47098 * conform/data/ctype.h-data: Likewise.
47099 * conform/data/dirent.h-data: Likewise.
47100 * conform/data/dlfcn.h-data: Likewise.
47101 * conform/data/errno.h-data: Likewise.
47102 * conform/data/fcntl.h-data: Likewise.
47103 * conform/data/float.h-data: Likewise.
47104 * conform/data/fmtmsg.h-data: Likewise.
47105 * conform/data/fnmatch.h-data: Likewise.
47106 * conform/data/ftw.h-data: Likewise.
47107 * conform/data/glob.h-data: Likewise.
47108 * conform/data/grp.h-data: Likewise.
47109 * conform/data/iconv.h-data: Likewise.
47110 * conform/data/inttypes.h-data: Likewise.
47111 * conform/data/langinfo.h-data: Likewise.
47112 * conform/data/libgen.h-data: Likewise.
47113 * conform/data/limits.h-data: Likewise.
47114 * conform/data/locale.h-data: Likewise.
47115 * conform/data/math.h-data: Likewise.
47116 * conform/data/monetary.h-data: Likewise.
47117 * conform/data/mqueue.h-data: Likewise.
47118 * conform/data/ndbm.h-data: Likewise.
47119 * conform/data/net/if.h-data: Likewise.
47120 * conform/data/netdb.h-data: Likewise.
47121 * conform/data/netinet/in.h-data: Likewise.
47122 * conform/data/nl_types.h-data: Likewise.
47123 * conform/data/poll.h-data: Likewise.
47124 * conform/data/pthread.h-data: Likewise.
47125 * conform/data/pwd.h-data: Likewise.
47126 * conform/data/regex.h-data: Likewise.
47127 * conform/data/sched.h-data: Likewise.
47128 * conform/data/search.h-data: Likewise.
47129 * conform/data/semaphore.h-data: Likewise.
47130 * conform/data/setjmp.h-data: Likewise.
47131 * conform/data/signal.h-data: Likewise.
47132 * conform/data/spawn.h-data: Likewise.
47133 * conform/data/stdarg.h-data: Likewise.
47134 * conform/data/stdio.h-data: Likewise.
47135 * conform/data/stdlib.h-data: Likewise.
47136 * conform/data/string.h-data: Likewise.
47137 * conform/data/strings.h-data: Likewise.
47138 * conform/data/stropts.h-data: Likewise.
47139 * conform/data/sys/ipc.h-data: Likewise.
47140 * conform/data/sys/mman.h-data: Likewise.
47141 * conform/data/sys/msg.h-data: Likewise.
47142 * conform/data/sys/resource.h-data: Likewise.
47143 * conform/data/sys/select.h-data: Likewise.
47144 * conform/data/sys/sem.h-data: Likewise.
47145 * conform/data/sys/shm.h-data: Likewise.
47146 * conform/data/sys/socket.h-data: Likewise.
47147 * conform/data/sys/stat.h-data: Likewise.
47148 * conform/data/sys/statvfs.h-data: Likewise.
47149 * conform/data/sys/time.h-data: Likewise.
47150 * conform/data/sys/timeb.h-data: Likewise.
47151 * conform/data/sys/times.h-data: Likewise.
47152 * conform/data/sys/types.h-data: Likewise.
47153 * conform/data/sys/uio.h-data: Likewise.
47154 * conform/data/sys/un.h-data: Likewise.
47155 * conform/data/sys/utsname.h-data: Likewise.
47156 * conform/data/sys/wait.h-data: Likewise.
47157 * conform/data/syslog.h-data: Likewise.
47158 * conform/data/tar.h-data: Likewise.
47159 * conform/data/termios.h-data: Likewise.
47160 * conform/data/utime.h-data: Likewise.
47161 * conform/data/utmpx.h-data: Likewise.
47162 * conform/data/varargs.h-data: Likewise.
47163 * conform/data/wchar.h-data: Likewise.
47164 * conform/data/wctype.h-data: Likewise.
47165 * conform/data/wordexp.h-data: Likewise.
47167 * include/stropts.h: New file.
47168 * include/uchar.h: New file.
47169 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47170 * include/assert.h: Likewise.
47171 * include/ctype.h: Likewise.
47172 * include/dirent.h: Likewise.
47173 * include/dlfcn.h: Likewise.
47174 * include/fcntl.h: Likewise.
47175 * include/fnmatch.h: Likewise.
47176 * include/glob.h: Likewise.
47177 * include/grp.h: Likewise.
47178 * include/libio.h: Likewise.
47179 * include/locale.h: Likewise.
47180 * include/math.h: Likewise.
47181 * include/net/if.h: Likewise.
47182 * include/netdb.h: Likewise.
47183 * include/netinet/in.h: Likewise.
47184 * include/pthread.h: Likewise.
47185 * include/pwd.h: Likewise.
47186 * include/regex.h: Likewise.
47187 * include/sched.h: Likewise.
47188 * include/search.h: Likewise.
47189 * include/setjmp.h: Likewise.
47190 * include/signal.h: Likewise.
47191 * include/stdio.h: Likewise.
47192 * include/stdlib.h: Likewise.
47193 * include/string.h: Likewise.
47194 * include/sys/cdefs.h: Likewise.
47195 * include/sys/mman.h: Likewise.
47196 * include/sys/msg.h: Likewise.
47197 * include/sys/resource.h: Likewise.
47198 * include/sys/select.h: Likewise.
47199 * include/sys/socket.h: Likewise.
47200 * include/sys/stat.h: Likewise.
47201 * include/sys/statvfs.h: Likewise.
47202 * include/sys/time.h: Likewise.
47203 * include/sys/times.h: Likewise.
47204 * include/sys/uio.h: Likewise.
47205 * include/sys/utsname.h: Likewise.
47206 * include/sys/wait.h: Likewise.
47207 * include/termios.h: Likewise.
47208 * include/time.h: Likewise.
47209 * include/ulimit.h: Likewise.
47210 * include/unistd.h: Likewise.
47211 * include/utime.h: Likewise.
47212 * include/wchar.h: Likewise.
47213 * include/wctype.h: Likewise.
47214 * include/wordexp.h: Likewise.
47216 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47218 * time/time.h: TIME_UTC must be a macro.
47219 Make timespec_get available for ISO C11 only as well.
47221 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47223 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47224 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47226 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47228 * configure.in: Use -o not -a in test for unsupported multi-arch.
47230 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47232 * manual/texinfo.tex: Update to version 2012-01-19.16.
47234 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47236 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47238 2012-02-24 Roland McGrath <roland@hack.frob.com>
47241 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47242 * manual/fdl-1.3.texi: New file.
47243 * manual/fdl-1.1.texi: File removed.
47246 * manual/libc.texinfo (FDL_VERSION): New @set.
47247 Use it for mention of FDL in cover text.
47248 (Documentation License): Use it in @include file name.
47250 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47251 Roland McGrath <roland@hack.frob.com>
47254 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47255 (not LONG_LONG_MAX and LONG_LONG_MIN.
47256 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47257 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47259 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47261 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47266 manipulate bits before adding and subtracting TWO23[sx].
47267 * math/libm-test.inc (nearbyint_test): Add more tests.
47269 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47272 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47273 bits before adding and subtracting TWO23[sx].
47274 * math/libm-test.inc (rint_test): Add more tests.
47275 (rint_test_tonearest): Likewise.
47276 (rint_test_towardzero): Likewise.
47277 (rint_test_downward): Likewise.
47278 (rint_test_upward: Likewise.
47280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47283 * include/stdc-predef.h: New file. Extracted from features.h.
47284 * include/features.h: Include stdc-predef.h.
47285 * Makefile (headers): Add stdc-predef.h.
47286 * CONFORMANCE (Compiler limitations): Update.
47288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47290 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47292 2012-02-21 David S. Miller <davem@davemloft.net>
47294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47297 2012-02-20 David S. Miller <davem@davemloft.net>
47299 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47300 using a normal save/restore sequence, rather than allocating a
47301 dummy stack frame just to store a frame pointer and restore.
47302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47306 * manual/install.texi: Fix stray word in line-wrapped comment.
47308 2012-02-20 David S. Miller <davem@davemloft.net>
47310 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47311 both binutils and gcc support GOTDATA.
47313 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47314 "rd %pc" in the PIC register setup sequences.
47316 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47317 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47319 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47325 (SYSCALL_ERROR_HANDLER): Likewise.
47326 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47329 (SYSCALL_ERROR_HANDLER): Likewise.
47331 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47332 (HAVE_GCC_GOTDATA): New.
47333 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47334 relocation support in both binutils and gcc.
47335 * sysdeps/sparc/elf/configure: Regenerate.
47337 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47338 * sysdeps/sparc/sparc32/elf/configure: Delete.
47339 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47340 * sysdeps/sparc/sparc64/elf/configure: Delete.
47341 * sysdeps/sparc/elf/configure.in: New file.
47342 * sysdeps/sparc/elf/configure: Generate.
47344 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47345 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47346 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47347 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47348 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47350 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47352 * manual/install.texi: Do not mention specific glibc version
47354 * manual/libc.texinfo (VERSION, UPDATED): Update.
47355 (@copying): Use @copyright{} and range of years.
47357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47360 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47361 [crti.S not in sysdirs] (generated): Do not append.
47362 [crti.S not in sysdirs] (omit-deps): Likewise.
47363 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47364 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47365 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47366 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47367 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47369 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47370 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47371 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47372 * csu/defs.awk: Remove file.
47373 * sysdeps/generic/initfini.c: Likewise.
47374 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47376 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47379 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47381 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47382 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47386 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47388 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47389 (__EPOLL_PACKED): Define to empty if not defined by
47391 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47395 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47397 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47398 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47399 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47400 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47402 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47406 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47408 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47415 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47420 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47422 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47423 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47425 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47427 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47430 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47432 * math/w_acos.c: Use non-signaling floating-point comparisons.
47433 * math/w_acosf.c: Likewise.
47434 * math/w_acosh.c: Likewise.
47435 * math/w_acoshf.c: Likewise.
47436 * math/w_acoshl.c: Likewise.
47437 * math/w_acosl.c: Likewise.
47438 * math/w_asin.c: Likewise.
47439 * math/w_asinf.c: Likewise.
47440 * math/w_asinl.c: Likewise.
47441 * math/w_atanh.c: Likewise.
47442 * math/w_atanhf.c: Likewise.
47443 * math/w_atanhl.c: Likewise.
47444 * math/w_exp2.c: Likewise.
47445 * math/w_exp2f.c: Likewise.
47446 * math/w_exp2l.c: Likewise.
47447 * math/w_j0.c: Likewise.
47448 * math/w_j0f.c: Likewise.
47449 * math/w_j0l.c: Likewise.
47450 * math/w_j1.c: Likewise.
47451 * math/w_j1f.c: Likewise.
47452 * math/w_j1l.c: Likewise.
47453 * math/w_jn.c: Likewise.
47454 * math/w_jnf.c: Likewise.
47455 * math/w_log.c: Likewise.
47456 * math/w_log10.c: Likewise.
47457 * math/w_log10f.c: Likewise.
47458 * math/w_log10l.c: Likewise.
47459 * math/w_log2.c: Likewise.
47460 * math/w_log2f.c: Likewise.
47461 * math/w_log2l.c: Likewise.
47462 * math/w_logf.c: Likewise.
47463 * math/w_logl.c: Likewise.
47464 * math/w_sqrt.c: Likewise.
47465 * math/w_sqrtf.c: Likewise.
47466 * math/w_sqrtl.c: Likewise.
47467 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47468 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47473 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47476 * manual/string.texi (strnlen): Use correct parameter name in
47477 equivalent expression.
47479 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47482 * manual/users.texi (seteuid): Consistently use neweuid for
47485 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47488 * manual/nss.texi (Services in the NSS configuration): Correct
47489 list of services in example configuration file.
47491 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47494 * manual/arith.texi: Remove statements about negative zero
47495 behaving identically to zero.
47497 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47500 * manual/install.texi: Do not document upgrading from libc5.
47502 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47505 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47507 2012-02-18 David S. Miller <davem@davemloft.net>
47509 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47510 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47511 %o7 across the call.
47512 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47515 SETUP_PIC_REG_LEAF.
47516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47517 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47518 * sysdeps/sparc/crtn.S: Likewise.
47520 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47522 * aout/Makefile: Remove.
47524 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47527 * manual/examples/argp-ex1.c (main): Format definition in GNU
47529 * manual/examples/argp-ex2.c (main): Likewise.
47530 * manual/examples/argp-ex3.c (main): Likewise.
47531 * manual/examples/argp-ex4.c (main): Likewise.
47532 * manual/examples/longopt.c (main): Use new-style prototype
47534 * manual/examples/strncat.c (main): Specify return type and use
47535 (void) for arguments.
47536 * manual/examples/subopt.c (main): Use char **argv argument.
47538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47541 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47544 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47547 * manual/string.texi (strchr): Change when strchrnul is
47550 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47553 * manual/locale.texi (setlocale): Document LOCPATH.
47555 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47558 * manual/process.texi (execle): Move @dots{} before last argument.
47560 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47563 * manual/charset.texi (Generic Charset Conversion): Fix typo
47564 (LC_TYPE -> LC_CTYPE).
47566 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47569 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47570 (scalbnf): Likewise.
47571 (scalbnl): Likewise.
47572 (scalbln): Likewise.
47573 (scalblnf): Likewise.
47574 (scalblnl): Likewise.
47575 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47576 (vwarnx): Likewise.
47579 * manual/filesys.texi (telldir): Use braces around return type.
47580 * manual/llio.texi (mmap): Add space after comma.
47581 (mmap64): Likewise.
47582 * manual/math.texi (jn): Use @var{} on parameter names.
47588 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47590 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47592 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47593 (sched_get_priority_max): Likewise.
47594 * manual/signal.texi (sigvec): Add space after comma.
47595 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47597 (if_indextoname): Likewise.
47598 (if_freenameindex): Likewise.
47599 (sendto): Use ',' instead of '.' in prototype.
47600 * manual/startup.texi (syscall): Use @dots{} instead of literal
47602 * manual/stdio.texi (__fpending): Separate initial words of
47603 paragraph from @deftypefun line.
47604 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47606 (vsyslog): Use @var{} on parameter names.
47607 * manual/terminal.texi (stty): Use @var{} on parameter names.
47608 * manual/users.texi (getutmp): Use @var{} on parameter names.
47609 (getutmpx): Likewise.
47611 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47614 * manual/stdio.texi (fopen): Fix typos in description of
47617 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47620 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47621 get clock_id definition.
47623 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47626 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47627 (madvise): Cast every argument to void on its own.
47629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47632 * manual/startup.texi (Exit Status): Fix typo.
47634 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47637 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47638 * manual/examples/argp-ex2.c: Likewise.
47639 * manual/examples/argp-ex3.c: Likewise.
47641 2012-02-16 Richard Henderson <rth@redhat.com>
47643 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47644 * sysdeps/s390/s390-32/initfini.c: Remove.
47645 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47646 * sysdeps/s390/s390-64/initfini.c: Remove.
47648 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47650 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47651 compiler output for sysdeps/generic/initfini.c.
47652 * sysdeps/sh/elf/initfini.c: Remove file.
47654 2012-02-16 David S. Miller <davem@davemloft.net>
47657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47659 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47660 * sysdeps/sparc/crti.S: New file.
47661 * sysdeps/sparc/crtn.S: New file.
47662 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47663 * sysdeps/sparc/sparc64/Makefile: Likewise.
47665 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47668 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47670 2012-02-15 Roland McGrath <roland@hack.frob.com>
47673 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47675 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47676 (write, read, close): Likewise.
47677 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47679 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47681 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47682 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47683 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47684 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47686 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47690 2012-02-14 Marek Polacek <polacek@redhat.com>
47692 * sysdeps/x86_64/crti.S: New file.
47693 * sysdeps/x86_64/crtn.S: New file.
47694 * sysdeps/x86_64/elf/initfini.c: Remove file.
47696 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47698 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47699 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47700 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47701 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47703 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47707 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47709 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47711 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47712 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47714 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47718 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47720 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47721 __feraiseexcept instead of feraiseexcept.
47723 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47724 nanosleep invocations.
47725 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47726 strings, and add error checking for a nanosleep invocations.
47728 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47730 Replace FSF snail mail address with URLs, as per GNU coding standards.
47731 Most of the snail mail addresses were wrong anyway, and omitting
47732 them makes the source code easier to maintain. Almost all of the
47733 changes are to license notices and to locale LC_IDENTIFICATION
47734 addresses, except for this one:
47735 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47736 not its snail mail address.
47738 2012-02-09 Richard Henderson <rth@twiddle.net>
47740 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47741 of kernel-features.h.
47743 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47745 2012-02-08 Marek Polacek <polacek@redhat.com>
47747 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47748 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47749 * sysdeps/gnu/_G_config.h: Likewise.
47750 * sysdeps/generic/_G_config.h: Likewise.
47752 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47754 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47758 * sysdeps/powerpc/powerpc32/crti.S: New file.
47759 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47760 * sysdeps/powerpc/powerpc64/crti.S: New file.
47761 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47763 * Makeconfig (have-initfini): Don't set.
47764 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47765 * configure.in (nopic_initfini): Don't substitute.
47766 * config.h.in (HAVE_INITFINI): Don't #undef.
47767 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47768 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47770 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47772 Support crti.S and crtn.S provided directly by architectures.
47773 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47774 [crti.S in sysdirs] (omit-deps): Likewise.
47775 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47776 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47777 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47778 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47779 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47780 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47781 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47782 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47783 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47784 compiler output for sysdeps/generic/initfini.c.
47785 * sysdeps/i386/elf/Makefile: Remove file.
47786 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47788 2012-02-07 Marek Polacek <polacek@redhat.com>
47790 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47791 * sysdeps/gnu/_G_config.h: Likewise.
47792 * sysdeps/mach/hurd/_G_config.h: Likewise.
47794 2012-02-07 Marek Polacek <polacek@redhat.com>
47796 * math/Makefile (tests): Add tst-CMPLX2.
47797 * math/tst-CMPLX2.c: New file.
47799 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47803 * math/libm-test.inc (jn_test): Add missing L suffix.
47805 2012-02-06 Marek Polacek <polacek@redhat.com>
47807 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47808 * sysdeps/i386/fpu/e_powf.S: Likewise.
47809 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47812 * sysdeps/i386/fpu/e_pow.S: Likewise.
47813 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47815 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47816 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47817 * sysdeps/i386/fpu/e_log2.S: Likewise.
47818 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47820 * sysdeps/i386/fpu/e_powl.S: Likewise.
47821 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47824 * sysdeps/i386/fpu/e_logl.S: Likewise.
47825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47826 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47831 * sysdeps/i386/fpu/e_log.S: Likewise.
47832 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47834 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47835 * sysdeps/i386/fpu/e_logf.S: Likewise.
47836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47838 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47839 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47840 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47841 * sysdeps/i386/fpu/e_log10.S: Likewise.
47842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47847 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47848 * sysdeps/i386/asm-syntax.h: Likewise.
47849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47852 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47853 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47858 * sysdeps/powerpc/sysdep.h: Likewise.
47859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47860 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47862 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47865 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47867 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47869 * sysdeps/i386/sysdep.h: Include <features.h>.
47870 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47873 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47875 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47877 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47880 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47882 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47883 (SETUP_PIC_REG): Use GET_PC_THUNK.
47884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47887 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47890 for non-PIC compilation.
47891 (SETUP_PIC_REG): Add .p2align directive.
47892 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47893 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47897 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47898 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47900 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47901 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47902 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47903 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47904 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47905 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47906 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47907 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47908 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47924 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47927 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47928 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47929 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47930 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47931 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47932 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47936 * math/tst-CMPLX.c: Include <stdio.h>.
47938 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47940 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47943 * sysdeps/sparc/bits/mathdef.h: Likewise.
47945 2012-01-31 Marek Polacek <polacek@redhat.com>
47947 * libio/libio.h: Don't define _PARAMS.
47948 * locale/programs/config.h: Don't define PARAMS.
47949 * stdlib/strtol_l.c: Likewise.
47950 (__strtol_l): Remove PARAMS from the prototype.
47952 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47954 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47955 names. Just use the correct names. Remove unnecessary wrapper
47957 * malloc/arena.c: Likewise.
47958 * malloc/hooks.c: Likewise.
47960 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47961 ARENA_TEST says not to. Simplify test for creation of a new arena.
47962 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47964 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47966 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47968 (update_get_addr): New function.
47969 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47970 GET_ADDR_MODULE parameter.
47972 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47974 * crypt/cert.c: Remove __STDC__ conditionals.
47975 * crypt/crypt-entry.c: Likewise.
47976 * crypt/crypt_util.c: Likewise.
47977 * libio/filedoalloc.c: Likewise.
47978 * libio/fileops.c: Likewise.
47979 * libio/genops.c: Likewise.
47980 * libio/iofclose.c: Likewise.
47981 * libio/iofdopen.c: Likewise.
47982 * libio/iofopen.c: Likewise.
47983 * libio/iofopen64.c: Likewise.
47984 * libio/iogetdelim.c: Likewise.
47985 * libio/iopopen.c: Likewise.
47986 * libio/obprintf.c: Likewise.
47987 * libio/oldfileops.c: Likewise.
47988 * libio/oldiofclose.c: Likewise.
47989 * libio/oldiofdopen.c: Likewise.
47990 * libio/oldiofopen.c: Likewise.
47991 * libio/oldiopopen.c: Likewise.
47992 * libio/wfiledoalloc.c: Likewise.
47993 * libio/wgenops.c: Likewise.
47994 * locale/programs/xmalloc.c: Likewise.
47995 * misc/syslog.c: Likewise.
47996 * stdio-common/xbug.c: Likewise.
47997 * string/memchr.c: Likewise.
47998 * string/memcmp.c: Likewise.
47999 * string/memrchr.c: Likewise.
48000 * string/rawmemchr.c: Likewise.
48001 * sysdeps/posix/getcwd.c: Likewise.
48002 * time/strftime_l.c: Likewise.
48004 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48006 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48007 * config.make.in (config-cflags-sse2avx): Define.
48008 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48011 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48013 * scripts/config.guess: Update from upstream config git repository.
48014 * scripts/config.sub: Likewise.
48016 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48018 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48020 (R_TILEPRO_*, R_TILEGX_*): New macros.
48022 * scripts/firstversions.awk: Fix bug in version range handling.
48024 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48026 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48028 * include/sys/epoll.h: New file.
48029 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48032 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48034 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48035 Avoid unnecessary __WORDSIZE == 64 test.
48036 (fmaxf): Use VEX format if possible.
48041 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48042 * math/math_private.h: Remove libc_fegetround* and
48044 * sysdeps/i386/configure.in: Check for -msse2avx.
48045 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48046 also if SSE2AVX is defined.
48047 Remove libc_fegetround* and libc_fesetround*.
48048 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48049 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48058 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48060 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48066 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48069 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48071 * Makeconfig (libm): Define.
48072 * elf/Makefile: Add rules to build and run tst-relsort1.
48073 * elf/tst-relsort1.c: New file.
48074 * elf/tst-relsort1mod1.c: New file.
48075 * elf/tst-relsort1mod2.c: New file.
48077 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48079 * math/s_ldexp.c: Remove __STDC__ conditionals.
48080 * math/s_ldexpf.c: Likewise.
48081 * math/s_ldexpl.c: Likewise.
48082 * math/s_nextafter.c: Likewise.
48083 * math/s_nexttowardf.c: Likewise.
48084 * math/s_significand.c: Likewise.
48085 * math/s_significandf.c: Likewise.
48086 * math/s_significandl.c: Likewise.
48087 * math/w_jnl.c: Likewise.
48088 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48089 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48090 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48091 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48092 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48094 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48097 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48098 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48105 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48119 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48120 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48125 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48126 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48127 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48128 * sysdeps/ieee754/k_standard.c: Likewise.
48129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48136 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48137 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48148 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48149 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48150 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48151 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48153 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48154 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48179 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48190 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48192 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48193 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48194 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48195 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48198 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48199 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48205 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48208 * sysdeps/ieee754/s_matherr.c: Likewise.
48209 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48210 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48214 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48216 * crypt/md5.h: Remove __STDC__ conditionals.
48217 * libio/libioP.h: Likewise.
48218 * locale/programs/config.h: Likewise.
48219 * sysdeps/generic/sysdep.h: Likewise.
48220 * sysdeps/i386/asm-syntax.h: Likewise.
48221 * sysdeps/s390/asm-syntax.h: Likewise.
48222 * sysdeps/unix/sysdep.h: Likewise.
48223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48226 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48228 * libio/libio.h: Remove __STDC__ conditionals.
48229 * malloc/obstack.h: Likewise.
48230 * math/complex.h: Likewise.
48231 * math/math.h: Likewise.
48232 * sysdeps/generic/_G_config.h: Likewise.
48233 * sysdeps/gnu/_G_config.h: Likewise.
48234 * sysdeps/mach/hurd/_G_config.h: Likewise.
48235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48237 * sysdeps/sparc/bits/mathdef.h: Likewise.
48239 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48242 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48243 Clean up HAS_* macros.
48244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48245 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48253 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48255 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48257 * elf/tst-unique3.cc (gets): Remove declaration.
48258 * elf/tst-unique3lib.cc (gets): Likewise.
48259 * elf/tst-unique3lib2.cc (gets): Likewise.
48260 * elf/tst-unique4.cc (gets): Likewise.
48262 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48264 * include/stdio.h: Add C++ protection. Add gets declarations and
48266 * debug/tst-chk1.c: Don't declare gets here.
48267 * stdio-common/tst-gets.c: Likewise.
48269 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48271 * posix/glob: Remove directory.
48273 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48275 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48277 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48279 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48280 of the non-standard EPFNOSUPPORT.
48282 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48284 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48285 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48286 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48288 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48290 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48292 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48294 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48296 * nscd/grpcache.c (cache_addgr): Likewise.
48297 * nscd/hstcache.c (cache_addhst): Likewise.
48298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48299 * nscd/pwdcache.c (cache_addpw): Likewise.
48300 * nscd/servicescache.c (cache_addserv): Likewise.
48302 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48304 * malloc/malloc.c: Various cleanups.
48305 * malloc/hooks.c: Likewise.
48307 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48308 * stdlib/bug-fmtmsg1.c: New file.
48310 * stdlib/fmtmsg.c (init): Add missing unlock.
48311 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48313 2012-01-12 Marek Polacek <polacek@redhat.com>
48315 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48318 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48320 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48321 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48322 macro to ensure uniqueness of label name.
48323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48326 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48328 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48330 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48331 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48335 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48339 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48343 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48345 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48350 * math/bits/math-finite.h: Add ldexp support.
48352 2012-01-10 Marek Polacek <polacek@redhat.com>
48354 * locale/programs/localedef.h (show_archive_content): Add noreturn
48357 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48359 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48361 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48363 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48365 * io/Makefile (headers): Add bits/poll2.h.
48367 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48370 typo #include statement.
48372 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48374 * include/sys/cdefs.h: Define __attribute_alloc_size.
48375 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48376 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48377 * elf/pldd.c: Likewise.
48378 * iconv/iconv_charmap.c: Likewise.
48379 * iconv/iconvconfig.c: Likewise.
48380 * iconv/strtab.c: Likewise.
48381 * locale/programs/locale.c: Likewise.
48382 * locale/programs/localedef.h: Likewise.
48383 * locale/programs/simple-hash.c: Likewise.
48384 * nscd/nscd.h: Likewise.
48385 * nss/makedb.c: Likewise.
48386 * sysdeps/generic/ldconfig.h: Likewise.
48387 * locale/programs/localedef.c: Remove xmalloc prototype.
48388 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48390 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48392 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48395 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48397 * math/Makefile (tests): Add tst-CMPLX.
48398 * math/tst-CMPLX.c: New file.
48400 * math/complex.h (CMPLXL): Fix typo.
48402 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48403 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48405 * debug/tst-chk1.c: Add poll and ppoll tests.
48406 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48407 * include/sys/poll.h: Add hidden proto for ppoll.
48408 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48409 * sysdeps/mach/hurd/ppoll.c: Likewise.
48410 * io/ppoll.c: Likewise.
48411 * debug/poll_chk.c: New file.
48412 * debug/ppoll_chk.c: New file.
48413 * include/bits/poll2.h: New file.
48414 * io/bits/poll2.h: New file.
48417 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48419 * configure.in: static is always set to yes. Remove.
48420 * config.make.in: Don't set build-static.
48421 * Makeconfig: Remove use of build-static.
48422 * dlfcn/Makefile: Likewise.
48423 * elf/Makefile: Likewise.
48424 * math/Makefile: Likewise.
48425 * misc/Makefile: Likewise.
48426 * nptl/Makefile: Likewise.
48427 * sysdeps/mach/hurd/Makefile: Likewise.
48429 * configure.in: PWD_P is not used anymore.
48430 * config.make.in: Remove PWD_P entry.
48432 * configure.in: Remove last remnants of RANLIB.
48433 No need to check for signed size_t anymore.
48434 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48436 Remove __builtin_expect test because we require at least gcc 3.4.
48437 * aclocal.m4: Likewise.
48439 * wcsmbs/mbrtoc16.c: Implement using towc function.
48440 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48441 * wcsmbs/wcsmbsload.c: Likewise.
48442 * iconv/gconv_simple.c: Likewise.
48443 * iconv/gconv_int.h: Likewise.
48444 * iconv/gconv_builtin.h: Likewise.
48445 * iconv/iconv_prog.c: Remove CHAR16 handling.
48447 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48449 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48451 * configure.in: Remove --with-elf and --enable-bounded options.
48452 Dont set base_machine for ia64. More non-ELF conditions removed.
48453 Remove testing and setting of leading underscore information.
48454 * config.make.in (build-bounded): Set to no.
48455 * config.h.in: Remove NO_UNDERSCORES entry.
48456 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48458 * csu/start.c: Remove !NO_UNDERSCORE code.
48459 * locale/localeinfo.h: Likewise.
48460 * sysdeps/generic/machine-gmon.h: Likewise.
48461 * sysdeps/generic/sysdep.h: Likewise.
48462 * sysdeps/i386/sysdep.h: Likewise.
48463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48464 * sysdeps/mach/sysdep.h: Likewise.
48465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48467 * sysdeps/sh/sysdep.h: Likewise.
48468 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48469 * sysdeps/unix/i386/sysdep.S: Likewise.
48470 * sysdeps/unix/sparc/start.c: Likewise.
48471 * sysdeps/unix/sparc/sysdep.S: Likewise.
48472 * sysdeps/unix/sparc/sysdep.h: Likewise.
48473 * sysdeps/unix/start.c: Likewise.
48474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48475 * sysdeps/x86_64/sysdep.h: Likewise.
48477 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48480 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48482 * argp/argp-fmtstream.h: Use const instead __const.
48483 * argp/argp.h: Likewise.
48484 * assert/assert.h: Likewise.
48485 * bits/fenv.h: Likewise.
48486 * bits/sched.h: Likewise.
48487 * bits/sigset.h: Likewise.
48488 * bits/sigthread.h: Likewise.
48489 * catgets/nl_types.h: Likewise.
48490 * conform/data/pthread.h-data: Likewise.
48491 * crypt/crypt-private.h: Likewise.
48492 * crypt/crypt.h: Likewise.
48493 * crypt/crypt_util.c: Likewise.
48494 * ctype/ctype.h: Likewise.
48495 * debug/execinfo.h: Likewise.
48496 * debug/mbsnrtowcs_chk.c: Likewise.
48497 * debug/mbsrtowcs_chk.c: Likewise.
48498 * debug/wcsnrtombs_chk.c: Likewise.
48499 * debug/wcsrtombs_chk.c: Likewise.
48500 * debug/wcstombs_chk.c: Likewise.
48501 * dirent/dirent.h: Likewise.
48502 * dlfcn/dlfcn.h: Likewise.
48503 * elf/neededtest4.c: Likewise.
48504 * grp/grp.h: Likewise.
48505 * gshadow/gshadow.h: Likewise.
48506 * iconv/gconv.h: Likewise.
48507 * iconv/gconv_int.h: Likewise.
48508 * iconv/gconv_simple.c: Likewise.
48509 * iconv/iconv.h: Likewise.
48510 * iconv/loop.c: Likewise.
48511 * iconv/skeleton.c: Likewise.
48512 * include/aio.h: Likewise.
48513 * include/aliases.h: Likewise.
48514 * include/argz.h: Likewise.
48515 * include/arpa/inet.h: Likewise.
48516 * include/assert.h: Likewise.
48517 * include/dirent.h: Likewise.
48518 * include/dlfcn.h: Likewise.
48519 * include/execinfo.h: Likewise.
48520 * include/fcntl.h: Likewise.
48521 * include/fenv.h: Likewise.
48522 * include/glob.h: Likewise.
48523 * include/grp.h: Likewise.
48524 * include/libintl.h: Likewise.
48525 * include/mntent.h: Likewise.
48526 * include/netdb.h: Likewise.
48527 * include/pwd.h: Likewise.
48528 * include/rpc/netdb.h: Likewise.
48529 * include/sched.h: Likewise.
48530 * include/search.h: Likewise.
48531 * include/shadow.h: Likewise.
48532 * include/signal.h: Likewise.
48533 * include/stdio.h: Likewise.
48534 * include/stdlib.h: Likewise.
48535 * include/string.h: Likewise.
48536 * include/sys/socket.h: Likewise.
48537 * include/sys/stat.h: Likewise.
48538 * include/sys/statfs.h: Likewise.
48539 * include/sys/statvfs.h: Likewise.
48540 * include/sys/syslog.h: Likewise.
48541 * include/sys/time.h: Likewise.
48542 * include/sys/uio.h: Likewise.
48543 * include/time.h: Likewise.
48544 * include/unistd.h: Likewise.
48545 * include/utmp.h: Likewise.
48546 * include/wchar.h: Likewise.
48547 * include/wctype.h: Likewise.
48548 * inet/aliases.h: Likewise.
48549 * inet/arpa/inet.h: Likewise.
48550 * inet/netinet/ether.h: Likewise.
48551 * inet/netinet/in.h: Likewise.
48552 * intl/libintl.h: Likewise.
48553 * io/bits/fcntl2.h: Likewise.
48554 * io/fcntl.h: Likewise.
48555 * io/ftw.h: Likewise.
48556 * io/sys/poll.h: Likewise.
48557 * io/sys/stat.h: Likewise.
48558 * io/sys/statfs.h: Likewise.
48559 * io/sys/statvfs.h: Likewise.
48560 * io/utime.h: Likewise.
48561 * libio/bits/stdio.h: Likewise.
48562 * libio/bits/stdio2.h: Likewise.
48563 * libio/libio.h: Likewise.
48564 * libio/libioP.h: Likewise.
48565 * libio/stdio.h: Likewise.
48566 * locale/lc-ctype.c: Likewise.
48567 * locale/locale.h: Likewise.
48568 * login/utmp.h: Likewise.
48569 * malloc/arena.c: Likewise.
48570 * malloc/malloc.c: Likewise.
48571 * malloc/malloc.h: Likewise.
48572 * malloc/mcheck.c: Likewise.
48573 * malloc/mtrace.c: Likewise.
48574 * math/bits/mathcalls.h: Likewise.
48575 * math/fenv.h: Likewise.
48576 * math/math_private.h: Likewise.
48577 * misc/bits/error.h: Likewise.
48578 * misc/bits/syslog.h: Likewise.
48579 * misc/err.h: Likewise.
48580 * misc/error.h: Likewise.
48581 * misc/fstab.h: Likewise.
48582 * misc/mntent.h: Likewise.
48583 * misc/regexp.h: Likewise.
48584 * misc/search.h: Likewise.
48585 * misc/sgtty.h: Likewise.
48586 * misc/sys/mman.h: Likewise.
48587 * misc/sys/syslog.h: Likewise.
48588 * misc/sys/uio.h: Likewise.
48589 * misc/sys/xattr.h: Likewise.
48590 * misc/ttyent.h: Likewise.
48591 * nis/rpcsvc/ypclnt.h: Likewise.
48592 * nss/nss.h: Likewise.
48593 * posix/bits/unistd.h: Likewise.
48594 * posix/fnmatch.h: Likewise.
48595 * posix/glob.h: Likewise.
48596 * posix/sched.h: Likewise.
48597 * posix/spawn.h: Likewise.
48598 * posix/sys/wait.h: Likewise.
48599 * posix/unistd.h: Likewise.
48600 * posix/wordexp.h: Likewise.
48601 * pwd/pwd.h: Likewise.
48602 * resolv/netdb.h: Likewise.
48603 * resource/sys/resource.h: Likewise.
48604 * rt/aio.h: Likewise.
48605 * rt/bits/mqueue2.h: Likewise.
48606 * rt/mqueue.h: Likewise.
48607 * shadow/shadow.h: Likewise.
48608 * signal/signal.h: Likewise.
48609 * socket/send.c: Likewise.
48610 * socket/sendto.c: Likewise.
48611 * socket/sys/socket.h: Likewise.
48612 * stdio-common/printf.h: Likewise.
48613 * stdlib/bits/stdlib.h: Likewise.
48614 * stdlib/fmtmsg.h: Likewise.
48615 * stdlib/monetary.h: Likewise.
48616 * stdlib/stdlib.h: Likewise.
48617 * stdlib/ucontext.h: Likewise.
48618 * streams/stropts.h: Likewise.
48619 * string/argz.h: Likewise.
48620 * string/bits/string2.h: Likewise.
48621 * string/string.h: Likewise.
48622 * string/strings.h: Likewise.
48623 * sunrpc/rpc/auth.h: Likewise.
48624 * sunrpc/rpc/auth_des.h: Likewise.
48625 * sunrpc/rpc/clnt.h: Likewise.
48626 * sunrpc/rpc/netdb.h: Likewise.
48627 * sunrpc/rpc/pmap_clnt.h: Likewise.
48628 * sunrpc/rpc/xdr.h: Likewise.
48629 * sysdeps/generic/inttypes.h: Likewise.
48630 * sysdeps/generic/net/if.h: Likewise.
48631 * sysdeps/generic/sys/swap.h: Likewise.
48632 * sysdeps/gnu/net/if.h: Likewise.
48633 * sysdeps/gnu/utmpx.h: Likewise.
48634 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48635 * sysdeps/i386/i486/bits/string.h: Likewise.
48636 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48637 * sysdeps/s390/bits/string.h: Likewise.
48638 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48639 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48640 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48641 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48642 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48643 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48644 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48645 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48646 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48647 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48648 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48649 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48650 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48652 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48659 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48660 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48661 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48662 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48663 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48664 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48665 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48666 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48667 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48668 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48669 * sysvipc/sys/ipc.h: Likewise.
48670 * sysvipc/sys/msg.h: Likewise.
48671 * sysvipc/sys/sem.h: Likewise.
48672 * sysvipc/sys/shm.h: Likewise.
48673 * termios/termios.h: Likewise.
48674 * time/sys/time.h: Likewise.
48675 * time/time.h: Likewise.
48676 * wcsmbs/bits/wchar2.h: Likewise.
48677 * wcsmbs/uchar.h: Likewise.
48678 * wcsmbs/wchar.h: Likewise.
48679 * wctype/wctype.h: Likewise.
48682 * Makeconfig: Remove all but ELF support including AIX support.
48683 * Makerules: Likewise.
48684 * config.h.in: Likewise.
48685 * config.make.in: Likewise.
48686 * configure: Likewise.
48687 * configure.in: Likewise.
48688 * csu/Makefile: Likewise.
48689 * csu/version.c: Likewise.
48690 * debug/Makefile: Likewise.
48691 * dlfcn/Makefile: Likewise.
48692 * elf/Makefile: Likewise.
48693 * extra-lib.mk: Likewise.
48694 * iconv/Makefile: Likewise.
48695 * include/libc-symbols.h: Likewise.
48696 * include/shlib-compat.h: Likewise.
48697 * resolv/Makefile: Likewise.
48698 * resolv/res_libc.c: Likewise.
48699 * rt/Makefile: Likewise.
48700 * sysdeps/i386/asm-syntax.h: Likewise.
48701 * sysdeps/i386/sysdep.h: Likewise.
48702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48703 * sysdeps/mach/sysdep.h: Likewise.
48704 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48705 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48706 * sysdeps/s390/asm-syntax.h: Likewise.
48707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48709 * sysdeps/sh/sysdep.h: Likewise.
48710 * sysdeps/unix/sparc/sysdep.h: Likewise.
48711 * sysdeps/wordsize-32/divdi3.c: Likewise.
48712 * sysdeps/x86_64/sysdep.h: Likewise.
48714 * argp/Versions: Remove _argp_unlock_xxx.
48717 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48718 * abilist/libBrokenLocale.abilist: Likewise.
48719 * abilist/libanl.abilist: Likewise.
48720 * abilist/libc.abilist: Likewise.
48721 * abilist/libcrypt.abilist: Likewise.
48722 * abilist/libdl.abilist: Likewise.
48723 * abilist/libm.abilist: Likewise.
48724 * abilist/libnsl.abilist: Likewise.
48725 * abilist/libpthread.abilist: Likewise.
48726 * abilist/libresolv.abilist: Likewise.
48727 * abilist/librt.abilist: Likewise.
48728 * abilist/libthread_db.abilist: Likewise.
48729 * abilist/libutil.abilist: Likewise.
48730 * abilist/libnss_db.abilist: New file.
48732 * scripts/abilist.awk: Add support for indirect functions.
48734 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48736 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48738 * shlib-versions: Remove entries for ports architectures.
48740 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48742 * elf/stackguard-macros.h: Remove support for IA-64.
48743 * elf/tst-auditmod1.c: Likewise.
48744 * sysdeps/generic/ldsodefs.h: Likewise.
48746 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48747 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48751 * configure.in: Remove --enable-omitfp support.
48753 * config.make.in: Likewise.
48754 * Makeconfig: Likewise.
48755 * manual/install.texi: Likewise.
48757 In case anyone cares, the IA-64 architecture could move to ports.
48758 * sysdeps/ia64/*: Removed.
48759 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48760 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48763 * configure.in: Remove entries for unsupported architectures.
48766 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48767 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48769 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48770 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48771 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48772 fall back to using wcrtomb.
48773 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48774 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48776 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48777 * wcsmbs/tst-c16c32-1.c: New file.
48779 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48782 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48784 * elf/tst-unique3.cc: Add explicit declaration of gets.
48785 * elf/tst-unique3lib.cc: Likewise.
48786 * elf/tst-unique3lib2.cc: Likewise.
48787 * elf/tst-unique4.cc: Likewise.
48789 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48791 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48794 * assert/assert.h (static_assert): Don't define for C++.
48795 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48796 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48798 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48800 * iconv/loop.c (single loop): Fix assertion in storing of
48803 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48805 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48807 * posix/getconf.c: Update copyright year.
48808 * nss/getent.c: Likewise.
48809 * nss/makedb.c: Likewise.
48810 * iconv/iconvconfig.c: Likewise.
48811 * iconv/iconv_prog.c: Likewise.
48812 * elf/ldconfig.c: Likewise.
48813 * elf/pldd.c: Likewise.
48814 * elf/sotruss.ksh: Likewise.
48815 * catgets/gencat.c: Likewise.
48816 * csu/version.c: Likewise.
48817 * elf/ldd.bash.in: Likewise.
48818 * elf/sprof.c (print_version): Likewise.
48819 * locale/programs/locale.c: Likewise.
48820 * locale/programs/localedef.c: Likewise.
48821 * login/programs/pt_chown.c: Likewise.
48822 * nscd/nscd.c (print_version): Likewise.
48823 * debug/xtrace.sh: Likewise.
48824 * malloc/memusage.sh: Likewise.
48825 * malloc/mtrace.pl: Likewise.
48826 * debug/catchsegv.sh: Likewise.
48828 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48830 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48833 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48836 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48837 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48839 * iconv/gconv_int.h: Likewise.
48840 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48841 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48842 from libc for GLIBC_2.16.
48843 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48844 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48845 * wcsmbs/uchar.h: Really define mbstate_t.
48846 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48847 * wcsmbs/c16rtomb.c: New file.
48848 * wcsmbs/mbrtoc16.c: New file.
48849 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48850 for C/POSIX locale.
48851 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48852 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48854 * wcsmbs/wchar.h: Add missing __restrict.
48856 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48859 * time/Makefile (routines): Add timespec_get.
48860 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48861 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48862 timespec for ISO C11.
48863 * time/timespec_get.c: New file.
48864 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48865 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48868 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48869 * stdlib/stdlib.h: Declare aligned_alloc.
48870 * Versions.def: Add GLIBC_2.16 for libc.
48871 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48874 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48877 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48881 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48884 * assert/assert.h (static_assert): Define.
48886 * version.h: Update for 2.16 development version.
48889 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48892 * version.h (RELEASE): Bump for 2.15 release.
48893 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48895 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48896 Patch by Marek Polacek <mpolacek@redhat.com>.
48898 * bits/byteswap.h: Protect long long constants with __extension__.
48899 * sysdeps/i386/bits/byteswap.h: Likewise.
48900 * sysdeps/ia64/bits/byteswap.h: Likewise.
48901 * sysdeps/s390/bits/byteswap.h: Likewise.
48902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48904 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48908 destination buffer.
48909 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48911 2011-12-23 Marek Polacek <polacek@redhat.com>
48913 * elf/dl-addr.c (determine_info): Add inline keyword.
48914 * elf/tst-auditmod4b.c (check_avx): Likewise.
48915 * elf/tst-auditmod6b.c (check_avx): Likewise.
48916 * elf/tst-auditmod6c.c (check_avx): Likewise.
48917 * elf/tst-auditmod7b.c (check_avx): Likewise.
48919 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48921 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48924 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48927 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48928 processing for last bytes.
48930 2011-08-06 Bruno Haible <bruno@clisp.org>
48933 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48934 U+0385, not to U+1FEE.
48937 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48938 entry for U+00A5 U+0301.
48940 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48943 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48944 buffer for the output is too small.
48946 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48950 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48951 SSE flags if possible.
48953 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48957 processing for last bytes.
48959 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48962 (syscall-list-default-options, syscall-list-default-condition)
48963 (syscall-list-includes): Define.
48964 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48965 list of ABIs and options and #if conditions for each ABI. Do not
48966 handle common syscalls between ABIs specially.
48967 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48969 (syscall-list-variants, syscall-list-32bit-options)
48970 (syscall-list-32bit-condition, syscall-list-64bit-options)
48971 (syscall-list-64bit-condition): Define.
48972 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48973 (syscall-list-variants, syscall-list-32bit-options)
48974 (syscall-list-32bit-condition, syscall-list-64bit-options)
48975 (syscall-list-64bit-condition): Define.
48976 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48978 (syscall-list-variants, syscall-list-32bit-options)
48979 (syscall-list-32bit-condition, syscall-list-64bit-options)
48980 (syscall-list-64bit-condition): Define.
48981 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48983 (syscall-list-variants, syscall-list-32bit-options)
48984 (syscall-list-32bit-condition, syscall-list-64bit-options)
48985 (syscall-list-64bit-condition): Define.
48987 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48989 * locale/iso-639.def: Add brx entry.
48992 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48993 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48995 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48996 __feraiseexcept_renamed.
48998 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49001 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49002 EPOLLET with unsigned values.
49003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49006 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49007 to large cancellation.
49008 * math/s_cacoshf.c: Likewise.
49009 * math/s_cacoshl.c: Likewise.
49011 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49015 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49016 * math/s_cacoshf.c: Likewise.
49017 * math/s_cacoshl.c: Likewise.
49019 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49022 * iconv/gconv.h: Define __GCONV_SWAP.
49023 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49024 * iconvdata/utf-16.c: Likewise.
49025 * iconvdata/utf-32.c: Likewise.
49027 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49031 numerator after shifting it by one limb.
49033 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49036 under [__USE_EXTERN_INLINES].
49038 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49041 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49043 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49045 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49046 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49048 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49049 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49050 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49051 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49052 for strncasecmp/strncasecmp_l compilation.
49053 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49054 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49056 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49059 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49062 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49065 * time/tzfile.c (__tzfile_read): Check values from file header.
49067 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49069 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49070 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49071 * powerpc/powerpc32/dl-start.S: Likewise.
49072 * powerpc/powerpc32/elf/start.S: Likewise.
49073 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49074 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49075 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49076 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49077 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49078 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49079 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49080 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49081 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49082 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49083 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49084 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49085 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49086 * powerpc/powerpc32/memset.S: Likewise.
49087 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49088 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49089 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49090 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49091 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49092 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49093 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49094 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49095 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49096 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49097 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49098 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49099 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49101 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49103 * math/libm-test.inc: Added more nearbyint tests.
49104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49109 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49111 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49114 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49116 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49117 Add wcscpy-ssse3 wcscpy-c.
49118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49119 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49120 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49121 * sysdeps/x86_64/wcschr.S: New file.
49122 * sysdeps/x86_64/wcsrchr.S: New file.
49123 * string/test-strcmp.c: Remove checking of wcscmp function for
49125 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49126 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49127 wcsrchr-sse2 wcsrchr-c.
49128 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49129 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49130 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49131 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49132 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49133 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49134 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49135 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49137 * wcsmbc/wcschr.c (WCSCHR): New macro.
49139 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49141 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49142 * wcsmbs/test-wcsrchr.c: New file.
49143 * string/test-strrchr.c: Add wcsrchr support.
49145 * wcsmbs/test-wcscpy.c: New file.
49146 * string/test-strcpy.c: Add wcscpy support.
49149 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49154 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49157 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49159 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49162 Minor optimizations.
49164 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49165 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49166 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49168 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49170 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49171 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49172 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49173 for gcc to avoid warnings.
49174 * inet/Makefile (tests): Add tst-checks.
49175 * inet/tst-checks.c: New file.
49177 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49180 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49183 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49184 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49186 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49188 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49190 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49193 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49195 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49197 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49198 conditional on GCC version.
49199 (__arch_compare_and_exchange_val_8_acq)
49200 (__arch_compare_and_exchange_val_16_acq)
49201 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49202 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49203 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49205 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49207 * sysdeps/sh/backtrace.c: New file.
49209 2011-12-02 Andreas Schwab <schwab@redhat.com>
49211 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49214 2011-12-01 Andreas Schwab <schwab@redhat.com>
49216 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49217 falling back to utime.
49219 2011-11-30 Andreas Schwab <schwab@redhat.com>
49221 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49222 expectations for float.
49224 2011-11-29 Andreas Schwab <schwab@redhat.com>
49226 * locale/weight.h (findidx): Add parameter len.
49227 * locale/weightwc.h (findidx): Likewise.
49228 * posix/fnmatch_loop.c (FCT): Adjust caller.
49229 * posix/regcomp.c (build_equiv_class): Likewise.
49230 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49231 * posix/regexec.c (check_node_accept_bytes): Likewise.
49232 * string/strcoll_l.c (STRCOLL): Likewise.
49233 * string/strxfrm_l.c (STRXFRM): Likewise.
49235 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49237 * Makefile.in: Remove CVSOPT handling.
49238 * configure.in: Remove use of AC_REVISION.
49239 * iconvdata/Makefile (distribute): No need to filter out CVS.
49240 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49243 2011-11-16 Andreas Schwab <schwab@redhat.com>
49245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49246 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49247 [USE_AS_STRNCASECMP_L]: Likewise.
49248 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49249 NO_TLS_DIRECT_SEG_REFS.
49250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49251 Fix argument offsets for non-PIC.
49252 [USE_AS_STRNCASECMP_L]: Likewise.
49253 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49254 NO_TLS_DIRECT_SEG_REFS.
49256 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49258 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49260 * locale/loadlocale.c (_nl_load_locale): Likewise.
49262 2011-11-15 Andreas Schwab <schwab@redhat.com>
49264 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49265 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49267 (SYSCALL_GETTIME): Set errno on error.
49269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49270 count references to noai6ai_cached.
49272 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49274 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49276 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49277 FD_CLOEXEC for /proc/self/maps.
49279 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49280 FD_CLOEXEC for /proc/meminfo.
49282 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49285 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49286 FD_CLOEXEC for given file.
49288 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49290 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49291 FD_CLOEXEC for /etc/hosts.
49292 (_gethtent): Likewise.
49294 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49296 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49297 cancellation and set FD_CLOEXEC for /etc/netgroup.
49299 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49300 reading /etc/publickey.
49302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49303 allow cancellation when reading /etc/group.
49305 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49307 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49309 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49310 when using data file.
49312 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49314 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49315 (write_nis_obj): Use "c" and "e" in fopen.
49317 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49319 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49321 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49323 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49325 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49328 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49330 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49332 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49334 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49335 file parsing and set FD_CLOEXEC.
49337 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49339 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49341 2011-11-14 Andreas Schwab <schwab@redhat.com>
49343 * malloc/arena.c (arena_get2): Don't call reused_arena when
49344 _int_new_arena failed.
49346 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49348 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49349 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49354 to compile strcasecmp and strncasecmp.
49355 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49356 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49360 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49363 locale-defines.sym to gen-as-const-headers.
49364 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49365 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49367 to compile strcasecmp and strncasecmp.
49368 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49369 strcasecmp_l and strncasecmp_l.
49370 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49371 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49372 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49374 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49376 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49377 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49378 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49379 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49380 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49382 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49384 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49385 result of SYSDEP_GETTIME_CPU to retval.
49386 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49387 parameter list to macro. Remove trailing semicolon. Adjust users.
49389 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49397 from unused variable.
49399 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49401 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49404 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49407 * sunrpc/rpc_prot.c (rejected): Fix case value.
49409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49410 unsigned long long int to avoid warnings in shift.
49412 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49414 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49417 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49418 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49421 * nis/nis_table.c (nis_list): Use variable of correct type for
49422 result of __follow_path call.
49424 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49426 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49427 of math functions ceil, trunc, floor, round, and sqrt, when
49428 avaliable on the platform.
49429 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49435 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49437 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49440 2011-11-11 Roland McGrath <roland@hack.frob.com>
49442 * include/unistd.h: Fix __readlink return type.
49443 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49445 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49447 * stdlib/ucontext.h: Undo last change for makecontext.
49449 2011-11-11 Andreas Schwab <schwab@redhat.com>
49451 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49453 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49454 * setjmp/setjmp.h: Mark functions as non-leaf.
49455 * setjmp/bits/setjmp2.h: Likewise.
49456 * stdlib/ucontext.h: Likewise.
49458 2011-11-10 Andreas Schwab <schwab@redhat.com>
49460 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49461 (reused_arena): Don't check arena limit.
49462 (arena_get2): Atomically check arena limit.
49464 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49466 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49467 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49472 2011-11-07 Andreas Schwab <schwab@redhat.com>
49474 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49475 handler when locking.
49477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49478 Fix size of allocated buffer.
49480 2011-11-04 Andreas Schwab <schwab@redhat.com>
49483 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49484 declarations for long double functions.
49485 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49487 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49489 2011-11-03 Andreas Schwab <schwab@redhat.com>
49491 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49494 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49497 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49499 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49501 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49503 * include/alloca.h (stackinfo_alloca_round): Define.
49504 (extend_alloca): Use it.
49505 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49506 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49509 * scripts/check-local-headers.sh: Ignore libaudit.h.
49511 * nscd/Makefile (extra-objs): Make recursively expanded.
49513 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49515 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49518 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49519 * posix/tst-rfc3484-2.c: Likewise.
49520 * posix/tst-rfc3484-3.c: Likewise.
49522 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49524 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49526 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49527 process_vm_writev from libc using GLIBC_2.15 version.
49529 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49531 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49533 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49536 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49539 * nss/getent.c (initgroups_keys): Show error message in case no group
49542 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49543 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49544 __bump_nl_timestamp.
49545 * nscd/connections (nscd_init): When host database is served open
49546 netlink socket and request notification about configuration changes.
49547 (main_loop_poll): Track netlink file descriptor and bump timestamp
49548 in case data becomes available.
49549 (main_loop_epoll): Likewise.
49550 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49551 (database_pers_head): Add extra_data fileds.
49552 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49553 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49554 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49557 in6ai data, call __free_in6ai.
49558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49559 Add -DHAVE_NETLINK.
49560 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49561 interface information. Reuse previous data if netlink timestamp
49563 (__bump_nl_timestamp): New function.
49564 (__free_in6ai): New function.
49566 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49569 close_not_cancel_no_status here.
49570 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49572 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49575 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49578 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49579 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49580 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49582 2011-07-03 Andreas Jaeger <aj@suse.de>
49585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49586 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49587 * math/libm-test.inc (sin_test): Add test case.
49589 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49592 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49593 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49595 * elf/chroot_canon.c (chroot_canon): Cleanups.
49597 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49600 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49603 * string/test-strchr.c: Make usable for strchrnul testing.
49604 * string/test-strchrnul.c: New file.
49605 * string/Makefile (strop-tests): Add strchrnul.
49607 * po/it.po: Update from translation team.
49608 * po/es.po: Likewise.
49610 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49613 the three constants needed as parameters. Drop the others.
49614 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49615 __m128i_strloadu_tolower.
49616 Create and initialize variable zero and use it in all the places
49617 where _mm_setzero_si128 was used.
49619 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49620 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49621 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49624 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49625 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49626 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49627 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49629 __mpranred, __mptan.
49630 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49631 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49632 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49633 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49640 2011-10-28 Andreas Schwab <schwab@redhat.com>
49642 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49643 redefine if SHARED.
49644 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49647 wide char related routines to wcsmbs subdir.
49649 2011-10-27 Andreas Schwab <schwab@redhat.com>
49652 * misc/sys/cdefs.h (__THROWNL): Define.
49653 * posix/unistd.h: Use __THREADNL instead of __THREAD
49654 for memory synchronization functions.
49656 2011-10-26 Roland McGrath <roland@hack.frob.com>
49659 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49661 * manual/stdio.texi (Obstack Streams): Node removed.
49663 2011-10-26 Andreas Schwab <schwab@redhat.com>
49665 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49669 * math/math_private.h (math_force_eval): Allow non-addressable
49671 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49673 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49676 file is not needed.
49678 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49685 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49687 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49688 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49689 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49690 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49691 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49692 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49693 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49697 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49698 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49700 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49701 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49702 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49704 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49705 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49707 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49708 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49711 place. Use VEX encoding when compiling for AVX.
49713 2011-10-25 Andreas Schwab <schwab@redhat.com>
49715 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49718 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49720 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49722 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49723 useless if() expression.
49724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49725 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49735 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49744 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49746 2011-10-25 Andreas Schwab <schwab@redhat.com>
49748 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49752 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49754 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49755 .text section. Avoid duplicate constants.
49756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49765 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49767 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49768 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49769 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49770 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49773 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49776 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49777 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49778 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49783 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49785 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49802 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49804 * sysdeps/x86_64/dla.h: Move to ...
49805 * sysdeps/x86_64/fpu/dla.h: ...here.
49806 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49807 situations. Use __builtin_fma only for gcc 4.6 and up.
49809 * config.make.in: Add have-mfma4 entry.
49810 * configure.in: Substitute libc_cv_cc_fma4.
49811 * math/Makefile (dbl-only-routines): Add sincostab.
49812 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49813 Use __sincostab not sincos.
49814 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49821 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49822 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49823 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49824 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49827 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49829 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49830 define aliases when function name is a macro.
49831 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49832 sysdeps/ieee754/dbl-64/sincos.tbl.
49833 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49834 fma4-enabled routines.
49835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49836 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49837 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49838 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49840 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49844 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49845 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49847 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49866 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49877 2011-10-24 Andreas Schwab <schwab@redhat.com>
49879 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49885 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49887 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49889 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49890 Remove unused variable magic_bits.
49891 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49893 * string/strnlen.c: Define and use STRNLEN macro.
49894 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49895 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49897 * wcsmbs/wcslen.c: Define and use WCSLEN.
49898 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49899 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49900 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49901 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49902 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49903 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49906 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49909 strnlen-sse2-no-bsf.
49910 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49912 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49913 Add strnlen support.
49914 (USE_AS_STRNLEN): New macro.
49915 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49916 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49917 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49918 * sysdeps/x86_64/wcslen.S: New file.
49920 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49923 XMM-moves are used for copying on small sizes.
49925 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49927 * wcsmbs/Makefile (strop-tests): Add wcschr.
49928 * wcsmbs/test-wcschr.c: New file.
49929 * string/test-strchr.c: Update.
49930 Add wcschr support.
49933 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49935 * wcsmbs/Makefile (strop-tests): Add wcslen.
49936 * wcsmbs/test-wcslen.c: New file.
49937 * string/test-strlen.c: Update.
49938 Add wcslen support.
49941 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49943 * po/it.po: Update from translation team.
49945 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49947 * sysdeps/x86_64/wcscmp.S: Update.
49948 Fix wrong comparison semantics.
49949 wcscmp shall use signed comparison not unsigned.
49950 Don't use substraction to avoid overflow bug.
49951 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49952 * wcsmbc/wcscmp.c: Likewise.
49953 * string/test-strcmp.c: Likewise.
49954 Add new tests to check cases with negative values.
49956 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49958 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49959 * sysdeps/x86_64/dla.h: ...here. New file.
49960 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49970 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49973 __ynl_finite aliases.
49975 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49979 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49981 [DLA_FMA] (EMULV): Use DLA_FMA.
49982 [DLA_FMA] (MUL12): Use EMULV.
49983 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49984 that are not needed.
49985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49993 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49995 * math/s_nan.c: Undef __nan.
49996 * math/s_nanf.c: Undef __nanf.
49997 * math/s_nanl.c: Undef __nanl.
49998 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50001 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50003 * math/s_catan.c: Add branch predictions.
50004 * math/s_catanf.c: Likewise.
50005 * math/s_catanh.c: Likewise.
50006 * math/s_catanhf.c: Likewise.
50007 * math/s_catanhl.c: Likewise.
50008 * math/s_catanl.c: Likewise.
50009 * math/s_cexp.c: Likewise.
50010 * math/s_cexpf.c: Likewise.
50011 * math/s_cexpl.c: Likewise.
50012 * math/s_clog.c: Likewise.
50013 * math/s_clog10.c: Likewise.
50014 * math/s_clog10f.c: Likewise.
50015 * math/s_clog10l.c: Likewise.
50016 * math/s_clogf.c: Likewise.
50017 * math/s_clogl.c: Likewise.
50018 * math/s_csqrt.c: Likewise.
50019 * math/s_csqrtf.c: Likewise.
50020 * math/s_csqrtl.c: Likewise.
50021 * math/s_ctanf.c: Likewise.
50022 * math/s_ctanh.c: Likewise.
50023 * math/s_ctanhf.c: Likewise.
50024 * math/s_ctanhl.c: Likewise.
50025 * math/s_ctanl.c: Likewise.
50027 * math/math_private.h: Define __nan, __nanf, __nanl.
50028 * math/s_cacosh.c: Include <math_private.h>.
50029 * math/s_cacoshl.c: Likewise.
50030 * math/s_casinh.c: Likewise.
50031 * math/s_casinhf.c: Likewise.
50032 * math/s_casinhl.c: Likewise.
50033 * math/s_ccos.c: Rely entire on ccosh.
50034 * math/s_ccosf.c: Rely entire on ccoshf.
50035 * math/s_ccosl.c: Rely entirely on ccoshl.
50036 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50037 Remove tests for FE_INVALID.
50038 * math/s_ccoshf.c: Likewise.
50039 * math/s_ccoshl.c: Likewise.
50040 * math/s_csin.c: Likewise.
50041 * math/s_csinf.c: Likewise.
50042 * math/s_csinh.c Likewise.
50043 * math/s_csinhf.c: Likewise.
50044 * math/s_csinhl.c: Likewise.
50045 * math/s_csinl.c: Likewise.
50046 * math/s_ctan.c: Likewise.
50047 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50048 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50051 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50054 compilation problems.
50056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50059 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50061 * sysdeps/i386/configure.in: Test for -mfma4 option.
50062 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50063 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50064 COMMON_CPUID_INDEX_80000001.
50065 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50066 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50067 use it if FMA3 is not supported.
50068 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50070 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50071 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50073 2011-10-20 Andreas Schwab <schwab@redhat.com>
50076 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50077 it would create a cycle with a link time dependency.
50079 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50081 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50083 * string/Makefile (strop-tests): Add rawmemchr.
50084 * string/test-rawmemchr.c: New file.
50086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50088 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50089 when compiling str{,n}casecmp and when AVX is available. Hook up
50090 new optimized code in initializers.
50092 2011-10-19 Andreas Schwab <schwab@redhat.com>
50094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50095 __feraiseexcept instead of feraiseexcept.
50097 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50099 * math/math_private.h: Define defaults for libc_fetestexcept and
50101 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50102 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50105 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50106 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50107 libc_fetestexcept and libc_feupdateenv.
50109 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50110 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50111 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50112 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50113 libc_feholdexcept_setround.
50115 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50116 Add s_nearbyint-c and s_nearbyintf-c.
50117 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50118 nearbyintf inlines.
50119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50124 * math/math_private.h: Define defaults for libc_fegetround,
50125 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50126 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50127 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50129 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50130 standard functions.
50131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50132 Remove comments and hacks for old compiler versions.
50133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50134 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50135 libc_feholdexceptl.
50137 2011-10-18 Andreas Schwab <schwab@redhat.com>
50139 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50140 (__feraiseexcept_renamed): Add __NTH.
50141 (feraiseexcept): Add __NTH. Rename local variables to fix
50142 namespace violations.
50144 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50150 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50151 recently added interfaces.
50152 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50154 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50155 about macro parameter expansion.
50157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50158 __NO_MATH_INLINES is defined. Cleanups.
50160 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50161 and __floorf is target has SSE4.1.
50162 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50164 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50165 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50167 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50169 (floorf): Likewise.
50171 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50173 2011-10-17 Andreas Schwab <schwab@redhat.com>
50175 * misc/sys/cdefs.h: Fix last change.
50177 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50180 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50182 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50184 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50190 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50192 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50193 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50194 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50195 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50196 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50197 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50199 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50200 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50201 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50203 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50204 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50205 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50207 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50208 ceil, ceilf, floor, floorf.
50210 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50211 Perform IRELATIVE relocations last.
50213 * elf/do-rel.h: Add another parameter nrelative, replacing the
50214 local variable with the same name. Change name of the function
50215 to end in Rel or Rela (uppercase).
50216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50217 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50218 elf_dynamic_do_##reloc function.
50220 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50222 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50223 is sufficient, at least on modern CPUs.
50225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50227 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50228 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50230 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50232 * math/bits/math-finite.h: Add entries for exp.
50233 * math/e_expl.c: Add __*_finite alias.
50234 * sysdeps/i386/fpu/e_exp.S: Likewise.
50235 * sysdeps/i386/fpu/e_expf.S: Likewise.
50236 * sysdeps/i386/fpu/e_expl.c: Likewise.
50237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50241 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50245 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50246 is sufficient, at least on modern CPUs.
50248 * ctype/ctype-info.c (__ctype_init): Define.
50249 * include/ctype.h (__ctype_init): Declare.
50250 (__ctype_b_loc): The variable is always initialized.
50251 (__ctype_toupper_loc): Likewise.
50252 (__ctype_tolower_loc): Likewise.
50253 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50254 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50256 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50258 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50260 * configure.in: Also look in $cxxmachine/include for C++ system
50263 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50265 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50266 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50267 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50268 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50270 (USE_AS_WMEMCMP): New macro.
50272 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50273 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50274 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50275 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50277 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50278 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50279 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50280 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50281 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50283 (USE_AS_WMEMCMP): New macro.
50284 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50285 * sysdeps/string/test-memcmp.c: Update.
50286 Fix simple_wmemcmp.
50288 * wcsmbs/wmemcmp.c: Update.
50289 (WMEMCMP): New macro.
50292 2011-10-12 Andreas Jaeger <aj@suse.de>
50295 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50299 * libio/iofwide.c (do_length): Avoid warning.
50301 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50303 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50305 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50307 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50308 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50309 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50310 * sysdeps/i386/i686/fpu/e_log.S: New file.
50311 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50312 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50314 * ctype/ctype.h: Add support for inlined isXXX functions when
50315 compiling C++ code.
50317 2011-10-14 Andreas Schwab <schwab@redhat.com>
50319 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50323 2011-10-13 Roland McGrath <roland@hack.frob.com>
50326 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50328 2011-10-13 Andreas Schwab <schwab@redhat.com>
50330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50331 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50334 * sysdeps/x86_64/memrchr.S: Check for zero size.
50336 * string/stratcliff.c: Add memrchr tests.
50338 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50341 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50342 rawmemchr-sse2 rawmemchr-sse2-bsf.
50343 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50344 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50345 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50346 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50347 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50348 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50349 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50350 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50353 * string/memrchr.c (MEMRCHR): New macro.
50355 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50357 Add integration with gcc's -ffinite-math-only and optimize wrapper
50359 * Versions.def: Define GLIBC_2.15 version for libm.
50360 * math/Makefile (headers): Add bits/math-finite.h.
50361 * math/bits/math-finite.h: New file.
50362 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50363 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50364 * math/e_acoshl.c: Add __*_finite alias.
50365 * math/e_acosl.c: Likewise.
50366 * math/e_asinl.c: Likewise.
50367 * math/e_atan2l.c: Likewise.
50368 * math/e_atanhl.c: Likewise.
50369 * math/e_coshl.c: Likewise.
50370 * math/e_exp10.c: Likewise.
50371 * math/e_exp10f.c: Likewise.
50372 * math/e_exp10l.c: Likewise.
50373 * math/e_exp2l.c: Likewise.
50374 * math/e_fmodl.c: Likewise.
50375 * math/e_gammal_r.c: Likewise.
50376 * math/e_hypotl.c: Likewise.
50377 * math/e_j0l.c: Likewise.
50378 * math/e_j1l.c: Likewise.
50379 * math/e_jnl.c: Likewise.
50380 * math/e_lgammal_r.c: Likewise.
50381 * math/e_log10l.c: Likewise.
50382 * math/e_log2l.c: Likewise.
50383 * math/e_logl.c: Likewise.
50384 * math/e_powl.c: Likewise.
50385 * math/e_sinhl.c: Likewise.
50386 * math/e_sqrtl.c: Likewise.
50387 * math/e_scalb.c: Completely rewritten and optimized.
50388 * math/e_scalbf.c: Likewise.
50389 * math/e_scalbl.c: Likewise.
50390 * math/w_acos.c: Likewise.
50391 * math/w_acosf.c: Likewise.
50392 * math/w_acosl.c: Likewise.
50393 * math/w_acosh.c: Likewise.
50394 * math/w_acoshf.c: Likewise.
50395 * math/w_acoshl.c: Likewise.
50396 * math/w_asin.c: Likewise.
50397 * math/w_asinf.c: Likewise.
50398 * math/w_asinl.c: Likewise.
50399 * math/w_atan2.c: Likewise.
50400 * math/w_atan2f.c: Likewise.
50401 * math/w_atan2l.c: Likewise.
50402 * math/w_atanh.c: Likewise.
50403 * math/w_atanhf.c: Likewise.
50404 * math/w_atanhl.c: Likewise.
50405 * math/w_exp10.c: Likewise.
50406 * math/w_exp10f.c: Likewise.
50407 * math/w_exp10l.c: Likewise.
50408 * math/w_fmod.c: Likewise.
50409 * math/w_fmodf.c: Likewise.
50410 * math/w_fmodl.c: Likewise.
50411 * math/w_j0.c: Likewise.
50412 * math/w_j0f.c: Likewise.
50413 * math/w_j0l.c: Likewise.
50414 * math/w_j1.c: Likewise.
50415 * math/w_j1f.c: Likewise.
50416 * math/w_j1l.c: Likewise.
50417 * math/w_jn.c: Likewise.
50418 * math/w_jnf.c: Likewise.
50419 * math/w_log.c: Likewise.
50420 * math/w_logf.c: Likewise.
50421 * math/w_logl.c: Likewise.
50422 * math/w_log10.c: Likewise.
50423 * math/w_log10f.c: Likewise.
50424 * math/w_log10l.c: Likewise.
50425 * math/w_log2.c: Likewise.
50426 * math/w_log2f.c: Likewise.
50427 * math/w_log2l.c: Likewise.
50428 * math/w_pow.c: Likewise.
50429 * math/w_powf.c: Likewise.
50430 * math/w_powl.c: Likewise.
50431 * math/w_remainder.c: Likewise.
50432 * math/w_remainderf.c: Likewise.
50433 * math/w_remainderl.c: Likewise.
50434 * math/w_scalb.c: Likewise.
50435 * math/w_scalbf.c: Likewise.
50436 * math/w_scalbl.c: Likewise.
50437 * math/w_sqrt.c: Likewise.
50438 * math/w_sqrtf.c: Likewise.
50439 * math/w_sqrtl.c: Likewise.
50440 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50441 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50443 * math/math_private.h: Declare __kernel_standard_f.
50444 * math/w_cosh.c: Remove cruft and optimize a bit.
50445 * math/w_coshf.c: Likewise.
50446 * math/w_coshl.c: Likewise.
50447 * math/w_exp2.c: Likewise.
50448 * math/w_exp2f.c: Likewise.
50449 * math/w_exp2l.c: Likewise.
50450 * math/w_hypot.c: Likewise.
50451 * math/w_hypotf.c: Likewise.
50452 * math/w_hypotl.c: Likewise.
50453 * math/w_lgamma.c: Likewise.
50454 * math/w_lgamma_r.c: Likewise.
50455 * math/w_lgammaf.c: Likewise.
50456 * math/w_lgammaf_r.c: Likewise.
50457 * math/w_lgammal.c: Likewise.
50458 * math/w_lgammal_r.c: Likewise.
50459 * math/w_sinh.c: Likewise.
50460 * math/w_sinhf.c: Likewise.
50461 * math/w_sinhl.c: Likewise.
50462 * math/w_tgamma.c: Likewise.
50463 * math/w_tgammaf.c: Likewise.
50464 * math/w_tgammal.c: Likewise.
50465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50467 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50468 Minor optimizations. Pretty printing. Remove cruft.
50469 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50473 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50474 * sysdeps/i386/fpu/e_asin.S: Likewise.
50475 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50476 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50477 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50478 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50481 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50482 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50483 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50484 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50485 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50486 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50487 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50488 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50489 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50490 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50491 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50492 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50493 * sysdeps/i386/fpu/e_log.S: Likewise.
50494 * sysdeps/i386/fpu/e_log10.S: Likewise.
50495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50497 * sysdeps/i386/fpu/e_log2.S: Likewise.
50498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50500 * sysdeps/i386/fpu/e_logf.S: Likewise.
50501 * sysdeps/i386/fpu/e_logl.S: Likewise.
50502 * sysdeps/i386/fpu/e_pow.S: Likewise.
50503 * sysdeps/i386/fpu/e_powf.S: Likewise.
50504 * sysdeps/i386/fpu/e_powl.S: Likewise.
50505 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50506 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50507 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50508 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50509 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50510 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50511 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50512 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50513 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50535 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50538 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50539 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50540 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50541 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50542 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50543 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50545 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50548 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50549 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50550 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50551 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50552 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50553 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50554 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50555 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50592 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50595 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50599 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50602 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50611 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50612 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50613 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50614 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50615 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50616 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50617 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50618 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50622 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50624 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50625 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50626 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50627 (__isnanf): Likewise.
50628 (__isinf_ns): Likewise.
50629 (__isinf_nsf): Likewise.
50630 (__finite): Likewise.
50631 (__finitef): Likewise.
50632 (__ieee754_sqrt): Define as macro.
50633 (__ieee754_sqrtf): Define as macro.
50634 (__ieee754_sqrtl): Define as macro.
50635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50637 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50638 __FINITE_MATH_ONLY__ consistent.
50639 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50641 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50643 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50646 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50648 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50650 * po/ja.po: Update from translation team.
50652 2011-10-08 Roland McGrath <roland@hack.frob.com>
50654 * locale/programs/locarchive.c (prepare_address_space): New function.
50655 (create_archive, enlarge_archive, open_archive): Use it.
50657 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50658 inside [SHARED], where it is used.
50660 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50662 * nss/getent.c (netgroup_keys): Remove unused variable.
50663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50665 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50667 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50671 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50672 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50673 * math/Makefile (libm-calls): Add s_isinf_ns.
50674 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50675 * math/multc3.c: Likewise.
50676 * math/s_casin.c: Likewise.
50677 * math/s_casinf.c: Likewise.
50678 * math/s_casinl.c: Likewise.
50679 * math/s_ccos.c: Likewise.
50680 * math/s_ccosf.c: Likewise.
50681 * math/s_ccosl.c: Likewise.
50682 * math/s_ctan.c: Likewise.
50683 * math/s_ctanf.c: Likewise.
50684 * math/s_ctanh.c: Likewise.
50685 * math/s_ctanhf.c: Likewise.
50686 * math/s_ctanhl.c: Likewise.
50687 * math/s_ctanl.c: Likewise.
50688 * math/w_fmod.c: Likewise.
50689 * math/w_fmodf.c: Likewise.
50690 * math/w_fmodl.c: Likewise.
50691 * math/w_remainder.c: Likewise.
50692 * math/w_remainderf.c: Likewise.
50693 * math/w_remainderl.c: Likewise.
50694 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50695 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50698 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50699 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50700 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50701 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50703 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50705 * stdio-common/printf_fphex.c: Likewise.
50706 * stdio-common/printf_size.c: Likewise.
50708 * math/e_exp10.c: Include math_private.h using <...> not "...".
50709 * math/e_exp10f.c: Likewise.
50710 * math/e_exp10l.c: Likewise.
50711 * math/e_exp2l.c: Likewise.
50712 * math/e_j0l.c: Likewise.
50713 * math/e_j1l.c: Likewise.
50714 * math/e_jnl.c: Likewise.
50715 * math/e_lgammal_r.c: Likewise.
50716 * math/e_rem_pio2l.c: Likewise.
50717 * math/e_scalb.c: Likewise.
50718 * math/e_scalbf.c: Likewise.
50719 * math/e_scalbl.c: Likewise.
50720 * math/k_cosl.c: Likewise.
50721 * math/k_sinl.c: Likewise.
50722 * math/k_tanl.c: Likewise.
50723 * math/s_cacoshf.c: Likewise.
50724 * math/s_catan.c: Likewise.
50725 * math/s_catanf.c: Likewise.
50726 * math/s_catanh.c: Likewise.
50727 * math/s_catanhf.c: Likewise.
50728 * math/s_catanhl.c: Likewise.
50729 * math/s_catanl.c: Likewise.
50730 * math/s_ccosh.c: Likewise.
50731 * math/s_ccoshf.c: Likewise.
50732 * math/s_ccoshl.c: Likewise.
50733 * math/s_cexp.c: Likewise.
50734 * math/s_cexpf.c: Likewise.
50735 * math/s_cexpl.c: Likewise.
50736 * math/s_clog.c: Likewise.
50737 * math/s_clog10.c: Likewise.
50738 * math/s_clog10f.c: Likewise.
50739 * math/s_clog10l.c: Likewise.
50740 * math/s_clogf.c: Likewise.
50741 * math/s_clogl.c: Likewise.
50742 * math/s_csin.c: Likewise.
50743 * math/s_csinf.c: Likewise.
50744 * math/s_csinh.c: Likewise.
50745 * math/s_csinhf.c: Likewise.
50746 * math/s_csinhl.c: Likewise.
50747 * math/s_csinl.c: Likewise.
50748 * math/s_csqrt.c: Likewise.
50749 * math/s_csqrtf.c: Likewise.
50750 * math/s_csqrtl.c: Likewise.
50751 * math/s_ctan.c: Likewise.
50752 * math/s_ctanf.c: Likewise.
50753 * math/s_ctanh.c: Likewise.
50754 * math/s_ctanhf.c: Likewise.
50755 * math/s_ctanhl.c: Likewise.
50756 * math/s_ctanl.c: Likewise.
50757 * math/s_ldexp.c: Likewise.
50758 * math/s_ldexpf.c: Likewise.
50759 * math/s_ldexpl.c: Likewise.
50760 * math/s_significand.c: Likewise.
50761 * math/s_significandf.c: Likewise.
50762 * math/s_significandl.c: Likewise.
50763 * math/w_acos.c: Likewise.
50764 * math/w_acosf.c: Likewise.
50765 * math/w_acosh.c: Likewise.
50766 * math/w_acoshf.c: Likewise.
50767 * math/w_acoshl.c: Likewise.
50768 * math/w_acosl.c: Likewise.
50769 * math/w_asin.c: Likewise.
50770 * math/w_asinf.c: Likewise.
50771 * math/w_asinl.c: Likewise.
50772 * math/w_atan2.c: Likewise.
50773 * math/w_atan2f.c: Likewise.
50774 * math/w_atan2l.c: Likewise.
50775 * math/w_atanh.c: Likewise.
50776 * math/w_atanhf.c: Likewise.
50777 * math/w_atanhl.c: Likewise.
50778 * math/w_cosh.c: Likewise.
50779 * math/w_coshf.c: Likewise.
50780 * math/w_coshl.c: Likewise.
50781 * math/w_dremf.c: Likewise.
50782 * math/w_exp10.c: Likewise.
50783 * math/w_exp10f.c: Likewise.
50784 * math/w_exp10l.c: Likewise.
50785 * math/w_exp2.c: Likewise.
50786 * math/w_exp2f.c: Likewise.
50787 * math/w_fmod.c: Likewise.
50788 * math/w_fmodf.c: Likewise.
50789 * math/w_fmodl.c: Likewise.
50790 * math/w_hypot.c: Likewise.
50791 * math/w_hypotf.c: Likewise.
50792 * math/w_hypotl.c: Likewise.
50793 * math/w_j0.c: Likewise.
50794 * math/w_j0f.c: Likewise.
50795 * math/w_j0l.c: Likewise.
50796 * math/w_j1.c: Likewise.
50797 * math/w_j1f.c: Likewise.
50798 * math/w_j1l.c: Likewise.
50799 * math/w_jn.c: Likewise.
50800 * math/w_jnf.c: Likewise.
50801 * math/w_jnl.c: Likewise.
50802 * math/w_lgamma.c: Likewise.
50803 * math/w_lgamma_r.c: Likewise.
50804 * math/w_lgammaf.c: Likewise.
50805 * math/w_lgammaf_r.c: Likewise.
50806 * math/w_lgammal.c: Likewise.
50807 * math/w_lgammal_r.c: Likewise.
50808 * math/w_log.c: Likewise.
50809 * math/w_log10.c: Likewise.
50810 * math/w_log10f.c: Likewise.
50811 * math/w_log10l.c: Likewise.
50812 * math/w_log2.c: Likewise.
50813 * math/w_log2f.c: Likewise.
50814 * math/w_log2l.c: Likewise.
50815 * math/w_logf.c: Likewise.
50816 * math/w_logl.c: Likewise.
50817 * math/w_pow.c: Likewise.
50818 * math/w_powf.c: Likewise.
50819 * math/w_powl.c: Likewise.
50820 * math/w_remainder.c: Likewise.
50821 * math/w_remainderf.c: Likewise.
50822 * math/w_remainderl.c: Likewise.
50823 * math/w_scalb.c: Likewise.
50824 * math/w_scalbf.c: Likewise.
50825 * math/w_scalbl.c: Likewise.
50826 * math/w_sinh.c: Likewise.
50827 * math/w_sinhf.c: Likewise.
50828 * math/w_sinhl.c: Likewise.
50829 * math/w_sqrt.c: Likewise.
50830 * math/w_sqrtf.c: Likewise.
50831 * math/w_sqrtl.c: Likewise.
50832 * math/w_tgamma.c: Likewise.
50833 * math/w_tgammaf.c: Likewise.
50834 * math/w_tgammal.c: Likewise.
50836 * po/ja.po: Update from translation team.
50838 2011-09-29 Andreas Jaeger <aj@suse.de>
50841 * sunrpc/netname.c (netname2host): Fix logic.
50845 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50847 * math/w_remainder.c (__remainder): Likewise.
50848 * math/w_remainderf.c (__remainderf): Likewise.
50849 * math/libm-test.inc (remainder_test): Add test cases.
50851 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50853 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50856 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50858 * string/test-memcmp.c: Avoid unncessary #defines.
50859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50861 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50863 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50864 Use new sse2 version for core i3 - i7 as it's faster
50865 than sse42 version.
50866 (bit_Prefer_PMINUB_for_stringop): New.
50867 * sysdeps/x86_64/rawmemchr.S: Update.
50868 Replace with faster SSE2 version.
50869 * sysdeps/x86_64/memrchr.S: New file.
50870 * sysdeps/x86_64/memchr.S: Update.
50871 Replace with faster SSE2 version.
50873 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50875 * elf/dl-load.c (lose): Add cast to avoid warning.
50877 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50879 * po/ca.po: Update from translation team.
50881 * inet/getnetgrent_r.c: Hook up nscd.
50882 * nscd/Makefile (routines): Add nscd_netgroup.
50883 (nscd-modules): Add netgroupcache.
50884 (CFLAGS-netgroupcache.c): Define.
50885 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50886 (cache_search): Add const to second parameter.
50887 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50889 (dbs): Add netgrdb entry.
50890 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50891 (verify_persistent_db): Handle netgrdb.
50892 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50893 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50895 (netgroup_response_header): Define.
50896 (innetgroup_response_header): Define.
50897 (datahead): Add netgroup_response_header and innetgroup_response_header
50899 * nscd/nscd.conf: Add entries for netgroup cache.
50900 * nscd/nscd.h (dbtype): Add netgrdb.
50901 (_PATH_NSCD_NETGROUP_DB): Define.
50902 (netgroup_iov_disabled): Declare.
50903 (xmalloc, xcalloc, xrealloc): Move declarations here.
50904 (cache_search): Adjust prototype.
50905 Add netgroup-related prototypes.
50906 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50907 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50908 (__nscd_innetgr): Declare.
50909 * nscd/selinux.c (perms): Use access_vector_t as element type and
50910 add netgroup-related initializers.
50911 * nscd/netgroupcache.c: New file.
50912 * nscd/nscd_netgroup.c: New file.
50913 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50914 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50915 For four parameters use innetgr.
50916 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50917 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50918 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50919 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50921 * nscd/connections.c (register_traced_file): Don't register file
50922 for disabled databases.
50924 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50926 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50928 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50929 from tree and freeing node.
50931 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50933 * nss/nsswitch.c (__nss_database_lookup): Handle
50934 nss_parse_service_list out of memory case.
50936 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50938 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50939 out of memory case.
50941 2011-10-04 Andreas Schwab <schwab@redhat.com>
50943 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50944 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50946 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50947 elf_machine_rela, elf_machine_lazy_rel.
50948 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50949 (ELF_DYNAMIC_DO_REL): Likewise.
50950 (ELF_DYNAMIC_DO_RELA): Likewise.
50951 (ELF_DYNAMIC_RELOCATE): Likewise.
50952 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50953 to ELF_DYNAMIC_DO_REL.
50954 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50955 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50956 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50959 skip_ifunc, don't call ifunc function if non-zero.
50960 (elf_machine_rela): Likewise.
50961 (elf_machine_lazy_rel): Likewise.
50962 (elf_machine_lazy_rela): Likewise.
50963 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50964 (elf_machine_lazy_rel): Likewise.
50965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50967 (elf_machine_lazy_rel): Likewise.
50968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50970 (elf_machine_lazy_rel): Likewise.
50971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50972 (elf_machine_lazy_rel): Likewise.
50973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50974 (elf_machine_lazy_rel): Likewise.
50975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50976 (elf_machine_lazy_rel): Likewise.
50977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50978 (elf_machine_lazy_rel): Likewise.
50979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50980 (elf_machine_lazy_rel): Likewise.
50981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50982 (elf_machine_lazy_rel): Likewise.
50984 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50986 * nss/nss_files/files-init.c (_nss_files_init): Use static
50987 initialization for all the *_traced_file variables.
50989 2011-09-28 Andreas Schwab <schwab@redhat.com>
50991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50993 2011-09-27 Roland McGrath <roland@hack.frob.com>
50996 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50998 2011-09-27 Andreas Schwab <schwab@redhat.com>
51000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51001 Reread the line before reparsing it.
51003 2011-09-26 Andreas Schwab <schwab@redhat.com>
51005 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51007 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51008 Maxim Kuvyrkov <maxim@codesourcery.com>
51009 Joseph Myers <joseph@codesourcery.com>
51011 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51012 if needed for __stack_chk_guard.
51014 2011-09-19 Roland McGrath <roland@hack.frob.com>
51016 * sysdeps/posix/spawni.c (script_execute): Always define it.
51017 It will be optimized away if unused.
51018 (maybe_script_execute): New function.
51019 (__spawni): Call it.
51021 * Makerules: Don't include tls.make.
51022 (config-tls): Always set to thread.
51023 * tls.make.c: File removed.
51025 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51027 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51028 * config.make.in (CPPFLAGS-config): New substituted variable.
51030 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51035 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51036 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51038 2011-09-15 Roland McGrath <roland@hack.frob.com>
51040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51041 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51043 (CALL_FAIL): Likewise.
51044 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51045 (CALL_FAIL): Macro removed.
51046 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51050 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51051 for __FINITE_MATH_ONLY__ == 1.
51053 2011-09-15 Andreas Schwab <schwab@redhat.com>
51055 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51056 __ieee754_sqrt instead of sqrt.
51057 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51058 __ieee754_sqrtf instead of sqrtf.
51059 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51060 __floorf instead of floorf.
51061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51062 __floorf, __truncf instead of floorf, truncf.
51064 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51066 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51068 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51069 __extern_always_inline.
51070 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51073 2011-09-14 Andreas Schwab <schwab@redhat.com>
51075 * elf/rtld.c (dl_main): Also relocate in dependency order when
51076 doing symbol dependency testing.
51078 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51081 Always define `refsym'.
51083 2011-09-13 Andreas Schwab <schwab@redhat.com>
51085 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51086 (__FD_ELT): Renamed from __FDELT.
51087 * misc/bits/select2.h (__FD_ELT): Likewise.
51088 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51089 __FD_MASK instead of __FDELT, __FDMASK.
51090 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51092 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51095 * elf/Makefile (gen-ldd): Fix pattern.
51097 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51098 (init_tls): Likewise.
51100 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51104 2011-09-12 Andreas Schwab <schwab@redhat.com>
51106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51107 `struct cmsghdr *' instead of `void *'.
51108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51111 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51113 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51115 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51116 ldd_rewrite_script.
51118 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51120 * configure.in: Remove --with-tls option.
51121 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51122 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51123 out in case it is missing.
51124 * sysdeps/ia64/elf/configure.in: Likewise.
51125 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51126 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51127 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51128 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51129 * sysdeps/sh/elf/configure.in: Likewise.
51130 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51131 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51132 * sysdeps/x86_64/elf/configure.in: Likewise.
51133 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51134 * sysdeps/mach/hurd/tls.h: Likewise.
51137 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51140 * configure.in: Fix use of AC_INIT.
51142 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51144 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51146 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51148 * malloc/hooks.c: Likewise.
51151 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51152 variables statically.
51153 (narenas): Initialize.
51154 (list_lock): Initialize.
51155 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51156 initializtion of main_arena and list_lock. Small cleanups.
51157 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51158 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51159 Add initializers to main_arena and mp_.
51160 (malloc_state): Remove pagesize member. Change all users to use
51163 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51164 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51165 is always initialized.
51167 * malloc/malloc.c: Removed unused configurations and dead code.
51168 * malloc/arena.c: Likewise.
51169 * malloc/hooks.c: Likewise.
51170 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51172 * include/tls.h: Removed. USE___THREAD must always be defined.
51173 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51174 * elf/dl-libc.c: Likewise.
51175 * elf/dl-tsd.c: Likewise.
51176 * include/errno.h: Likewise.
51177 * include/netdb.h: Likewise.
51178 * include/resolv.h: Likewise.
51179 * inet/herrno-loc.c: Likewise.
51180 * inet/herrno.c: Likewise.
51181 * malloc/arena.c: Likewise.
51182 * malloc/hooks.c: Likewise.
51183 * malloc/malloc.c: Likewise.
51184 * resolv/res-state.c: Likewise.
51185 * resolv/res_libc.c: Likewise.
51186 * sysdeps/i386/dl-machine.h: Likewise.
51187 * sysdeps/ia64/dl-machine.h: Likewise.
51188 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51189 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51190 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51191 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51192 * sysdeps/sh/dl-machine.h: Likewise.
51193 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51195 * sysdeps/unix/i386/sysdep.S: Likewise.
51196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51197 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51202 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51207 * sysdeps/x86_64/dl-machine.h: Likewise.
51208 * tls.make.c: Likewise.
51210 * configure.in: Remove --with-__thread option. Make tests for
51211 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51212 tls_model attribute fail if no support is available. Remove
51214 * Makeconfig: Adjust for dropped configure option. All features are
51216 * Makerules: Likewise.
51217 * Versions.def: Likewise.
51218 * argp/argp-fmtstream.c: Likewise.
51219 * argp/argp-fmtstream.h: Likewise.
51220 * argp/argp-help.c: Likewise.
51221 * assert/assert.c: Likewise.
51222 * config.h.in: Likewise.
51223 * config.make.in: Likewise.
51224 * configure: Likewise.
51225 * configure.in: Likewise.
51226 * csu/Versions: Likewise.
51227 * csu/init.c: Likewise.
51228 * elf/tst-audit2.c: Likewise.
51229 * elf/tst-tls10.c: Likewise.
51230 * elf/tst-tls10.h: Likewise.
51231 * elf/tst-tls11.c: Likewise.
51232 * elf/tst-tls12.c: Likewise.
51233 * elf/tst-tls14.c: Likewise.
51234 * elf/tst-tlsmod11.c: Likewise.
51235 * elf/tst-tlsmod12.c: Likewise.
51236 * elf/tst-tlsmod13.c: Likewise.
51237 * elf/tst-tlsmod13a.c: Likewise.
51238 * elf/tst-tlsmod14a.c: Likewise.
51239 * elf/tst-tlsmod15b.c: Likewise.
51240 * elf/tst-tlsmod16a.c: Likewise.
51241 * elf/tst-tlsmod16b.c: Likewise.
51242 * elf/tst-tlsmod7.c: Likewise.
51243 * elf/tst-tlsmod8.c: Likewise.
51244 * elf/tst-tlsmod9.c: Likewise.
51245 * gmon/gmon.c: Likewise.
51246 * grp/fgetgrent_r.c: Likewise.
51247 * grp/putgrent.c: Likewise.
51248 * hurd/fopenport.c: Likewise.
51249 * include/libc-symbols.h: Likewise.
51250 * include/tls.h: Likewise.
51251 * intl/gettextP.h: Likewise.
51252 * intl/loadinfo.h: Likewise.
51253 * locale/global-locale.c: Likewise.
51254 * locale/localeinfo.h: Likewise.
51255 * mach/devstream.c: Likewise.
51256 * malloc/arena.c: Likewise.
51257 * malloc/set-freeres.c: Likewise.
51258 * misc/err.c: Likewise.
51259 * misc/getttyent.c: Likewise.
51260 * misc/mntent_r.c: Likewise.
51261 * posix/getopt.c: Likewise.
51262 * posix/wordexp.c: Likewise.
51263 * pwd/fgetpwent_r.c: Likewise.
51264 * resolv/Versions: Likewise.
51265 * resolv/res_hconf.c: Likewise.
51266 * shadow/fgetspent_r.c: Likewise.
51267 * shadow/putspent.c: Likewise.
51268 * stdio-common/printf_fphex.c: Likewise.
51269 * stdio-common/tmpfile.c: Likewise.
51270 * stdlib/abort.c: Likewise.
51271 * stdlib/fmtmsg.c: Likewise.
51272 * sunrpc/auth_unix.c: Likewise.
51273 * sunrpc/clnt_perr.c: Likewise.
51274 * sunrpc/clnt_tcp.c: Likewise.
51275 * sunrpc/clnt_udp.c: Likewise.
51276 * sunrpc/clnt_unix.c: Likewise.
51277 * sunrpc/openchild.c: Likewise.
51278 * sunrpc/svc_simple.c: Likewise.
51279 * sunrpc/svc_tcp.c: Likewise.
51280 * sunrpc/svc_udp.c: Likewise.
51281 * sunrpc/svc_unix.c: Likewise.
51282 * sunrpc/xdr.c: Likewise.
51283 * sunrpc/xdr_array.c: Likewise.
51284 * sunrpc/xdr_rec.c: Likewise.
51285 * sunrpc/xdr_ref.c: Likewise.
51286 * sunrpc/xdr_stdio.c: Likewise.
51288 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51290 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51292 2011-07-03 Andreas Jaeger <aj@suse.de>
51294 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51295 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51296 regenerate with gen-libm-tests.pl.
51298 2010-05-12 Petr Baudis <pasky@suse.cz>
51301 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51302 around j0() zero points by switching to j1().
51303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51308 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51315 Patch in part by Pavel Roskin <proski@gnu.org>.
51318 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51320 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51321 Free memory block if necessary.
51324 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51325 be NULL. Don't lock in this case.
51327 2011-09-09 Roland McGrath <roland@hack.frob.com>
51329 * elf/elf.h (ELFOSABI_GNU): New macro.
51330 (ELFOSABI_LINUX): Define to that.
51332 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51334 * string/strncat.c (strncat): Undef the symbol in case it has been
51335 defined in bits/string.h.
51337 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51339 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51344 2011-08-17 Andreas Jaeger <aj@suse.de>
51346 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51348 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51349 Ian Lance Taylor <iant@google.com>
51351 * math/libm-test.inc (lround_test): New testcase.
51352 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51354 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51356 * Makefile: Remove support for automatic cvs check-ins.
51357 * Makerules: Likewise.
51358 * config.make.in: Likewise.
51359 * configure.in: Likewise.
51360 * intl/Makefile: Likewise.
51361 * locale/Makefile: Likewise.
51362 * po/Makefile: Likewise.
51363 * posix/Makefile: Likewise.
51364 * sysdeps/gnu/Makefile: Likewise.
51365 * sysdeps/mach/hurd/Makefile: Likewise.
51366 * sysdeps/sparc/sparc32/Makefile: Likewise.
51369 * posix/Makefile (bug-regex32-ENV): Define.
51370 Patch by John Stanley <jpsinthemix@verizon.net>.
51372 * misc/Makefile (headers): Add bits/select2.h.
51373 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51374 * misc/bits/select2.h: New file.
51375 * include/bits/select2.h: New file.
51376 * debug/Makefile (routines): Add fdelt_chk.
51377 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51378 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51380 * debug/fdelt_chk.c: New file.
51382 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51383 * wcsmbs/test-wmemcmp.c: Likewise.
51384 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51385 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51387 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51389 * string/Makefile (strop-tests): Add memcmp.
51390 * string/test-wmemcmp.c: New file.
51391 * string/test-memcmp.c: Add wmemcmp support.
51393 2011-09-08 Roland McGrath <roland@hack.frob.com>
51396 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51399 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51400 garbage value in a __mach_port_mod_refs call in the cases of the
51401 task-self and thread-self ports.
51403 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51405 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51407 2011-09-08 Andreas Schwab <schwab@redhat.com>
51409 * elf/dl-load.c (lose): Check for non-null L.
51411 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51413 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51415 * elf/dl-libc.c (dlerror_run): Pass back error code from
51419 * elf/dl-load.c (lose): Free l_origin if it is valid.
51421 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51423 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51428 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51430 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51432 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51433 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51434 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51435 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51436 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51437 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51438 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51439 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51440 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51441 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51443 2011-08-15 Alan Modra <amodra@gmail.com>
51446 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51447 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51448 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51449 ppc_mcount to static-only-routines.
51450 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51452 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51453 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51455 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51457 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51458 for finite and infinity parameters.
51460 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51463 and add nop instructions for throughput optimization.
51464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51466 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51468 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51469 aligned copy for power7 with vector-scalar instructions.
51470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51472 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51477 2011-09-07 Andreas Schwab <schwab@redhat.com>
51480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51483 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51486 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51487 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51491 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51493 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51494 Forgot to demangle the pointer.
51496 * sysdeps/i386/sysdep.h: Define atom_text_section.
51497 * sysdeps/x86_64/sysdep.h: Likewise.
51498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51499 section with atom_text_section.
51500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51508 already be defined. Change to take two parameters and don't assign
51509 result to variable. Adjust all users.
51510 Define INTERNAL_GETTIME if not already defined.
51511 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51514 HAVE_CLOCK_GETTIME_VSYSCALL.
51515 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51518 gettimeofday vsyscall, just use time.
51520 2011-09-06 Andreas Schwab <schwab@redhat.com>
51522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51525 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51527 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51531 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51533 syscall if possible.
51535 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51537 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51538 e_ident. Don't pass to find_mapsXX.
51539 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51541 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51544 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51545 * sysdeps/x86_64/multiarch/strchr.S: Update.
51546 Check bit_slow_BSF bit.
51547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51551 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51554 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51556 (tryshell): Define.
51557 (__spawni): Change last parameter to be flag. Test
51558 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51559 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51560 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51561 * posix/spawni.c: Likewise.
51562 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51563 * posix/spawnp.c: Likewise. Change normal version to use
51564 SPAWN_XFLAGS_USE_PATH.
51565 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51566 SPAWN_XFLAGS_TRY_SHELL.
51569 * posix/glob.h: Remove gcc 1.x support.
51572 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51574 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51577 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51579 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51580 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51583 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51586 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51588 * sysdeps/x86_64/wcscmp.S: New file.
51590 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51591 wcscmp-c wcscmp-sse2
51592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51593 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51595 * wcsmbs/wcscmp.c: Allow renaming.
51597 2011-09-05 David S. Miller <davem@davemloft.net>
51599 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51600 stack slot, rather than the struct return pointer slot.
51601 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51604 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51606 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51608 * po/ja.po: Update from translation team.
51611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51612 kernel in 64-bit binaries.
51614 2011-09-01 David S. Miller <davem@davemloft.net>
51616 * elf/elf.h (HWCAP_SPARC_*): Move to..
51617 * sysdeps/sparc/sysdep.h: this new file and add new values.
51618 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51619 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51620 _DL_HWCAP_COUNT to 24.
51621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51623 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51624 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51625 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51627 instead of magic constants.
51628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51630 2011-08-31 David S. Miller <davem@davemloft.net>
51632 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51634 Reimplement to do errno handling inline.
51635 (SYSCALL_ERROR_HANDLER): New macro.
51636 (__SYSCALL_STRING): Do not do errno handling in asm.
51637 (__CLONE_SYSCALL_STRING): Delete.
51638 (__INTERNAL_SYSCALL_STRING): Delete.
51639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51640 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51641 (PSEUDO): Reimplement to do errno handling inline.
51642 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51643 (SYSCALL_ERROR_HANDLER): New macro.
51644 (__SYSCALL_STRING): Do not do errno handling in asm.
51645 (__CLONE_SYSCALL_STRING): Delete.
51646 (__INTERNAL_SYSCALL_STRING): Delete.
51647 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51648 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51650 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51651 (inline_syscall*): Add 'err' argument.
51652 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51653 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51654 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51655 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51657 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51660 2011-08-30 Andreas Schwab <schwab@redhat.com>
51662 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51664 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51666 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51669 2011-08-24 David S. Miller <davem@davemloft.net>
51671 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51673 2011-08-24 Andreas Schwab <schwab@redhat.com>
51675 * elf/Makefile: Add rules to build and run unload8 test.
51676 * elf/unload8.c: New file.
51677 * elf/unload8mod1.c: New file.
51678 * elf/unload8mod1x.c: New file.
51679 * elf/unload8mod2.c: New file.
51680 * elf/unload8mod3.c: New file.
51682 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51685 2011-08-23 David S. Miller <davem@davemloft.net>
51687 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51688 subtract stack bias.
51689 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51690 %sp not %fp in calculations.
51691 (_JMPBUF_UNWINDS_ADJ): Likewise.
51693 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51694 (aio_suspend): Call it to force an exception region around the
51695 AIO_MISC_WAIT() invocation.
51697 2011-08-23 Andreas Schwab <schwab@redhat.com>
51699 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51702 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51704 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51706 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51707 and <dl-machine.h>.
51708 (Elf64_FuncDesc): Remove.
51710 2011-08-22 David S. Miller <davem@davemloft.net>
51712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51713 sigaltstack check, add missing cfi directives.
51714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51715 missing cfi directives, and sigaltstack handling.
51717 2011-08-16 Andreas Schwab <schwab@redhat.com>
51720 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51721 object is seen twice.
51722 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51724 * elf/Makefile (distribute): Add tst-initorder2.c.
51725 (tests): Add tst-initorder2.
51726 (modules-names): Add tst-initorder2a tst-initorder2b
51727 tst-initorder2c tst-initorder2d. Add rules to build them.
51728 ($(objpfx)tst-initorder2.out): New rule.
51729 * elf/tst-initorder2.c: New file.
51730 * elf/tst-initorder2.exp: New file.
51732 2011-08-22 Andreas Schwab <schwab@redhat.com>
51734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51736 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51737 dependencies back to end of function.
51739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51740 $(elfobjdir)/ld.so.
51742 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51745 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51747 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51748 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51749 of __vdso_gettimeofday.
51750 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51751 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51753 (_libc_vdso_platform_setup): Remove initialization of
51754 __vdso_gettimeofday and __vdso_time.
51756 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51758 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51759 and fgetc_unlocked.
51760 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51763 * elf/dl-open.c (add_to_global): Report additions to the global scope
51764 for LD_DEBUG=scopes.
51765 (dl_open_worker): Also print scope of newly loaded dependencies.
51766 (_dl_show_scope): Indicate if there is no scope.
51769 * stdio-common/Makefile (tests): Add bug24.
51770 * stdio-common/bug24.c: New file.
51772 2011-08-19 Andreas Jaeger <aj@suse.de>
51775 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51776 non-existant file when using close-on-exec mode.
51778 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51781 the very first instruction.
51783 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51784 the CFI state in the end.
51785 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51786 inclusion of dl-trampoline.h.
51787 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51789 2011-08-19 Andreas Schwab <schwab@redhat.com>
51791 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51792 expectations for long double.
51794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51795 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51797 2011-08-14 David S. Miller <davem@davemloft.net>
51799 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51800 artificual limit depends upon the system page size.
51802 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51804 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51805 * resolv/Makefile: Define CFLAGS-libresolv.
51807 2011-08-17 Andreas Schwab <schwab@redhat.com>
51809 * nss/makedb.c (compute_tables): Make variables used in nested
51812 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51814 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51815 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51816 if buffer was too small.
51818 * elf/pldd.c (main): Attach to all threads in the process.
51819 Rewrite /proc handling to use *at functions.
51821 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51823 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51824 specifies first scope to show.
51825 (dl_open_worker): Update callers. Move printing scope of new
51826 object to before the relocation.
51827 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51828 * sysdeps/generic/ldsodefs.h: Update declaration.
51830 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51831 string for the scope number.
51833 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51835 * nscd/servicescache.c (cache_addserv): Make sure written is always
51838 2011-08-14 Roland McGrath <roland@hack.frob.com>
51840 * sysdeps/i386/i486/bits/atomic.h
51841 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51842 statement expression, so as to suppress "set but not used" warning.
51843 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51845 * string/strncat.c (STRNCAT): Use prototype definition.
51847 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51848 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51850 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51851 (localedef-modules): Add localedef.
51852 (locale-modules): Add locale.
51854 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51855 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51856 to avoid a warning.
51858 2011-08-14 David S. Miller <davem@davemloft.net>
51860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51861 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51863 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51865 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51866 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51867 * elf/rtld.c (dl_main): Set l_name of vDSO.
51868 Call _dl_show_scope when DL_DEBUG_SCOPES.
51869 (process_dl_debug): Recognize scopes flag and also set it for all.
51870 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51871 Declare _dl_show_scope.
51873 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51874 (do_dlopen): Pass caller_dlopen to dl_open.
51875 (__libc_dlopen_mode): Initialize caller_dlopen.
51877 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51878 of libc. Make tolower call locale-independent. Optimize a bit by
51879 using isdigit instead of isalnum.
51880 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51882 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51884 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51885 was a dependency or dynamically loaded.
51887 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51889 * intl/l10nflist.c: Allow architecture-specific pop function.
51890 * sysdeps/x86_64/l10nflist.c: New file.
51892 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51895 2011-08-10 Andreas Schwab <schwab@redhat.com>
51897 * include/dirent.h: Add libc_hidden_proto for scandirat and
51898 scandirat64. Don't declare __scandirat64.
51899 * dirent/scandirat.c: Add libc_hidden_def.
51900 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51901 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51903 2011-08-10 David S. Miller <davem@davemloft.net>
51905 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51911 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51913 * Versions.def [libc]: Add GLIBC_2.15.
51914 * dirent/Makefile (routines): Add scandirat and scandirat64.
51915 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51917 * dirent/dirent.h: Declare scandirat and scandirat64.
51918 * dirent/scandirat.c: New file.
51919 * dirent/scandirat64.c: New file.
51920 * sysdeps/wordsize-64/scandirat.c: New file.
51921 * sysdeps/wordsize-64/scandirat64.c: New file.
51922 * dirent/opendir.c: Define opendirat.
51923 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51925 * dirent/scandir64.c: Adjust for scandir.c change.
51926 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51927 __scandirat64, and __scandir_cancel_handler.
51928 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51929 additional parameter and use openat instead of open (outside of ld.so).
51930 Add new __opendir as wrapper around __opendirat.
51931 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51932 here without requiring old scandirat implementation.
51934 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51936 * dirent/scandir.c (cancel_handler): Renamed to
51937 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51938 defined. Adjust users.
51939 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51942 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51944 * string/test-string.h (IMPL): Use __STRING to expand name and then
51947 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51950 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51952 * string/Makefile: Update.
51953 (strop-tests): Append strncat.
51954 * string/test-wcscmp.c: New file.
51955 New comprehensive test for wcscmp.
51956 * string/test-strcmp.c: Update.
51957 (WIDE): New define.
51959 2011-07-22 Andreas Schwab <schwab@redhat.com>
51961 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51964 2011-07-26 Andreas Schwab <schwab@redhat.com>
51966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51967 encoding to ACE if AI_IDN.
51969 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51972 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51974 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51977 Fix overflow bug in strncat.
51978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51980 * string/test-strncat.c: Update.
51981 Add new tests for checking overflow bugs.
51983 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51986 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51987 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51988 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51990 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51991 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51992 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51993 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51996 (USE_AS_STRCAT): Define.
51997 Add strcat and strncat support.
51998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52000 2011-07-25 Andreas Schwab <schwab@redhat.com>
52002 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52003 __n bigger than INT_MAX+1.
52004 (__strncmp_g): Likewise.
52006 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52008 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52009 * libio/stido.h: Likewise.
52011 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52016 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52023 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52028 (_dl_x86_64_save_sse): Likewise.
52030 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52034 (_dl_x86_64_save_sse): Likewise.
52036 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52038 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52040 2011-07-21 Andreas Schwab <schwab@redhat.com>
52042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52044 (_dl_x86_64_save_sse): Use correct AVX check.
52046 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52049 bug in strncpy/strncat.
52050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52052 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52054 * string/tester.c (test_strcat): Add tests for different alignments
52055 of source and destination.
52056 (test_strncat): Likewise.
52058 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52061 * posix/glob.c (glob): Check passed in values before using them in
52062 expressions to avoid some overflows.
52063 (glob_in_dir): Likewise.
52066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52067 check for AVX enablement so that we don't crash with old kernels and
52069 * elf/tst-audit4.c: Add same checks here.
52070 * elf/tst-audit6.c: Likewise.
52072 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52074 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52076 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52078 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52080 * po/cs.po: Update from translation team.
52081 * po/bg.po: Likewise.
52083 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52085 * misc/sys/cdefs.h: Add support for const attribute.
52086 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52087 to gnu_dev_{major,minor,makedev} functions.
52089 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52091 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52093 2011-07-20 Andreas Schwab <schwab@redhat.com>
52095 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52098 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52101 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52102 register in order to avoid conflicts with the soft frame pointer
52103 being held in r11 when necessary.
52104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52105 (INTERNAL_VSYSCALL_NCS): Likewise.
52107 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52109 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52110 * elf/dl-fini.c (_dl_fini): Adjust caller.
52111 * elf/dl-close.c (_dl_close_worker): Likewise.
52112 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52114 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52116 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52117 "aux_cache->nlibs < 0".
52119 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52120 in the reload-count case.
52122 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52125 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52126 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52127 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52128 * sysdeps/x86_64/multiarch/strcat.S: New file.
52129 * sysdeps/x86_64/multiarch/strncat.S: New file.
52130 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52131 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52132 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52133 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52135 (USE_AS_STRCAT): Define.
52136 Add strcat and strncat support.
52137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52139 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52140 * string/strncat.c: Update.
52141 (USE_AS_STRNCAT): Define.
52142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52143 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52145 * sysdeps/x86_64/multiarch/init-arch.h
52146 (bit_Prefer_PMINUB_for_stringop): New.
52147 (index_Prefer_PMINUB_for_stringop): Likewise.
52148 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52149 bit_Prefer_PMINUB_for_stringop.
52151 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52153 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52155 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52156 of casting of buffer.
52157 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52158 buffer32 and buffer64.
52159 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52160 writes instead of casting of buffer.
52161 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52163 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52166 2011-07-19 Andreas Schwab <schwab@redhat.com>
52168 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52170 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52172 * nscd/nscd.c (termination_handler): Don't do anything for a database
52173 if it has not yet been initialized.
52175 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52177 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52179 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52181 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52183 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52185 * po/nl.po: Update from translation team.
52186 * po/sv.po: Likewise.
52188 2011-07-16 Roland McGrath <roland@hack.frob.com>
52190 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52191 now disallowed by GCC.
52193 * configure.in (use-default-link): Default to yes if a test -shared
52194 link meets our qualifications.
52195 * configure: Regenerated.
52197 * config.make.in (output-format): New variable.
52198 * configure.in: Check for ld --print-output-format support.
52199 * configure: Regenerated.
52200 * Makerules ($(common-objpfx)format.lds)
52201 [$(output-format) != unknown]: Just use $(output-format),
52202 instead of the linker-script munging.
52204 2011-07-14 Roland McGrath <roland@hack.frob.com>
52206 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52207 of $(common-objpfx)shlib.lds.
52208 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52210 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52211 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52213 * configure.in (-z relro check): Adjust test code to add a large
52214 writable data section after it.
52215 * configure: Regenerated.
52217 2011-07-11 Roland McGrath <roland@hack.frob.com>
52219 * configure.in (-z relro check): Fix test code to make the variable
52221 * configure: Regenerated.
52223 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52225 * nscd/nscd.h (struct traced_file): Define.
52226 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52227 elements. Add traced_files.
52228 (inotify_fd): Declare.
52229 (register_traced_file): Declare.
52230 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52231 (inotify_fd): Export.
52232 (resolv_conf_descr): Remove.
52233 (nscd_init): Move inotify descriptor creation to main.
52234 Don't register files for notification here.
52235 (register_traced_file): New function.
52236 (invalidate_cache): Don't use reset_res to determine whether to call
52237 res_init, go through the list of registered files.
52238 (main_loop_poll): The inotify descriptors are now stored in the
52239 structures for the traced files.
52240 (main_loop_epoll): Likewise
52241 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52242 to __nss_disable_nscd.
52243 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52244 for a database anymore. Check the records for all the registered
52246 * nss/Makefile (libnss_files-routines): Add files-init.
52247 (libnss_db-routines): Add db-init.
52248 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52249 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52250 * nss/nss_db/db-init.c: New file.
52251 * nss/nss_files/files-init.c: New file.
52252 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52253 __nss_lookup_function.
52254 (__nss_lookup_function): Call nss_load_library.
52255 (nss_load_all_libraries): New function.
52256 (__nss_disable_nscd): Take parameter with callback function for files
52257 to register. Set is_nscd. Load all the DSOs for the NSS modules
52258 used for the cached services.
52259 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52261 options for features to all the files in nscd.
52263 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52265 2011-07-10 Roland McGrath <roland@hack.frob.com>
52267 * csu/elf-init.c (__libc_csu_init): Comment typo.
52269 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52271 * po/pl.po: Update from translation team.
52272 * po/ja.po: Likewise.
52273 * po/ru.po: Likewise.
52274 * po/ko.po: Likewise.
52275 * po/fr.po: Likewise.
52277 2011-07-09 Roland McGrath <roland@hack.frob.com>
52279 * configure.in (.ctors/.dtors header and trailer check):
52280 Use an empirical test on a built program.
52281 * configure: Regenerated.
52283 * configure.in (-z relro check): Use an empirical test on a built DSO.
52284 Detect, but do not require, on ia64.
52285 * configure: Regenerated.
52287 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52288 Update tests that use readelf to use $READELF instead.
52289 * configure: Regenerated.
52291 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52293 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52294 if the result is not used.
52296 2011-07-05 Andreas Jaeger <aj@suse.de>
52299 * stdlib/tst-strtod.c: Add testcase.
52301 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52303 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52304 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52305 The latter has a higher limit. Take additional parameter to pass to
52307 (__pathconf): Pass file to __statfs_link_max.
52308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52310 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52314 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52318 (__statfs_filesize_max): Likewise.
52319 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52321 2011-07-05 Andreas Jaeger <aj@suse.de>
52323 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52325 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52327 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52329 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52332 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52334 * Makefile (strop-tests): Add strncat.
52335 * string/test-strncat.c: New file.
52337 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52339 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52341 2011-06-21 Andreas Jaeger <aj@suse.de>
52343 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52344 Copy rule from iconvdata/Makefile.
52346 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52349 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52350 but no long options are defined, just return 'W'.
52352 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52355 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52357 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52359 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52361 (innetgr): Likewise.
52363 2011-07-05 Roland McGrath <roland@hack.frob.com>
52365 * config.make.in (install_root): Default to $(DESTDIR).
52367 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52371 2011-07-02 Roland McGrath <roland@hack.frob.com>
52373 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52375 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52376 containing directory rather than embedding absolute directory names.
52378 * scripts/check-local-headers.sh: Rewritten using awk.
52379 Match by word, not by line. Print error messages for matches.
52380 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52382 * Makerules [shlib-lds-flags empty]:
52383 ($(common-objpfx)libc_pic.opts): New target.
52384 ($(common-objpfx)libc_pic.os.clean): New target.
52385 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52387 * config.make.in (OBJCOPY): New variable.
52388 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52389 * configure: Regenerated.
52391 * config.make.in (use-default-link): New variable.
52392 * configure.in (use_default_link): Grok --with-default-link to set it.
52393 * configure: Regenerated.
52394 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52395 (shlib-lds, shlib-lds-flags): Define to empty.
52397 * Makerules (shlib-lds): New variable.
52398 (shlib-lds-flags): New variable.
52399 (build-shlib, build-moduile, build-module-asneeded): Use it.
52400 ($(common-objpfx)libc.so): Use $(shlib-lds).
52401 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52404 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52405 DT_FLAGS/DT_FLAGS_1 with zero flags.
52407 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52408 linker script munging.
52410 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52412 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52414 * crypt/sha512.c (sha512_process_block): Perform total addition using
52415 128-bit if possible.
52416 (__sha512_finish_ctx): Likewise.
52417 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52419 * crypt/sha256.c (SWAP64): Define.
52420 (sha256_process_block): Perform total addition using 64-bit if
52422 (__sha256_finish_ctx): Likewise.
52424 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52426 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52428 * nscd/hstcache.c (cache_addhst): Likewise.
52429 * nscd/grpcache.c (cache_addgr): Likewise.
52430 * nscd/aicache.c (addhstaiX): Likewise
52431 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52433 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52435 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52437 * nscd/hstcache.c (cache_addhst): Likewise.
52438 * nscd/grpcache.c (cache_addgr): Likewise.
52439 * nscd/aicache.c (addhstaiX): Likewise
52441 2011-07-01 Andreas Schwab <schwab@redhat.com>
52443 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52444 domain only when needed.
52446 2011-06-30 Andreas Schwab <schwab@redhat.com>
52448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52449 is always restored.
52451 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52453 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52454 are re-adding the entry.
52455 * nscd/servicescache.c (cache_addserv): Likewise.
52457 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52459 * sysdeps/generic/dl-irel.h: fix protection against multiple
52461 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52463 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52466 * malloc/memusage.sh: Fix quoting in message.
52467 * debug/xtrace.sh: Likewise.
52469 * configure.in: Remove support for --experimental-malloc option, make
52471 * config.make.in: Likewise.
52472 * malloc/Makefile: Likewise.
52474 2011-06-27 Andreas Schwab <schwab@redhat.com>
52476 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52477 two-byte characters.
52479 2011-06-27 Roland McGrath <roland@hack.frob.com>
52481 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52482 AC_CACHE_CHECK invocation.
52483 * configure: Regenerated.
52485 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52487 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52490 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52491 bit from old_res_options.
52493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52495 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52496 value type for setfct.
52498 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52501 __gettimeofday instead of gettimeofday.
52503 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52505 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52507 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52514 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52517 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52518 strcpy-sse2-unaligned strncpy-sse2-unaligned
52519 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52520 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52521 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52522 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52523 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52526 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52527 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52528 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52529 (STRCPY): Support SSE2 and SSSE3 versions.
52531 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52535 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52536 kernels which artificially limit size of requests.
52538 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52541 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52542 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52543 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52544 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52545 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52546 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52547 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52550 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52551 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52552 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52553 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52554 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52556 Enable unaligned load optimization for Intel Core i3, i5 and i7
52558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52560 (index_Fast_Unaligned_Load): Define.
52561 (HAS_FAST_UNALIGNED_LOAD): Define.
52563 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52565 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52567 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52571 until it is clear that the information is realy needed.
52572 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52574 2011-06-22 Andreas Schwab <schwab@redhat.com>
52576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52578 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52581 /sys/devices/system/cpu/online if it is usable.
52583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52584 reading the information from the /proc filesystem to once a second.
52586 2011-06-21 Andreas Jaeger <aj@suse.de>
52588 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52589 NULL after inclusion of kernel headers.
52591 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52593 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52594 calls to internal_setent.
52597 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52598 addresses using gethostbyname4_r ignore IPv4 addresses.
52600 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52601 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52603 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52605 2011-06-20 David S. Miller <davem@davemloft.net>
52607 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52609 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52611 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52612 (elf_irel): Use it.
52613 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52614 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52615 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52616 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52617 * sysdeps/x86_64/dl-irel.h: Likewise.
52619 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52620 * elf/dl-sym.c: Likewise.
52622 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52624 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52625 need to dereference resplen2.
52627 2011-06-14 Andreas Schwab <schwab@redhat.com>
52629 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52631 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52633 * Makeconfig: Define vardbdir and inst_vardbdir.
52634 * nss/Makefile: Add rules to install db-Makefile.
52636 * nss/nss_db/db-XXX.c: Cleanup.
52638 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52639 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52641 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52642 * nss/makedb.c: Implement -g option to specify that value strings
52643 are generated and should not be added to table iterated over for
52645 * nss/nss_db/db-initgroups.c: New file.
52647 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52650 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52651 (internal_getgrouplist): Adjust to name change.
52652 Update use_initgroups_entry if this is not the first call.
52653 * nss/databases.def: Add initgroups entry.
52655 * nss/makedb.c (compute_tables): Check result of multiple hash table
52656 sizes to minimize maximum chain length.
52658 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52660 * Versions.def: Add entry for libnss_db.
52661 * shlib-versions: Likewise.
52662 * nss/Makefile: Add rules to build libnss_db.
52663 * nss/Versions: Add libnss_db information. Organize libnss_files
52665 * nss/db-Makefile: Add gshadow support. Change rules for the new
52666 makedb progra. Some minor improvements to generate smaller files.
52667 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52669 * nss/makedb.c: ...here.
52670 Improve database format to be smaller and require less memory at
52672 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52674 * nss/nss_db/db-netgrp.c: Likewise.
52675 * nss/nss_db/db-open.c: Likewise.
52676 * nss/nss_files/flies-XXX.x: Adjust comments.
52677 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52678 * nss/nss_files/files-grp.c: Likewise.
52679 * nss/nss_files/files-hosts.c: Likewise.
52680 * nss/nss_files/files-network.c: Likewise.
52681 * nss/nss_files/files-proto.c: Likewise.
52682 * nss/nss_files/files-pwd.c: Likewise.
52683 * nss/nss_files/files-rpc.c: Likewise.
52684 * nss/nss_files/files-service.c: Likewise.
52685 * nss/nss_files/files-sgrp.c: Likewise.
52686 * nss/nss_files/files-spwd.c: Likewise.
52687 * nss/nss_db/db-alias.c: Removed.
52688 * nss/nss_db/dummy-db.h: Removed.
52690 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52692 * nss/makedb.c: Rewritten to not use database library.
52693 * nss/Makefile: Update to build new makedb program.
52695 2011-06-14 Andreas Jaeger <aj@suse.de>
52697 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52698 memset declaration.
52700 2011-06-10 Andreas Schwab <schwab@redhat.com>
52702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52705 2011-06-10 Roland McGrath <roland@hack.frob.com>
52707 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52708 * elf/Makefile ($(objpfx)ld.so): Likewise.
52710 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52711 Don't list ld.so twice in dependencies.
52713 * posix/bug-regex31.c: Include <stdlib.h>.
52715 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52717 * nis/nss_compat/compat-spwd.c
52718 (getspent_next_nss_netgr): Remove unused variable.
52719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52721 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52722 nonmembers" output to use the right array.
52724 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52726 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52728 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52729 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52730 * catgets/gencat.c (read_input_file): Likewise.
52731 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52733 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52734 variable definition inside #if's controlling its use.
52736 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52738 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52740 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52742 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52745 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52747 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52748 * configure: Regenerated.
52750 * Makerules: Revert last change.
52751 * elf/Makefile: Likewise.
52753 2011-06-09 Roland McGrath <roland@hack.frob.com>
52755 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52756 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52757 (reloc-link): Likewise.
52759 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52761 * elf/Makefile: Add rules to build pldd.
52762 * elf/pldd.c: New file.
52763 * elf/pldd-xx.c: New file.
52765 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52767 * version.h: Update for 2.15 development version.
52769 2011-06-07 David S. Miller <davem@davemloft.net>
52771 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52774 elf_machine_lazy_rel): Likewise.
52775 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52777 elf_machine_lazy_rel): Likewise.
52778 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52779 dl_hwcap via passed in argument.
52780 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52783 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52785 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52787 2011-06-06 Roland McGrath <roland@hack.frob.com>
52790 * manual/fdl-1.1.texi: New file, verbatim from:
52791 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52792 * manual/lgpl-2.1.texi: New file, verbatim from:
52793 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52794 * manual/Makefile (licenses): New variable, list those new file names.
52796 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52798 * manual/fdl.texi: File removed.
52799 * manual/lesser.texi: File removed.
52800 * manual/libc.texinfo (Copying, Documentation License):
52801 Use new @include file names, put @appendix directive before @include.
52803 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52806 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52807 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52808 (mq_open): Add __NTH.
52810 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52813 Assume Intel Core i3/i5/i7 processor if AVX is available.
52815 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52820 2011-05-31 Andreas Schwab <schwab@redhat.com>
52822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52823 memory. Use alloca_account. Fix memory leak when retrying.
52825 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52827 * version.h (RELEASE): Bump for 2.14 release.
52828 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52830 * config.make.in (RANLIB): Remove entry.
52832 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52834 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52835 (libc.pot): Work around missing support for .ksh extension in xgettext.
52838 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52839 if both request failed.
52840 (send_dg): In case of server errors clear resplen or *resplen2.
52843 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52844 when there are multiple maps.
52845 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52846 (_dl_fini): Remove test here.
52848 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52850 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52853 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52854 bit from old_res_options.
52855 (gaih_inet): Likewise.
52858 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52861 * resolv/res_init.c (res_setoptions): Make the code more compact.
52864 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52868 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52870 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52873 * malloc/malloc.h: Declare malloc hook variables as volatile.
52875 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52879 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52880 raise in the comment.
52881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52883 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52885 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52888 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52889 grow the buffers more if it already has to be sufficient.
52890 (build_wcs_upper_buffer): Likewise.
52891 * posix/regexec.c (check_matching): Likewise.
52892 (clean_state_log_if_needed): Likewise.
52893 (extend_buffers): Don't enlarge buffers beyond size of the input
52895 Patches mostly by Emil Wojak <emil@wojak.eu>.
52896 * posix/bug-regex32.c: New file.
52897 * posix/Makefile (tests): Add bug-regex32.
52899 * locale/findlocale.c (_nl_find_locale): Return right away if
52900 _nl_explode_name failed.
52901 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52903 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52905 * debug/xtrace.sh: Unify messages.
52906 * malloc/memusage.sh: Likewise.
52909 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52910 time symbol from vDSO. Substitute with vsyscall if not available.
52911 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52914 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52915 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52916 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52917 Add sendmmsg and internal_sendmmsg.
52918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52919 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52922 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52923 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52926 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52929 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52930 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52936 * iconvdata/Makefile (tests): Add bug-iconv9.
52937 * iconvdata/bug-iconv9.c: New file.
52939 2011-05-27 Andreas Schwab <schwab@redhat.com>
52942 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52944 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52947 (struct user_regs_struct): Change intcs field back to cs.
52949 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52951 * po/ja.po: Update from translation team.
52953 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52959 2011-05-20 Andreas Schwab <schwab@redhat.com>
52961 * stdlib/longlong.h: Update from GCC.
52963 2011-05-23 Andreas Schwab <schwab@redhat.com>
52965 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52967 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52968 Add parameter name.
52969 (__sysconf): Pass it down.
52971 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52974 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52977 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52978 add in in __libc_use_alloca calls. Adjust callers.
52979 (glob): Use malloc in some situations.
52981 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52982 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52985 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52987 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52988 and CLOCK_BOOTTIME_ALARM.
52991 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52994 * string/_strerror.c (__strerror_r): Print negative errors as signed
52998 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52999 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53000 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53002 * configure.in: Fix typo in redirection and correct removal of test
53003 files in two cases.
53006 * locale/setlocale.c (new_composite_name): Fix test to check for
53007 identical name of all categories.
53010 * libio/filedoalloc.c (local_isatty): New function.
53011 (_IO_file_doallocate): Use local_isatty.
53012 * stdio-common/perror.c (perror): In case a new stream is used
53013 forward the stream error.
53014 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53017 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53022 * include/alloca.h (extend_alloca_account): Define.
53025 * posix/regex.h: Fix comments with documentation of user-accessible
53026 fields after compilation and describe correct free'ing of pattern
53027 after re_compile_pattern.
53028 Patch by Reuben Thomas <rrt@sc3d.org>.
53030 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53032 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53033 and -mno-altivec to prevent the compiler from using Altivec and/or
53034 VSX instructions when the corresponding registers are not available.
53036 2011-05-19 Andreas Schwab <schwab@redhat.com>
53038 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53040 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53042 * libio/freopen.c (freopen): Use __dup2, not dup2.
53043 * libio/freopen64.c (freopen64): Likewise.
53045 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53048 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53049 * math/Makefile (tests): Add test-powl.
53050 (CFLAGS-test-powl.c): Define.
53051 * math/test-powl.c: New file.
53053 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53055 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53057 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53060 * iconvdata/gb18030.c: Update to GB18020-2005.
53062 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53064 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53065 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53066 Patch by Aharon Robbins <arnold@skeeve.com>.
53069 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53073 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53074 through underflows.
53077 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53078 point to strings before performing equality test for error_one_per_line
53082 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53086 (struct user_fpregs_struct): Avoid __uint*_t types.
53089 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53090 symbol info. Use it instead of calling _dl_addr locally.
53091 (lock_and_info): New function.
53092 (tr_freehook): Call lock_and_info and pass symbol info as additional
53093 parameter to tr_where.
53094 (tr_mallochook): Likewise.
53095 (tr_reallochook): Likewise.
53096 (tr_memalignhook): Likewise.
53098 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53099 used and couldn't be at all thread-safe.
53101 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53103 * libio/freopen.c (freopen): Don't close old file descriptor
53104 before the new one is opened. Instead dup the new file descriptor
53105 to the old one after the new stream is created.
53106 * libio/freopen64.c (freopen64): Likewise.
53107 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53108 * libio/fileops.c (_IO_new_file_close_it): Handle new
53109 _IO_FLAGS2_NOCLOSE flag.
53110 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53111 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53112 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53113 _IO_FLAGS2_NOCLOSE flag.
53114 * include/unistd.h: Add hidden_proto for dup3.
53115 Define __have_dup3.
53116 * io/dup3.c: Define hidden symbol.
53117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53120 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53121 when an incomplete long option is used.
53122 * posix/tst-getopt_long1.c: New file.
53123 * posix/Makefile (tests): Add tst-getopt_long1.
53126 * scripts/config.guess: Update from autoconf-2.68.
53127 * scripts/config.sub: Likewise.
53130 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53132 (has_cpuclock): ...this. New function.
53133 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53134 macro here based on has_cpuclock code.
53137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53138 First byte (not low byte) is now always NUL.
53139 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53142 Use non-cancelable interfaces.
53145 * locale/iso-639.def: Add entry for Sorani.
53148 * include/stdlib.h: Move include protection to the right place.
53149 Define abort_msg_s. Declare __abort_msg with it.
53150 * stdlib/abort.c (__abort_msg): Adjust type.
53151 * assert/assert.c (__assert_fail_base): New function. Majority
53152 of code from __assert_fail. Allocate memory for __abort_msg with
53154 (__assert_fail): Now call __assert_fail_base.
53155 * assert/assert-perr.c: Remove bulk of implementation. Use
53156 __assert_fail_base.
53157 * include/assert.hL Declare __assert_fail_base.
53158 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53160 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53162 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53166 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53167 until all modules are registered in the DTV.
53168 * elf/Makefile: Add rules to build and run tst-tls19.
53169 * elf/tst-tls19.c: New file.
53170 * elf/tst-tls19mod1.c: New file.
53171 * elf/tst-tls19mod2.c: New file.
53172 * elf/tst-tls19mod3.c: New file.
53173 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53176 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53180 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53181 two-byte sequence errors.
53182 * iconvdata/Makefile (tests): Add bug-iconv8.
53183 * iconvdata/bug-iconv8.c: New file.
53186 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53189 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53192 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53193 (dummy_getcfa): New function.
53194 (init): Get _Unwind_GetCFA address, use dummy if not found.
53195 (backtrace_helper): In recursion check, also check whether CFA changes.
53196 (__backtrace): Completely initialize arg.
53198 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53199 storing incomplete byte sequence in state object. Avoid testing for
53200 guaranteed too small input if we know there is enough data available.
53202 2011-05-11 Andreas Schwab <schwab@redhat.com>
53204 * Makeconfig (+link-pie): Indent.
53205 * Rules (binaries-pie): Define if $(have-fpie) and
53207 (binaries-shared): Also filter out $(binaries-pie).
53208 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53209 * nscd/Makefile (others-pie): Add nscd.
53210 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53211 ($(objpfx)nscd): Remove command override.
53212 * login/Makefile (others-pie): Add pt_chown.
53213 ($(objpfx)pt_chown): Remove command override.
53214 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53215 remove command overrides.
53217 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53219 * libio/tst_putwc.c: Fix error messages.
53222 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53223 currently writing and seek to current position when not.
53224 * libio/Makefile (tests): Add bug-fclose1.
53225 * libio/bug-fclose1.c: New file.
53227 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53230 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53231 don't set DF_1_NODELETE here.
53232 (do_lookup_x): When entering new entry test for copy relocation
53233 and if necessary set DF_1_NODELETE flag.
53234 * elf/tst-unique4.cc: New file.
53235 * elf/tst-unique4.h: New file.
53236 * elf/tst-unique4lib.cc: New file.
53237 * elf/Makefile: Add rules to build and run tst-unique4.
53238 Patch by Piotr Bury <pbury@goahead.com>.
53240 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53243 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53246 * misc/mntent_r.c (addmntent): Flush the stream after the output
53249 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53250 (is_trusted_path_normalize): Skip initial colon. Append slash
53251 to empty buffer. Duplicate is_trusted_path code but allow
53252 constructed patch to be prefix.
53253 (is_dst): Allow $ORIGIN followed by /.
53254 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53255 Correct testing of result of is_trusted_path_normalize
53256 (decompose_rpath): Fix warning.
53258 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53261 * grp/initgroups.c (internal_getgrouplist): When we found the service
53262 list through the initgroups entry in nsswitch.conf do not always
53263 continue on a successful lookup. Don't always use the
53264 __nss_group_database value if it is set.
53265 * nss/nsswitch.conf (initgroups): Change action for successful db
53266 lookup to continue for compatibility.
53268 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53271 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53273 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53275 * iconvdata/tst-tables.sh: Likewise.
53276 * iconvdata/cp770.c: New file.
53277 * iconvdata/cp771.c: New file.
53278 * iconvdata/cp772.c: New file.
53279 * iconvdata/cp773.c: New file.
53280 * iconvdata/cp774.c: New file.
53281 * iconvdata/testdata/CP770: New file.
53282 * iconvdata/testdata/CP770..UTF8: New file.
53283 * iconvdata/testdata/CP771: New file.
53284 * iconvdata/testdata/CP771..UTF8: New file.
53285 * iconvdata/testdata/CP772: New file.
53286 * iconvdata/testdata/CP772..UTF8: New file.
53287 * iconvdata/testdata/CP773: New file.
53288 * iconvdata/testdata/CP773..UTF8: New file.
53289 * iconvdata/testdata/CP774: New file.
53290 * iconvdata/testdata/CP774..UTF8: New file.
53292 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53294 * iconvdata/gen-8bit-gap.sh: Likewise.
53295 * iconvdata/gen-8bit.sh: Likewise.
53297 * locale/iso-639.def: Add ary entry.
53300 * locale/C-translit.h.in: Add U20A1 transliteration.
53303 * locale/iso-639.def: Add wae entry.
53304 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53307 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53311 * locale/C-translit.h.in: Add entry for U20B9.
53312 Patch by pravin.d.s@gmail.com.
53314 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53317 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53318 ENAMETOOLONG use generic getcwd.
53319 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53320 in rtld. Use *stat64.
53321 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53322 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53323 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53324 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53325 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53326 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53327 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53328 __fstatat64 macros.
53329 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53330 * dirent/rewinddir.c: Add libc_hidden_def.
53331 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53332 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53334 * include/dirent.h (__alloc_dir): Add flags parameter.
53335 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53336 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53338 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53339 from fdopendir if O_CLOEXEC is already set.
53341 2011-03-15 Alan Modra <amodra@gmail.com>
53343 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53344 l_tls_firstbyte_offset non-zero. Save padding offset in
53345 l_tls_firstbyte_offset for later use.
53346 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53347 freeing static tls block.
53349 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53351 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53352 where #ifdef was intended. The intent is to prevent ARG_MAX from
53353 being defined by the kernel headers.
53355 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53358 * resolv/resolv.h: Define RES_NOTLDQUERY.
53359 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53360 no-tld-query and set RES_NOTLDQUERY.
53361 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53362 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53363 modern BIND to search name as TLD unless forbidden.
53365 2011-05-07 Petr Baudis <pasky@suse.cz>
53366 Ulrich Drepper <drepper@gmail.com>
53369 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53370 (is_trusted_path): ...to here.
53371 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53372 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53373 using is_trusted_path_normalize() in setuid scripts.
53375 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53377 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53378 __BEGIN/__END_DECLS.
53380 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53383 NSS_STATUS_NOTFOUND if no record was found.
53385 2011-05-05 Andreas Schwab <schwab@redhat.com>
53387 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53388 (headers-not-in-tirpc): Remove rpc/netdb.h
53389 * resolv/netdb.h: Revert last change.
53391 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53393 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53394 circular dependency between libgcc.a and libc.a.
53396 2011-05-05 Andreas Schwab <schwab@redhat.com>
53398 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53399 * nis/Makefile: Don't install rpcsvc/*.
53400 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53401 instead of <rpc/types.h>.
53402 (MAXHOSTNAMELEN): Define.
53404 2011-05-03 Andreas Schwab <schwab@redhat.com>
53406 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53408 2011-04-28 Maciej Babinski <mbabinski@google.com>
53411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53412 gethostbyname4_r when IPv6 results are possible.
53414 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53417 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53418 _PC_PIPE_BUF handling.
53420 2011-04-30 Bruno Haible <bruno@clisp.org>
53423 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53424 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53426 * inet/getnameinfo.c (getnameinfo): Likewise.
53428 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53430 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53431 to groups setting in database lookup.
53432 * nss/nsswitch.conf: Add initgroups entry.
53434 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53437 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53439 Patch by Eric Blake <eblake@redhat.com>.
53441 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53443 * sunrpc/Makefile (need-export-routines): Add svc_run.
53444 (routines): Remove svc_run.
53445 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53446 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53447 * sunrpc/svc_run.c (svc_run): Likewise.
53448 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53450 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53453 problem in reallocation in last patch.
53455 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53457 * sunrpc/Makefile: Move inclusion of Rules.
53459 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53461 * nss/nss_files/files-initgroups.c: New file.
53462 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53463 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53464 _nss_files_initgroups_dyn.
53466 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53468 * elf/elf.h (R_ARM_IRELATIVE): Define.
53470 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53472 * po/ru.po: Update from translation team.
53474 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53476 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53479 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53483 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53488 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53490 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53496 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53499 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53501 * stdlib/bug-getcontext.c: New file.
53502 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53504 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53506 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53507 instructions into .machine "z9-109".
53508 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53509 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53511 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53513 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53514 between environment variables and auxiliary vector.
53516 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53518 * Makefile: Add rules to build linkobj/libc.so.
53519 * include/libc-symbols.h: Define libc_hidden_nolink.
53520 * include/rpc/auth.h: Mark functions which are to be hidden.
53521 * include/rpc/auth_des.h: Likewise.
53522 * include/rpc/auth_unix.h: Likewise.
53523 * include/rpc/clnt.h: Likewise.
53524 * include/rpc/des_crypt.h: Likewise.
53525 * include/rpc/key_prot.h: Likewise.
53526 * include/rpc/pmap_clnt.h: Likewise.
53527 * include/rpc/pmap_prot.h: Likewise.
53528 * include/rpc/pmap_rmt.h: Likewise.
53529 * include/rpc/rpc_msg.h: Likewise.
53530 * include/rpc/svc.h: Likewise.
53531 * include/rpc/svc_auth.h: Likewise.
53532 * include/rpc/xdr.h: Likewise.
53533 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53534 * nss/Makefile: Likewise.
53535 * sunrpc/Makefile: Don't install headers. Build library with normal
53536 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53537 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53538 for the compat linking library. Remove use of INTDEF/INTUSE.
53539 * sunrpc/auth_none.c: Likewise.
53540 * sunrpc/auth_unix.c: Likewise.
53541 * sunrpc/authdes_prot.c: Likewise.
53542 * sunrpc/authuxprot.c: Likewise.
53543 * sunrpc/clnt_gen.c: Likewise.
53544 * sunrpc/clnt_perr.c: Likewise.
53545 * sunrpc/clnt_raw.c: Likewise.
53546 * sunrpc/clnt_simp.c: Likewise.
53547 * sunrpc/clnt_tcp.c: Likewise.
53548 * sunrpc/clnt_udp.c: Likewise.
53549 * sunrpc/clnt_unix.c: Likewise.
53550 * sunrpc/des_crypt.c: Likewise.
53551 * sunrpc/des_soft.c: Likewise.
53552 * sunrpc/get_myaddr.c: Likewise.
53553 * sunrpc/key_call.c: Likewise.
53554 * sunrpc/key_prot.c: Likewise.
53555 * sunrpc/netname.c: Likewise.
53556 * sunrpc/pm_getmaps.c: Likewise.
53557 * sunrpc/pm_getport.c: Likewise.
53558 * sunrpc/pmap_clnt.c: Likewise.
53559 * sunrpc/pmap_prot.c: Likewise.
53560 * sunrpc/pmap_prot2.c: Likewise.
53561 * sunrpc/pmap_rmt.c: Likewise.
53562 * sunrpc/publickey.c: Likewise.
53563 * sunrpc/rpc_cmsg.c: Likewise.
53564 * sunrpc/rpc_common.c: Likewise.
53565 * sunrpc/rpc_dtable.c: Likewise.
53566 * sunrpc/rpc_prot.c: Likewise.
53567 * sunrpc/rpc_thread.c: Likewise.
53568 * sunrpc/rtime.c: Likewise.
53569 * sunrpc/svc.c: Likewise.
53570 * sunrpc/svc_auth.c: Likewise.
53571 * sunrpc/svc_authux.c: Likewise.
53572 * sunrpc/svc_raw.c: Likewise.
53573 * sunrpc/svc_run.c: Likewise.
53574 * sunrpc/svc_simple.c: Likewise.
53575 * sunrpc/svc_tcp.c: Likewise.
53576 * sunrpc/svc_udp.c: Likewise.
53577 * sunrpc/svc_unix.c: Likewise.
53578 * sunrpc/svcauth_des.c: Likewise.
53579 * sunrpc/xcrypt.c: Likewise.
53580 * sunrpc/xdr.c: Likewise.
53581 * sunrpc/xdr_array.c: Likewise.
53582 * sunrpc/xdr_float.c: Likewise.
53583 * sunrpc/xdr_intXX_t.c: Likewise.
53584 * sunrpc/xdr_mem.c: Likewise.
53585 * sunrpc/xdr_rec.c: Likewise.
53586 * sunrpc/xdr_ref.c: Likewise.
53587 * sunrpc/xdr_sizeof.c: Likewise.
53588 * sunrpc/xdr_stdio.c: Likewise.
53590 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53593 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53594 * sysdeps/ia64/dl-tls.h: Likewise.
53595 * sysdeps/powerpc/dl-tls.h: Likewise.
53596 * sysdeps/s390/dl-tls.h: Likewise.
53597 * sysdeps/sh/dl-tls.h: Likewise.
53598 * sysdeps/sparc/dl-tls.h: Likewise.
53599 * sysdeps/x86_64/dl-tls.h: Likewise.
53600 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53602 2011-03-14 Andreas Schwab <schwab@redhat.com>
53604 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53605 rpath element also skip the following colon.
53606 (expand_dynamic_string_token): Add is_path parameter and pass
53607 down to DL_DST_REQUIRED and _dl_dst_substitute.
53608 (decompose_rpath): Call expand_dynamic_string_token with
53609 non-zero is_path. Ignore empty rpaths.
53610 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53613 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53618 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53621 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53622 Patch by Filipe David Manana <fdmanana@apache.org>.
53624 2011-04-07 Andreas Schwab <schwab@redhat.com>
53626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53627 Maintain aligned stack.
53628 (CHECK_RSP): Remove unused macro.
53630 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53632 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53633 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53635 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53637 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53639 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53641 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53644 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53645 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53646 * sysdeps/x86_64/memmove.c: New file.
53647 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53648 (memcpy): Renamed to ...
53649 (__new_memcpy): This.
53650 (memcpy): Provide GLIBC_2_14 memcpy.
53651 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53652 (memcpy): Provide GLIBC_2_2_5 memcpy.
53654 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53657 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53659 2011-03-30 Andreas Schwab <schwab@redhat.com>
53661 * misc/syncfs.c: New file.
53662 * misc/Makefile (routines): Add syncfs.
53663 * posix/unistd.h: Declare syncfs.
53664 * sysdeps/unix/syscalls.list: Add syncfs.
53666 2011-04-01 Andreas Schwab <schwab@redhat.com>
53668 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53675 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53678 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53682 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53688 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53689 sync_file_range.c with -fexceptions.
53690 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53691 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53692 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53693 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53694 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53695 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53697 sync_file_range as cancellation point
53698 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53699 now a wrapper around __call_sync_file_range with cancellation handling.
53700 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53701 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53702 function name to __call_sync_file_range.
53703 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53704 Add call_sync_file_range.
53706 2011-04-01 Andreas Schwab <schwab@redhat.com>
53708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53711 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53713 * iconv/iconv.h: Fix typo in comment.
53714 * io/fcntl.h: Likewise.
53715 * libio/stdio.h: Likewise.
53716 * posix/spawn.h: Likewise.
53717 * posix/unistd.h: Likewise.
53718 * stdlib/stdlib.h: Likewise.
53719 * time/time.h: Likewise.
53720 * wcsmbs/wchar.h: Likewise.
53722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53723 open_by_handle): Add.
53724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53725 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53726 Augment a few comments.
53727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53732 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53735 * io/fcntl.h (AT_EMPTY_PATH): Define.
53737 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53739 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53740 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53741 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53743 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53744 * Versions.def: Add GLIBC_2.14.
53745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53748 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53752 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53754 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53757 * string/test-strncmp.c (do_page_test): New function.
53758 (check2): Likewise.
53759 (test_main): Call check2.
53760 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53762 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53766 Handle cache information in CPU leaf 4.
53767 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53769 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53772 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53773 character representation.
53774 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53776 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53779 END(__isnan) to END(__isnanf) to match function entry point/label
53780 EALIGN(__isnanf,...).
53782 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53784 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53786 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53789 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53790 copy from the symbol referenced in the relocation to initialize the
53792 Patch by Piotr Bury <pbury@goahead.com>.
53793 * elf/Makefile: Add rules to build and tst-unique3.
53794 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53795 * elf/tst-unique3.cc: New file.
53796 * elf/tst-unique3.h: New file.
53797 * elf/tst-unique3lib.cc: New file.
53798 * elf/tst-unique3lib2.cc: New file.
53800 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53802 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53804 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53805 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53808 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53810 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53811 to-be-loaded object along a path to loader is ld.so.
53813 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53814 Ulrich Drepper <drepper@gmail.com>
53816 * sysdeps/x86_64/memset.S: After aligning destination, code
53817 branches to different locations depending on the value of
53818 misalignment, when multiarch is enabled. Fix this.
53820 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53822 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53823 Set _x86_64_preferred_memory_instruction for AMD processsors.
53824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53825 Set bit_Prefer_SSE_for_memop for AMD processors.
53827 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53829 * libio/fmemopen.c (fmemopen): Optimize a bit.
53831 2011-03-03 Andreas Schwab <schwab@redhat.com>
53833 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53835 2011-03-03 Roland McGrath <roland@redhat.com>
53837 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53839 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53841 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53842 __bzero_ultra1 instead of __memset_ultra1.
53844 2011-02-23 Andreas Schwab <schwab@redhat.com>
53845 Ulrich Drepper <drepper@gmail.com>
53848 * include/link.h (struct link_map): Add l_orig_initfini.
53849 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53850 returning unsuccessfully.
53851 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53852 close of a file loaded at startup, restore the original l_initfini
53854 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53855 list, store the pointer.
53856 * elf/Makefile ($(objpfx)noload-mem): New rule.
53857 (noload-ENV): Define.
53858 (tests): Add $(objpfx)noload-mem.
53859 * elf/noload.c: Include <memcheck.h>.
53860 (main): Call mtrace. Close all opened handles.
53862 2011-02-17 Andreas Schwab <schwab@redhat.com>
53865 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53866 dependencies are missing.
53868 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53870 Fix __if_freereq crash: Unlike the generic version which uses free,
53872 * sysdeps/mach/hurd/ifreq.h: New file.
53874 2011-01-27 Petr Baudis <pasky@suse.cz>
53875 Ulrich Drepper <drepper@gmail.com>
53878 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53879 to extend_alloca().
53880 * stdio-common/bug23.c: New file.
53881 * stdio-common/Makefile (tests): Add bug23.
53883 2010-09-28 Andreas Schwab <schwab@redhat.com>
53884 Ulrich Drepper <drepper@gmail.com>
53887 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53888 before performing relro protection. At old place add assertion
53889 to make sure nothing changed.
53891 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53892 Glauber de Oliveira Costa <glommer@gmail.com>
53894 * elf/elf.h: Add new ARM TLS relocs.
53896 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53899 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53901 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53903 * sysdeps/wordsize-64/tst-writev.c: New file.
53905 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53907 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53908 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53909 insns in _dl_start to prevent a TOC reference before relocs are
53912 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53915 * Makeconfig: Remove RANLIB definition.
53916 * Makerules: Don't use RANLIB.
53917 * aclocal.m4: Remove ranlib test.
53918 * configure.in: No need to check for ranlib.
53919 * elf/rtld-Rules: Don't use RANLIB.
53921 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53923 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53925 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53926 inclusion protection macro.
53928 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53929 SIGRTMIN and SIGRTMAX and print information in that case only when
53930 SIGRTMIN is defined.
53932 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53934 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53935 arginfo fn returning -1.
53937 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53938 and thousands string is zero terminated.
53940 2011-02-03 Andreas Schwab <schwab@redhat.com>
53942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53943 sysdeps/unix/sysv/linux/bits/socket.h.
53945 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53947 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53948 (__CPU_COUNT): Remove old macros.
53949 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53950 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53951 (__CPU_ALLOC, __CPU_FREE): Add macros.
53952 (__sched_cpualloc, __sched_cpufree): Add declarations.
53954 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53956 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53957 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53958 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53959 (readdhstai): Return value of addhstaiX call.
53960 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53961 (addgrbyX): Return value returned by cache_addgr.
53962 (readdgrbyname): Return value returned by addgrbyX.
53963 (readdgrbygid): Likewise.
53964 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53965 (addpwbyX): Return value returned by cache_addpw.
53966 (readdpwbyname): Return value returned by addhstbyX.
53967 (readdpwbyuid): Likewise.
53968 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53969 (addservbyX): Return value returned by cache_addserv.
53970 (readdservbyname): Return value returned by addservbyX:
53971 (readdservbyport): Likewise.
53972 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53973 (addhstbyX): Return value returned by cache_addhst.
53974 (readdhstbyname): Return value returned by addhstbyX.
53975 (readdhstbyaddr): Likewise.
53976 (readdhstbynamev6): Likewise.
53977 (readdhstbyaddrv6): Likewise.
53978 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53979 (readdinitgroups): Return value returned by addinitgroupsX.
53980 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53981 (prune_cache): Keep track of timeout value of re-added entries.
53982 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53983 * nscd/nscd.h: Adjust prototypes of readd* functions.
53985 2011-02-04 Roland McGrath <roland@redhat.com>
53987 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53988 (nis_stats): Likewise.
53989 * nis/nis_modify.c (nis_modify): Likewise.
53990 * nis/nis_remove.c (nis_remove): Likewise.
53991 * nis/nis_add.c (nis_add): Likewise.
53993 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53995 * posix/fnmatch_loop.c: Add some consts.
53997 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53999 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54002 * config.make.in (config-cflags-novzeroupper): Define.
54003 * configure.in: Substitute libc_cv_cc_novzeroupper.
54004 * elf/Makefile (AVX-CFLAGS): Define.
54005 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54006 (CFLAGS-tst-auditmod4a.c): Likewise.
54007 (CFLAGS-tst-auditmod4b.c): Likewise.
54008 (CFLAGS-tst-auditmod6b.c): Likewise.
54009 (CFLAGS-tst-auditmod6c.c): Likewise.
54010 (CFLAGS-tst-auditmod7b.c): Likewise.
54011 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54013 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54015 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54016 function to the callback.
54017 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54019 2011-02-02 Andreas Schwab <schwab@redhat.com>
54021 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54024 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54027 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54029 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54031 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54034 * elf/Makefile: Add rules to build and run new test.
54035 * elf/tst-initorder.c: New file.
54036 * elf/tst-initorder.exp: New file.
54037 * elf/tst-initordera1.c: New file.
54038 * elf/tst-initordera2.c: New file.
54039 * elf/tst-initordera3.c: New file.
54040 * elf/tst-initordera4.c: New file.
54041 * elf/tst-initorderb1.c: New file.
54042 * elf/tst-initorderb2.c: New file.
54043 * elf/tst-order-a1.c: New file.
54044 * elf/tst-order-a2.c: New file.
54045 * elf/tst-order-a3.c: New file.
54046 * elf/tst-order-a4.c: New file.
54047 * elf/tst-order-b1.c: New file.
54048 * elf/tst-order-b2.c: New file.
54049 * elf/tst-order-main.c: New file.
54050 New test case by George Gensure <werkt0@gmail.com>.
54052 2010-10-01 Andreas Schwab <schwab@redhat.com>
54054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54055 decoding ACE if AI_CANONIDN.
54057 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54059 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54061 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54063 * version.h (RELEASE): Bump for 2.13 release.
54064 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54066 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54070 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54071 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54077 * posix/getconf.c: Update copyright year.
54078 * catgets/gencat.c: Likewise.
54079 * csu/version.c: Likewise.
54080 * debug/catchsegv.sh: Likewise.
54081 * debug/xtrace.sh: Likewise.
54082 * elf/ldconfig.c: Likewise.
54083 * elf/ldd.bash.in: Likewise.
54084 * elf/sprof.c (print_version): Likewise.
54085 * iconv/iconv_prog.c: Likewise.
54086 * iconv/iconvconfig.c: Likewise.
54087 * locale/programs/locale.c: Likewise.
54088 * locale/programs/localedef.c: Likewise.
54089 * malloc/memusage.sh: Likewise.
54090 * malloc/mtrace.pl: Likewise.
54091 * nscd/nscd.c (print_version): Likewise.
54092 * nss/getent.c: Likewise.
54094 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54095 PF_CAIF, and PF_ALG.
54096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54098 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54100 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54101 (modules-names): Use them.
54102 (ifunc-test-modules, ifunc-pie-tests): Define.
54103 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54104 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54105 (test-extras): Likewise.
54106 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54107 $(compile-command.c).
54108 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54109 (all-built-dso): Define.
54110 (check-textrel.out, check-execstack.out): Depend on it.
54112 * configure.in: Don't override --enable-multi-arch.
54114 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54117 * nscd/hstcache.c (tryagain): Define.
54118 (cache_addhst): Return tryagain not notfound for temporary errors.
54119 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54122 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54125 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54126 to make the syscall.
54127 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54130 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54131 and fall back to matching as normal character if the string ends before
54132 the matching ']' is found. This is what POSIX requires.
54133 * posix/testfnm.c: Adjust test result.
54134 * posix/globtest.sh: Adjust test result. Add new test.
54135 * posix/tst-fnmatch.input: Likewise.
54136 * posix/tst-fnmatch2.c: Add new test.
54138 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54140 * elf/Makefile (check-execstack): Revert last change. Depend on
54142 (check-execstack.h): New target.
54143 (generated): Add check-execstack.h.
54144 * elf/check-execstack.c: Include "check-execstack.h".
54145 (main): Revert last change.
54146 (handle_file): Return zero if GNU_STACK is absent and
54147 DEFAULT_STACK_PERMS doesn't include PF_X.
54149 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54151 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54152 in child fails because the descriptor is already closed.
54153 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54154 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54155 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54158 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54162 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54163 temporary buffer used to handle multi lookups locally.
54164 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54166 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54168 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54171 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54173 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54174 alignment for SSE2.
54176 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54179 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54180 characters. When rounding increased number of integer digits recompute
54182 * stdio-common/tst-grouping.c: New file.
54183 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54185 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54187 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54188 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54190 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54192 * bits/select.h: Likewise.
54194 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54196 * po/ja.po: Update from translation team.
54198 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54201 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54202 implementation just like for lxstat, fxstatat, et al.
54204 2010-12-27 Jim Meyering <meyering@redhat.com>
54207 * posix/regexec.c (build_trtable): Return failure indication upon
54208 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54210 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54213 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54214 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54215 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54219 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54222 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54223 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54225 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54227 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54228 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54229 script has SORT_BY_INIT_PRIORITY.
54230 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54231 NO_CTORS_DTORS_SECTIONS is defined.
54232 * elf/soinit.c: Likewise.
54233 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54234 NO_CTORS_DTORS_SECTIONS is defined.
54235 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54236 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54237 * sysdeps/sh/init-first.c: Likewise.
54238 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54240 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54242 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54243 always use the slow path.
54245 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54247 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54248 similar rule which adds the sysdep directories to the header search in
54249 order to pick up the correct platform stackinfo.h.
54250 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54251 perform test if it is, otherwise return successfully without testing.
54252 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54253 DEFAULT_STACK_PERMS define in stackinfo.h.
54254 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54255 defined in stackinfo.h.
54256 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54257 DEFAULT_STACK_PERMS defined in stackinfo.h.
54258 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54259 * sysdeps/ia64/stackinfo.h: Likewise.
54260 * sysdeps/s390/stackinfo.h: Likewise.
54261 * sysdeps/sh/stackinfo.h: Likewise.
54262 * sysdeps/sparc/stackinfo.h: Likewise.
54263 * sysdeps/x86_64/stackinfo.h: Likewise.
54264 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54265 PF_X for powerpc64. Retain PF_X for powerpc32.
54267 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54269 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54271 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54272 GETDENTS_64BIT_ALIGNED.
54274 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54276 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54278 2010-12-10 Andreas Schwab <schwab@redhat.com>
54280 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54284 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54286 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54287 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54289 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54292 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54295 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54297 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54299 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54301 * po/it.po: Update from translation team.
54303 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54308 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54310 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54312 2010-11-24 Andreas Schwab <schwab@redhat.com>
54314 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54316 (gaih_getanswer_slice): Likewise.
54318 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54322 2010-05-31 Petr Baudis <pasky@suse.cz>
54325 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54326 silently even in the chroot mode.
54328 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54331 last patch a bit. Pretty printing
54333 2010-05-31 Petr Baudis <pasky@suse.cz>
54336 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54337 initialization of skip_initgroups_dyn.
54339 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54342 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54344 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54346 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54348 2010-11-11 Andreas Schwab <schwab@redhat.com>
54350 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54351 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54352 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54353 ($(objpfx)tst-fnmatch-mem): New rule.
54354 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54355 * posix/tst-fnmatch.c (main): Call mtrace.
54357 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54360 Support Intel processor model 6 and model 0x2c.
54362 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54367 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54370 * string/test-strncasecmp.c (check_result): New function.
54371 (do_one_test): Use it.
54372 (check1): New function.
54373 (test_main): Use it.
54374 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54375 Support strcasecmp and strncasecmp.
54377 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54380 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54383 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54385 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54389 * sysdeps/x86_64/multiarch/bzero.S: New file.
54390 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54391 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54392 * sysdeps/x86_64/multiarch/memset.S: New file.
54393 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54395 Set bit_Prefer_SSE_for_memop for Intel processors.
54396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54398 (index_Prefer_SSE_for_memop): Define.
54399 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54401 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54406 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54410 (__x86_64_raw_data_cache_size_half): Likewise.
54411 (__x86_64_raw_shared_cache_size): Likewise.
54412 (__x86_64_raw_shared_cache_size_half): Likewise.
54414 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54415 (__x86_64_raw_data_cache_size_half): Likewise.
54416 (__x86_64_raw_shared_cache_size): Likewise.
54417 (__x86_64_raw_shared_cache_size_half): Likewise.
54418 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54419 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54420 and __x86_64_raw_shared_cache_size_half. Round
54421 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54422 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54423 to multiple of 256 bytes.
54425 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54429 of inacessible symlinks. Verify result of symlink before returning it.
54430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54431 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54433 2010-10-28 Erich Ritz <erichritz@gmail.com>
54435 * math/math.h (isinf): Fix typo in comment.
54437 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54439 * po/da.po: Update from translation team.
54441 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54443 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54444 is added to the list.
54446 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54447 Ulrich Drepper <drepper@gmail.com>
54449 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54450 the global list here. Move code to...
54451 (_dl_add_to_namespace_list): ...here. New function.
54452 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54453 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54454 * elf/dl-load.c (lose): Don't remove the element from the list.
54455 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54456 (_dl_map_object): Likewise.
54458 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54461 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54462 into all bytes of SSE register.
54463 Patch by Richard Li <richardpku@gmail.com>.
54465 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54468 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54471 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54473 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54474 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54481 2010-10-22 Andreas Schwab <schwab@redhat.com>
54483 * include/dlfcn.h (__RTLD_SECURE): Define.
54484 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54485 mode & __RTLD_SECURE instead.
54486 (open_path): Rename preloaded parameter to secure.
54487 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54488 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54489 * elf/dl-deps.c (openaux): Likewise.
54490 * elf/rtld.c (struct map_args): Remove is_preloaded.
54491 (map_doit): Don't use it.
54492 (dl_main): Likewise.
54493 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54494 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54496 2010-09-09 Andreas Schwab <schwab@redhat.com>
54498 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54499 (sysd-rules-targets): Remove duplicates.
54500 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54501 rtld-%.$o dependency.
54503 2010-10-18 Andreas Schwab <schwab@redhat.com>
54505 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54506 _dl_map_object do it.
54508 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54510 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54511 fast fma builtins, define the macros in the C99 standard.
54512 (FP_FAST_FMAF): Likewise.
54513 (FP_FAST_FMAL): Likewise.
54514 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54516 * bits/mathdef.h: Update copyright year.
54517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54519 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54521 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54522 builtins, define the macros in the C99 standard.
54523 (FP_FAST_FMAF): Likewise.
54524 (FP_FAST_FMAL): Likewise.
54525 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54527 (FP_FAST_FMAF): Likewise.
54529 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54532 * math/libm-test.inc (fma_test): Some new testcases.
54533 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54534 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54535 y and infinite z. Do multiplication by C already in long double.
54536 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54538 y and infinite z. Do bitwise or of inexact bit into u.d.
54539 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54540 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54541 * sysdeps/i386/fpu/s_fma.S: Removed.
54542 * sysdeps/i386/fpu/s_fmal.S: Removed.
54544 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54547 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54549 computation is not scheduled after fetestexcept. Fix value
54550 of minimum denormal long double.
54552 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54555 * math/libm-test.inc (fma_test): Add some more tests.
54556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54559 2010-10-15 Andreas Schwab <schwab@redhat.com>
54561 * scripts/data/localplt-s390-linux-gnu.data: New file.
54562 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54564 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54567 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54568 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54570 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54572 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54574 if one of x and y is very large and the other is subnormal.
54575 * sysdeps/s390/fpu/s_fmaf.c: New file.
54576 * sysdeps/s390/fpu/s_fma.c: New file.
54577 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54578 * sysdeps/powerpc/fpu/s_fma.S: New file.
54579 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54580 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54581 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54583 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54586 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54589 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54590 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54591 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54592 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54593 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54594 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54596 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54599 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54600 * posix/bug-regex31.input: Add test case.
54602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54604 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54605 * posix/bug-regex31.input: New file.
54608 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54609 (parse_sub_exp): Fix last change, use postorder.
54611 * posix/bug-regex31.c: New file.
54612 * posix/Makefile: Add rules to build and run bug-regex31.
54614 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54617 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54620 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54621 to have entries in sys_siglist.
54624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54627 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54630 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54631 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54632 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54633 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54635 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54636 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54637 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54638 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54639 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54640 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54641 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54642 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54643 * math/ftestexcept.c (fetestexcept): Likewise.
54644 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54645 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54646 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54647 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54648 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54649 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54652 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54655 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54658 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54660 * string/bug-strstr1.c: New file.
54661 * string/Makefile: Add rules to build and run bug-strstr1.
54663 2010-10-05 Eric Blake <eblake@redhat.com>
54666 * string/str-two-way.h (two_way_long_needle): Always clear memory
54667 when skipping input due to the shift table.
54669 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54672 * malloc/mcheck.c: Handle large requests.
54675 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54676 for strncmp and strncasecmp.
54677 * string/stratcliff.c: Add tests for strcmp and strncmp.
54678 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54680 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54682 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54685 2010-09-30 Andreas Jaeger <aj@suse.de>
54687 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54688 (CGROUP_SUPER_MAGIC): Define.
54689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54690 Handle btrfs and cgroup file systems.
54691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54694 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54696 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54697 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54699 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54702 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54703 trying to locate the ELF header.
54705 2010-09-27 Andreas Schwab <schwab@redhat.com>
54708 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54709 Mask out sign-bit copies when constructing f_fsid.
54711 2010-09-24 Petr Baudis <pasky@suse.cz>
54713 * debug/stack_chk_fail_local.c: Add missing licence exception.
54714 * debug/warning-nop.c: Likewise.
54716 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54719 implementing getdents64 using getdents syscall, set d_type if
54720 __ASSUME_GETDENTS32_D_TYPE.
54722 2010-09-16 Andreas Schwab <schwab@redhat.com>
54724 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54725 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54727 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54730 * posix/unistd.h: Undo change of feature selection for ftruncate from
54733 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54735 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54738 2010-09-20 Andreas Schwab <schwab@redhat.com>
54740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54744 2010-09-14 Andreas Schwab <schwab@redhat.com>
54746 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54747 variables after CHECK_SP call.
54748 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54750 2010-09-13 Andreas Schwab <schwab@redhat.com>
54751 Ulrich Drepper <drepper@redhat.com>
54753 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54754 re-relocationg ld.so.
54755 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54756 _dl_init_paths call.
54757 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54760 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54762 * resolv/res_init.c (__res_vinit): Count the default server we added.
54764 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54765 Ulrich Drepper <drepper@redhat.com>
54768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54769 (____longjmp_chk): Use %ebx for saving value across system call.
54772 2010-09-06 Andreas Schwab <schwab@redhat.com>
54774 * manual/Makefile: Don't mix pattern rules with normal rules.
54776 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54778 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54780 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54781 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54782 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54783 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54787 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54790 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54791 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54793 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54795 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54796 * sysdeps/x86_64/addmul_1.S: Likewise.
54797 * sysdeps/x86_64/lshift.S: Likewise.
54798 * sysdeps/x86_64/mul_1.S: Likewise.
54799 * sysdeps/x86_64/rshift.S: Likewise.
54800 * sysdeps/x86_64/sub_n.S: Likewise.
54801 * sysdeps/x86_64/submul_1.S: Likewise.
54803 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54805 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54806 Define __sched_param instead of SCHED_* and sched_param when
54807 <bits/sched.h> is included with __need_schedparam defined.
54808 * bits/sched.h [__need_schedparam]
54809 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54810 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54811 (__defined_schedparam): Define to 1.
54812 (__sched_param): New structure, identical to sched_param.
54813 (__need_schedparam): Undefine.
54815 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54818 (epoll_create1): Declare.
54820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54822 2010-08-31 Andreas Schwab <schwab@redhat.com>
54825 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54826 shifting retval into place.
54828 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54830 * nis/rpcsvc/nis.h: Update copyright notice.
54831 * nis/rpcsvc/nis.x: Likewise.
54832 * nis/rpcsvc/nis_callback.h: Likewise.
54833 * nis/rpcsvc/nis_callback.x: Likewise.
54834 * nis/rpcsvc/nis_object.x: Likewise.
54835 * nis/rpcsvc/nis_tags.h: Likewise.
54836 * nis/rpcsvc/yp.h: Likewise.
54837 * nis/rpcsvc/yp.x: Likewise.
54838 * nis/rpcsvc/ypupd.h: Likewise.
54839 * nis/yp_xdr.c: Likewise.
54840 * nis/ypupdate_xdr.c: Likewise.
54842 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54843 mainly the body of pmap_getport. Add parameters to specify timeouts.
54844 (pmap_getport): Use __libc_rpc_getport.
54845 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54846 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54847 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54849 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54854 2010-08-27 Roland McGrath <roland@redhat.com>
54856 * sysdeps/i386/i686/multiarch/Makefile
54857 (CFLAGS-varshift.c): New variable.
54859 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54861 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54862 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54866 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54868 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54870 * sysdeps/x86_64/strlen.S: Unroll the loop.
54871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54872 strlen-sse2 strlen-sse2-bsf.
54873 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54874 __strlen_no_bsf if bit_Slow_BSF is set.
54875 (__strlen_sse42): Removed.
54876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54877 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54879 2010-08-25 Roland McGrath <roland@redhat.com>
54881 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54882 * sysdeps/x86_64/multiarch/varshift.c: New file.
54883 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54884 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54885 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54886 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54888 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54891 strlen-sse2 strlen-sse2-bsf.
54892 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54893 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54894 (__strlen_sse2): Removed.
54895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54898 bit_Slow_BSF for Atom.
54899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54900 (index_Slow_BSF): Define.
54901 (HAS_SLOW_BSF): Define.
54903 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54906 * resolv/res_init.c (__res_vinit): When no server address at all
54907 is given default to loopback.
54909 2010-08-24 Roland McGrath <roland@redhat.com>
54911 * configure.in: Remove config-name.h generation.
54912 * configure: Regenerated.
54913 * config-name.in: File removed.
54914 * scripts/config-uname.sh: New file.
54915 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54916 ($(objdir)config-name.h): New target.
54918 * sunrpc/rpc_parse.h: Avoid nested comment.
54920 2010-08-24 Richard Henderson <rth@redhat.com>
54921 Ulrich Drepper <drepper@redhat.com>
54922 H.J. Lu <hongjiu.lu@intel.com>
54924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54926 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54927 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54928 _mm_alignr_epi8 with _mm_loadu_si128.
54929 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54930 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54931 (__m128i_shift_right): Removed.
54932 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54933 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54934 * sysdeps/x86_64/multiarch/varshift.h: New file.
54935 * sysdeps/x86_64/multiarch/varshift.S: New file.
54937 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54939 * configure.in: Move assembler checks to before sysdep dir checking.
54941 2010-08-20 Petr Baudis <pasky@suse.cz>
54943 * LICENSES: Sync the sunrpc license.
54945 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54947 * sunrpc/auth_des.c: Update copyright notice once again.
54948 * sunrpc/auth_none.c: Likewise.
54949 * sunrpc/auth_unix.c: Likewise.
54950 * sunrpc/authdes_prot.c: Likewise.
54951 * sunrpc/authuxprot.c: Likewise.
54952 * sunrpc/bindrsvprt.c: Likewise.
54953 * sunrpc/clnt_gen.c: Likewise.
54954 * sunrpc/clnt_perr.c: Likewise.
54955 * sunrpc/clnt_raw.c: Likewise.
54956 * sunrpc/clnt_simp.c: Likewise.
54957 * sunrpc/clnt_tcp.c: Likewise.
54958 * sunrpc/clnt_udp.c: Likewise.
54959 * sunrpc/clnt_unix.c: Likewise.
54960 * sunrpc/des_crypt.c: Likewise.
54961 * sunrpc/des_soft.c: Likewise.
54962 * sunrpc/get_myaddr.c: Likewise.
54963 * sunrpc/getrpcport.c: Likewise.
54964 * sunrpc/key_call.c: Likewise.
54965 * sunrpc/key_prot.c: Likewise.
54966 * sunrpc/openchild.c: Likewise.
54967 * sunrpc/pm_getmaps.c: Likewise.
54968 * sunrpc/pm_getport.c: Likewise.
54969 * sunrpc/pmap_clnt.c: Likewise.
54970 * sunrpc/pmap_prot.c: Likewise.
54971 * sunrpc/pmap_prot2.c: Likewise.
54972 * sunrpc/pmap_rmt.c: Likewise.
54973 * sunrpc/rpc/auth.h: Likewise.
54974 * sunrpc/rpc/auth_unix.h: Likewise.
54975 * sunrpc/rpc/clnt.h: Likewise.
54976 * sunrpc/rpc/des_crypt.h: Likewise.
54977 * sunrpc/rpc/key_prot.h: Likewise.
54978 * sunrpc/rpc/netdb.h: Likewise.
54979 * sunrpc/rpc/pmap_clnt.h: Likewise.
54980 * sunrpc/rpc/pmap_prot.h: Likewise.
54981 * sunrpc/rpc/pmap_rmt.h: Likewise.
54982 * sunrpc/rpc/rpc.h: Likewise.
54983 * sunrpc/rpc/rpc_des.h: Likewise.
54984 * sunrpc/rpc/rpc_msg.h: Likewise.
54985 * sunrpc/rpc/svc.h: Likewise.
54986 * sunrpc/rpc/svc_auth.h: Likewise.
54987 * sunrpc/rpc/types.h: Likewise.
54988 * sunrpc/rpc/xdr.h: Likewise.
54989 * sunrpc/rpc_clntout.c: Likewise.
54990 * sunrpc/rpc_cmsg.c: Likewise.
54991 * sunrpc/rpc_common.c: Likewise.
54992 * sunrpc/rpc_cout.c: Likewise.
54993 * sunrpc/rpc_dtable.c: Likewise.
54994 * sunrpc/rpc_hout.c: Likewise.
54995 * sunrpc/rpc_main.c: Likewise.
54996 * sunrpc/rpc_parse.c: Likewise.
54997 * sunrpc/rpc_parse.h: Likewise.
54998 * sunrpc/rpc_prot.c: Likewise.
54999 * sunrpc/rpc_sample.c: Likewise.
55000 * sunrpc/rpc_scan.c: Likewise.
55001 * sunrpc/rpc_scan.h: Likewise.
55002 * sunrpc/rpc_svcout.c: Likewise.
55003 * sunrpc/rpc_tblout.c: Likewise.
55004 * sunrpc/rpc_util.c: Likewise.
55005 * sunrpc/rpc_util.h: Likewise.
55006 * sunrpc/rpcinfo.c: Likewise.
55007 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55008 * sunrpc/rpcsvc/key_prot.x: Likewise.
55009 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55010 * sunrpc/rpcsvc/mount.x: Likewise.
55011 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55012 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55013 * sunrpc/rpcsvc/rex.x: Likewise.
55014 * sunrpc/rpcsvc/rstat.x: Likewise.
55015 * sunrpc/rpcsvc/rusers.x: Likewise.
55016 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55017 * sunrpc/rpcsvc/spray.x: Likewise.
55018 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55019 * sunrpc/rtime.c: Likewise.
55020 * sunrpc/svc.c: Likewise.
55021 * sunrpc/svc_auth.c: Likewise.
55022 * sunrpc/svc_authux.c: Likewise.
55023 * sunrpc/svc_raw.c: Likewise.
55024 * sunrpc/svc_run.c: Likewise.
55025 * sunrpc/svc_simple.c: Likewise.
55026 * sunrpc/svc_tcp.c: Likewise.
55027 * sunrpc/svc_udp.c: Likewise.
55028 * sunrpc/svc_unix.c: Likewise.
55029 * sunrpc/svcauth_des.c: Likewise.
55030 * sunrpc/xcrypt.c: Likewise.
55031 * sunrpc/xdr.c: Likewise.
55032 * sunrpc/xdr_array.c: Likewise.
55033 * sunrpc/xdr_float.c: Likewise.
55034 * sunrpc/xdr_mem.c: Likewise.
55035 * sunrpc/xdr_rec.c: Likewise.
55036 * sunrpc/xdr_ref.c: Likewise.
55037 * sunrpc/xdr_sizeof.c: Likewise.
55038 * sunrpc/xdr_stdio.c: Likewise.
55040 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55043 2010-08-19 Andreas Schwab <schwab@redhat.com>
55045 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55047 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55049 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55052 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55054 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55055 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55056 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55058 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55059 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55061 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55062 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55064 2010-07-26 Anton Blanchard <anton@samba.org>
55066 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55067 * malloc/arena.c (heap_trim): Likewise.
55069 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55071 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55074 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55076 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55078 * sysdeps/i386/elf/Makefile: New file.
55080 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55082 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55083 from fanotify_init.
55084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55087 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55089 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55091 * sysdeps/multiarch/strcmp.S: Likewise.
55093 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55095 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55096 strncase_l-nonascii.
55097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55098 Add strncase_l-ssse3.
55099 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55100 * sysdeps/x86_64/strcmp.S: Likewise.
55101 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55102 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55103 * sysdeps/x86_64/strncase.S: New file.
55104 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55105 * sysdeps/x86_64/strncase_l.S: New file.
55106 * string/Makefile (strop-tests): Add strncasecmp.
55107 * string/test-strncasecmp.c: New file.
55109 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55112 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55113 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55115 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55117 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55119 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55121 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55123 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55125 2010-05-01 Alan Modra <amodra@gmail.com>
55127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55128 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55129 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55130 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55131 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55132 tidying. Don't tail-call __sigjmp_save for static lib.
55133 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55135 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55136 (CALL_MCOUNT): Add eh info, and nop after bl.
55137 (TAIL_CALL_SYSCALL_ERROR): New macro.
55138 (PSEUDO_RET): Use it.
55139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55140 Correct save location of integer regs and cr.
55141 (_dl_profile_resolve): Correct cr save location. Delete nops
55142 after bl when SHARED. Reduce cfi size a little by better
55143 placement of cfi directives.
55144 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55145 make a stack frame. Instead use parm save area as a temp.
55146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55147 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55149 Don't make a stack frame for parent, use parm save area.
55150 Increase child stack frame to 112 bytes. Don't save unused reg,
55151 and adjust reg usage. Set up cfi on error recovery and
55152 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55154 (__makecontext): Add dummy nop after jump to exit.
55155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55156 Use correct parm save area and cr save, reduce stack frame.
55157 Correct cfi for possible PSEUDO_RET frame setup.
55158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55159 Branch to local label emitted by PSEUDO_RET rather than
55162 2010-08-12 Andreas Schwab <schwab@redhat.com>
55165 * locale/programs/locale.c (print_assignment): New function.
55166 (show_locale_vars): Use it.
55168 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55170 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55172 (struct statfs64): Likewise.
55173 (_STATFS_F_FLAGS): Define.
55174 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55176 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55177 (ST_VALID): Define locally.
55178 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55179 __statvfs_getflags, use the provided value.
55180 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55181 __ASSUME_STATFS_F_FLAGS.
55183 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55185 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55186 Add sys/fanotify.h.
55187 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55188 fanotify_mask for GLIBC_2.13.
55189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55190 fanotify_init and fanotify_mark.
55191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55192 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55196 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55197 prlimit64 for GLIBC_2.13.
55198 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55203 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55208 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55211 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55212 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55214 * nss/Makefile: Add rules to build and run tst-nss-test1.
55215 * shlib-versions: Add entry for libnss_test1.
55216 * nss/nss_test1.c: New file.
55217 * nss/tst-nss-test1.c: New file.
55219 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55220 (__nss_configure_lookup): Set appropriate entry in
55221 __nss_configure_lookup to true.
55222 * nss/nsswitch.h: Define enum with indeces of databases in
55223 databases and __nss_database_custom arrays. Declare
55224 __nss_database_custom.
55225 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55226 to avoid using nscd when custom rules are installed.
55227 * nss/getXXbyYY_r.c: Likewise.
55228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55230 * nss/nss_files/files-parse.c: Whitespace fixes.
55232 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55235 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55236 * posix/fnmatch_loop.c: Likewise.
55238 2010-07-17 Andi Kleen <ak@linux.intel.com>
55240 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55241 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55242 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55243 * Versions.def [GLIBC_2.13]: Add.
55245 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55248 Also fail if tpwd after pwuid call is NULL.
55250 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55252 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55253 when converting to ms.
55255 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55257 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55258 EOPNOTSUPP errors with ENOTTY.
55259 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55260 EOPNOTSUPP errors with ENOTTY.
55262 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55265 Add strcasecmp_l-ssse3.
55266 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55268 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55270 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55272 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55274 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55276 * string/Makefile (strop-tests): Add strcasecmp.
55277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55278 strcasecmp_l-nonascii.
55279 (gen-as-const-headers): Add locale-defines.sym.
55280 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55281 * sysdeps/x86_64/strcasecmp.S: New file.
55282 * sysdeps/x86_64/strcasecmp_l.S: New file.
55283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55284 * sysdeps/x86_64/locale-defines.sym: New file.
55285 * string/test-strcasecmp.c: New file.
55287 * string/test-strcasestr.c: Test both ends of the range of characters.
55288 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55290 2010-07-29 Roland McGrath <roland@redhat.com>
55293 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55295 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55297 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55300 2010-07-27 Andreas Schwab <schwab@redhat.com>
55302 * manual/memory.texi (Malloc Tunable Parameters): Document
55305 2010-07-26 Roland McGrath <roland@redhat.com>
55308 * configure.in (-fgnu89-inline check): Set and substitute
55309 gnu89_inline, not libc_cv_gnu89_inline.
55310 * configure: Regenerated.
55311 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55313 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55315 * string/test-strnlen.c: New file.
55316 * string/Makefile (strop-tests): Add strnlen.
55317 * string/tester.c (test_strnlen): Add a few more test cases.
55318 * string/tst-strlen.c: Better error reporting.
55320 * sysdeps/x86_64/strnlen.S: New file.
55322 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55325 lower-latency instructions.
55327 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55329 * string/test-strcasestr.c: New file.
55330 * string/test-strstr.c: New file.
55331 * string/Makefile (strop-tests): Add strstr and strcasestr.
55332 * string/str-two-way.h: Don't undefine MAX.
55333 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55335 2010-07-21 Andreas Schwab <schwab@redhat.com>
55337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55338 strcasestr-nonascii.
55339 (CFLAGS-strcasestr-nonascii.c): Define.
55340 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55342 Remove unused attribute.
55344 2010-07-20 Roland McGrath <roland@redhat.com>
55346 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55347 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55348 ld.so.cache was broken. With it, there is no way to disable dsocaps
55349 like LD_HWCAP_MASK can disable hwcaps.
55351 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55353 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55355 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55357 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55358 call in strcasestr.
55359 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55360 __strcasestr_sse42_nonascii.
55361 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55362 strcasestr-nonascii.c.
55363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55365 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55372 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55377 2010-07-06 Andreas Schwab <schwab@redhat.com>
55380 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55383 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55386 _PC_PIPE_BUF using F_GETPIPE_SZ.
55388 2010-07-05 Roland McGrath <roland@redhat.com>
55390 * manual/arith.texi (Rounding Functions): Fix rint description
55391 implicit in round description.
55393 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55395 * elf/Makefile: Fix linking for a few tests to make recent linker
55398 2010-06-30 Andreas Schwab <schwab@redhat.com>
55400 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55401 $(common-objpfx)libc_nonshared.a.
55403 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55405 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55406 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55407 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55408 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55409 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55411 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55412 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55427 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55428 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55429 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55430 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55431 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55432 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55433 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55434 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55435 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55436 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55437 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55438 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55454 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55456 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55457 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55458 * string/memmove.c (memmove): Renamed to ...
55459 (MEMMOVE): ...this. Default to memmove.
55460 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55461 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55464 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55465 mempcpy-ssse3-back memmove-ssse3-back.
55466 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55469 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55470 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55471 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55472 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55473 * sysdeps/x86_64/multiarch/memmove.c: New file.
55474 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55475 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55476 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55477 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55478 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55481 (index_Fast_Copy_Backward): Define.
55482 (HAS_ARCH_FEATURE): Define.
55483 (HAS_FAST_REP_STRING): Define.
55484 (HAS_FAST_COPY_BACKWARD): Define.
55486 2010-06-21 Andreas Schwab <schwab@redhat.com>
55488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55489 Restore proper fallback handling.
55491 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55494 * posix/group_member.c (__group_member): Correct checking loop.
55496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55497 OOM in getpwuid_r correctly. Return error number when the caller
55498 should return, otherwise -1.
55499 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55500 call returning > 0 value.
55501 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55503 2010-06-07 Andreas Schwab <schwab@redhat.com>
55505 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55506 libc_nonshared.a from targets in modules-names.
55508 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55510 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55513 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55520 2010-06-02 Andreas Schwab <schwab@redhat.com>
55522 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55524 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55535 2010-06-14 Roland McGrath <roland@redhat.com>
55537 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55539 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55541 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55542 __REDIRECT followed by __THROW.
55543 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55544 * posix/getopt.h (getopt): Likewise.
55546 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55548 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55549 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55550 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55552 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55553 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55555 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55559 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55563 Properly check family and model.
55565 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55567 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55569 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55571 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55573 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55575 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55578 2010-05-19 Andreas Schwab <schwab@redhat.com>
55580 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55583 2010-05-21 Andreas Schwab <schwab@redhat.com>
55585 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55586 and internal_recvmmsg.
55587 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55588 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55590 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55592 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55593 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55594 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55596 2010-05-20 Andreas Schwab <schwab@redhat.com>
55598 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55600 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55602 POWER7 optimizations.
55603 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55604 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55606 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55608 * version.h: Update for 2.13 development version.
55610 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55612 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55613 exceptions. Return 0.
55615 2010-05-07 Roland McGrath <roland@redhat.com>
55617 * elf/ldconfig.c (main): Add a const.
55619 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55621 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55622 (args_options): Add no-idn option.
55623 (ahosts_keys_int): Add idn_flags to ai_flags.
55624 (parse_option): Handle 'i' option to clear idn_flags.
55626 * malloc/malloc.c (_int_free): Possible race in the most recently
55627 added check. Only act on the data if no current modification
55630 See ChangeLog.17 for earlier changes.